The Arcive of vBulletin Modifications Site. |
|
vbshout 2.0 in specified forums only Details »»
|
|||||||||||||||||||||||||
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 (in_array($forumid, array(169,170)))
{
$vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar', '$navbar' . ' $Shoutbox', $vbulletin->templatecache['FORUMDISPLAY']);
}
Find: Code:
if (THIS_SCRIPT == "index") Code:
if (VB_AREA == "Forum") Code:
if (in_array($forumid, array(169,170))) 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) Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Thank you!
|
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
|||
|
|||
|
Everywhere ?
As I said in the description .. its based on the addon "show on ALL pages" which can be found here : https://vborg.vbsupport.ru/showthrea...=96158&page=12 |
|
#5
|
|||
|
|||
|
where do l put this at ???
Change Quote:
|
|
#6
|
|||
|
|||
|
i did everything to the book but is not even showing in the forum
)
|
|
#7
|
||||
|
||||
|
WORKS FINE....U NEED TO CHANGE THAT LAST TEMPLATE EDIT U STATED BECAUSE IT LOOKED LIKE U MENT CHANGE IN THA vBShout [Template Cache],WEN REALLY U MENT IN THA vBShout [Template Alteration]
|
|
#8
|
||||
|
||||
|
Does vBshout 2.0 work with vbulletin 3.6.2?
Or do I have to wait for an upgrade? |
|
#9
|
||||
|
||||
|
does the "show on all pages" work with 3.6.0?
|
|
#10
|
|||
|
|||
|
Is there a vbshout box for vb 3.6.0 ?
aranoid:
|
![]() |
|
|