Back to vBulletin 3.6 Add-ons

ZH - vBShout On All Pages
Mod Version: 1.0.0, by Ziki

This modification is in the archives.
vB Version: 3.6.x Rating: (1 vote - 5.00 average) Installs: 37
Released: 02 Dec 2006 Last Update: 02 Dec 2006 Downloads: 407
Not Supported  

This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
vBShout On All Pages!

~Hack description
Will display vBShout 2.0 box on every forum page!You can choose manual instructions or just reimport this product.

~Hack options
None

~Hack info
File uploads: 0
Template edits: 0
Templates: 0
File edits: 0
Plugins: 0
SQL Queries: 0
Phrases: 0
Settings: 0

Install time: 2 minutes
Install level: Easy

~Hack installation

Step 1: Open plugin vBShout[Template Cache] and find:
if (THIS_SCRIPT == "index")
Replace with:

if (VB_AREA == "Forum")
Step 2: Open plugin vBShout[Template Alternation],change hook location to global_start and find and delete:
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()));
}
Step 3: Open the plugin again and find:
switch ($vbulletin->options['shout_position'])
{
case
1:
$Position = '<!-- what\'s going on box -->';
break;

case
2:
$Position = '<!-- end what\'s going on box -->';
break;

case
4:
$Position = '<!-- main -->';
break;

default:
$Position = '$navbar';
break;
}

$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);
And replace with:
$Position = '<!-- / nav buttons bar -->';
$vbulletin->templatecache['navbar'] = str_replace($Position, $Position . '<br /> $Shoutbox', $vbulletin->templatecache['navbar']);
~Hack screenshots
None

~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s vbshout.xml (26.2 KB, 561 downloads)

Similar Mods

vBShout on all pages! vBulletin 3.5 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