Author |
Message |
bfnuke
Hangin' Around

Joined: Feb 01, 2006
Posts: 43
|
Posted:
Mon Feb 13, 2006 8:11 am |
|
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] |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Feb 13, 2006 8:40 am |
|
An image tag must end in an img type. .jpg, .gif, .png etc |
|
|
|
 |
bfnuke

|
Posted:
Mon Feb 13, 2006 11:12 am |
|
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

|
Posted:
Mon Feb 13, 2006 11:34 am |
|
No, you use bbcode but point it to a file that ends in a legitimate image extension. |
|
|
|
 |
bfnuke

|
Posted:
Mon Feb 13, 2006 11:41 am |
|
but what if it is a file that is created on the fly (like the link above) that will never have the extention??? |
|
|
|
 |
Raven

|
Posted:
Mon Feb 13, 2006 11:51 am |
|
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

|
Posted:
Mon Feb 13, 2006 12:04 pm |
|
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
|
Posted:
Mon Feb 13, 2006 11:26 pm |
|
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! |
|
|
 |
bfnuke

|
Posted:
Tue Feb 14, 2006 6:26 am |
|
evaders: AS I stated in my previous post, I just used that link as an EXAMPLE. But thanks for pointing me to the bbcodes... |
|
|
|
 |
|