2011-08-25, 11:42 PM
Hey frostschutz,
on my Forum I made a little update to your Google SEO Plugin (based on 1.6.0).
On meta.php changed the google_seo_meta_posts:
$settings['NOFOLLOW_DISABLE'] is a comma-seperated string containig usergroups. These groups are not affected by the nofollow-modifications.
I think this plugin is helpful for trusted groups.
So maybe you are willing to add this on the next-version of your plugin
sincerly kapsonfire
(greetings from germany)
on my Forum I made a little update to your Google SEO Plugin (based on 1.6.0).
On meta.php changed the google_seo_meta_posts:
function google_seo_meta_posts(&$mypost)
{
if(!defined("PLUGINLIBRARY"))
{
define("PLUGINLIBRARY", MYBB_ROOT."inc/plugins/pluginlibrary.php");
}
global $post, $settings;
global $google_seo_nofollow;
global $PL;
$PL or require_once PLUGINLIBRARY;
// Archive Post hook doesn't supply us with the post so we have to cheat.
if(defined("IN_ARCHIVE") && !$mypost && $post)
{
$mypost = &$post;
}
if($mypost['dateline'] > $google_seo_nofollow && !$PL->is_member($settings['NOFOLLOW_DISABLE'],$post['uid']))
{
$mypost['message'] = google_seo_meta_nofollow($mypost['message']);
$mypost['button_www'] = google_seo_meta_nofollow($mypost['www_button']);
$mypost['signature'] = google_seo_meta_nofollow($mypost['signature']);
}
}
$settings['NOFOLLOW_DISABLE'] is a comma-seperated string containig usergroups. These groups are not affected by the nofollow-modifications.
I think this plugin is helpful for trusted groups.
So maybe you are willing to add this on the next-version of your plugin
sincerly kapsonfire
(greetings from germany)