PDA

View Full Version : vBShout on all pages!


Pages : [1] 2

Abe1
09-12-2005, 10:00 PM
vBShout on all pages!

Works for vBShout version 2.0

This hack will make vBShout show on all pages of your side. BUT, will only alow the shoutbox to be placed under the navbar.

1) Install vBShout (Download here)

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:

$Position = '<!-- / nav buttons bar -->';
$vbulletin->templatecache['navbar'] = str_replace($Position, $Position . '<br /> $Shoutbox', $vbulletin->templatecache['navbar']);


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

Find:
if (THIS_SCRIPT == "index")

Replace with:
if (VB_AREA == "Forum")


There is the same info in the zip.


Done. Make sure you clicked "install" :)

Daniel
09-13-2005, 02:28 AM
Very nice, good job. :)

Brandon Sheley
09-13-2005, 04:15 AM
nice,, not sure if i want to use it yet.. but i might :p still playing around..

thx for editing it still :)

Wordplay
09-13-2005, 07:11 AM
does that display it at the bottom of all pages the way it usually shows? or does this display the shoutbox like this: on the left side of the forum?
http://www.sex-is-zero.com

i would love vbshoutbox to be displayed only fully if somebody clicks on it, but other then that a minature version exactly where it is displayed right now.

Abe1
09-13-2005, 10:05 AM
does that display it at the bottom of all pages the way it usually shows? or does this display the shoutbox like this: on the left side of the forum?
http://www.sex-is-zero.com

i would love vbshoutbox to be displayed only fully if somebody clicks on it, but other then that a minature version exactly where it is displayed right now.

Sorry, this hack is not for that shoutbox.

It is for AJAX vBShout.

Neises
09-13-2005, 03:54 PM
Sounds great, anyone try it with vbadvanced yet? It uses the main navbar template by default. I'll do some guinea piggin' tonight if not.

Gizmo5h1t3
09-13-2005, 04:08 PM
installed it exactly as in instructions, now i have a completely borked board...cant login, even into the admin cp..

Fatal error: Call to undefined function: isbanned() in /home/*******/public_html/board/global.php(363) : eval()'d code on line 112

any helpin gettin my board back online would be appreciated

Abe1
09-13-2005, 04:32 PM
installed it exactly as in instructions, now i have a completely borked board...cant login, even into the admin cp..

Fatal error: Call to undefined function: isbanned() in /home/*******/public_html/board/global.php(363) : eval()'d code on line 112

any helpin gettin my board back online would be appreciated

Use this: http://www.vbulletin.com/forum/showthread.php?t=148082 to disable plugins.

Then make sure you DID all the plug in edit! It seems like you did not do setp 2b. After, enable plugins again.

Abe1
09-13-2005, 04:34 PM
Use this: http://www.vbulletin.com/forum/showthread.php?t=148082 to disable plugins.

Then make sure you DID all the plug in edit! It seems like you did not do setp 2b. After, enable plugins again.

CORRECTION: checking over the error again, you must have not made the plugin for the right hook. make sure it is global_start.

Abe1
09-13-2005, 04:38 PM
Looking at global.php, there is no hook even on line 363. Did you ever edit global.php?

Gizmo5h1t3
09-13-2005, 06:44 PM
not to worry, ive done a install of a backup.least the boards back online now...

will having any other hacks or plugins affect this working properly???

Abe1
09-13-2005, 06:46 PM
not to worry, ive done a install of a backup.least the boards back online now...


will having any other hacks or plugins affect this working properly???

Nope.

At least non that I know of. I can't see why one should.

Gizmo5h1t3
09-13-2005, 06:47 PM
thats real weird then....this completley borked the board up...

and im no n00b either, so its not like i dont know what im doin m8.

Abe1
09-13-2005, 06:48 PM
thats real weird then....this completley borked the board up...

and im no n00b either, so its not like i dont know what im doin m8.

Try not doing step 2b

Gizmo5h1t3
09-13-2005, 06:51 PM
"try not doing step 2b"?!?!?!?

this isnt a beta forum mate, it either works or it doesnt.

i think il wait till others have tried this b4 i give it another go, i aint bein no guinea pig.

Abe1
09-13-2005, 07:48 PM
"try not doing step 2b"?!?!?!?

this isnt a beta forum mate, it either works or it doesnt.

i think il wait till others have tried this b4 i give it another go, i aint bein no guinea pig.

Here, your error says that the function is not there. It should be there from the file unless you dont have the write file for version 2.0

Snort_2005
09-14-2005, 04:53 AM
Perfect!!!! That was just genious.. Something I have been looking for for quite some time..

*clicks install*

EDIT: Now, the only thing else I want it to do is show up on vbadvanced. :p

Mathiau
09-14-2005, 09:42 PM
gottaaaaaaaa see pics :D

Abe1
09-15-2005, 03:12 AM
gottaaaaaaaa see pics :D

same picks as the main hack. Just the shoutbox shows on every page.

Snort_2005
09-16-2005, 03:10 PM
Any chance of getting this on vbadvanced?

Snort_2005
09-21-2005, 12:56 AM
Any chance of getting this on vbadvanced?

*bump*

Abe1
09-21-2005, 04:17 AM
*bump*

I will see. It seems that vbadvanced doesn't work with global.php like other places do.

IFor[You]
09-27-2005, 01:21 PM
can we put this on every bottom of the page instead of at the top?

Abe1
09-27-2005, 02:00 PM
']can we put this on every bottom of the page instead of at the top?

I'm going to try to work on that.

Snort_2005
09-27-2005, 06:34 PM
I will see. It seems that vbadvanced doesn't work with global.php like other places do.

Ever figure this out Abe1?

Abe1
09-27-2005, 06:55 PM
Ever figure this out Abe1?

Nope. Not much time yet.

Mepher
09-27-2005, 07:55 PM
I just got the same error that Gizmo had. In the vBshout options I had set it so banned members couldn't see the shoutbox at all. Once I changed that option the errors went away and everything worked fine.

Gizmo5h1t3
09-27-2005, 08:00 PM
so if u had the same error as me, how did u get back in to reset the options for banned members??
ihad to re install a backup, as the forum implded...lol

Mepher
09-27-2005, 08:03 PM
My Admin CP was still open in another window. I changed the setting, hit save, and refreshed my other browser. :squareeyed:

Gizmo5h1t3
09-27-2005, 08:05 PM
lucky you, i had to re install the bleedin lot...lmao

memorex
09-27-2005, 10:48 PM
So, we have to give access to banned users to see the shouts? Is there any way around that?

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

