Log in

View Full Version : [AJAX] vBShout v2.0


Pages : 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14

divided_by_fear
12-23-2005, 03:11 AM
i think thats it i was going to try and add the other usergroups that i dont want to that part and see if it works

divided_by_fear
12-23-2005, 04:09 AM
lol i must say great codes in this piece of work lol Command Activation in admincp lol i shut mine off and you could still run commands in the shout box... so anyone have a fix for that? or is that another bug to be never fixed?

MindTrix
12-23-2005, 03:03 PM
Just a question, in the template vBShout [Template Alteration] is it supposed to say Shoutox in this code

if ($vbulletin->options['shout_banned_perms'] == 2 && isBanned($vbulletin->userinfo))
{
$Shoutox = '';
}
else


or should that be Shoutbox :)

divided_by_fear
12-23-2005, 03:24 PM
yeah i think it should be Shoutbox... but i dont use [Template Alteration] since i have vbadvanced

kewl1uk
12-23-2005, 10:39 PM
Installed on 3.5.2 and working. Thank you. *clicks install*

plateau
12-24-2005, 01:10 AM
how to shutdown the shoutbox?

i didnt find it in ACP.

anyone? thanks!!!

Synth
12-24-2005, 01:21 AM
just disable the module under "Edit Modules" in admincp

plateau
12-24-2005, 01:29 AM
just disable the module under "Edit Modules" in admincp

cheers mate.

Onimua
12-24-2005, 04:06 PM
Great plugin, and works wonderfully. But, there are a couple of things:

When I go to edit long shouts (for example, "This is a really long shout I am doing in the shoutbox to see if it works alright"), I click Edit, but then all that shows up is the first part of the shout, like "This is a really long shout I am doing in th." Is there a way to fix this?

One of my members also noticed (and I checked as well) that in Opera, when you click the color drop-down menu, the colors don't show up (just the color code). Is there a way to fix this as well?

XFSImperial
12-24-2005, 07:18 PM
Just installed the plugin, works great. I was curious if there was anyway I could change the "Shoutbox" text, which links to the archive, to read "Spambox." Just curious since I recieved a number of requests heh.

Toky0
12-24-2005, 07:42 PM
Sorry if this has been asked before. But how do you stop people from using HTML in the shoutbox?
^ ? :nervous:

jarod1981?
12-26-2005, 05:05 AM
Hi all

This version is compatible also with Vbulletin 3.5.2?

Thanks :rolleyes:

Onimua
12-26-2005, 07:55 AM
Hi all

This version is compatible also with Vbulletin 3.5.2?

Thanks :rolleyes:

Yep, I'm using it right now. :D

JAYEMULE
12-27-2005, 11:12 PM
Installed and the members are loving it. :) We had the older bersion and they used it a lot but I think they might wear this one out :)
Thanks for a great feature for the members to use !

brvheart
12-28-2005, 01:04 AM
ok, somehow my Shoutbox ends up above my welcome panel....can someone help and tell me how to get it below the welcome panel?

THanks in advanced :)

brvheart
12-28-2005, 01:16 AM
Crap..DA award to me...fixed...sry lol

plateau
12-28-2005, 01:49 AM
according to an analysis, this shoutbox ...ly occupy the system resource...

plateau
12-28-2005, 01:50 AM
i dont know whether anyone else got the same situation or not? cheers.

Nordraserei
12-28-2005, 02:12 AM
Go to type a message in the shoutbox and instead of showing up it takes me to a blank page called forum/vbshout.php?

Karsh
12-28-2005, 06:18 PM
Wonderful hack but i need an List of all commands please!

Karsh
12-28-2005, 06:21 PM
Need it fast people :S

