vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] vBShout v2.0 (https://vborg.vbsupport.ru/showthread.php?t=93097)

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

Quote:

Originally Posted by thisgeek
Disabling auto refresh and adding a 'refresh' button

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

Find text:
HTML Code:

<input type="submit" value="Shout" class="button" />
And add immediately BELOW it:
HTML Code:

<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:
Code:

setTimeout('requestShouts()', 10000)
And comment it out by enclosing it with /* and */ like so:
Code:

/* 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

Code:

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


vbreal 02-05-2006 12:16 AM

thanks alot

john_robot 02-05-2006 07:19 AM

hi, please tell me how to get the Emotions without clicking on the smiles button, ( I wanted it to display without clicking the button)
What code I have to use?

bashy 02-05-2006 08:35 AM

Hi ZT

How can i stop it from creating a horizontal bar and have it word wrap please?
Also, has a way been worked out where its possible to have 2 shoutboxes yet?

sickstrings 02-05-2006 01:01 PM

Quote:

Originally Posted by SnappedAgain
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

Code:

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


I'm getting this exact same problem. My inbox is getting hammered too. Here's my version of the error
Code:

Database error in vBulletin 3.5.2:

Invalid SQL:

                      select s.*, u.username, u.usergroupid from vb2_shout s
                      left join vb2_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        : Sunday, February 5th 2006 @ 06:39:16 AM
- Hide quoted text -
Script      : http://boards.mysportsradio.com/vbshout.php
Referrer    :
IP Address  : 88.106.223.170
Username    : Unregistered
Classname    : vb_database


tjad 02-05-2006 04:09 PM

I need to see if there's a way to make it so that the shout box doesn't load unless a user wants it to, ie has to click it to open it perhaps. I put it one every page and now the dial-up users are complaining about long load times. I really don't want to un-do that and have it just on the index. TIA

john_robot 02-05-2006 06:59 PM

Quote:

Originally Posted by john_robot
hi, please tell me how to get the Emotions without clicking on the smiles button, ( I wanted it to display without clicking the button)
What code I have to use?

Dont make me shout here... :devious:

SnappedAgain 02-05-2006 08:49 PM

Quote:

Originally Posted by sickstrings
I'm getting this exact same problem. My inbox is getting hammered too. Here's my version of the error
Code:

Database error in vBulletin 3.5.2:

Invalid SQL:

                      select s.*, u.username, u.usergroupid from vb2_shout s
                      left join vb2_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        : Sunday, February 5th 2006 @ 06:39:16 AM
- Hide quoted text -
Script      : http://boards.mysportsradio.com/vbshout.php
Referrer    :
IP Address  : 88.106.223.170
Username    : Unregistered
Classname    : vb_database



SORRY to hear that your getting the error too. Im just glad Im not the only one though :nervous: We need to get ZT in here to give us some advice on how to fix it. =)

LBSources 02-05-2006 08:51 PM

Quote:

Originally Posted by bashy
Hi ZT

How can i stop it from creating a horizontal bar and have it word wrap please?
Also, has a way been worked out where its possible to have 2 shoutboxes yet?

2 shoutboxes? wow that would kill resources bashy ..its already a hog

Lenny

bashy 02-05-2006 08:55 PM

I aint noticed any great loss with it as yet, although its only used for staff only atm..

Thats why i want another 1 for the members
My server load is about 0.85% with this one running

Quote:

Originally Posted by LBSources
2 shoutboxes? wow that would kill resources bashy ..its already a hog

Lenny


forumsoup.com 02-05-2006 11:17 PM

Adding vShout on all pages... Is that a good idea? How does that work? Does each page have a different chat room or is it all the same?

bashy 02-06-2006 05:18 AM

Hopefully all the same...
There is another hack out that does this but it nealry killed me lol
things went tLts up :(

So i am hoping for an easier way

tjad 02-06-2006 02:56 PM

Quote:

Originally Posted by bashy
Hopefully all the same...
There is another hack out that does this but it nealry killed me lol
things went tLts up :(

So i am hoping for an easier way

This one is really easy to install. I've blown things up before and managed to get this one installed in 2 min.

trigon 02-06-2006 10:13 PM

Quote:

Originally Posted by cuphongle
nothing happened after i installed the plug-ins....
and upload the file...

can u tell me whats wrong?

installed without probs, thx for this wonderfull hack.

Big_Ern 02-07-2006 06:41 PM

Quote:

Originally Posted by Big_Ern
any idea how to change the Banned usergroups to a Include usergroups?



does anyone have an idea if this will work?

we want to use this in our "members" room only

so we need thit "include" user groups that can use the shout box rather then "exclude" them

Muderman24 02-08-2006 03:31 AM

Is there a way to set certain usergroups to be able to edit and/or delete shouts or certain members?

forumsoup.com 02-08-2006 03:38 AM

I put this on my site, love it, and clicked installed. Thanks!

Xplorer4x4 02-09-2006 06:56 AM

<a href="http://xs66.xs.to/pics/06056/Shoutbox.jpg" target="_blank">http://xs66.xs.to/pics/06056/Shoutbox.jpg</a>
My members seem to have a problem with the shouts over flowing the bix if using IE or AOL.

Any ideas?

vbreal 02-09-2006 12:22 PM

is there a way to require a certain amount of post before peeps can use the shoutbox. i swear this thing has taken over ha ha

itorrents 02-09-2006 11:54 PM

Don't think I could have a forum without this :) so thank you kindly.

bondjetta 02-10-2006 02:43 PM

Hey Zero...i'm running Dynamic Forum Home Announcements and vBShout is showing up ABOVE those. DFHA requires template edits of Forum Home...but vBShout doesn't :\ How can i edit vBShout so that it'll appear UNDER the DFHA? I'm trying to find where in your XML you're telling the plugin where to load...w/o much luck so far. :)

Can you give me a hint? ;)

Luggruff 02-11-2006 06:24 AM

how do I change the "Shout" "clear" "smilies" "B" "U" "I" to images instead of buttons? or do you have a nice and quick css mod for them? (as it looks you have used!) Gets so ugly with windows regular buttons..

EDIT: Fixed lol.. was implemented in the styles.. of course -_- .buttons

cuphongle 02-11-2006 06:48 PM

how would i hide this from the guests?

Tulsa 02-11-2006 08:11 PM

put this access group (1) in the banned section of the admin control panel vbulletin options/vbshout options then list the banned group as cannot view the shoutbox in the drop down.

melodiq 02-11-2006 10:31 PM

is there a way to add the auto refresh back with this latest version???

Luggruff 02-12-2006 12:46 PM

Quote:

Originally Posted by melodiq
is there a way to add the auto refresh back with this latest version???

It does "auto refresh".. just like an IM.

interceptor 02-12-2006 02:23 PM

work without problems >>install<<

msimplay 02-12-2006 02:35 PM

Is it possible to replace the smilie button with the smilie popup you get when u click on more smilies in the post reply form

Snake 02-12-2006 02:37 PM

How can I remove smilies on the forums homepage along with the button? I think it slows down the server a lot.

Luggruff 02-12-2006 03:16 PM

Quote:

Originally Posted by Aftermath
How can I remove smilies on the forums homepage along with the button? I think it slows down the server a lot.

easy way: put <!-- --> tags around the button in the template: forumhome_vbshout

Snake 02-12-2006 03:39 PM

And where do I place that exactly?


All times are GMT. The time now is 09:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03763 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (2)bbcode_html_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete