PDA

View Full Version : Need help with Vbulletin Meta Description


intensecool
01-08-2014, 06:20 AM
Hello VB,

There is a code named as "shortdescript", which takes 160 words of meta description automatically. We just want that code to take bbcode "code" to take into meta description. Is that possible?

If yes, how to do it what code to pick ?

Regards

Bisha
01-15-2014, 11:47 PM
Use this on as plugin, at hook location showthread post start

$short = $thread['meta_description'];
$thread['meta_description'] = substr($short, 0, 160);