Previous Thread
Next Thread
Print Thread
Hop To
#218111 10/18/2008 1:43 PM
Joined: Nov 2004
Posts: 18
M
stranger
stranger
M Offline
Joined: Nov 2004
Posts: 18
[img]http://www.jinchess.com/chessboard/?pos=rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[/img]

Trying to post an image that is generated by a script doesn't seem to work. It did in Classic. (We use them for chess diagrams.) Are the img tags limited to URLs with image extensions? Can this be changed to allow links like the above to work? Even html didn't work and it's enabled for mods and admins.

Thanks. Mig

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I am sure that it is because the file extension is missing. If you goto the control panel you are required to enter allowed file extensions for image inserts. But you can use the url insert for it as is. I posted a reply in the test forum where you started at and that works.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Nov 2004
Posts: 18
M
stranger
stranger
M Offline
Joined: Nov 2004
Posts: 18
I don't want a link to the image; I want the image, the chessboard, to appear in the post. That worked in classic with img tags and URLs like this one.

I saw the extension list for attachments, not for image inserts. Where is that? Although it doesn't sound like that will solve it.

Thanks for your help.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I think it's due to the ? in the link


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
I don't see a .jpg .gif or .png at the end, that is what it is looking for.

JAISP #218132 10/18/2008 10:39 PM
Joined: Nov 2004
Posts: 18
M
stranger
stranger
M Offline
Joined: Nov 2004
Posts: 18
That's what I imagined, but it's a script and it is never going to have an extension. But since it used to work in Classic is there any way to either fake this functionality in this version of Threads, perhaps with html, or to have it added in the next update?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I'll have to put in an option. Right now it checks to see if the image is being generated by a script as a security precaution.

If you're comfortable with regex, it's blocked on line 639 of libs/bbcode.inc.php.

Rick #218202 10/20/2008 4:21 PM
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Yes a lot of sites have recently been doing this type of coding I guess to cut down on people hotlinking and / or grabbing their images. I've seen other applications that don't like this newer method either. Guess just another growing pain of the Internet.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (ahmed047, Nightcrawler), 615 guests, and 132 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)