Quote:
Originally Posted by R-D
Here you go, Boofo. Here's two versions, both tested on 3.6.8.
Both show links based on what the user has permission to see. product-falf-perms-all.xml shows the archive links to all users, while product-falf-perms.xml only shows the links to guests (group 1).
*Both products now also include the photoplog fix*
You'll need to uninstall Atakan KOC's original product before installing either of these.
Basically, for the permissions part, I changed:
Code:
foreach ($vbulletin->forumcache AS $forum)
{
$forum_sira[$forum['forumid']] = $forum['forumid'];
}
to:
Code:
foreach ($vbulletin->forumcache AS $forum)
{
$forumpermas = $vbulletin->userinfo['forumpermissions'][$forum['forumid']];
if (($forumpermas & $vbulletin->bf_ugp_forumpermissions['canview']) OR ($forumpermas & $vbulletin->bf_ugp_forumpermissions['canviewthreads']) OR ($forumpermas & $vbulletin->bf_ugp_forumpermissions['canviewothers']))
{
$forum_sira[$forum['forumid']] = $forum['forumid'];
}
}
|
So, am I right to say that if I'd like to make sure that my registered users don't see these 'search engine friendly' links, I would install the 2nd xml file?