Enabling links in any "file info" fields Enabling links in any "file info" fields
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Enabling links in any "file info" fields

Started by .carolinecblaker., May 11, 2007, 12:56:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

.carolinecblaker.

Is someone able to tell me how to enable link tags to render in file info fields? (IE. the information underneath an intermediate picture.) Mine are rendering as code. Thanks!

Nibbler

Are you using bbcode or something else?

.carolinecblaker.

Assuming that <a href=".....">link</a> is BBCode, then that's what I am using.


.carolinecblaker.

Now my links are in bbcode, and still rendering as code!

http://www.carolineblaker.com/art/gallery (click on any painting and once you have it pulled up, scroll down. You may need to click the "i" in the upper left hand corner.)

Nibbler

I see. bbcode is not enabled there. If you type the link directly it should get converted, otherwise you can make a small code change in displayimage.php

$info[$CONFIG['user_field' . $i . '_name']] = make_clickable($CURRENT_PIC_DATA['user' . $i]);

change to

$info[$CONFIG['user_field' . $i . '_name']] = bb_decode($CURRENT_PIC_DATA['user' . $i]);

And then use bbcode.

.carolinecblaker.