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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.