vbshout 2.0 in one forum only
This modification is in the archives.
All credits going to Zero Tolerance for releasing vBShout 2.0 and Abe1 for the instructions to use vBShout on all pages.
Here once again the full instructions: 1) Install vBShout 2) Edit plugin "vBShout [Template Alteration]" and make the following changes: a) Change the Hook Location to "global_start" b) Find and delete: Code:
function isBanned($user) { return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups')); } function isBanned_Check($bash, $against) { global $vbulletin; return in_array($bash, iif($vbulletin->options[$against], explode(',', $vbulletin->options[$against]), array())); } Code:
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']); Code:
if ($forumid ==169) { $vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar', '$navbar' . ' $Shoutbox', $vbulletin->templatecache['FORUMDISPLAY']); } Find: Code:
if (THIS_SCRIPT == "index") Code:
if (VB_AREA == "Forum") Code:
if ($forumid ==169) Since vbshout has been changed several times, I have attached also the vbshout.php and the product (already modified). It does work on both my forum with 3.54 and 3.6.0 Beta 3 (works only below navbar) Download
This modification is archived, downloads are still allowed. |