View Full Version : Chat Modifications - vbshout 2.0 in one forum only
utw-Mephisto
07-03-2006, 10:00 PM
All credits going to Zero Tolerance (https://vborg.vbsupport.ru/member.php?u=48782) for releasing vBShout 2.0 (https://vborg.vbsupport.ru/showthread.php?t=93097) and Abe1 (https://vborg.vbsupport.ru/member.php?u=49809) for the instructions to use vBShout on all pages (https://vborg.vbsupport.ru/showthread.php?t=96158&page=12).
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:
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")
Change
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)
aldo7a
07-04-2006, 12:01 PM
I still using vBShout 2.0 without change any thing only i upgrade my vb to 3.6.0 Beta 3 and my vb still working with me very nice.
why i should change ?
http://www.aldoha.org
utw-Mephisto
07-04-2006, 01:44 PM
I think you misunderstand the purpose of this ... This is an addon / change to display the shoutbox not just on forumhome but in subforums / forums .. It just happen to work on vb 3.6 Beta .. I did not write it is a new version ..
aldo7a
07-04-2006, 02:39 PM
A lot of thanks my dear now i understand what you mean
Paul M
07-04-2006, 04:13 PM
I have removed the vbshout files as they should not be attached to this thread, the instructions are all that is needed, you have a link to the vbshout thread for people to get the actual modification files.
SiriusBlack22
07-09-2006, 05:52 AM
you ROCK.
RFViet
07-14-2006, 01:22 PM
Can i have vbshout in separate forums ?? So , each forum, members can have live help with Moderators !!
Lord Draco
07-14-2006, 03:18 PM
Will it work with the VBulletin 3.6.0 Release Candidate 1?
It doesn't appear to work with release candidate 2. I've set it all up, and it's not appearing in the specified forum (ID 23)
utw-Mephisto
07-19-2006, 03:29 AM
It does work just fine on VB 3.6 RC2 for me ..
But because Zero released several versions of vbshout, I attached the files of the version I am using which have been removed by Paul I am afraid .. I had to figure it out myself that not all versions are working :(
You can check it out yourself :
ut2007world.com
user / pw : beer
and there go into the spam forum (bottom) to test ..
SiriusBlack22
07-21-2006, 12:07 PM
I got a weird error upon displaying a profile.
What was that?
utw-Mephisto
07-25-2006, 04:12 AM
??
Maybe incompatible version .. but again .. Paul removed the files so I cannot even give you the version which works fine anymore .. sorry ..
letsjoy
07-26-2006, 04:41 AM
sounds good :)
World8X
08-06-2006, 05:59 AM
It does work just fine on vBulletin 3.6.0 for me ...
iran.gs
08-08-2006, 12:14 AM
how and where is this hook ??
a) Change the Hook Location to "global_start"
mwsforums
08-16-2006, 11:40 PM
When using this hack, my forum no longer loads, and I get the following fatal error:
Fatal error: Call to undefined function: isbanned() in (server stuff)/forums/global.php(357) : eval()'d code on line 142
EDIT: Further to this, when I replace the deleted isbanned() functions, my forum loads, but when I go to the forum I want the shoutbox displayed, the box is there, but with this error displayed in the shoutbox....
Fatal error: Cannot redeclare isbanned() (previously declared in (server stuff)/forums/vbshout.php:133) in (server stuff)/forums/global.php(357) : eval()'d code on line 140
tekstylez
08-18-2006, 08:26 PM
Will this work with 3.6
Dilldogs
08-26-2006, 01:17 AM
how and where is this hook ??
a) Change the Hook Location to "global_start"
I need to know to?
reteep
08-31-2006, 07:37 AM
This is too unstable for production use, removing the banned functions results in many problems when editing preferences.
Jealousy10312
08-31-2006, 05:34 PM
It works for me with 3.6. Have a look: www.blabsource.com
I just have a question myself:
How do I remove the option for users to change colors? My board has a white backround & if someone uses white, then the text cannot be seen.
Fatal error: Call to undefined function: isbanned() in (server stuff)/forums/global.php(357) : eval()'d code on line 142
This is another half-assed plug. Uninstalled.
MarsNIIT
09-03-2006, 02:02 AM
Please help me fix Error :
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1152) : eval()'d code on line 5
Craigex
09-09-2006, 09:46 PM
I got this error when I try it on vb3.6
Warning: Invalid argument supplied for foreach() in /includes/functions_forumlist.php(346) : eval()'d code on line 3
Snake
09-17-2006, 05:15 PM
Thanks. I'll check this out soon!
voteforbird
09-20-2006, 06:38 PM
I'm on 3.6.1 and this isn't working for me, either. Any idea what to do?
voteforbird
09-20-2006, 07:25 PM
I got this to work by making the hook forumdisplay_complete instead of global_start
ldwebtech
09-28-2006, 02:25 AM
Is this works for vb3.6.1
cunder
10-02-2006, 01:37 PM
Hallo
how I can remove the space between the name and reported
Look pics what I mean.
thanks
cunder
10-02-2006, 01:37 PM
Is this works for vb3.6.1
yes:)
rainyleaves
10-17-2006, 01:42 PM
Works fine with 3.6.2~~
Thanks utw-Mephisto!!
mikeclarke
10-17-2006, 09:19 PM
Can I have different shouts on different forums with this?
rainyleaves
10-17-2006, 10:10 PM
Hallo
how I can remove the space between the name and reported
Look pics what I mean.
thanks
Edit templete : forumhome_vbshout_shout
1. find
<td width="1%" style="white-space:nowrap" align="left" valign="top">
2. Replace
<td width="1%" style="white-space:nowrap" align="right" valign="top">
3. Find
<if condition="!$Shout[s_me]">
4. Add above
</td><td width="100%" align="left">
That it .. ^^
NicholasMarshal
12-06-2006, 10:59 AM
Thanks very much for this - it's tricky to know where to start sometimes...
bollie
12-24-2006, 08:04 AM
a) Change the Hook Location to "global_start"
???????
ButchB
03-06-2007, 12:15 AM
I installed this and it shows up on the right forum and all but it just says "loading"? It's been like this for a few minutes. How long does it take? WIll it do this everytime somebody goes to that page? And will only members be able to use it? Thanks
ams3521
03-28-2008, 09:06 PM
does this work with vbshout 2.1?
thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.