SEO Do-follow & No-follow backlinks for certain users possible!?

surfsup

Well-known member
In VbSEO its possible to make everyones links no-follow and in the backend I can whitelist certain users who reach a certain amount of posts and provide them with a do-follow backlink for their site.

Is something like this possible for Xenforo ??
 
In VbSEO its possible to make everyones links no-follow and in the backend I can whitelist certain users who reach a certain amount of posts and provide them with a do-follow backlink for their site.

Is something like this possible for Xenforo ??
Non-staff links are no-follow by default iirc.
 
I dont want ALL sig links to be do-follow because I want it to be a Privilege for certain members to have a do-follow backlink....

Possible!?

Untested, but this should work:

library/XenForo/ViewPublic/Helper/Message.php

Add the red code:

Rich (BB code):
		if ($options['signatureKey'] && isset($message[$options['signatureKey']]))
		{
			if ($options['showSignature'])
			{
				$userModel = XenForo_Model::create('XenForo_Model_User');
				$noFollow = !$userModel->isMemberOfUserGroup($message, 11);

				// note: signatures are always nofollow'd by default
				$message[$options['signatureHtmlKey']] = new XenForo_BbCode_TextWrapper(
					$message[$options['signatureKey']], $parser, array('lightBox' => false, 'noFollowDefault' => $noFollow)
				);
			}
			else
			{
				$message[$options['signatureHtmlKey']] = '';
			}
		}

You need to specify the privileged group id (that gets "do follow" links).
 
Top Bottom