Daniel
12-28-2005, 06:22 PM
Not safari friendly, as stated before. :(

Karsh
12-28-2005, 06:29 PM
i need the commands for everythinng for this

aranthorn
12-28-2005, 06:32 PM
ZT has given up on this hack?

Karsh
12-28-2005, 06:35 PM
I just need commands lmao :(

firstrebel
12-28-2005, 09:36 PM
Working fine on 3.5.2

firstrebel *clicks install*

Bob

hotwheels
12-28-2005, 11:00 PM
now this is a nice program........wow hotwheels clicks *installs*

Wachtmeister
12-29-2005, 03:36 PM
Yes:

In the forumhome_vbshout_shout template, fine and remove this code:
[{$Shout['time']}]
That's it! :)

Hello,

is there also a way to display only the TIME, not the date?

md_doc
12-29-2005, 07:23 PM
Just on a side note... people might want to know this... it seems there is no way to stop html from being displayed.

I did the following to the function bbcodeparser

just add in htmlentities($text) where you see $text.

Down side is you wont be able to use html, up side is you wont be able to use html. I am sure it is easy enough to add it to the interface so it is an option but it should probably be disabled by most people anyway as it could lead to some very bad security issues like users embeding another iframe and getting your sessions values which would then allow them act as you and administer the forums as they want which would be bad.

EDIT:
I edited this response to link to my response with the actual code change in it. The code you need (https://vborg.vbsupport.ru/showthread.php?p=861216#post861216)

Danny Diamond
12-30-2005, 01:52 PM
Easiest install in the history of this forum.

Thanks man

divided_by_fear
12-30-2005, 07:32 PM
anyway as it could lead to some very bad security issues like users embeding another iframe and getting your sessions values which would then allow them act as you and administer the forums as they want which would be bad.


could you please point out where this is ? i would like to fix that i have no need for html on mine anyway... please let me know where to add this in im not sure what u mean when you posted just add in htmlentities($text) where you see $text can u give a example please

Snake
12-31-2005, 01:24 PM
ZT has given up on this hack?

Nah he's just busy with some other projects.

md_doc
12-31-2005, 02:52 PM
could you please point out where this is ? i would like to fix that i have no need for html on mine anyway... please let me know where to add this in im not sure what u mean when you posted just add in htmlentities($text) where you see $text can u give a example please


Replace lines 114 - 126 (function bbcodeparser in vbshout.php)


function bbcodeparser($text = '')
{
global $vbulletin;

if ($vbulletin->options['shout_bbcode'])
{
return $vbulletin->vbshout_parse->parse(convert_url_to_bbcode($text), 'nonforum');
}
else
{
return $text;
}
}


with


function bbcodeparser($text = '')
{
global $vbulletin;

if ($vbulletin->options['shout_bbcode'])
{
return $vbulletin->vbshout_parse->parse(convert_url_to_bbcode(htmlentities($text)), 'nonforum');
}
else
{
return htmlentities($text);
}
}


What this does is it stops the html from being rendered.

I am not sure how vB normally handles it but this is a quick fix at least.

TTG
12-31-2005, 03:14 PM
I just need commands lmao :(

Did you read the hack information at the top of every page .. all commands are listed :rolleyes:

Alphasims
01-01-2006, 12:10 AM
Are there a way to translate shoutbox tekst?

Tekst i want in Norwegian:
-Total Shouts:
-Shouts In Past 24 Hours:

so on.........

i tried Languages & Phrases manager, i cant find it. thanks for a great ShoutBox :)

Ohiosweetheart
01-02-2006, 01:43 PM
I installed this... wow... it couldn't have been any easier!

question tho: is there a way to edit this so that we can access ALL of our smilies, not just the ones showing in the top pane? AND is there a way to increase the height (NOT width) of the SB so that more than 4 shouts are viewable at a time?

mbader71
01-03-2006, 03:52 AM
This is really great

very easy to install

very easy to use

very useful

thanks alot man

Just one quick question

How do I open the shoutbox admin control?

Snake
01-03-2006, 11:47 AM
Admin CP - vB Options - Shoutbox Settings :)

Ohiosweetheart
01-03-2006, 11:25 PM
thank you!

Mobilestan
01-04-2006, 06:53 AM
help me !!!
i have vb 3.5.2 and
my vbshout dont work for Guest

get this error :

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

how i can solve this problem ??

thankss

TGP
01-04-2006, 02:12 PM
This shoutbox is great, thank you very much. However my members have one problem with it: editing shouts.

It would seem when one goes to edit a shout when you press the edit button the text box appears but only with 50 characters and the rest of the shout is deleted, disappears, it just doesn't exsist anymore. Of course, this is quite annoying should one want to edit a large shout.

Is there anyway around this?

ThePimp
01-04-2006, 02:15 PM
Does anyone else get the "Disappearing" images & smilies issue in IE?

Jorrit787
01-04-2006, 09:08 PM
I'm trying to add a little text that says "Shout Something:" above the input box, where in the template would I do that? I've tried several different places but it just won't show up anywhere :disappointed:

DF-inside
01-05-2006, 12:37 PM
Does anyone else get the "Disappearing" images & smilies issue in IE?
Got the same isue, when clicking edit it only show's a few characters.

Also this shout isn't working with FireFox......I heared. Keep showing "loading...."

Lizard King
01-05-2006, 01:02 PM
Does anyone know how we can change the frame height ?

BigTrucK72
01-05-2006, 04:35 PM
Cool mod... EZ to install and run... had a problem tho in ACP -> vbShout in that when I tried to position the shoutbox under 'what's going on' nothing showed up, so I took the advice of earlier posts and manually placed $Shoutbox where I wanted.

I did some revisions to the timestamp tho, here's the result:


function buildTime($time = TIMENOW)
{
global $vbulletin;

$date = vbdate($vbulletin->options['dateformat'], $time, $vbulletin->options['yestoday']);
$date = strtolower($date);

$time = vbdate($vbulletin->options['timeformat'], $time, $vbulletin->options['yestoday']);

$result = "Posted: ".$date." @ ".$time;

return $result;
}


To me it looks a little better than the default :P

BTW if you want to change the height of the box you should use the vbShout option under VB Options in Admin Control Panel.

Thanks!

bashy
01-05-2006, 08:36 PM
Hi peeps

Just installed this, not viewable to anyone but me atm...
1st things 1st, the inbuilt censor does not work for this ( have found 7 posts with regards to the censor bot but no fix???

I would like this to show above my google ad at in the center and to shoe all over the forum, what is the exact process for this please?

Any advice for a thicko please?

Bashy
www.bashys-place.com

JsnakeJ
01-05-2006, 10:53 PM
Anyone know how to stop moderators from deleting shouts?

Tulsa
01-05-2006, 11:27 PM
Anyone know how to stop moderators from deleting shouts?

Make them registered users...

JsnakeJ
01-05-2006, 11:36 PM
Woah, I never thought of that, thanks.

da prez
01-06-2006, 07:02 AM
excellent addition to my site, i hope ZT updates it one day, but if he doesn't it is pretty damn good as is,
and i read through this entire thread, took about 2 1/2 hours, i am not having many issues,
but i have a small board and the shoutbox is only viewable by a select few.

thanks ZT, and thanks everyone who offered code to fix various issues.

Cromulent
01-06-2006, 06:38 PM
This was the easiest hack I've installed on my forums, tried it out on my dev site and now I am keen to get it going on the full site.

Thanks for the hard work you put in to it.

kartik786
01-06-2006, 07:08 PM
Can anyone tell me what are the special commands for admin / super mods ??

bashy
01-06-2006, 07:41 PM
As stated....there in the release post at the top of each page
But i will spoon feed ya as i that sort of guy ;)

/prune (Clears the shoutbox completely)
/prune [username] (Clears all shouts posted by specified user)
* bashy - Action message (all users are able to use this command)
/pruneshout [shout] - Deletes a single shout

Bashy

Can anyone tell me what are the special commands for admin / super mods ??

bashy
01-06-2006, 07:42 PM
Hi ZT....

Is there away to actually have 2 of these, has been requested by my staff, they want one just for them...

Is this possible please?

Bashy

kartik786
01-06-2006, 08:00 PM
Oh hell yea, Works super cool on my discussion board at HERE (http://www.managementparadise.com)

CLICKED !!!

Zero Tolerance = Super Coder \m/

lairnoc
01-07-2006, 06:17 AM
ok a different sort of question.

Could it be if your shout is very populair that it generates a lot of data? my site keeps on going over the hostproviders datalimit :( it is 30gb per month so i am looking what could cause it..

GamerJunk.net
01-07-2006, 07:03 AM
There is no way to use this with AJAX turned off?

Snake
01-07-2006, 07:49 AM
Simple question: No!

GamerJunk.net
01-07-2006, 09:56 AM
Damn...cuz I had it running but then I needed to turn off AJAX...

I just need to find a way to disable AJAX for quick reply and then I'd be fine...

Snake
01-07-2006, 10:18 AM
Why would you ever want to disable the functionality of AJAX on your forum? I just don't get it.

davidw
01-07-2006, 11:58 AM
The reason why the bandwidth increases is when members (even as little as 1) leave the computer without logging out and the page is open to a page that has the shout on it. I've had a couple times where one or two of my members left, but left the page open and the page was the index (where the shout resides - seen the most).

I would like to figure out a way that it ONLY refreshes when a post is made on the shout, rather than ever x amount of time. Click shout - it does a refresh about 1 second after the shout is made. This would save tremendous amounts of refreshing, especially for inactivity. :P

BENSTER
01-07-2006, 01:18 PM
Since installing this, I get 1 to 3 mysql errors a day. Today I can't access my forums apparently from this error. Is there something I can tweak, or request my host to increase? I only see 8 to 20 users on the message board at any one time. I've had 26295 hits on vbshout for 304,188 KB. As someone mentioned above, my bandwith has gone up signifcantly since installing this hack last week. I'm well with in my limits, but at this rate, I'll be 25% over my highest month in the last 6 months. Possible it could be those 800 smilies available, But I'm still concerned about the mysql connection error.


Database error in vBulletin :

mysql_connect(): Too many connections
/home2/aekjb/public_html/forums/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Saturday, January 7th 2006 @ 09:00:19 AM
Script : http://forums.aswp.net/
Referrer : http://www.aswp.net/main.shtml
IP Address : xx.xx.xx.xx
Username :
Classname : vb_database

xhybrid
01-07-2006, 03:04 PM
works fine :)

is it possible to disable URLS in the Shoutbox?

Mathiau
01-07-2006, 03:56 PM
fast and easy on 3.5.3 - installed and done!

AWS
01-07-2006, 05:51 PM
Since installing this, I get 1 to 3 mysql errors a day. Today I can't access my forums apparently from this error. Is there something I can tweak, or request my host to increase? I only see 8 to 20 users on the message board at any one time. I've had 26295 hits on vbshout for 304,188 KB. As someone mentioned above, my bandwith has gone up signifcantly since installing this hack last week. I'm well with in my limits, but at this rate, I'll be 25% over my highest month in the last 6 months. Possible it could be those 800 smilies available, But I'm still concerned about the mysql connection error.


Database error in vBulletin :

mysql_connect(): Too many connections
/home2/aekjb/public_html/forums/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Saturday, January 7th 2006 @ 09:00:19 AM
Script : http://forums.aswp.net/
Referrer : http://www.aswp.net/main.shtml
IP Address : xx.xx.xx.xx
Username :
Classname : vb_database

This is a mysql config problem and not a problem with the hack. You need to tweak mysql for optimum performace.

GrabAssGirl
01-08-2006, 03:38 PM
Is there any way for the members to set a default color on the shoutbox messages? Right now, it holds the color/font you choose until you either refresh or move around in the site. Then it resets back to black. Is there anyway for it to hold the color we chose?

BLazeD1
01-08-2006, 07:28 PM
How do you make the text in the shoutbox smaller permanently?

JohnnyClark
01-08-2006, 11:10 PM
what about an addon where u have to have X amount of posts to make a shout

VBUsers
01-08-2006, 11:13 PM
what about an addon where u have to have X amount of posts to make a shout


+ 1 ill use this as well

Lurk
01-09-2006, 02:31 AM
After searching this thread for the millionth time, I still couldn't find a fix... It's the safari bug where it's stretched out to almost the whole page.

Daniel
01-09-2006, 02:35 AM
After searching this thread for the millionth time, I still couldn't find a fix... It's the safari bug where it's stretched out to almost the whole page.
Same :ermm:

GrabAssGirl
01-09-2006, 09:50 AM
Is there any way for the members to set a default color on the shoutbox messages? Right now, it holds the color/font you choose until you either refresh or move around in the site. Then it resets back to black. Is there anyway for it to hold the color we chose?

Anyone have any ideas on this? I have made a request in the request section but haven't heard anything there either.

TIA!!

JsnakeJ
01-09-2006, 10:36 AM
I doubt it, the coder seems to of abandoned this.

S@NL - BlackBik
01-09-2006, 10:22 PM
8)

Nice :)

Click Install....

Question: will the statisticspage and the box itself also be phrased?
It seemes that only the settings are phrased at the moment ;)

Tulsa
01-09-2006, 11:25 PM
After searching this thread for the millionth time, I still couldn't find a fix... It's the safari bug where it's stretched out to almost the whole page.

Switch to Firefox 1.5 It is sooooo much better than Safari! Safari won't even show the graphics on my own website. It's such a cheesy browser.

davew
01-10-2006, 10:22 PM
Just noticed a very minor thing..