On the last part where it says ($bash, iif($vbulletin .... is that iif supposed to if ?

IFor[You]
09-28-2005, 01:30 PM
]I'm going to try to work on that.
that's great.
anxiously awaitng... :D

Wachtmeister
10-01-2005, 04:38 PM
Is it possible to get the shoutbox to the bottom of each page with the add-on?

After i have installed the add-on i have the shoutbox on every page BUT right under the navbar :ermm:

Regards, Wachtmeister

Abe1
10-01-2005, 11:19 PM
Is it possible to get the shoutbox to the bottom of each page with the add-on?

After i have installed the add-on i have the shoutbox on every page BUT right under the navbar :ermm:

Regards, Wachtmeister

Yes, I will be working on that in a day or two hopfully.

Wachtmeister
10-04-2005, 08:33 PM
I noticed, that nearly all of my users have "Shoutbox" into their WOL Status. (since i use VBShout on all pages). Is it normal?

Wachtmeister
10-05-2005, 08:36 AM
Just a bit more specific...

Why are all the users into the Shoutbox onto WOL Status? They aren't :surprised:

Gizmo5h1t3
10-05-2005, 06:58 PM
Just a bit more specific...

Why are all the users into the Shoutbox onto WOL Status? They aren't :surprised:

i also get this...no matter where a member is on the board, it shows theyre viewing shoutbox???

Abe1
10-05-2005, 11:36 PM
Just a bit more specific...

Why are all the users into the Shoutbox onto WOL Status? They aren't :surprised:

Thanks for the pic. A picture is worth more then 1000 words.

It has to do with the shoutbox updating. Since it's the last thing that are refreshing, that is what vb things they are by.

Wachtmeister
10-06-2005, 08:13 AM
Just an idea:

Can you change it, that the WOL status is not updated, if someone looks to the shoutbox (boxed) on any page? (in a thread, on forumhome, etc.)

Maybe you can update the WOL status just if someone clicks onto "Shoutbox" to view the detailed status about most posters and more.

Or maybe make it an option?

Gizmo5h1t3
10-14-2005, 03:48 PM
was hoping someone could come up with a fix for this WOL problem....
i imagine there are other members on here, that like to use the "who`s online", to see where members are on the board at any given moment....its sooo frustrating seeing that theyre all vierwing the shoutbox, when its obvcious they arent!!

lmao

Abe1
10-14-2005, 04:49 PM
was hoping someone could come up with a fix for this WOL problem....
i imagine there are other members on here, that like to use the "who`s online", to see where members are on the board at any given moment....its sooo frustrating seeing that theyre all vierwing the shoutbox, when its obvcious they arent!!

lmao

This is not my problem. It's the main shoutboxes problem. If you didn't have this hack installed, all users that are on the main page would be showed viewing the shoutbox.

slank
10-16-2005, 10:01 AM
i like the hack....in fact i love it, but it somehow messed up my usercp :ermm:

where did i go wrong?

Gizmo5h1t3
10-16-2005, 10:03 AM
This is not my problem. It's the main shoutboxes problem. If you didn't have this hack installed, all users that are on the main page would be showed viewing the shoutbox.

abe, i dont remember seeing where i put that it was your problem...lol
all i was asking was, would the re be anyone out there that might have the solution to it??

Abe1
10-16-2005, 11:58 AM
abe, i dont remember seeing where i put that it was your problem...lol
all i was asking was, would the re be anyone out there that might have the solution to it??

I assumed since you posted it here, you thought it was this hacks problem. i would assume you would post it in the main hack thread this problem.

Anyway, I maybe able to come out with a fix. No garranty on it, or how long it will take.

Blackbeard
10-16-2005, 12:12 PM
Right iam being very stupid here but dont understand the instructions, how do i edit the plugin - change the hook, is 2b in the php file, iam just not upto speed with all this.

Abe1
10-16-2005, 03:16 PM
Right iam being very stupid here but dont understand the instructions, how do i edit the plugin - change the hook, is 2b in the php file, iam just not upto speed with all this.

You have to edit it in your acp. acp ->plugins->manage plugins

Blackbeard
10-16-2005, 04:30 PM
Sorted, amazing what happens after you click expand lol, thanks install

slank
10-17-2005, 01:17 AM
Abe1 - any chance of letting me know what i did wrong?, thumbnail is on page 3

Abe1
10-17-2005, 03:40 AM
Abe1 - any chance of letting me know what i did wrong?, thumbnail is on page 3

I've got no clue.

slank
10-17-2005, 08:14 AM
thanks for the reply, do you think it could have something to do with the forum width or cell/margin/border spacing etc?

Markco
10-17-2005, 05:11 PM
Fatal error: Call to undefined function: isbanned() in /home/*******/public_html/board/global.php(363) : eval()'d code on line 112

Yes I have the same problem

Fatal error: Call to undefined function isBanned() in /global.php(349) : eval()'d code on line 112

The error occurs with the following parameters:

Options vBulletin >> Vbshout options >> Banned Permissions:

Choose access permissions for banned users, by default they will not be able to post shouts: >> Can not view shoutbox

This error occurs only with vBShout on all pages not on the traditional shoutbox

SacredCow
10-19-2005, 03:46 AM
Any chance with making something like this work with the drupal plug in? I'd cream in my pants if that happened cause I can't figure out how to make it work. I'm trying to make this site which is currently a huge PostNuke style site and convert it over.

http://www.faygoluvers.net - the current site, sign up and see the features and massive themes.

http://www.fall-guy.com/lounge/2/ - new beta for it.

TTG
10-19-2005, 01:25 PM
Just installed and all work well except when users are viewing the vbagallery (http://www.vbadvanced.com/products.php?do=productinfo&p=5) .. shoutbox shows, but is always 'loading' !?

Wachtmeister
10-24-2005, 11:02 AM
How can i uninstall this?

> a) Change the Hook Location to "global_start"

What was the original string? ;-) I just want the Shoutbox onto forumhome due to too much traffic now ;)

Abe1
10-24-2005, 01:28 PM
How can i uninstall this?

> a) Change the Hook Location to "global_start"

What was the original string? ;-) I just want the Shoutbox onto forumhome due to too much traffic now ;)

forumhome_complete

Wachtmeister
10-24-2005, 03:16 PM
forumhome_complete

Thank you very much :)

Wachtmeister
10-24-2005, 03:29 PM
Is there maybe a chance to have the Shoutbox also on my Arcade? I don't want the SB on every page. Just on Forumhome and Arcade.

Regards, Wachtmeister

Aeolian_X
11-03-2005, 11:04 AM
I don't suppose there's a way to put it on select pages instead of every one of them is there? I wouldn't mind it being in my General Discussion area, but don't know if I want it in my tech sections.

PsiNyde
11-03-2005, 02:09 PM
im sure you can go into the template and make an <if> condition to exclude it from certain forums...yes?

PsiNyde
11-03-2005, 02:12 PM
also, is it possible to put this hack inside of amykhar's left/right_column hack instead of under the navbar?

Holidazed
11-03-2005, 05:58 PM
I am trying to follow the instructions. Here are the problems I am having:

Step 1.) No problem
Step 2a.) Done
Step 2b.) Where is this? This does not look like the text in my vBShout [Template Alteration] plugin

Mine, looks like this:
if (THIS_SCRIPT == "index")
{
global $globaltemplates;
$globaltemplates = array_merge($globaltemplates, array('forumhome_vbshout'));
}
Step 2c.) Where do I find this piece of code.
Step 3.) No problem

BTW, I am using Ajax's vBShout.

Abe1
11-03-2005, 10:54 PM
I am trying to follow the instructions. Here are the problems I am having:

Step 1.) No problem
Step 2a.) Done
Step 2b.) Where is this? This does not look like the text in my vBShout [Template Alteration] plugin

Mine, looks like this:
if (THIS_SCRIPT == "index")
{
global $globaltemplates;
$globaltemplates = array_merge($globaltemplates, array('forumhome_vbshout'));
}
Step 2c.) Where do I find this piece of code.
Step 3.) No problem

BTW, I am using Ajax's vBShout.

Your mixing up 2b and 3.

Holidazed
11-04-2005, 12:31 PM
Your mixing up 2b and 3.

No, 2b clearly states.

2) Edit plugin "vBShout [Template Alteration]" and make the following changes:

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()));
}
And 3 Clearly states
3) Edit plugin "vBShout [Template Cache]" and make the following changes:

Find:
if (THIS_SCRIPT == "index")

Replace with:
if (VB_AREA == "Forum")
I do not see a mix up here. The code I am told to look for in steps 2b and 2c does not exist as far as I can see. Maybe you can tell me what template/file/plugin I am supposed to find it in?

Abe1
11-04-2005, 03:20 PM
No, 2b clearly states.

