the best way for this SEO Mod Beta IS this:
Add general <meta name="Keywords" content= keyword /> in main.tpl.
After will modified meta.php on this:
<?php
function parser_del_bbcode($text, $size){
global $pun_config;
if ($pun_config['o_censoring'] == '1')
$text = censor_words($text);
// ending html tags into line breaks
$text=preg_replace('#\[(hide|url|img|quote)\](.*?)\[/(hide|url|img|quote)\]#s','',$text);
$text=preg_replace('#\[quote=(?:.*?)\](.*?)\[/quote\]#s','',$text);
$text=preg_replace('#\[(url|color|email)=(?:.*?)\](.*?)\[/(url|color|email)\]#s','$2',$text);
// remove other bbcode tags
$text=preg_replace('#\[(.*?)\]#s','',$text);
// remove newlines
$text=preg_replace('# +#s',' ',$text);
$text=preg_replace('#\n#s','',$text);
$text=str_replace('"',"'",$text);
return substr($text, 0, $size);
}
if($pun_user['is_guest'])
{
if ($footer_style == 'viewtopic')
{
$postertag=$cur_topic['subject'];
$postertag=str_replace('"',"'",$postertag);
echo '<meta name="description" content="' . parser_del_bbcode($description,350) . '" />';
//echo '<meta name="description" content="Subjet:'.$postertag.'./..' . parser_del_bbcode($description,350) . '" />';
}
}
?>
In header of your punbb you will show the Base title of board and the title of the single post, the general keyword, and the meta description is the first 350 characters of the first post.