If you use a single quote in a shout like "Fred's mad" and try to edit the shout, only the text before the quote is aailable to edit..

Still lovin' the shoutbox though :) Thanks a lot!

cashpath
01-11-2006, 01:48 PM
If I wanted to put a BOX ad next to (same row as) the shoutbox making the shoutbox less wide but side by side with the add how would I do that? What template would I edit and what would I ave to edit to do it?

Thanks in advance

ThePimp
01-12-2006, 04:25 PM
what about an addon where u have to have X amount of posts to make a shout

You can do this with a template conditional, and display / don't display the shout unless you meet the post requirements.

ThePimp
01-12-2006, 04:28 PM
Does anyone else get the "Disappearing" images & smilies issue in IE?

Has anyone found a fix for this?

It's really annoying. Images / smilies work in Firefox, but in IE, they show for a second, then disappear. This didn't used to happen in the old version of the vbShout, and as much as I want to uninstall this and put the old one back up, the old version didn't have an archive.

GRRR! :mad:

Ohiosweetheart
01-12-2006, 05:57 PM
ok this didn't happen when I first installed the SB, but for the past few days, the box clicks and jumps when it refreshes. Sometimes if you're typing something in the message line for the SB, it disappears and you have to start over.

any ideas why and what to do???

FD929
01-12-2006, 07:37 PM
@ Ohio: I noticed when I put the full url in the templates it started doing that. If you've modified the url's to vbshout.php in the templates, you might want to change them to an internal reference. i.e. /forum/vbshout.php vs http://www.myforum.com/forum/vbshout.php. Hope that helps.

JohnnyClark
01-12-2006, 09:33 PM
@thepimp

can u show me the code please?

Ohiosweetheart
01-12-2006, 09:40 PM
@ Ohio: I noticed when I put the full url in the templates it started doing that. If you've modified the url's to vbshout.php in the templates, you might want to change them to an internal reference. i.e. /forum/vbshout.php vs http://www.myforum.com/forum/vbshout.php. Hope that helps.

say what?

I haven't edited any urls. I just followed the instructions that came with it. The shoutbox is on my forum at http://exquisitelyerotic.net/forums
Like I said it didn't do this when I installed it a week ago, only the past day or two

hollyboy
01-12-2006, 10:02 PM
2 questions:

1) what are the templates changes? I guess only forumhome right?
2) does this hack use lot of bandwidth?

Farcaster
01-13-2006, 02:55 AM
I have a question about this:

return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups'));

I would like this ban check to also check secondary groups. Is that possible? How would the code need to be changed?

Thanks
:nervous:

Replicators
01-13-2006, 10:15 AM
Is it possible someone could make a add-on to give rooms for certain usergroups? Like mods having their own room and you can switch between public and mod channel?

S@NL - BlackBik
01-13-2006, 01:58 PM
It's not a chat, it's a shoutbox, Replicators ;)

I would like to have the archive be pruned so that only shouts from the last 24 hours are saved. Running a cron every hour or so. Cause it's gonna be a huge table if the box is intensively used.
But it would be nice if the shoutstatisics are saved (total shouts, shouts per member etc)

Ohiosweetheart
01-13-2006, 02:04 PM
I still can't figure out why the shoutbox is jumping everytime it refreshes. I thought it was supposed to refresh smoothly??

firstrebel
01-13-2006, 02:29 PM
I would like to have the archive be pruned so that only shouts from the last 24 hours are saved. Running a cron every hour or so. Cause it's gonna be a huge table if the box is intensively used.
I agree, phpMyAdmin shows nearly 1000 in the past week. I suppose I could empty the table every week or so or manually delete entries over a few days old. But what a hassle.

Bob

groberthall
01-14-2006, 10:28 AM
Does anyone know if it is possible to put this somewhere other than on forumhome ?

I have Amykhars personal pages hack installed and I would like to use this to replace the non ajax shoutbox/guestbook used on the members pages.

Ohiosweetheart
01-14-2006, 01:38 PM
PLEASE.... someone please tell me what to do to make this thing stop JUMPING on my forum or I'm going to have to remove it. :(

If I need to uninstall and reinstall, perhaps.... how do I uninstall this hack?

Stone Cold 3:16
01-14-2006, 01:41 PM
Duude! Niiice! No tempelate edits! Im not usually the one who clicks on install, but ill click for this! :p

ThePimp
01-14-2006, 01:41 PM
@thepimp

can u show me the code please?

Which code would you like to see?

cashpath
01-14-2006, 02:37 PM
If I wanted to put a BOX ad next to (same row as) the shoutbox making the shoutbox less wide but side by side with the add how would I do that? What template would I edit and what would I ave to edit to do it?

Thanks in advance

sickstrings
01-14-2006, 09:06 PM
I have a safari user or two complaining of the size of the shoutbox. Here's a thumbnail attached to show what I mean:
http://img387.imageshack.us/img387/4001/picture17ri.th.png (http://img387.imageshack.us/my.php?image=picture17ri.png)

As anyone else had this problem...? I don't see this on Mozilla or IE.
Is there a fix for this? My safari users are having the same problem. Searched around and didn't see anything.

BaselineAce
01-14-2006, 09:47 PM
i only have one problem with this.... whenever a long shout is posted rather than wrapping the text over 2 lines it forces a scroll bar to appear.. how can i make it wrap on to 2 lines??
Anyone figure out how to do this easily?

Telegon80
01-15-2006, 04:27 AM
blah installed it but it says "Loading......" and it stays like that forever...

whitetigergrowl
01-15-2006, 07:20 AM
I sure wish someone would update this so it takes fewer SQL connections and is more efficient. Even a spin off of this would be good.

Ohiosweetheart
01-15-2006, 09:49 AM
any ideas as to why the shoutbox will show up in some of the styles I have installed and not others?

S@NL - BlackBik
01-15-2006, 12:38 PM
The posistioning of the shoutbox is done by searching for textstrings in the Forumhome template and adding the $shoutbox variable to them.

For example: If you set the box to be under the "What's going on" box, the script will look for the sting "<!-- end what\'s going on box -->" and put the shoutbox under it.
If you've edited your templates in one or more styles and removed that line, the shoutbox will not appear.

Ohiosweetheart
01-15-2006, 12:55 PM
ahhh ok.. I didn't edit the new styles at all... I added a new style last week and the shoutbox was just there... I didn't do anything at all. With this set.. it wasn't and I panicked. lol... thank you, I'll go look!

Ohiosweetheart
01-15-2006, 01:02 PM
The posistioning of the shoutbox is done by searching for textstrings in the Forumhome template and adding the $shoutbox variable to them.

For example: If you set the box to be under the "What's going on" box, the script will look for the sting "<!-- end what\'s going on box -->" and put the shoutbox under it.
If you've edited your templates in one or more styles and removed that line, the shoutbox will not appear.


S@NL.... below is the FORUMHOME template code for one of the styles that the shoutbox DOES show up in... and i can't find a shoutbox string in there anywhere. Yet the shoutbox does show up in this style, and my SB is set under the Nav bar


$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
<!-- /main -->
<br />
<br />
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
</div>
</td>
</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
</table>
<br />
<!-- end what's going on box -->
<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td>
<table cellpadding="2" cellspacing="0" border="0" align="center">
<tr>
<td align="center"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
<td align="center"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
<td align="center"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</table>
</td>
<if condition="!$show['guest']">
<!-- member logout button -->
<td align="$stylevar[right]">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><img src="$stylevar[imgdir_button]/logout.gif"
border="0" width="92" height="25" alt="<phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase>"></a></td>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- / icons and login code -->
$footer
</body>
</html>


any ideas now? lol

bashy
01-15-2006, 06:22 PM
HI ZT

Is there away to get this to show whilst browsing the whole of the forum, I am using this just for my staff and they want it to show all over :)

Please??

QueenBee
01-15-2006, 07:02 PM
when i tried this, mine diappeared, any ideas anyone?

S@NL - BlackBik
01-15-2006, 07:52 PM
Ohiosweetheart, you won't find the $shoutbox in your forumhome template.
It is added by the plugin, everytime you open the forumhome page.

If you look at the code of the plugin "vBShout [Template Alteration]" in your admincp you will see what textstrings are used to position the box.

Bashy, I think the shoutbox will appear wherever you put $shoutbox in your templates.

bashy
01-15-2006, 07:54 PM
This is all i need to add is this where i want ???

$shoutbox

neutek
01-15-2006, 08:02 PM
awesome! i love it
thanks

one thing, so i know in the future.
how can i "Clear the shoutbox ARCHIVE completely" ?

does the /prune kill the archive also?

S@NL - BlackBik
01-15-2006, 08:16 PM
This is all i need to add is this where i want ???

