Quote:
Originally Posted by Lynne
This is not going to work:
HTML Code:
$thread['meta_description'] = htmlspecialchars_uni(fetch_censored_text(fetch_trimmed_title($thread['title'], $thread['forumid'], false)));
You would need something like:
HTML Code:
$thread['meta_description'] = htmlspecialchars_uni(fetch_censored_text(fetch_trimmed_title($thread['title'].$thread['forumid'], 500, false)));
Please see the api for that function here - https://members.vbulletin.com/api/vB..._trimmed_title The second parameter must be a number.
|
sir $thread['forumid'] gives the output of forum id number but i want to display forum name
this code gives me the output of title and forum number but forum name
i had search a lot but i cant find the variable of forum category name
e.g:- any one help me to limit the content size vB4 General Discussions
title and forum category name