In Chevereto the BB-Code of Thumbnail + Link doesn't work.
What is wrong?
url="h**p://yoursite.com/images/image.png"
To fix it, go to: chevereto/includes/templacte.functions.php
go to line: 373
delete the " in
now it has to look like:
now chevereto displays the right code on BB-Code (Thumbnail + Link)
What is wrong?
url="h**p://yoursite.com/images/image.png"
To fix it, go to: chevereto/includes/templacte.functions.php
go to line: 373
Code:
/**
* get_thumb_bbcode
* Returns the thumb + img link as bbcode
*/
function get_thumb_bbcode() {
return htmlentities('[url="'.get_img_url().'"][img]'.get_thumb_url().'[/img][/url]');
}
function show_thumb_bbcode() {
echo get_thumb_bbcode();
}
delete the " in
Code:
return htmlentities('[url="'.get_img_url().'"][img]'.get_thumb_url().'[/img][/url]');
now it has to look like:
Code:
return htmlentities('[url='.get_img_url().'][img]'.get_thumb_url().'[/img][/url]');
Code:
/**
* get_thumb_bbcode
* Returns the thumb + img link as bbcode
*/
function get_thumb_bbcode() {
return htmlentities('[url='.get_img_url().'][img]'.get_thumb_url().'[/img][/url]');
}
function show_thumb_bbcode() {
echo get_thumb_bbcode();
}
now chevereto displays the right code on BB-Code (Thumbnail + Link)