$shoutbox
Yep, that's how I understand it.
Haven't tried it for myself though. I'm ok with the box on forumhome only ;)

QueenBee
01-15-2006, 08:17 PM
anyone please?

S@NL - BlackBik
01-15-2006, 08:23 PM
awesome! i love it
thanks

one thing, so i know in the future.
how can i "Clear the shoutbox ARCHIVE completely" ?

does the /prune kill the archive also?


- /prune (Clears the shoutbox completely)

The archive is not a different databasetable, so I think all shouts will get deleted ;)

S@NL - BlackBik
01-15-2006, 08:23 PM
when i tried this, mine diappeared, any ideas anyone?

When you tried what?

QueenBee
01-15-2006, 08:25 PM
when i tried to install the shoutbox that stays on all pages,

sorry, i thought i wrote that

S@NL - BlackBik
01-15-2006, 08:27 PM
Ah, ok.
Sorry, can't help you there. I didn't, nor do I want to, try that ;)

QueenBee
01-15-2006, 08:41 PM
ok well ill just do the regular one. and it just says loading in the box.

any ideas?

Telegon80
01-16-2006, 01:05 AM
okay works good now. i had uploaded the PHP file to the wrong location.

Xplorer4x4
01-16-2006, 02:34 AM
I am curious, will this affect bandwidth much?

Telegon80
01-16-2006, 02:38 AM
from what i have read in the thread, yes it will increase the server load. idk about bandwidth. i will use it on fridays only. so i will have the plug-in disabled all week. :)

QueenBee
01-16-2006, 06:38 AM
woo hoo i finally got it!

::installed::

crustymanmeat
01-16-2006, 09:55 AM
Is there anyway i can allow GUESTS to post in the shoutbox? Thanks in advance.

S@NL - BlackBik
01-16-2006, 10:09 AM
Sure there is.
In the ACP (vBulletin Options - > vBShout Options) you can specify what usergroups can NOT use the shoutbox (Banned Usergroups). I guess the "Guests" usergroup (mostly usergroupID = 1) is also included in that field. Just remove that group and your guests can use the box.

crustymanmeat
01-16-2006, 10:15 AM
Sure there is.
In the ACP (vBulletin Options - > vBShout Options) you can specify what usergroups can NOT use the shoutbox (Banned Usergroups). I guess the "Guests" usergroup (mostly usergroupID = 1) is also included in that field. Just remove that group and your guests can use the box.

There are no usergroup ID's showing in that box though.

ViewMy.biz
01-16-2006, 11:04 AM
Installed, works flawlessly, but have not released it beyond admin level.

Hesitant due to lack of word filter control.

TcmDeb
01-16-2006, 11:24 AM
A quote from one of our members on our board:



OK, I've had one window open on the shoutbox since it's been working earlier today... and I was just in task manager and noticed that I was using 1.35 gig of virtual memory.

As soon as I closed the window that the shoutbox was open in it dumped it all... open it up again and I'm watching it slowly climb up again.

It would seem that there's some kind of huge memory leak with this new shoutbox... I've never seen that kind of memory usage before..


I also had a "low memory" message on my machine (running a gig of ram) after having the shoutbox open for a while but I just dismissed it and didn't think any further about it.

Is anyone else seeing this or have I done something wrong in my install?

GrabAssGirl
01-16-2006, 11:24 AM
Guess there isn't a way to give the members their own default colors/font, huh.... I would like it to be so they chose their own colors and it holds that for them instead of having to redo the color every time they wish to use it.

Is there a way to do that?

crustymanmeat
01-16-2006, 07:21 PM
I have installed the shoutbox but i keep getting this error:

PHP has encountered an Access Violation at 77F48A3C.

Any ideas?

Thanks in advance.

Masked Crusader
01-16-2006, 09:19 PM
Where is coding to make the "Shoutbox" header go from CENTER align to LEFT align? The CENTER align throws off my entire page.

S@NL - BlackBik
01-16-2006, 09:55 PM
Where is coding to make the "Shoutbox" header go from CENTER align to LEFT align? The CENTER align throws off my entire page.

That one is easy.
Go to your AdminCP and go to Edit Templates.
Open the Forumhome templates and then edit the forumhome_vbshout template.
The first table you see has "align=center". Change that to right or left and you're fine :)

The rest of these questions I can't answer. I'm not a coder and not the author of this hack ;)

TruthElixirX
01-16-2006, 11:52 PM
Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288

Any ideas?

Razz
01-16-2006, 11:59 PM
A quote from one of our members on our board:


I also had a "low memory" message on my machine (running a gig of ram) after having the shoutbox open for a while but I just dismissed it and didn't think any further about it.

Is anyone else seeing this or have I done something wrong in my install?

Was he a firefox user?

Firefox suffers from a bad memory leak in 1.5 and activity increases it faster, especially on a 10 second loop like this shoutbox is.

ChErAbOo
01-17-2006, 01:30 AM
Works Perfect I removed the timestamp so it showed better on custom pages I made but great add on Thanks

*clicks Install

pixie
01-17-2006, 08:14 AM
Great great Hack
thanck's a lot !!

groberthall
01-17-2006, 12:51 PM
OK, probably a daft question but if I put this on a template that is used to generate custom pages for our members..... and two people or more are holding conversations on different pages.... will the conversations remain seperate ?

Or to put it another way.... if I put this on lots of pages rather than just the home page would the conversations stay seperate ?

S@NL - BlackBik
01-17-2006, 02:21 PM
I don't think so. There's only one databasetable....

2fast4ya
01-17-2006, 06:09 PM
This is a great hack. But can I make it so that guests can talk too?

tipoboy
01-17-2006, 11:23 PM
i did have the shoutbox installed on my forum but i'd like to have it so its on a page by itself not on the forum index is there anyway to do this??

can anybody help me

ozmazdaclub
01-18-2006, 10:32 PM
What code needs to be changed to completely remove the timestamp from before each shout?

ChErAbOo
01-19-2006, 01:50 AM
What code needs to be changed to completely remove the timestamp from before each shout?

In template template name="forumhome_vbshout_archive_shout I removed
<span style='float:right'>{$Shout['time']}</span>

and IN template name="forumhome_vbshout_shout I removed [{$Shout['time']}]

If you wish to just remove it from the forums and leave it in archives just remove it from the forumhome_vbshout_shout template that works to..

mkoerner
01-19-2006, 02:14 PM
These are the errors I get can someone help me.

Warning: main(./global.php): failed to open stream: No such file or directory in /homepages/12/d134587003/htdocs/Forum/vbshout.php on line 61

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /homepages/12/d134587003/htdocs/Forum/vbshout.php on line 61

RaZor Edge
01-19-2006, 02:49 PM
Seems like Vbshout is not welcome on my web host...


Vbshout
Effective immediately any client using vbshout with vbulletin needs to turn it off. We have noticed in the last week that this is killing numerous servers. Seems the script has been written with bad code.

If we find it on the server we will kill it.

Joey Moses
Real Web Host


http://forums.realwebhost.net/showthread.php?t=93592 (http://forums.realwebhost.net/showthread.php?t=93592)

S@NL - BlackBik
01-19-2006, 11:21 PM
Well mate, than remove it.
Why bother us with the problems of a small insignificant host.
Works fine on my host and numerous others.
Maybe consider changing hosts?

Ohiosweetheart
01-20-2006, 01:32 AM
Seems like Vbshout is not welcome on my web host...



http://forums.realwebhost.net/showthread.php?t=93592 (http://forums.realwebhost.net/showthread.php?t=93592)

well that's odd. as long as it's been around, we know it's not written with bad code. I'd seriously consider changing web hosts.

Ohiosweetheart
01-20-2006, 01:33 AM
Is there a way to reduce the width size of the shoutbox?
I see only a height adjustment in the acp

thanks to anyone who can answer this question.

RaZor Edge
01-20-2006, 01:52 AM
Well mate, than remove it.
Why bother us with the problems of a small insignificant host.
Works fine on my host and numerous others.
Maybe consider changing hosts?

Sorry to "bother" you with my "small insignificant host".

I was sharing this information for those who are concern about this script performance. And also to heard from those who already use it to see if they have problems.

It's great if it's work for you.

Ohiosweetheart
01-20-2006, 01:59 AM
Sorry to "bother" you with my "small insignificant host".

I was sharing this information for those who are concern about this script performance. And also to heard from those who already use it to see if they have problems.

It's great if it's work for you.

I don't have problems with it at all sweetie.. been running it for quite a while. In fact, my host has implemented the sb on their customer page so that we can discuss stuff... me thinks your host is having issues and wants to blame it on the sb.

