Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
bfnuke
Hangin' Around



Joined: Feb 01, 2006
Posts: 43

PostPosted: Mon Feb 13, 2006 8:11 am Reply with quote

Having a problem getting the [img] tag to work on my site. I have the following code:

Code:
[img]http://chart.finance.yahoo.com/c/3m/n/ntri[/img]


but when reading the post, it just shows the tags and the url. BBCode and HTML are both turned on for the post. Did I forget to turn something else on to make this work?

PS. I t doesn't seem to work on these forums either... See below...

[img]http://chart.finance.yahoo.com/c/3m/n/ntri[/img]
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Feb 13, 2006 8:40 am Reply with quote

An image tag must end in an img type. .jpg, .gif, .png etc
 
View user's profile Send private message
bfnuke







PostPosted: Mon Feb 13, 2006 11:12 am Reply with quote

hmm ok.

So it looks like the only way to do this is to use html (and allow the "img" tag)...

Is there any way to modify the [img] bbcode to no care about the extension?
 
Raven







PostPosted: Mon Feb 13, 2006 11:34 am Reply with quote

No, you use bbcode but point it to a file that ends in a legitimate image extension.
 
bfnuke







PostPosted: Mon Feb 13, 2006 11:41 am Reply with quote

but what if it is a file that is created on the fly (like the link above) that will never have the extention???
 
Raven







PostPosted: Mon Feb 13, 2006 11:51 am Reply with quote

I'm just teling you what the issues is, as I see it. Have you thought about using my Live stock quote application KISSQ?
 
bfnuke







PostPosted: Mon Feb 13, 2006 12:04 pm Reply with quote

This was just an example page, so not necessarily going to use stock quotes, etc.. I agree that this is the issue, what I am asking is how do I "hack" the forums to not REQUIRE an extention? I haven't been able to find where the BBcodes get translated into what is shown on the screen... Any ideas?
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Feb 13, 2006 11:26 pm Reply with quote

includes/bbcode.php

You really should not remove the image checking. It is a security precaution.
Nor should you be hotlinking to Yahoo.. I doubt they would appreciate it

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
bfnuke







PostPosted: Tue Feb 14, 2006 6:26 am Reply with quote

evaders: AS I stated in my previous post, I just used that link as an EXAMPLE. But thanks for pointing me to the bbcodes...
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©