I have used format for url like this: [url=http://yoursite.com/]Url Text[/url]
for links in description, but links are not clickable. What should I change?
Did you enable bb How do I enable bb_decode? Look at the FAQ document and go to the "How do I enable clickable links in custom user fields?" section
Dennis
Please post the exact code you are using to make the link.
This is code: Created by [url=http://www.mouserunner.com/MRDS_Cell.thml]MRDS[/url]
It's clickable on file info page but I want it to be clickable on album list like on http://www.firefoxwallpapers.com/thumbnails.php?album=10 (http://www.firefoxwallpapers.com/thumbnails.php?album=10)
Created by MRDS (http://www.mouserunner.com/MRDS_Cell.thml) <--is that really what you have? if so, ".thml" is not a clickable web file type.
Dennis
Ok never mind, I will leave it work this way.
balkanboy,
I meant. Your extension was ".thml" it should be ".html" .
Dennis
Looks like someone decided to disable that feature. Edit include/functions.inc.php
if ($CONFIG['caption_in_thumbview']){
$caption .= $row['caption'] ? "<span class=\"thumb_caption\">".strip_tags(bb_decode($row['caption']))."</span>" : '';
}
and remove the strip_tags
if ($CONFIG['caption_in_thumbview']){
$caption .= $row['caption'] ? "<span class=\"thumb_caption\">".bb_decode($row['caption'])."</span>" : '';
}
Thanks for help guys!
@devs: should be re-added to the devel code imo.
How about the smilies? The following will turn emoticons to smilies (or however it's supposed to be described):
if ($CONFIG['views_in_thumbview'] || in_array('hits',$must_have)) {
$caption .= '<span class="thumb_title">' . sprintf($lang_get_pic_data['n_views'], $row['hits']).'</span>';
} if ($CONFIG['caption_in_thumbview']){
$caption .= $row['caption'] ? "<span class=\"thumb_caption\">".bb_decode(process_smilies($row['caption']))."</span>" : '';
}
The thing is if smilies are disabled in Config, there will be a function not found error due to this check:
if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
Nibbler's post above worked for me, to a point - in that my links are now clickable as I wanted on the thumbnails page. However now all of my lines are double spaced, but only on the thumbnail view. On the normal single item view they displays correctly. Is there another way to tweak this so that the lines are spaced as they should AND the links are clickable?
Coppermine Link: http://www.regapgreyhounds.org/cpg
w/wrapper: http://www.regapgreyhounds.org/index.php?page=test