whitetigergrowl
01-20-2006, 02:19 AM
I can 100% concur that on shared servers at least, that this is a killer. You may not notice it right away, but the more shouts that amass...the worse that its guaranteed to get. On a dedicated server it may not be bad...but on shared ones...even good shared ones...its a real server killer.

Ohiosweetheart
01-20-2006, 03:07 AM
which is why there's a prune function ;)

bglynn
01-20-2006, 11:42 AM
How about a way to only have it available in a time window daily?

bglynn
01-20-2006, 01:36 PM
OK I have it installed and integrated to VBa, but I don't get any edit, font or smiley controls...any idea?

GD_Mehmed Emre
01-20-2006, 04:06 PM
How can i translate the buttons to another language? And can you tell me how can i Edit Shoutbox Options in the ACP as Zero Tolerance showed in the pictures please?

Ohiosweetheart
01-20-2006, 04:14 PM
the buttons I dont know about... but to edit the options, go into acp, click on vBulletin Options, and scroll in the right pane box til you find vB shout options. double click on it and edit your options!

GD_Mehmed Emre
01-20-2006, 04:17 PM
Ohiosweetheart thanks so much for helping so fast :)

Telegon80
01-20-2006, 04:38 PM
well i started using it today on my site and so far so good. the only thing is that it has slowed down the activity on the regular threads SIGNIFICANTLY lolz. ill think ill stick to using it on fridays only.

Ohiosweetheart
01-20-2006, 05:30 PM
Ohiosweetheart thanks so much for helping so fast :)

you're very welcome darlin'

Ohiosweetheart
01-20-2006, 05:36 PM
well i started using it today on my site and so far so good. the only thing is that it has slowed down the activity on the regular threads SIGNIFICANTLY lolz. ill think ill stick to using it on fridays only.

that happened with my site too, when I first put it on there. But once the novelty wears off, they go back to the threads and use the shoutbox to yak a little.

I think it's very neat for those who are in a hurry and don't really have time to post, but want to drop in to say Hello. That's mostly what my members use ours for.

Montana
01-21-2006, 08:56 PM
I installed this earlier today and it just keep saying 'Loading....' Any ideas of what I need to tweak?

Telegon80
01-21-2006, 10:03 PM
i had the same problem. Double check to see that you uploaded the PHP file to the correct location.

I had put mine in www.mywebsite.com/

i checked that i was supposed to put it on the FORUM ROOT DIRECTORY which is:

www.mywebsite.com/forums/

hope that's what the problem is for yours.

Montana
01-21-2006, 10:25 PM
Thank you! I had uploaded it there....but when I deleted and replaced it worked, so something must have happened in the upload.

MuwahhhH!!!!

Dreamchaser
01-22-2006, 10:14 AM
Installed on vB 3.5.3 ! Works charming :)!!

Reece^B
01-22-2006, 10:48 AM
When i ban a usergroup (not logged in/unregisterd) i set the shoutbox to view but no posts.
and this error comes up:

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

Someone tell me what this means?

Reece^B
01-22-2006, 03:38 PM
anyone?

bashy
01-22-2006, 07:15 PM
HI ZT

is there away to make this viewable whilst browsing the forums?

S@NL - BlackBik
01-22-2006, 07:28 PM
Sorry to "bother" you with my "small insignificant host".

I was sharing this information for those who are concern about this script performance. And also to heard from those who already use it to see if they have problems.

It's great if it's work for you.
Excusez moi, RaZor Edge.
There was no need for me to react like that.

CnB
01-22-2006, 07:48 PM
where are the option int he Cpanel ?

and cant he storage to be set to more then 20 lines ?
what about visible on every page while browsing forums ?

but nice feature
works with latest vb 3.5.3

S@NL - BlackBik
01-22-2006, 08:01 PM
Go to you're AdminCP and open Vbulletin Options -> Vbulletin Options.
In the Settingslist scroll down and there you'll find the vBShout options.

Storage is indefinite, look in the vBShout Archive.
The number of lines in the box and the height of the box can all be set in the settings.

CnB
01-22-2006, 08:17 PM
alright thanks alot
somehow i looked over all of that

Littlebit
01-23-2006, 01:41 PM
After searching this thread for the millionth time, I still couldn't find a fix... It's the safari bug where it's stretched out to almost the whole page.

I'm using OSX and checked Safari. It's working when I'm logged in and only balloons as an unregistered for me. Maybe this can help narrow in on the problem. If I can figure it out, I'll post what I did.

I also checked it on Internet Explorer for Mac OSX. Per usual (with that ancient browser) it wouldn't even load and knocked the page out to kingdom come. That browser is awful with everything.

All does look and works great with this hack and Firefox :up: (my main of course)

SuperJETT
01-23-2006, 02:26 PM
Interesting x2 here, because that's who I'm using and have vbshout installed too.

Seems like Vbshout is not welcome on my web host...



http://forums.realwebhost.net/showthread.php?t=93592 (http://forums.realwebhost.net/showthread.php?t=93592)

SuperJETT
01-23-2006, 04:23 PM
It appears someone ratted out my site to RWH. I imagine I'll be switching hosts soon.

On 1/23/06, admin <admin@realwebhost.net> wrote:
>
>
>
> From a client
>
>
>
> I saw your announcement on your forum about sites running VB Shout. I
> wanted to bring to your attention that http://www.x-h2o.com/index.php is
> running a VB Shout software.
>
>
>
>
>
> Read our post here please and follow it!
>
> http://forums.realwebhost.net/showthread.php?t=93592
>
>
>
>
>
>
>
> Joey Moses
>
> PO Box 27
>
> Flora, Il 62839
>
> Phone: 618-662-6460
>
> Cell 618-339-8765
>
> Fax 618-662-6760
>
> sales@realwebhost.net
>
> http://realwebhost.net
>
>
>
>



Interesting x2 here, because that's who I'm using and have vbshout installed too.

Hellcat
01-23-2006, 08:53 PM
I wonder what "bad code" could be in there?
'xept for a DB query every 10 seconds....

I walked through the whole script (for tweaking it to my needs and adding the online list) but didn't find any server-killing code....
Well, not that I looked for it and it doesn't kill my server....

Very weird this is....

Decado
01-23-2006, 09:38 PM
*Thinks he'll be contacting this host about these claims*

d4d4
01-24-2006, 12:29 PM
Hello,

I have a problem with the AJAX funcitionality of this extension. When I click to "shout", I must reload the page to see my message on the shoutbox. That's a bug - but it only see when you use the Safari 2.0. With Firefox 1.5 it works great - but I will Safari 2.0 use to surf :(

Who can help my?

Best reguards
d4d4

davidw
01-24-2006, 03:16 PM
Ok, I've tried doing a search, and searching this thread and with no luck and after sifting (over a two-day period) nearly 1200 posts and going through nearly 80 pages, I've not seen the problem I face (unless I overlooked it). Before I could live with it, but now its more of an annoyance.

Does anyone know how to correct the issue with special characters? { <, >, ", etc.}
When someone shouts with a special character, it displays the &gt; or &lt; or whatever the html equivelant is. Given enough time I may find a solution, but I wanted to know if someone has already encountered this and their solution? Thanks!

S@NL - BlackBik
01-24-2006, 03:25 PM
Strange, I don't have that problem at all....
When I type > in my Shoutbox it shows > and not &gt.

bashy
01-24-2006, 04:40 PM
Hi peeps

How can i make this viewable when browsing the forums please?

S@NL - BlackBik
01-24-2006, 06:05 PM
I don't exactly know what you mean?
You could just open a seperate window / tab for your homepage with shoutbox and browse the forums in a other window / tab ;)

The shoutbox is shown by putting the variable $shoutbox in a template.
I don't know if it works on other page to, though.

bashy
01-24-2006, 06:12 PM
having another browser open is defeating the object slightly, it would work for me as i have a dual moniotr setup but my other staff dont have such luxuries.... therefore having another browser open they would still have to keep checking it, same as they do now, but if it was shown all the time throught the forum then it would be noticed and be easily read and used,

I will try the variable though, thanks

bashy
01-24-2006, 06:14 PM
just tried the $shoutbox and it is not found on any of my templates anywhere...

The only places where the word shoutbox is, is in its own templates :(

Dead end there im afraid

S@NL - BlackBik
01-24-2006, 06:26 PM
Nope it's not :)
It's true that no template is edited by the hack.
However, in the code there is a replacement for a certain textphrase in the forumhome-template and $shoutbox is put underneath. What textphrase is used, depends on where you position the shoutbox in your admincp.
It's mentioned somewhere in this thread how it works exactly a couple of pages back, try searching this thread ;)

When you manualy put $shoutbox in a template, than it will appear where you put this variable. Just try it :)

