Back to vBulletin 3.6 Add-ons

vbshout 2.0 in one forum only
Mod Version: 1.00, by utw-Mephisto

This modification is in the archives.
vB Version: 3.6.0 Beta 3 Rating: (1 vote - 4.00 average) Installs: 33
Released: 04 Jul 2006 Last Update: Never Downloads: 133
Not Supported Uses Plugins Additional Files  

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()));
}
c) Find:
Code:
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);
and replace with:
Code:
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:
Code:
if (THIS_SCRIPT == "index")
Replace with:
Code:
if (VB_AREA == "Forum")
Change

Code:
if ($forumid ==169)
to the forum id you would like to show the shoutbox ...

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.

File Type: %1$s instructions.txt (1.2 KB, 328 downloads)


vblts.ru supports vBulletin®, 2022-2024