mihai11
07-04-2008, 10:56 AM
Hi,
When you enter someone's blog you will see a preview of his VB Blogs - usually the length of the preview is of 500 characters. What function does that ? I need to display the preview of some blogs on some other pages.
UPDATE:
What I did until now is this:
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$blog_message_body = fetch_trimmed_title($parser->do_parse($blog_data['pagetext']), 500);
The problem is that this version cuts the BB code anywhere, the result => invalid HTML code in the broswer !
Does anybody know how to solve this elegantly ?
Regards,
Razvan
When you enter someone's blog you will see a preview of his VB Blogs - usually the length of the preview is of 500 characters. What function does that ? I need to display the preview of some blogs on some other pages.
UPDATE:
What I did until now is this:
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$blog_message_body = fetch_trimmed_title($parser->do_parse($blog_data['pagetext']), 500);
The problem is that this version cuts the BB code anywhere, the result => invalid HTML code in the broswer !
Does anybody know how to solve this elegantly ?
Regards,
Razvan