bashy
01-24-2006, 07:26 PM
I did try that, i put it in forumhome i think it was but nothing changed!

S@NL - BlackBik
01-24-2006, 07:55 PM
Did you upload vbshout.php to your forum root directory?

bashy
01-24-2006, 07:57 PM
dont get me wrong, the shoutbox works fin on the forum index (staff only)
So yes i did upload the vbshout.php to my forum root directory...

I just wanted it to show whilst browsing the forum is all would be great if its possible.

S@NL - BlackBik
01-24-2006, 08:23 PM
OK, sorry.
Than I'm affraid I don't really know what you mean with "whilst browsing the forum" ;)
I don't think I can help you, sorry.

Ohiosweetheart
01-24-2006, 08:31 PM
dont get me wrong, the shoutbox works fin on the forum index (staff only)
So yes i did upload the vbshout.php to my forum root directory...

I just wanted it to show whilst browsing the forum is all would be great if its possible.

In other words you want to see the shoutbox on every page? Easy... there's a hack for that. Scroll up, it's listed to the side of the top post on every page of this thread :)

Muderman24
01-24-2006, 08:33 PM
This may be weird, but when i go to view "currently active users" instead of it saying viewing forums index it says viewing shoutbox.

Is that normal and is there anyway to change it back without uninstall the shoutbox? I know it's minor but the minor things sometimes bug me.

S@NL - BlackBik
01-24-2006, 08:43 PM
I believe it says "Viewing Shoutbox" when the user is viewing the Shoutbox Archive.
That phrase is completely valid ;)

If you really want to change it, than I guess you can change the phrase in the product XML and reinstall (with overwrite).

S@NL - BlackBik
01-25-2006, 09:54 AM
dont get me wrong, the shoutbox works fin on the forum index (staff only)
So yes i did upload the vbshout.php to my forum root directory...

I just wanted it to show whilst browsing the forum is all would be great if its possible.