2) Edit plugin "vBShout [Template Alteration]" and make the following changes:

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()));
}
And 3 Clearly states
3) Edit plugin "vBShout [Template Cache]" and make the following changes:

Find:
if (THIS_SCRIPT == "index")

Replace with:
if (VB_AREA == "Forum")
I do not see a mix up here. The code I am told to look for in steps 2b and 2c does not exist as far as I can see. Maybe you can tell me what template/file/plugin I am supposed to find it in?

2b and 2c are in the same place as 2a

Holidazed
11-04-2005, 03:33 PM
I understand what you are trying to say, but your instructions on step 2 say:

Edit plugin "vBShout [Template Alteration]" and make the following changes:

The things it is telling me to look for are not there!

Mine looks like this

if (THIS_SCRIPT == "index")
{
global $globaltemplates;
$globaltemplates = array_merge($globaltemplates, array('forumhome_vbshout'));
}
That is all that it says. Where do I find this other text you are referring too?

The only text that matches your instructions are in step 2a and step 3

Abe1
11-04-2005, 06:00 PM
you will find 2b and 2c in plug-in "vBShout [Template Alteration]"

Holidazed
11-04-2005, 07:19 PM
OK, I did all you said to do. I found all the entries and made the changes, Now I am getting this error on my main forum page.

Fatal error: Call to undefined function isBanned() in /home/dungeon/public_html/vbb350/global.php(349) : eval()'d code on line 112

Could this be because I an running vbb3.51?

Abe1
11-05-2005, 09:54 PM
OK, I did all you said to do. I found all the entries and made the changes, Now I am getting this error on my main forum page.

Fatal error: Call to undefined function isBanned() in /home/dungeon/public_html/vbb350/global.php(349) : eval()'d code on line 112

Could this be because I an running vbb3.51?

It have something to do with the banning open and using the 2nd choice. I havn't figured it out yet.

Holidazed
11-07-2005, 08:11 PM
Any ideas on this yet?

Holidazed
11-11-2005, 04:32 PM
Is this mod being supported? Maybe it should be moved to the beta forums as it still does not work.

bplinson
11-12-2005, 11:42 AM
Installed yesterday - Uninstalled today. Slowed the forums down WAY too much.

Abe1
11-12-2005, 11:04 PM
Is this mod being supported? Maybe it should be moved to the beta forums as it still does not work.

Dont use the 2nd option on banning. I cant give any other suggestion right now.

davew
11-13-2005, 12:57 AM
Just installed and all work well except when users are viewing the vbagallery (http://www.vbadvanced.com/products.php?do=productinfo&p=5) .. shoutbox shows, but is always 'loading' !?


Yep .... Same...

Anyone else seeing this, or did you find an answer please?

Harry72
11-13-2005, 07:20 AM
Thx ! Works great on 3.5.1 ! Keep up the good work !

THX !!! :nervous:

bye
Harry

ninermac
11-14-2005, 05:20 AM
If you're looking to find a way to fix the Who's Online problem, see my post here (https://vborg.vbsupport.ru/showpost.php?p=820807&postcount=793)

dark dragun
11-15-2005, 06:22 PM
Uninstalled untill fix is posted for the banning function. I too get errors if anything other than "banned user can see, but not post in shoutbox" setting and then the shoutbox dosnt even show up any where not even on forum home anymore lol. If i pick a differnt setting a blank page loads. I like it, but it needs to be tested much more befor being released. keep trying. If anyone has got this working please post what version of vb you have and what skin your using. thanks.

jesus likes pie
11-15-2005, 06:26 PM
Sorry, but I really don't like this idea =\

davew
11-15-2005, 06:56 PM
Uninstalled untill fix is posted for the banning function. I too get errors if anything other than "banned user can see, but not post in shoutbox" setting and then the shoutbox dosnt even show up any where not even on forum home anymore lol. If i pick a differnt setting a blank page loads. I like it, but it needs to be tested much more befor being released. keep trying. If anyone has got this working please post what version of vb you have and what skin your using. thanks.

It works perfectly for me with vB3.5.1 and standard skin.

EXCEPT for within vbaGallery, where it says LOADING.... only...

Has anyone solved this particular problem please??

kafi
11-19-2005, 08:34 PM
It works for me too, but I would need this only for forum id=18.
Can anybody help where to put "if" condition?

In old shoutbox I have had this:
<if condition="$forumid == '18'">

Probably something like that will help here also. But how? .-)

Thank you!!!

kafi
11-19-2005, 09:00 PM
It works for me too, but I would need this only for forum id=18.
Can anybody help where to put "if" condition?

In old shoutbox I have had this:
<if condition="$forumid == '18'">

Probably something like that will help here also. But how? .-)

Thank you!!!


Ok I have put the same if in the template forumhome_vbshout. It is working now, except that it is in navbar above my custom made banner place, that is supposed to be directly under navbar and than I want to have shoutbox.

Any suggestions why is that?
Thank you!

davew
11-22-2005, 04:58 AM
I love this :)

It has really increased user activity, and thank you very much!

Couple of questions though...

As it doesn't seem to work with vbGallery (Just shows Loading.....) how can I exclude it from showing there?

And also, I'd like only registered users to be able to see the shoutbox, is that possible please?

unknowngiver
11-25-2005, 04:25 PM
hey is it possible to have it on all pages but ABOVE THE FORUMS..

kafi
11-25-2005, 04:51 PM
Hi everybody I have this problem:

admin edits are saved and showing correctly
Do not know whether this is issue of vbshout or this hack, but:

Admin edits of shouts are saved properly and shown on shoutbox properly, but

users edits have two mistakes:
1. edit is not shown on vbshout, only in archive
2. edited text is visible only in archive, but due coding issues it is showing anything else but letters.

I persume, that this has someting with permisions features. Does anybody has any idea where the problem could be solved?

kdh344
11-30-2005, 04:09 PM
where is the ENTIRE list of hacks available and the hack for version 3.0.3?

Wachtmeister
12-03-2005, 11:26 AM
Does anybody here nows, how i can have the Shoutbox on a custom page?

I've setup a custom page, displaying my webcam (like i read on vb.org tutorial somewhere). Now i just want the shoutbox into this page. Does anybody know, which code i can include into my template?

I don't want the SB on every page. Just on one specific webcam.php that uses vb3.5 header, navbar, footer, template.

lisquid
12-03-2005, 11:55 AM
Does anybody here nows, how i can have the Shoutbox on a custom page?

I've setup a custom page, displaying my webcam (like i read on vb.org tutorial somewhere). Now i just want the shoutbox into this page. Does anybody know, which code i can include into my template?

I don't want the SB on every page. Just on one specific webcam.php that uses vb3.5 header, navbar, footer, template.

I have never replied to a VB.org post this is my first time ever here is my problem:


When I install this it works GREAT.....on the default skin it seems to take away the shoutbox completly on ALL other skins any fix?

Abe1
12-03-2005, 10:33 PM
I have never replied to a VB.org post this is my first time ever here is my problem:


When I install this it works GREAT.....on the default skin it seems to take away the shoutbox completly on ALL other skins any fix?

you have to do the template edit on all skins.

lisquid
12-10-2005, 03:44 AM
Mabe im not sucha noob coder afterall anyways if your running navbar2 do this

$Position = 'navbar2';
$vbulletin->templatecache['navbar'] = str_replace($Position, $Position . '<br /> $Shoutbox', $vbulletin->templatecache['navbar']);

yxboom
12-19-2005, 11:42 PM
you have to do the template edit on all skins.
what template edit?

I am having the same issue as the above posters where the shoutbox is only showing up in the default skin.

Thanks.

Abe1
12-20-2005, 11:45 AM
what template edit?

