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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.