Bashy, mayby THIS (https://vborg.vbsupport.ru/showthread.php?t=96158) is what you need?

coffeefix
01-25-2006, 02:18 PM
/prune [username] (Clears all shouts posted by specified user)


This command doesn't seem to work on mine.


*EDIT- got it working had to remove the brackets around the username.*

bashy
01-25-2006, 06:17 PM
Cheers m8 but i tried that hack and its bugged to hell and back lol
Nearly broke me forum :(

Bashy, mayby THIS (https://vborg.vbsupport.ru/showthread.php?t=96158) is what you need?

davidw
01-25-2006, 07:12 PM
Ok, I've tried doing a search, and searching this thread and with no luck and after sifting (over a two-day period) nearly 1200 posts and going through nearly 80 pages, I've not seen the problem I face (unless I overlooked it). Before I could live with it, but now its more of an annoyance.

Does anyone know how to correct the issue with special characters? { <, >, ", etc.}
When someone shouts with a special character, it displays the &gt; or &lt; or whatever the html equivelant is. Given enough time I may find a solution, but I wanted to know if someone has already encountered this and their solution? Thanks!
I've found the problem. This issue derives from the "security fix" listed in this thread where I changed:

'shout' => TYPE_STR,

to

'shout' => TYPE_NOHTML,

If I change it back, I get the special characters, if I keep it, I have to deal with the &gt;, &lt;, etc.

Connector
01-25-2006, 07:40 PM
Thanks Installing





__________________
Image Hosting (http://www.upload2share.com)

rb290
01-26-2006, 03:22 AM
Can you please tell me how or what I can edit to make the edit/delete shouts only allowed for Admins if thats possible, thanks!

Ohiosweetheart
01-26-2006, 06:17 PM
Cheers m8 but i tried that hack and its bugged to hell and back lol
Nearly broke me forum :(

we use it on our forum and it works great for us

Ohiosweetheart
01-26-2006, 06:24 PM
My shoutbox is refreshing and jumping all over the place! When members are typing in the text line, it'll refresh and blink out and they lose what they're typing and have to start all over again. This is happening several times per minute.
It's extremely frustrating... has anyone else had this problem and what did you do to fix it?

DeMiNe0
01-27-2006, 12:09 AM
any chance we can get flood protection for this?

NineToez
01-27-2006, 12:35 AM
I think it might be a good idea to stop GET and POST shouldbox sends after a non-active period, as well as when the shoutbox is minimised. Should save some bandwidth.
I'm concerned if this script will stay constantly connected to the database and taxing server resources. Any one have know if this is the case?

Ohiosweetheart
01-27-2006, 01:43 AM
Ok I posted about this somewhere else and was told it was addressed in THIS thread, but I can't seem to find it so.... here goes again, I guess...

I'm admin on my forum and I have my options set to be able to view members, exact location on the forum, ip addresses etc. However.. ONLY the past 2 days, when I click on the currently active users link and view who's online... it shows every single member viewing the shoutbox. Even me, and I'm not! No matter how many times I reload the page, it doesn't change.

Is this a glitch somewhere? ANyone know what I might be able to do?
thanks for your help

Rickie3
01-27-2006, 03:55 AM
Go to your ACP, then:
Plugin System -> Manage Products -> [Add/Import Product]
Select 'vbshout.xml' from your computer and then press 'Import'

i would redo this first and set Allow Overwrite to yes then click import,just a thought

Ohiosweetheart
01-27-2006, 11:34 AM
Ok I did that... and now it shows me viewing who's online... but everyone else is viewing the shoutbox even tho I took the "sb on every page" hack off and I know the others are posting their little hearts out. *sigh*

I hope I don't have to uninstall this hack...

ggiersdorf
01-27-2006, 12:20 PM
Is there a way to force the defualt size of the font to something smaller? I like the idea, but the defualt text takes too much room on the interface for my liking..

cheards
01-27-2006, 12:22 PM
This is a GREAT shout addition , I've one question - how do I stop unregistered or banned e.t.c people from seeing previous Shouts ? .... I've placed these groups in the banned section but unregistered people can still see shouts

Cheers for any help ; :squareeyed:

Ohiosweetheart
01-27-2006, 12:57 PM
Ok I did that... and now it shows me viewing who's online... but everyone else is viewing the shoutbox even tho I took the "sb on every page" hack off and I know the others are posting their little hearts out. *sigh*

I hope I don't have to uninstall this hack...

NM I fixed it myself... the who's online feature was set to refresh every 30 seconds. I turned the refresh off completely... and it's working fine now.

yayy me

S@NL - BlackBik
01-27-2006, 01:40 PM
This is a GREAT shout addition , I've one question - how do I stop unregistered or banned e.t.c people from seeing previous Shouts ? .... I've placed these groups in the banned section but unregistered people can still see shouts


Cheers for any help ; :squareeyed:

You have a setting in your admincp where you can exclude groups from using the shoutbox.
admincp -> vbulletin options -> vbulletin options -> scroll down to vbshout options

DeMiNe0
01-27-2006, 03:53 PM
Is there a flood protection? People on my board are flooding the shoutbox like crazy.

GamerJunk.net
01-27-2006, 06:42 PM
How can I make this work in a side panel similiar to vbadvanced style shouting when it's on the right side? I tried the vbadvanced hack on the forumhome and it didn't work.

How would I format it to be in a skyscraper type format on the forum home?

mbader71
01-28-2006, 03:15 AM
Is it possible to give a beep sound or some kind of a notification sound when another user have posted in the shoutbox?

Rickie3
01-28-2006, 03:50 AM
Is it possible to give a beep sound or some kind of a notification sound when another user have posted in the shoutbox?i have a lot of users on my forum that use the shout,i recon a beep sound for each shout would drive you crazy after a short time :cross-eyed:

Solace-City
01-28-2006, 05:12 AM
I just fixed an error I was getting that some others were getting too...

If you get this error: Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288

then do the following (it worked for me anyway)

Find in vbshout.php:
if ($vbulletin->options['shout_messages_order'])

{
$Output = array_reverse($Output);
}
Below, add:

if (isBanned($vbulletin->userinfo) && $vbulletin->options['shout_banned_perms'] > 0)

{
echo '<b>Sorry, you are currently banned from the shoutbox</b>';
exit(); }


I am under no circumstances saying this code modification will work in your forum environment, nor saying it is the magical fix.

mbader71
01-28-2006, 06:39 AM
i have a lot of users on my forum that use the shout,i recon a beep sound for each shout would drive you crazy after a short time :cross-eyed:

well, that is what my users have suggested.

then what if it is a user option that he can set true or false in his UserCP or as a checkbox next to the shoutbox.

S@NL - BlackBik
01-28-2006, 08:03 AM
I don't exactly know if it is posted allready, but I fixed the little bug that prevented users to edit or delete their own shouts.

In vbshout.php find:
if ($Shout['sid'] != $vbulletin->userinfo['userid'] && !can_moderate())
and replace it by
if ($Shout['s_by'] != $vbulletin->userinfo['userid'] && !can_moderate())
This line is found twice in the code. Once for editing and once for deleting a shout.

Rickie3
01-28-2006, 08:06 AM
then what if it is a user option that he can set true or false in his UserCP or as a checkbox next to the shoutbox.
yes i do like your idea of it being user selectable

tjad
01-29-2006, 02:36 AM
i've installed but it only shows on the default skin and the pinky skin....

http://www.werbeyond.com/forum/index.php?

*edited ot add link so you can see

sickstrings
01-29-2006, 04:25 AM
I'm using OSX and checked Safari. It's working when I'm logged in and only balloons as an unregistered for me. Maybe this can help narrow in on the problem. If I can figure it out, I'll post what I did.

I also checked it on Internet Explorer for Mac OSX. Per usual (with that ancient browser) it wouldn't even load and knocked the page out to kingdom come. That browser is awful with everything.

All does look and works great with this hack and Firefox :up: (my main of course)
How hard would it be to start the shoutbox minimized for safari users? I'm thinking pretty hard...

sickstrings
01-29-2006, 04:43 AM
ZT,

:) The shoutbox is great, but I want to make it a seperate page rather than using forums for it :) (Hope you dont mind me posting here)

so, I just take the action part and put it into vbshout.php?do=chat

Standalone chat: (just add before

// ---------------------------------------------------
// Start Page Output
// ---------------------------------------------------



// ---------------------------------------------------
// AJAX Standalone Chat
// ---------------------------------------------------

if ($_GET['do'] == 'chat')
{
$navbits = array("vbshout.php?" . $vbulletin->session->vars['sessionurl'] . "do=chat" => 'Chat');
$navbits[""] = 'Shoutbox - Chat Area';

$Used = 0;
$UsedArr = array();
$smilies = $db->query_read("
SELECT smilieid, smilietext, smiliepath, smilie.title,
imagecategory.title AS category
FROM " . TABLE_PREFIX . "smilie AS smilie
LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY imagecategory.displayorder, smilie.displayorder
");
$Smilie_Build = '';
$Total_Smilies = $db->num_rows($smilies);

if ($Total_Smilies > 0)
{
while ($emo = $db->fetch_array($smilies))
{
if ($vbulletin->options['shout_smilies_show'] > 0)
{
$Smilie_Cache[] = $emo;
}
else
{
$Smilie_Build .= '<a href="#" onclick="return sb_Smilie(\''.$emo['smilietext'].'\')">https://vborg.vbsupport.ru/ ';
}
}

if ($vbulletin->options['shout_smilies_show'] > $Total_Smilies)
{
$vbulletin->options['shout_smilies_show'] = $Total_Smilies;
}

if ($vbulletin->options['shout_smilies_show'] > 0)
{
while ($Used < $vbulletin->options['shout_smilies_show'])
{
$GetEmo = $Total_Smilies;
$GetEmo = rand(0, $GetEmo);

if (!in_array($GetEmo, $UsedArr) && $Smilie_Cache[$GetEmo])
{
$Used++;
$GetEmo = $Smilie_Cache[$GetEmo];
$Smilie_Build .= '<a href="#" onclick="return sb_Smilie(\''.$GetEmo['smilietext'].'\')">https://vborg.vbsupport.ru/ ';
}
}
}
}
else
{
$Smilie_Build = 'No Emoticons Available';
}

$Options_DropDown = array(); // Items included will be parsed to create drop down menus
$DropDowns = array(); // Completed constructed drop down menus

$Options_DropDown['font_selector'] = array('Default', 'Arial', 'Arial Black', 'Arial Narrow', 'Book Antiqua', 'Century Gothic', 'Comic Sans MS', 'Courier New', 'Fixedsys', 'Franklin Gothic Medium', 'Garamond', 'Georgia', 'Impact', 'Lucida Console', 'Lucida Sans Unicode', 'Microsoft Sans Serif', 'Palatino Linotype', 'System', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana');
$Options_DropDown['color_selector'] = array();
$Options_DropDown['color_selector'][] = 'Default';

$hex = array();
$hex[] = '0';
$hex[] = '3';
$hex[] = '6';
$hex[] = '9';
$hex[] = 'C';
$hex[] = 'F';

for ($a = 0; $a < 6; $a++)
{
for ($b = 0; $b < 6; $b++)
{
for ($c = 0; $c < 6; $c++)
{
$Options_DropDown['color_selector'][] = '#' . $hex[$a].$hex[$a].$hex[$b].$hex[$b].$hex[$c].$hex[$c];
}
}
}

if (is_array($Options_DropDown))
{
foreach ($Options_DropDown as $Menu => $Options)
{
$DropDowns[$Menu] = '';
if (is_array($Options))
{
foreach ($Options as $Selection)
{
if (preg_match("#^\#([a-z0-9]+)$#i", $Selection))
{
$Extra = ' style="color:'.$Selection.';"';
}
else
{
$Extra = '';
}

if ($Selection == 'Default')
{
$Text = (($Menu == 'color_selector') ? 'Color' : 'Font Face') . ' [Default]';
}
else
{
$Text = $Selection;
}

$DropDowns[$Menu] .= '<option value="'.$Selection.'"'.$Extra.'>'.$Text.'' . "\n";
}
}
}
}

if ($vbulletin->options['shout_banned_perms'] == 2 && isBanned($vbulletin->userinfo))
{
print_no_permission();
}
else
{
eval('$Shoutbox = "' . fetch_template('forumhome_vbshout') . '";');
}

$pagenav = construct_page_nav($page, $perpage, $TS_D, 'vbshout.php?' . $vbulletin->session->vars['sessionurl'] . 'do=chat', ''
. (!empty($vbulletin->GPC['perpage']) ? "&pp=$perpage" : "")
);
$HTML = $Shoutbox;
}
// ---------------------------------------------------
// AJAX Standalone Chat
// ---------------------------------------------------



You may also want to add

'chat' => array('GENERIC_SHELL',
'forumhome_vbshout',
),

to the action templates if you use it
I want the shoutbox on both the forum and on a seperate page. After searching long and hard, this (quoted) is the only post I see that offers a solution.

I'm only marginally technical, so can someone please verify that this will work for my needs, or how I can use it for my needs.

IrPr
01-29-2006, 12:10 PM
AWESOME WOKR ZT !
is it compatible with vBA Gallery and Photopost vBGallery?

Annie^.^
01-29-2006, 12:28 PM
Hi I installed this great mod. I have a question. Is there a way to set which smilie category to show? I have nearly 600 smilies and some of the smilies I don't want in the shout box.

Annie^.^
01-29-2006, 12:33 PM
I wouldn't mind if only the generic smilies will show

S@NL - BlackBik
01-29-2006, 04:13 PM
I made a autoprune function for vBshout.
Just download the attached file and put in the /includes/cron directory.
Then make a new scheduled task (see attached jpg).
I run it every night at 3 o clock but offcourse your free to run it more often than that.

What is does: It will delete all shouts that are older than 24 hours.
This way you will allways have an archive that's holds no shouts that are older than two days.
You can alter the deletion time in the php by altering the "(TIMENOW - (60 * 60 * 24)" statement.

Enjoy :)

Replaced the php with the right one

bashy
01-29-2006, 04:21 PM
Well done m8, this i will use :)

Thank you

I made a autoprune function for vBshout.
Just download the attached file and put in the /includes/cron directory.
Then make a new scheduled task (see attached jpg).
I run it every night at 3 o clock but offcourse your free to run it more often than that.

What is does: It will delete all shouts that are older than 24 hours.
This way you will allways have an archive that's holds no shouts that are older than two days.
You can alter the deletion time in the php by altering the "(TIMENOW - (60 * 60 * 24)" statement.

Enjoy :)

firstrebel
01-29-2006, 06:00 PM
I made a autoprune function for vBshout.
Just download the attached file and put in the /includes/cron directory.
Then make a new scheduled task (see attached jpg).
I run it every night at 3 o clock but offcourse your free to run it more often than that.
Enjoy :)
Thanks, this will be very helpfull.

Bob

S@NL - BlackBik
01-29-2006, 08:25 PM
bashy and firstrebel, thanks but please download the file again.
It seemes i've uploaded the wrong php file.
This one is OK, the other one pruned a bit too much.

Sorry if i've messed up your shoutbox....

Ohiosweetheart
01-29-2006, 09:52 PM
Hi I installed this great mod. I have a question. Is there a way to set which smilie category to show? I have nearly 600 smilies and some of the smilies I don't want in the shout box.

600 ??? http://www.exquisitelyerotic.net/forums/images/smilies/huh.gif I thought I was going wild with 234 of them, LOL

firstrebel
01-30-2006, 03:17 PM
bashy and firstrebel, thanks but please download the file again.
It seemes i've uploaded the wrong php file.
This one is OK, the other one pruned a bit too much.

Sorry if i've messed up your shoutbox....
No problem, your work is appreciated, even the mistakes, and we all make 'em.

Bob

Trana
01-31-2006, 01:08 AM
I am using the CMPS module to output this script to my site.

Can anyone tell me how I can reformat the buildTime output so it doesn't have "Today at" as a value? I would like X:XX AM/PM, nothing fancy.

Thanks!

S@NL - BlackBik
01-31-2006, 06:27 PM
You can comment out this line:
$Time = vbdate($vbulletin->options['dateformat'], $time, $vbulletin->options['yestoday']);
But I don't know what that does when you bridge midnight....

bashy
01-31-2006, 07:54 PM
Does anyone have any probs with regards to this frezzing, (sort of) and not posting the shout?
I sometimes have to refresh and or close the browser and open a new 1?
I only have it for my staff so only about 5 use it??

Any ideas please?

craiovaforum
01-31-2006, 10:29 PM
You can comment out this line:
$Time = vbdate($vbulletin->options['dateformat'], $time, $vbulletin->options['yestoday']);
But I don't know what that does when you bridge midnight....

hmm I cannot find that
where exactly is that...

Trana
01-31-2006, 10:39 PM
In vbshout.php. Comment out that line.

Also, I changed my time format:

$Time .= vbdate("g:i A", $time, $vbulletin->options['yestoday']);

rb290
02-01-2006, 05:46 AM
Can you please tell me how or what I can edit to make the edit/delete shouts only allowed for Admins if thats possible, thanks!

^ ^ Anyone know? ^ ^

mrcrx
02-01-2006, 10:05 PM
i have someone banned from the shotbox but there still able to shout. any suggestions?

Snake
02-01-2006, 10:21 PM
Where is the vBShout code replacement in the templates? I coudn't find it.

mrcrx
02-01-2006, 10:34 PM
Does anyone have any probs with regards to this frezzing, (sort of) and not posting the shout?
I sometimes have to refresh and or close the browser and open a new 1?
I only have it for my staff so only about 5 use it??

Any ideas please?

I have the same issue but with 25 or so people. this is such a great mod that people just deal with it.

Big_Ern
02-01-2006, 11:51 PM
instead of banning certain usergroups, is there a way to ban users who are NOT part of certain usergroups?

all of the users on our forum are a 'registered user'. Then as they progress we vote them into a 'members' section with adition rooms they can access, but to do this we make the member functionality a secondary usergroup (ie they are still a primary 'registered user')

What I want is to only allow our 'members' to ahve acces to the shout box. Would this be possible?

I'm thinking it would be easy to chnage the logic in the code, but i thought I'd ask here first before I dig into it.

thanks

-aaron

Great Mod btw!

thisgeek
02-02-2006, 04:57 AM
Disabling auto refresh and adding a 'refresh' button

Go to style manager, and edit (or customize) the template forumhome_vbshout

Find text:
<input type="submit" value="Shout" class="button" />
And add immediately BELOW it:
<input type='button' class='button' value='Refresh' onclick='requestShouts()' />
The code must go above the 'if condition' code.
This line occurs twice - add the new button to both.

THEN

Find the text:
setTimeout('requestShouts()', 10000)
And comment it out by enclosing it with /* and */ like so:
/* setTimeout('requestShouts()', 10000) */
You can also delete the line entirely.

The shoutbox will now only refresh if you a) Submit a shout, or b) hit the 'refresh' button.

Murty
02-02-2006, 07:54 AM
does anyone know, how i can change the title of the box 'ShoutBox' to something else?

S@NL - BlackBik
02-02-2006, 08:03 AM
@ Murty: You can edit that in the template Forumhome templates -> forumhome_vbshout (search for "Shoutbox" in the template).

S@NL - BlackBik
02-02-2006, 08:08 AM
Where is the vBShout code replacement in the templates? I coudn't find it.

Aftermath, there isn't :)
Check the plugincode of the vbshout plugin at the forumhome_complete hook.
Scroll all the way down, and you'll see how ZT positions the shoutbox.
He substitutes a text in the forumhome template by that text plus $shoutbox.
This way, no template alterations are necessary.

S@NL - BlackBik
02-02-2006, 08:10 AM
i have someone banned from the shotbox but there still able to shout. any suggestions?

You can edit the banning options for the shoutbox.
Just select "Can not view shoutbox" and you'll have no problem no more ;)

Murty
02-02-2006, 08:23 AM
@ Murty: You can edit that in the template Forumhome templates -> forumhome_vbshout (search for "Shoutbox" in the template).

ohh derr, thanks

mrcrx
02-02-2006, 11:45 AM
You can edit the banning options for the shoutbox.
Just select "Can not view shoutbox" and you'll have no problem no more ;)

Yes I played with it alittle. The only way i can ban someone from it is if i set it to can not view shotbox. The other features still let the user post. thanks for the help.

Reece^B
02-02-2006, 07:57 PM
Hey guys,
Im getting this problem:

Tonight got a an e-mail from my forum:
Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/rvracing/public_html/pitbikeclub/vb/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Thursday, February 2nd 2006 @ 12:28:01 PM
Script : http://www.pitbikeclub.co.uk/vb/vbshout.php
Referrer : http://www.pitbikeclub.co.uk/vb/index.php
IP Address : 213.249.236.98
Username :
Classname : vb_database

Now when you go to:
www.pitbikeclub.co.uk/vb/vbshout.php

It looks ll wierd and has lost everything.

Can anyone help?

S@NL - BlackBik
02-02-2006, 08:10 PM
Offcourse that looks weird. It's out of the template, just raw data :)
The shoutbox looks good on your forumhome though ;)

