Back to vBulletin 3.5 Add-ons

vBShout on all pages!
Mod Version: 2.00, by Abe1

This modification is in the archives.
vB Version: 3.5.0 RC3 Rating: (1 vote - 5.00 average) Installs: 169
Released: 13 Sep 2005 Last Update: 13 Sep 2005 Downloads: 460
Not Supported Uses Plugins  

vBShout on all pages!


Works for vBShout version 2.0

This hack will make vBShout show on all pages of your side. BUT, will only alow the shoutbox to be placed under the navbar.

1) Install vBShout (Download here)

2) Edit plugin "vBShout [Template Alteration]" and make the following changes:

a) Change the Hook Location to "global_start"

b) Find and delete:

PHP 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($bashiif($vbulletin->options[$against], explode(','$vbulletin->options[$against]), array()));


c) Find:

PHP Code:
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position$Position ' $Shoutbox'$vbulletin->templatecache['FORUMHOME']); 

and replace with:

PHP Code:
$Position '<!-- / nav buttons bar -->';
$vbulletin->templatecache['navbar'] = str_replace($Position$Position '<br /> $Shoutbox'$vbulletin->templatecache['navbar']); 

3) Edit plugin "vBShout [Template Cache]" and make the following change:

Find:
PHP Code:
if (THIS_SCRIPT == "index"
Replace with:
PHP Code:
if (VB_AREA == "Forum"

There is the same info in the zip.

Done. Make sure you clicked "install"

Download

This modification is archived and cannot be downloaded.

Similar Mods

Chat Modifications ZH - vBShout On All Pages vBulletin 3.6 Add-ons
vBShout On All Pages vBulletin 3.5 Template Modifications
Add-On Releases vBshout On All Pages vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024