I am having the same issue as the above posters where the shoutbox is only showing up in the default skin.

Thanks.

How about make sure you have this:<!-- / nav buttons bar -->in every navbar template. If you dont, put it where you want the shoutbox.

yxboom
12-20-2005, 12:46 PM
How about make sure you have this:<!-- / nav buttons bar -->in every navbar template. If you dont, put it where you want the shoutbox.

thanks a lot. that got it working properly.

davew
12-20-2005, 10:47 PM
I love this :)

It has really increased user activity, and thank you very much!

Couple of questions though...

As it doesn't seem to work with vbGallery (Just shows Loading.....) how can I exclude it from showing there?

And also, I'd like only registered users to be able to see the shoutbox, is that possible please?

Any clues on the vbGallery problem please?

And any progress on the Banning problems?

I turned the shoutbox off on my forums and I think they were starting to organise a lynch party!! Definitely very popular with users, thank you!

liljimmy
12-23-2005, 01:21 AM
I've followed the instructions. It works, however the shoutbox shows up on every page but the main index page. Any ideas why?

icemann
12-25-2005, 02:56 AM
Worked fine for me after changing the vbshout options for banned users to:

Can view shoutbox, but not messages


Thanks..... *install* :)

lewisbee
12-30-2005, 08:19 AM
I get 2 shoutboxes now on the forum home...1 below the other...what caused this, and how could i fix it?
I followed the instructions, correctly...

lewisbee
12-30-2005, 08:29 AM
never mind, i just deleted the 2 extra plugins :)

mbader71
01-05-2006, 06:01 AM
I did all the steps but nothing happened

the shoutbox only appears in the forum home

DF-inside
01-05-2006, 12:19 PM
This shoutbox is not compatible with FireFox1.06 in it's current state.

Error brief:
Shout box will show up but keeps showing loading......

samu2
01-05-2006, 05:17 PM
How do I delete code? ive high lighted the text,pressed delete and backspace,but It doesn't let me delete it?

da420
01-07-2006, 01:34 AM
id love to install this but i have the shout on the bottom of the forum. I know you said you were working on it, but do you have an estimated time you are going to get to this?

Thank you.

samu2
01-07-2006, 12:12 PM
bUMP ;) really want this :)

NemoTech
01-07-2006, 01:30 PM
Great now I dont have the shoutbox showing up anywhere.

70age
01-07-2006, 01:47 PM
This shoutbox is not compatible with FireFox1.06 in it's current state.

Error brief:
Shout box will show up but keeps showing loading......

I have the same problem

V3.51

NemoTech
01-07-2006, 02:09 PM
Great now I dont have the shoutbox showing up anywhere.


Looks like it has something to do with my template.

Works for the default vb skin, i'll mess around with it and try to get it working for my custom skin.

NemoTech
01-07-2006, 02:14 PM
How about make sure you have this:<!-- / nav buttons bar -->in every navbar template. If you dont, put it where you want the shoutbox.


You are a very intelligent man. Thank You.

Warlockmatized
01-09-2006, 12:52 AM
i have a vb playsite, something to play with before i catually go public. this thing works great. clicked install :)

da420
01-10-2006, 11:57 PM
id love to install this but i have the shout on the bottom of the forum. I know you said you were working on it, but do you have an estimated time you are going to get to this?

Thank you.

I'd love this to happen...

ChErAbOo
01-17-2006, 01:51 AM
Thanks works good nice feature

*clicks Install

QueenBee
01-17-2006, 06:29 AM
ugh, its still disapperaing when i add this mod, could someone please tell me where this goes:

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

in the template alteration. so i can uninstall it!

please someone

QueenBee
01-17-2006, 07:42 AM
anyone ? pweeeeeze:)

QueenBee
01-17-2006, 02:22 PM
hellooooo??

QueenBee
01-17-2006, 03:48 PM
omg i just need the code, anyone with a shoutbox please!! not ajax tho

Renada
01-24-2006, 09:53 PM
ugh, its still disapperaing when i add this mod, could someone please tell me where this goes:

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


in the template alteration. so i can uninstall it!

please someone

It goes above this code
if ($vbulletin->options['shout_banned_perms'] == 2 && isBanned($vbulletin->userinfo))

Or you could just import the plugin again and check the "can overwrite" box

Hope this helps,
Renada

DWard
01-25-2006, 01:19 PM
PHP5 Issue:

I am getting:
Warning: array_merge() [function.array-merge (http://www.surgeguild.com/forums/function.array-merge)]: Argument #1 is not an array in /includes/functions.php(1064) : eval()'d code on line 5

on user profile pages.... when I disable shoutbox it doesnt appear. Help please.

bashy
01-25-2006, 04:30 PM
Hi

Doing this edit Knackerd up my forums...

The hacks i had in the navbar dissapeared...
The shoutbox dissapeared.

Had no end of DB errors, such as...

Database error in vBulletin 3.5.3:

Invalid SQL:
SELECT COUNT(*) AS num FROM post AS post LEFT JOIN thread AS thread on post.threadid=thread.threadid LEFT JOIN forum AS forum on thread.forumid=forum.forumid WHERE ((forum.options&4096))AND(post.userid=250)AND(post.dateline>=);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 Error Number : 1064
Date : Wednesday, January 25th 2006 @ 06:22:13 PM
Script : http://www.bashys-place.com/forums/showthread.php?p=3213
Referrer : http://www.bashys-place.com/forums/member.php?find=lastposter&t=956


I have now reverted it back to as it was, great idea but it dont work, and beleive me, i tried it about 6 times as this is something i really need :(

Telegon80
01-26-2006, 01:39 AM
i have no idea how to do this:

2) Edit plugin "vBShout [Template Alteration]" and make the following changes: do i have to edit the vbshout.php file?? or is it in the edit templates? i cant find any file that says vbshout template alteration anywhere.

Telegon80
01-26-2006, 06:30 PM
seriously can anyone help me here?

S@NL - BlackBik
01-26-2006, 07:05 PM
It's in your plugin manager on your admincp
You don't have to edit the php file, just edit the code in the plugin/

bashy
01-26-2006, 07:08 PM
Hi peeps

Any advance my wee issue?

Telegon80
01-27-2006, 09:50 AM
went ahead with the install...

Fatal error: Call to undefined function: isbanned() in /home/.geesha/********/*******/forums/global.php(357) : eval()'d code on line 113

edit: read the thread and it looks like i have to skip option 2b???? :ermm:

Ohiosweetheart
01-27-2006, 01:11 PM
I'm having to get rid of this hack... it's screwed up my forum. When I have this hack, the who's online constantly shows everyone viewing the shoutbox... even guests (the sb is hidden from guests) and bots.

It was a nice idea, but just not working.

Abe1
01-27-2006, 01:50 PM
I'm having to get rid of this hack... it's screwed up my forum. When I have this hack, the who's online constantly shows everyone viewing the shoutbox... even guests (the sb is hidden from guests) and bots.

It was a nice idea, but just not working.

I think there is a fix for that by the main thread of the hack.

Ohiosweetheart
01-27-2006, 02:20 PM
No it's not a fix... it's an "I think this might work".... sorry, but I don't have time for mights ;)

Ohiosweetheart
01-27-2006, 02:25 PM
PHP5 Issue:

I am getting:
Warning: array_merge() [function.array-merge (http://www.surgeguild.com/forums/function.array-merge)]: Argument #1 is not an array in /includes/functions.php(1064) : eval()'d code on line 5

on user profile pages.... when I disable shoutbox it doesnt appear. Help please.

I had this too, in addition to the who's online problem. As soon as I deleted this "sb on every page" hack, it disappeared.

sorry Abe :ermm:

Telegon80
01-27-2006, 10:32 PM
went ahead with the install...


Fatal error: Call to undefined function: isbanned() in /home/.geesha/********/*******/forums/global.php(357) : eval()'d code on line 113



edit: read the thread and it looks like i have to skip option 2b???? :ermm:

my question got left behind on the last page.....

dartworth
03-06-2006, 12:41 AM
working on our forums


http://www.cdmaforums.com


thanks

NemoTech
03-11-2006, 11:19 AM
How do you have it show up only on a certain forum and for registered users & moderators only?

The following doesnt work.

<if condition="$forumid == '5' & $userid=='(2,6)' ">
<!-- / nav buttons bar -->
</if>

Help, please. This is a n00b question :)

feverwilly
03-15-2006, 05:42 PM
Works fine except when I click on a username in the shout box and get the following message;

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1097) : eval()'d code on line 5

How do I fix this?

bashy
03-18-2006, 08:23 AM
Got a serious problem peeps
I have tired this again and it didnt work, I put itback to how it was

Now i get this error when trying to access admincp

Parse error: parse error, unexpected '[' in /home/sites/bashys-place.com/public_html/forums/includes/functions.php(1064) : eval()'d code on line 4

I have now resolved the issue but for some reason i cannot use this hack
Big shame though....

Abe1
03-18-2006, 10:44 PM
Are you using the 2nd option not allowing users to view the shoutbox?

|oR|Greg
03-21-2006, 09:36 PM
Works nicely... www.limmac.org

I just want to change it's formatting though. I use a left side nav menu on all pages and I want the width of the shoutbox to be what it was before the hack, same width as the forum, rather then same width as the navbar. Also, I have some custom built pages using vBAdvanced, and it doesn't show on those 3 pages for some reason?

sickboy6ths
03-29-2006, 09:04 AM
Anyone has any clue how to circumvate the whole who's online stuff? I got a shoutbox on all my pages and I just don't want the who's online to show anything, except what the user is watching (which thread/forum/page etc...)

I just totally don't want it to show "watching shoutbox", or change the text into something else... no, just purely the original way vbulletin works :)

Anybody any idea how I could make that work?

Abe1
03-29-2006, 11:52 AM
It's been posted some where here or in the origonal hacks page.

sickboy6ths
03-30-2006, 06:26 AM
It's been posted some where here or in the origonal hacks page.
There where only solutions stating how to change the name of what is shown online, and there is only shown that you should not put it on all pages cause if you do, you will always have that who's online problem, so that's not really a solution. Or do you know otherwise, cause if im wrong and ur right, I would like to know and i'll try and read those 100's and posts again :D

Bladinium
03-31-2006, 10:13 AM
Hello,

I installed the hack. I have verify well quite and all is correct. but the shoutbox disappeared....

help pleease

iranthavan
04-09-2006, 02:12 AM
Hello,

I installed the hack. I have verify well quite and all is correct. but the shoutbox disappeared....

help pleease

exactly same thing happening here, i got 3 styles, recently added 2 doesnt show the vbshout at all when i do this all pages hack but style 1 working fine, what could be wrong? please help.

Abe1
04-09-2006, 03:04 AM
exactly same thing happening here, i got 3 styles, recently added 2 doesnt show the vbshout at all when i do this all pages hack but style 1 working fine, what could be wrong? please help.
You have to make sure the line that gets replaced is in the nav bar template.

GoTTi
04-10-2006, 07:07 AM
yea your mod is fuxored pal...

when i skip the delete isbanned code, and just did the navbar edit option i get this error:


Fatal error: Cannot redeclare isbanned() (previously declared in /home/SITE/public_html/forums/vbshout.php:128) in /home/SITE/public_html/forums/global.php(349) : eval()'d code on line 114


this error is in my shoutbox btw

Abe1
04-10-2006, 11:48 AM
yea your mod is fuxored pal...

when i skip the delete isbanned code, and just did the navbar edit option i get this error:



this error is in my shoutbox btw
Why did you skip that step? That is why you got the error.

GoTTi
04-11-2006, 01:45 AM
i didnt skip the step. when i do the step i get the eval error.

when i skip the step i get that error inside my shoutbox

Abe1
04-11-2006, 03:30 AM
i didnt skip the step. when i do the step i get the eval error.

when i skip the step i get that error inside my shoutbox
It's because you use the 2nd option in denying users. all other options work normaly.

lordi
04-12-2006, 08:26 PM
as observed..many members faced problems and difficulties when they apply the steps

i need it anyway..but have to ask u what shall i do first?

do i apply all the steps u mentioned in ur explanation in page 1 ?

thx in advance

Abe1
04-12-2006, 08:29 PM
as observed..many members faced problems and difficulties when they apply the steps

i need it anyway..but have to ask u what shall i do first?

do i apply all the steps u mentioned in ur explanation in page 1 ?

thx in advance
Yes. It will work fine as long as you dont apply the 2nd option to block users from viewing the chat.

frandy
04-12-2006, 09:57 PM
Would you be willing enough to develop it to allow banned usergroups? Cause I only use this for the staff and would be quite nice to see it on everypage

JohnnyClark
04-13-2006, 04:12 AM
Well i followed all ur steps...and no shoutbox showed up...then i did all the steps except step 2 now the shoutbox jus shows on the forumhome...??any ideas

Ambie
04-13-2006, 06:43 PM
Works great for me :) I would love to find out how to make it only on certain forums though.

hotwheels
04-15-2006, 12:31 AM
nice

Abe1
04-16-2006, 01:47 AM
Well i followed all ur steps...and no shoutbox showed up...then i did all the steps except step 2 now the shoutbox jus shows on the forumhome...??any ideas
You are missing code in the nav bar template.

JohnnyClark
04-17-2006, 06:40 PM
what kinda code could i be missing????

Abe1
04-17-2006, 08:52 PM
what kinda code could i be missing????
<!-- / nav buttons bar -->

SkyHead
04-18-2006, 12:15 AM
Is it possibly to custoomize this to my forum at www.money-guide.net ?
If so, how?

Sorrry, I'm a newbie, and need a little help, but would be really appreciated if I got it.

If someone could contact me at MSN that would be great.

WhyDoesItMatter
04-18-2006, 02:54 AM
Thanks alot Abe1.. I'm so happy to have my shoutbox back.. You rock bro!.. Keep up the great work.

*Clicks install*

yellowchaser
04-18-2006, 06:36 AM
I have seen several people ask about the problem with the shoutbox showing on vbgallery but no answer..... how can you get it to work and stop showing "loading..." ????????????

furst
04-18-2006, 05:48 PM
Any way to get this on the bottom instead?

GoTTi
04-19-2006, 11:54 PM
when i enter the banned usergroup and enable that, i get errors all over forum cuz of this mod.

ideas?

GoTTi
04-19-2006, 11:55 PM
I have seen several people ask about the problem with the shoutbox showing on vbgallery but no answer..... how can you get it to work and stop showing "loading..." ????????????

im having same problem

salata
04-21-2006, 08:54 PM
You are missing code in the nav bar template.

where exactly do i put this code in the nav bar template?

GoTTi
04-22-2006, 01:58 PM
whats the word abe1, why do we all get this eval error when we setup ban groupns in our shout settings and change the options banned usergroups will get? once we alter that setting the forum errors.

Abe1
04-23-2006, 01:29 AM
whats the word abe1, why do we all get this eval error when we setup ban groupns in our shout settings and change the options banned usergroups will get? once we alter that setting the forum errors.
I dont know. It only happens when you use that way to ban users.

GoTTi
04-23-2006, 03:24 PM
abe why is it neccassary to remove the banned field anyways for this mod to work?

Abe1
04-23-2006, 05:08 PM
abe why is it neccassary to remove the banned field anyways for this mod to work?
Because It's called by every page and is in the shoutbox php also.

GoTTi
04-23-2006, 06:00 PM
but its conflicting your mod here. can u make a work around?

Abe1
04-23-2006, 07:11 PM
but its conflicting your mod here. can u make a work around?
Sorry, I dont support this mod. I just posted it because it works for me.

utw-Mephisto
05-02-2006, 11:32 AM
Do you know how to show the vbshout not on every page, but certain forums only ?

Jon.
05-17-2006, 04:44 PM
Hey, is there any way to have it 600px high on one specific page, but to have it 100px high everywhere else?

lolo?
05-25-2006, 02:35 PM
PHP5 Issue:

I am getting:
Warning: array_merge() [function.array-merge (http://www.surgeguild.com/forums/function.array-merge)]: Argument #1 is not an array in /includes/functions.php(1064) : eval()'d code on line 5

on user profile pages.... when I disable shoutbox it doesnt appear. Help please.
Same probleme for me any idea to fix this ??

Rickie3
05-28-2006, 09:17 AM
works well cheers *installed*

Division56
05-30-2006, 06:03 AM
I'm having problems with this mod and my skins. It works until I get to 2c, then the shoutbox disappears.

www.intuitivecentral.com/forum/

Any ideas?

Abe1
05-30-2006, 12:06 PM
I'm having problems with this mod and my skins. It works until I get to 2c, then the shoutbox disappears.

www.intuitivecentral.com/forum/

Any ideas?
Open the navbar template and make sure '<!-- / nav buttons bar -->' is in it. If not, add it where you want the shoutbox.

Zachariah
05-30-2006, 03:27 PM
Hey Abe1,

I had someone yell @ me to make this work on vBgallery and your hack.
This might be something ZT should add to the main Build ?

Adding:
$vboptions[bburl]/vbshout.php vs. vbshout.php in references.

Reason:
All links would show up in the gallery sub-folder as: /gallery/vbshout.php vs. /forums/vbshout.php



- In the XML installer of vbshout

Search: vbshout.php
Replace: $vboptions[bburl]/vbshout.php

Result:
5/30/2006 9:03:41 AM
Search String: $vboptions[bburl]/vbshout.php
File Mask: vbshout.xml

Line 23 - <template name="forumhome_vbshout" templatetype="template" date="1124952989" username="Zero Tolerance" version="3.5.0 Release Candidate 2"><![CDATA[<form action="$vboptions[bburl]/vbshout.php?{$session['sessionurl']}" method="post" name="vbshoutform" onsubmit="return postShout(this)">
Line 51 - <a href='$vboptions[bburl]/vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>
Line 137 - ShoutRequest.send('$vboptions[bburl]/vbshout.php', 'nocache=' + (5 * Math.random() * 1.33) )
Line 191 - doShout.send('$vboptions[bburl]/vbshout.php', 'do=shout&shout=' + PHP.urlencode(Shout) + sb_CollectHV(document.forms['vbshoutform']))
Line 319 - doDel.send('$vboptions[bburl]/vbshout.php', 'do=deleteshout&id=' + this.shoutid)
Line 373 - doShout.send('$vboptions[bburl]/vbshout.php', 'do=editshout&id=' + this.shoutid + '&shout=' + PHP.urlencode(ShoutMsg))

Found 6 occurrences.

da420
05-30-2006, 10:31 PM
I didn't yell. I was just persistant. ;)

Zachariah
05-31-2006, 11:07 AM
I didn't yell. I was just persistant. ;)

:D - it just crazy talk

trinigamers
05-31-2006, 08:19 PM
Fatal error: Call to a member function on a non-object in /home/trinigam/public_html/forums/includes/functions.php(1097) : eval()'d code on line 9

WHAT THE HELL TO DO TO FIX THIS!!!!!! i can't get back into my admin CP!

Abe1
05-31-2006, 08:23 PM
Fatal error: Call to a member function on a non-object in /home/trinigam/public_html/forums/includes/functions.php(1097) : eval()'d code on line 9


WHAT THE HELL TO DO TO FIX THIS!!!!!! i can't get back into my admin CP!
Turn off plug-ins using your config file. I'm not sure the code.

trinigamers
05-31-2006, 08:30 PM
Please can you check?
I have no idea how to do it:(

Abe1
05-31-2006, 08:59 PM
Try define('DISABLE_HOOKS', 1);

da420
06-08-2006, 04:08 PM
I reinstalled this. But I am getting this error when I click on a members profile, or when I click to open a PM. When I reupload the the xml product to bring it back to normal without it on all pages it works just fine. But when I use this alteration, I get this error in user profile and when I open a PM.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1097) : eval()'d code on line 5

Also with the shoutbox enabled I go to see who is online and the only place people are is the shoutbox. I have the test it out by going to other places and it still shows them in the shoutbox. Any way to fix this?

sybakaos
06-16-2006, 09:26 PM
Just add <!-- / nav buttons bar --> at the top of each navbar template if doesn't show up.

Pete C
06-23-2006, 09:18 PM
I have downloaded this hack - just need some advice before I attempt the install. I've got the Arcade Shout installed and working just fine. Will this cause any conflict, or can I use them together?

Telegon80
06-30-2006, 03:11 AM
is this hack compatible with the latest vbshout version?

i just made the edits and the whole forum crashed LOL.

gladly i was still on the ACP in another window and went ahead and nuked the whole plugin and was able to bring it back.

Polo
07-03-2006, 03:40 PM
I'm thinking about installing this one :) we will see what happens...

Jon.
07-05-2006, 06:49 PM
I'm having a problem. It's only appearing on the homepage, and nowhere else :(. Any ideas?

EDIT

Ooops, being an idiot, i forgot to do the first modification and change forumhome to global whatever... Works now :)

Awesome hack, btw :D

Milchi
07-09-2006, 09:38 AM
This is not compatible with the newest vbShouts version

https://vborg.vbsupport.ru/attachment.php?attachmentid=46369

If you follow all orders, you will get a white page as forum start page ...

ashley53680
07-13-2006, 10:41 PM
Just tried and couldn't get this working on 3.5.4... :(

Scooterpig
07-15-2006, 12:23 AM
Just tried and couldn't get this working on 3.5.4... :(

Ya must be doing sumpin wrong cause it works fine on that version.

ashley53680
07-15-2006, 03:29 AM
Ya must be doing sumpin wrong cause it works fine on that version.

Well I know that much. LOL I will try it again (3rd time) maybe it'll be a charm.

ashley53680
07-15-2006, 04:11 AM
Tried again for the 3rd time and it, completely wipes away the shoutbox?? This is a pretty easy (so I thought) straight forward mod. I don't see what I would've missed 3 times. Could it be interacting with something else I have installed?

I switched vBShout [Template Alteration] to global_start. I took out the first "find". I replaced the second "find" in that same area. Then in vBShout [Template Cache] I replaced the "find". I mean it's not that hard. :knockedout:

I just wondered if anyone else had this issue, and overlooking something that is probably obvious?

THANKS!

Ashley

Total666
07-15-2006, 04:15 AM
Tried again for the 3rd time and it, completely wipes away the shoutbox?? This is a pretty easy (so I thought) straight forward mod. I don't see what I would've missed 3 times. Could it be interacting with something else I have installed?

I switched vBShout [Template Alteration] to global_start. I took out the first "find". I replaced the second "find" in that same area. Then in vBShout [Template Cache] I replaced the "find". I mean it's not that hard. :knockedout:

I just wondered if anyone else had this issue, and overlooking something that is probably obvious?

THANKS!

Ashley


I have been trying to do this too , but I have the same problem as you , We both must be missing something ... On a side note , I wonder if this mod will work with 3.6 ??

ashley53680
07-15-2006, 04:22 AM
I don't want to even think of 3.6 yet. LOL

GNDI
07-15-2006, 12:01 PM
this does NOT work on 3.5.4

karlm
07-16-2006, 03:16 AM
I clicked it!!! I clicked it!!! :D I did, I did! :banana:

I had a really cheap (well, free actually) and nasty (well, crap actually) shoutbox from my phpbb board, but this kicks ass over it. I especially am glad it is member limited too, in that it restricts spambots and such like. Good stuff!

karlm
07-16-2006, 03:20 AM
In response to some of the above posts, regarding it not working on vb3.5.4, my forum is running 3.5.4 and this shoutbox worked 1st time without a single glitch or error for me.

However, as I'm new to vb in general and have only been a user of it for a couple or so weeks, my board is virtually untouched aside from a couple of google ads thrown in through my own editing of the templates as well as some code given by the vbulletin team on the .com brother site to here. The only single other mod i have is an autogreet for new sign-ups, so my plugin's are empty aside from one.

I can only assume this is the issue for some of the more experienced users amongst this thread, that other plugins - especially for those that are heavily modified - are creating the reported issues.

ashley53680
07-16-2006, 04:40 AM
Okay, so yours works without many modifications. That makes it narrowed down to being affected by mods. So what in THIS mod would keep all other mods working, but totally blank out vbshout? I am not a coder, so I am just trying my best to pinpoint the problem...

GNDI
07-16-2006, 06:36 AM
Okay, so yours works without many modifications. That makes it narrowed down to being affected by mods. So what in THIS mod would keep all other mods working, but totally blank out vbshout? I am not a coder, so I am just trying my best to pinpoint the problem...
agree, it was a very good information we was given there, >>Working on a NON modified board".

But I'm not a coder my self, but I'll hope these info, will help solve the problem

dietcokebf2
07-16-2006, 07:37 AM
Is there a way to get this at the top of the vbadvanced header as well? I noticed it wont show on header on the vbadvanced main page...

Thanks.

GNDI
07-16-2006, 07:56 AM
Is there a way to get this at the top of the vbadvanced header as well? I noticed it wont show on header on the vbadvanced main page...

Thanks.
If you go to the vbshoutbox thread there is a link there to this hach your request

dietcokebf2
07-16-2006, 07:58 AM
If you go to the vbshoutbox thread there is a link there to this hach your request
Could you please link me to the hack? Like the direct link to the post to help me. I am lazy. :) Thanks bud.

GNDI
07-16-2006, 10:42 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=93097" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=93097</a>

karlm
07-16-2006, 05:46 PM
Okay, so yours works without many modifications. That makes it narrowed down to being affected by mods. So what in THIS mod would keep all other mods working, but totally blank out vbshout? I am not a coder, so I am just trying my best to pinpoint the problem...Unfortunately, I don't know coding well enough to even hazard a guess. I used to program in +3 BASIC when I was a teenager, so although I can 'roughly follow' what I see in the code, I dont' have enough php nor mysql experience to comprehend the full workings of it. I would assume, logically, that there is a table or variable collision. For example, it could be that this MOD (purely example purposes so don't quote me on this) uses a variable called $somestuff and you have another MOD that also uses the same variable $somestuff.
For this moment, that's all I can think of, sorry. Perhaps you could attemp to disable all MODs except this (shout). Then re-enable your other MODs one by one. Although it might take a good bit of tedious fiddling within your admincp, it would guarantee a confirmation of which other MOD is clashing with the shout-MOD.
Once narrowed down, you could manually locate the clashing variable and then manually edit it (eg use $something-b in place of $something).

I do hope a resolve is found in the near future for your problems, but the shout does work well.
:D

GNDI
07-16-2006, 06:21 PM
When I look at the script:


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


then I'll see a if whit two I's that might be the problem, any one who have tried to mess whit this one?

GoTTi
07-22-2006, 05:45 PM
ok after tryin to use this mod, and when i enter a banned usergroup, those usergroups that get banned see this message in the shoutbox:

Warning: Invalid argument supplied for foreach() in /vbshout.php on line 293

any way to fix this?

Sean James
07-25-2006, 08:32 PM
After applying the changes made in this hack, now the shoutbox doesnt show on the forumhome page but twice on every other page.

Any ideas?

Sean James
07-25-2006, 08:34 PM
ok i fixed the double shoutbox's on everypage except for forumhome by removing the variable $Shoutbox from the navbar template, but the shoutbox is not showing on forumhome for me.

http://www.eliteironbodybuilding.com/forum/

Sean James
07-25-2006, 08:55 PM
its all good, i fixed my problem.

The template my client was using didnt have the $navbar variable in his forumhome template as its customised.

Renmiri
07-29-2006, 04:24 AM
I managed to customize it per template, using your hacks with a slight change on the plugin changes:

Still find
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);

Then instead of replacing FORUMHOME by navbar, keep it like it is and insert above it
$Position = '<!-- put vBShout here -->';

No go on FORUMHOME and put <!-- put vBShout here --> where you want the shoutbox to be at forum home
For example
<td><!-- put vBShout here --></td>

Then on each template that you want a shoutbox put $Shoutbox where it should be
example

<td>$Shoutbox</td>

I wanted Shoutbox on the bottom for FORUMHOME (http://sinsdawn.ffproject.net/index.php), FORUMDISPLAY and thread viewing and on top for all RPG Inferno screens (http://sinsdawn.ffproject.net/inferno.php?).
Worked like a charm!

PS: Is it just me or the RED color makes the text green here at vbulletin.org ?

EXP-Graeme
08-09-2006, 09:08 PM
i just upgraded to 3.6 and although I had this hack on 3.5.x it does not seem to work now :(
Can get it on forum index page OK, but not on every page

Any fixes or am I getting it wrong

Thug
08-12-2006, 04:43 PM
When i ban people or usergroups it comes up to them as Warning: Invalid argument supplied for foreach() in /vbshout.php on line 293

Attitude5ire
08-22-2006, 10:25 AM
If you get this error, while clicking member profile page, reading PM or reputations..


Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1064) : eval()'d code on line 5


try doing this -
Edit plugin "vBShout [Template Cache]" and make the following change:

Find :

if (VB_AREA == "Forum")


Change it to

if (VB_AREA == "forum")


Kinda worked for me, though im using a different Version of Shoutbox which uses flatfile.
Cheers

cOuNtErFiET
08-28-2006, 03:43 AM
i did this and it completely removed the sb from the pages all of them even the index.php page what could be the problem?

Snake
08-30-2006, 03:59 PM
Thanks for the hack! I'll install it right away... :)

zell_11
09-19-2006, 04:48 PM
Ok for those people who are getting the array_merge problem I know how to fix this

Replace your vBShout [Template Cache] with the following



if (VB_AREA == "Forum")
{
global $globaltemplates;

$globaltemplates = array_merge((array)$globaltemplates, array('forumhome_vbshout'));
}



That will fix the problem

RFViet
09-20-2006, 01:09 PM
Ok for those people who are getting the array_merge problem I know how to fix this

Replace your vBShout [Template Cache] with the following



if (VB_AREA == "Forum")
{
global $globaltemplates;

$globaltemplates = array_merge((array)$globaltemplates, array('forumhome_vbshout'));
}



That will fix the problem

Thank you so much :D

BlueKnight
09-22-2006, 04:37 AM
I have this installed and working on all pages but on photo classifieds it will not work. Its just says loading.

Calibre_k
09-28-2006, 10:16 PM
Will this work on vBulletin 3.6.0?

Abe1
09-29-2006, 11:42 AM
Will this work on vBulletin 3.6.0?
yes.

PassLab.net
10-24-2006, 09:20 PM
thanks, passlab.net has installed ;)

GoTTi
11-09-2006, 12:56 PM
so there is just NO way to avoid this: Fatal error: Call to undefined function: isbanned() in /home/site/public_html/forum/global.php(356) : eval()'d code on line 190 when putting a usergroup in the banned area???

Calibre_k
11-09-2006, 07:14 PM
dont understand how to do this on all forums

Caddyman
11-29-2006, 03:59 PM
i did this and it completely removed the sb from the pages all of them even the index.php page what could be the problem?


This is happening to me too, any help?

top end ms
12-05-2006, 08:20 AM
me 3. Also wondering if anyone has any server load issues with this?

bos-maxjay
01-09-2007, 03:58 PM
tried to put shoutbox on all my pages with vBShout on all pages! instructions but it did`nt work on the instructions it says to install when you have done everything but all i can see is save in my acp can someone tell me what i`m doing wrong i`m running vb 3.6.2 when i save it it disappears from the main forum home when shoutbox was there before i try to put it all all the pages? can u help please thx in advance

nicker
01-14-2007, 02:10 PM
All worked for me <clicks installed> doesn't show up on arcade though, I am using ibpro arcade, any way of showing it there?

Abe1
01-15-2007, 03:20 AM
All worked for me <clicks installed> doesn't show up on arcade though, I am using ibpro arcade, any way of showing it there?
Nope. They use some other then normal way to get the navbar.

Hiranmanu
01-16-2007, 08:54 PM
I don't know what's going on. It still isn't working for me. I uninstalled the product 3 times. And then reinstalled and followed these steps. I have uploaded all the forum files 2 times.

After I make the coding changes, the Shoutbox does not appear at all on any pages. I am running 3.6.4 and a skin based on 3.6.2

dj chico
01-18-2007, 08:07 PM
hi i installed the original vbshout and it was working fine but now i tried to install the "on all pages" mod and it completely disappears. I cant find it anywhere, any help guys??

im using vB 3.5.4, vbadvanced 2.1.0, ibparcade 2.5.9+


Cheers

EDIT : I'm fixed. Used this thread - https://vborg.vbsupport.ru/showthread.php?t=111532

ai stat4504
04-21-2007, 07:40 PM
I tried this.. and now my shour box is completely gone... any suggestions / help? THanks!!!

deezelpope
04-21-2007, 09:01 PM
It doesn't work with some custom styles...that's the reason I don't use it.

Shazz
04-21-2007, 09:13 PM
I used some of this code, and other part I messed with somehow got it to work.

deezelpope
04-21-2007, 09:18 PM
Are you gonna share this little secret, Shazz? https://vborg.vbsupport.ru/external/2007/04/3.gif

Shazz
04-21-2007, 10:29 PM
Are you gonna share this little secret, Shazz? https://vborg.vbsupport.ru/external/2007/04/3.gif

I can't even get it to work on my test site.
As I said I was messing around..

cuphongle
05-04-2007, 05:12 PM
is this work for v3.6.5???

fgenetics
07-27-2007, 06:04 PM
is this work for v3.6.5???

works good on my board 3.6.4

tried installing on my other board 3.6.7 ... the board is just getting to a blank page. Please advise.

Thx

esthervdwal
07-29-2007, 01:27 PM
installed it exactly as in instructions, now i have a completely borked board...cant login, even into the admin cp..

Fatal error: Call to undefined function: isbanned() in /home/*******/public_html/board/global.php(363) : eval()'d code on line 112

any helpin gettin my board back online would be appreciated
I'm having the same problem here on line 113:confused:

skepticality
09-24-2007, 09:18 PM
What I am doing wrong? I keep looking for "vBShout [Template Alteration]" and for the life of me, I can't find that. I have looked in the plugin itself on the admin panel. And I have looked in the plugin section, I can see all the vBShout entries in there, but NONE with the name [Template Alteration]. Am I just not looking in the correct place? I want the chatbox to be under the navbar on ALL the pages. :confused:

RatherBecamping
11-10-2007, 11:21 PM
welp I got the fatal error...then I found the global start hook after I deleted the hack....sigh.......the template you're looking for is under plugins in admin cp

RatherBecamping
11-10-2007, 11:38 PM
What is this error?

Fatal error: Call to undefined function isBanned() in /home/usarvfor/public_html/USARVFORUM/global.php(360) : eval()'d code on line 409

I SHout works like a champ before I try to install the shout on all pages hack. YES I followed your instructions to the letter.

skepticality
11-11-2007, 01:36 AM
Okay.

I must have lost my mind. For the LIFE of me I can't find the correct spot in the Admin CP where I do the changes I need to do for the shoutbox to be on all the pages. People keep referencing the spot, and that makes sense, but WHERE is it in the system? It isn't too obvious in there sometimes and every time I think I figured it out... I break something in a rather tragic manner... <sigh>

Has anyone out there made this shout system end up on all your pages? Cause, it seems that my users would like that quite a bit... :)

Thanks again.

RatherBecamping
11-11-2007, 11:55 AM
Admincp>Plugins and Products>Plugin Manager

You'll see the templates you need to edit there. Hope you have better luck than I did.

skepticality
11-11-2007, 01:37 PM
Thanks...

So I guess you didn't get it to work either? Cause, I found all the templates... but none of them are named "[Template Modification]". Then I attempted to be 'smart' and went into the actual php files to see where it was doing the magic... and... got lost. <sigh>

Has anyone made this work on all the pages of their forum?

If you have, can you let us know the 'trick'? :confused:

Thanks!

mystic10
11-15-2007, 04:58 PM
can you not make another php so we can just upload that and have it on all the pages as i dont even know what a hook is and where to change it...i know its silly but its a request hope u can do it thanks

dibben
11-21-2007, 04:05 PM
thank u guys! :)

saini.ad
12-02-2007, 06:36 AM
smilies and other html codes doesn;t work .....is there any hack to fix that

kurtbarker
06-29-2008, 11:13 AM
Works on 3.7.1

kurtbarker
07-01-2008, 05:09 AM
I read 14 pages looking for my answer before I posted, but couldn't be bothered reading the last 3, lol.

Does anyone know how I can get the shoutbox to display on all ibpArcade pages, coz atm even acrade home doesn't show the shoutbox. and how to get it when you get a vBulletin error message (ie: There are no new posts, etc), coz whe messages like thatshow up, the shout box doesn't.

Everything else is perfect.

kurtbarker
07-22-2008, 09:25 AM
anyone???

BondhuMela
07-24-2008, 07:37 AM
Thanks. this is nice MOD. I installed it, working well ... BUT

while a User logging in to forum following message appearing above forum header, then going off.

Bondhu Mela - View Profile: umeshWarning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/functions.php(1378) : eval()'d code on line 5

http://img224.imageshack.us/img224/4973/errorcp4.jpg

suggest me the remedy plz.

Datenpapst
09-09-2008, 01:48 PM
sry whats the original hook location?

jgruberman
04-28-2009, 05:06 AM
If you get this error, while clicking member profile page, reading PM or reputations..


Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1064) : eval()'d code on line 5


try doing this -
Edit plugin "vBShout [Template Cache]" and make the following change:

Find :

if (VB_AREA == "Forum")


Change it to

if (VB_AREA == "forum")



THIS WORKED FOR ME! THANK YOU!!!!

jgruberman
04-28-2009, 05:06 AM
sry whats the original hook location?

forumhome_complete

Tuga??
07-19-2009, 07:11 PM
afhter doing all this i get White page nothing dispaly any sugestions >?