Reece^B
02-02-2006, 08:23 PM
lol thank you. However, what caused this to happen? How can it be fixed?

S@NL - BlackBik
02-02-2006, 08:29 PM
I can't see anything wrong with it.
Just don't open vbshout.php in your browser, but use shoutbox from your forumhome as it's supposed to. :)

As what could have caused the sql error, i don't have a clue. I'm not an expert on that.

Tulsa
02-02-2006, 10:42 PM
Disabling auto refresh and adding a 'refresh' button

Go to style manager, and edit (or customize) the template forumhome_vbshout

Find text:
<input type="submit" value="Shout" class="button" />
And add immediately BELOW it:
<input type='button' class='button' value='Refresh' onclick='requestShouts()' />
The code must go above the 'if condition' code.
This line occurs twice - add the new button to both.

THEN

Find the text:
setTimeout('requestShouts()', 10000)
And comment it out by enclosing it with /* and */ like so:
/* setTimeout('requestShouts()', 10000) */
You can also delete the line entirely.

The shoutbox will now only refresh if you a) Submit a shout, or b) hit the 'refresh' button.


This works very well, thank you.

Big_Ern
02-03-2006, 12:02 AM
any idea how to change the Banned usergroups to a Include usergroups?

Dark Dragon
02-04-2006, 02:47 AM
On the homepage, the shoutbox just says "Loading..." the whole time, but when I actually look at vbshout.php I can see the shouts and stuff. Anybody know what's wrong?

GamerJunk.net
02-04-2006, 03:39 AM
Nobody knows how to make this only show in the right sidebar on a page?

For example my site... www.gsnforce.com/forum

redundanthost
02-04-2006, 03:40 AM
please check http://www.myspaceshack.com/forums

anyone know why the blank area under the shoutbox does that? and it grows?

SnappedAgain
02-04-2006, 08:14 PM
Im not sure if this has been covered yet but I keep getting a db error email ALL THE TIME and it's killing my INBOX LOL :speechless:

Any ideas??
Im using vb3.5.3 with mysql 5.0.11 and php 5.1
thanks in advance

Database error in vBulletin 3.5.3:

Invalid SQL:

select s.*, u.username, u.usergroupid from shout s
left join user u on (u.userid = s.s_by)
order by s.sid desc limit;

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 3
Error Number : 1064
Date : Saturday, February 4th 2006 @ 02:50:23 PM
Script : http://www.nastyss.com/forums/vbshout.php
Referrer : http://www.nastyss.com/forums/index.php?
IP Address : 67.186.239.155
Username : 91gsx_turbo
Classname : vB_Database