PDA

View Full Version : VBShout on all pages!


Shawn
12-06-2006, 09:51 PM
Works for vBShout version 2.0

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:

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()));
}

c) Find:
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);


and replace with:

if ($forumid ==169)
{
$vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar', '$navbar' . ' $Shoutbox', $vbulletin->templatecache['FORUMDISPLAY']);
}

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

Find:

if (THIS_SCRIPT == "index")


Replace with:

if (VB_AREA == "Forum")

Krono
12-07-2006, 03:10 AM
Um, I need this....... lolllllll:kiss:

iamtheone
12-08-2006, 02:04 PM
yup been looking for this

karamel
12-10-2006, 08:49 PM
thnxxxx :)

Feckie
12-11-2006, 10:35 PM
This only for 2.o

DarkRyda
12-12-2006, 06:01 AM
oh props man i needed this thank you

euverve
12-29-2006, 07:44 PM
thanks man...

chandy
12-30-2006, 04:42 PM
nice,really usefull !

sweet
01-02-2007, 12:25 AM
hey all thanks for this hack hope it works but how can i get this hide content hack i would be happy if someone will help me

Magnumutz
01-17-2007, 07:22 AM
That's pretty neat :D

necros
03-16-2007, 02:19 PM
Thanks..........

nightmares30
01-31-2008, 04:33 PM
is not work ..... :(