PDA

View Full Version : Chat Modifications - Dion Dev Shoutbox v2.1 (AJAX)


DionDev
05-08-2009, 10:00 PM
DEMO URL:

http://www.diondev.com/vb

-------------------------

NEW FEATURES:

- simplicity was kept in mind
- new archive layout that uses a table with name, message, time, and ip & delete for admins/supermods
- shoutbox files are all in one folder
- new option to change the width and height of the shoutbox iframe
- new option to allow supermods to delete shouts
- new collapsable shoutbox template that flows better with forums
- ip addresses are now stored along with shouts
- B, I, U, and color buttons for shouts that are remembered for each shout until the member navigates away from the page
- javascript bug fixes that caused messages with "&" and other symbols to cut off
- name colors based on group open and close tags
- new option to automatically parse urls
- removed guest shouting all together (after being disgusted with some of the things written in the shoutbox on my site, i will never re-add this feature so don't bother asking)
- new hide shoutbox from guests option
- uses a little cache system so it only redraws shouts if a new shout has been made (saves bandwidth)
- and some more features I may have forgot to mention

You can see the old feature lists in the old shoutbox vb.org threads:
Dion Dev Shoutbox v2.0
vBulletin 3.x Shoutbox 1.0

-------------------------

UPGRADE INSTRUCTIONS:

1. uninstall the old shoutbox product from your admin cp
2. delete all the shout*.php files from your web server
3. remove the old shoutbox code from whatever template you added it to
4. follow the "fresh installation instructions" below

-------------------------

FRESH INSTALLATION INSTRUCTIONS:

1. extract the zip file onto your computer
2. log in to your admin cp
3. go to plugins & products -> manage products -> add/import product -> browse for "product-ddsb2.1.xml" -> click "import"
4. upload the entire "shoutbox" folder (DO NOT RENAME IT) to your main vbulletin directory
5. copy and paste the entire contents of "template.txt" into the template you want the shoutbox to show up in

if you want the shoutbox to show at the top of your forum index, go to the FORUMHOME template and find:

"<!-- / guest welcome message -->
<br />
</if>"

and copy and paste the contents of "template.txt" after that.

6. go to vbulletin options -> select "dion dev shoutbox v2.1 options" at the very bottom of the list
7. edit all the options as you please and then click on the "save" button

-------------------------

ADDITIONAL OPTIONS:

1. if you want to change the amount of time it checks between shouts, open up "shoutshow.js" in notepad and change "2000" to whatever number, in milliseconds, you want it to wait between checking for new shouts

-------------------------

DONATE ANYTHING YOU CAN SPARE TO DONATIONS@DIONDEV.COM BEFORE REMOVING THE "POWERED BY" MESSAGE

Hall of Famer
05-09-2009, 06:30 AM
Where's the .xml file?

DionDev
05-09-2009, 06:57 AM
My bad. Please re-download the zip file, I've added the XML file to it.

WEBDosser
05-09-2009, 07:20 AM
tagged..

computergeek
05-09-2009, 01:18 PM
nice! Thanks for the redirect!

saviola8x
05-09-2009, 01:27 PM
Not bad.

Reycer
05-09-2009, 01:27 PM
what about the smilie box we talked about....lol I like the new update. ESPECIALLY the Ip address thing.

Thanks for this.

~Michael

Reycer
05-09-2009, 03:12 PM
I can't get it to work right. Take a look

http://lacledeforum.com/forums/

User: test
Pass: testing

saadessa
05-09-2009, 03:20 PM
thank you
realy it is greate job

Reycer
05-09-2009, 06:47 PM
Nevermind, I got it working. Thanks for this one. Can't wait to see a smilie link somewhere.

Reycer
05-09-2009, 06:58 PM
ok Dion, it works and then stops working. Here's whats going on. It will sometimes post the messages I just typed and other times I am having to "Refresh" my browser to get it to work.

Reycer
05-09-2009, 07:16 PM
ok, when trying to post a smilie code, I am getting a broken image picture. When I right click and go down to properties, I see that this is where the box is trying to pull the smilie from. http://lacledeforum.com/forums/http://lacledeforum.com/forums/images/smilies/69.gif

For some reason, it's repeating my home address.

Also does this in the image tag.


OK, scratch that, I fixed it, in shoutshow.php I had to remove ../ from line 32. Otherwise it did what I stated above.

vuive360
05-09-2009, 07:22 PM
Hi Dion Dev,i have a question .
I dont want smod can delete shout, but i want the other group can do like that, so how do i fix this thing ! thanks a lot

Reycer
05-09-2009, 07:27 PM
hmmm. I also need to adjust the font size. How do I do that?

DionDev
05-09-2009, 08:31 PM
The smilies are automatically parsed. So if someone types :) it gets turned into the smilie.

To change the font size you'll have to edit the "shoutshow.php" file, look for <font>'s that use the "smallfont" class and remove them.

Now currently only admins and SMOD's can delete shouts. You can disable SMOD's ability in the admin CP.

Ross L
05-09-2009, 09:42 PM
In comparison to the Inferno Pro Shoutbox, how much does this affect the server load? Is it any better?

Also is it possible to make normal mods able to delete shouts?

Cheers.

nNJ
05-10-2009, 02:00 AM
Is this safe to instrall if you have another chatbox installed?

I want to throw a conditional around your chatbox to only show up in certain forums that only mods, s.mod, and admins have access to, but I need to know if its safe to install this if inferno shout lite is installed

TheLastSuperman
05-10-2009, 02:05 AM
Is this safe to instrall if you have another chatbox installed?

I want to throw a conditional around your chatbox to only show up in certain forums that only mods, s.mod, and admins have access to, but I need to know if its safe to install this if inferno shout lite is installed

I would assume it is safe as the coding uses different phrases/variables blah blah lol however you know what they say about assuming but nice idea, I did that once for admins on a forum so they could chat rather quickly.

S-MAN

nNJ
05-10-2009, 02:08 AM
exactly my intended use.

I was worried that they would use the same phrases, or they would cause a conflict in the database.

I'll backup and test, and let you all know.

Cheers,
nNJ

P.s. Thanks S-MAN

DionDev
05-10-2009, 09:40 AM
In comparison to the Inferno Pro Shoutbox, how much does this affect the server load? Is it any better?

Also is it possible to make normal mods able to delete shouts?

Cheers.

I don't know. I have never used Inferno Shoutbox or any other for that matter. All this shoutbox does is perform a mysql query every 2 seconds (or however long you set it to in the javascript file). Honestly, this is nothing. People use way more queries than this just browsing forums. If you're worried about server load then please edit "2000" to a higher number, such as "5000" for 5 seconds.

Also, the shouts are only redrawn if a new shout is made while you're viewing the shoutbox, therefore this version significantly reduces bandwith consumption.

Is this safe to instrall if you have another chatbox installed?

I want to throw a conditional around your chatbox to only show up in certain forums that only mods, s.mod, and admins have access to, but I need to know if its safe to install this if inferno shout lite is installed

Yes it should be fine. All the plugin variables are prefixed with "ddsb_".

Update on version 2.2:

The changes for 2.2 will be minor. They will involve the BBcode buttons and perhaps a smilies dropdown list of some kind. I also might add the ability to give power to people in groups that you specify.

silvermerc
05-10-2009, 01:25 PM
Looks rather nice!

m0rgulvale
05-10-2009, 09:34 PM
hey dion,thx for great mod


im using the old version but about to ugprade, but im getting these errors every now and then:

Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT COUNT(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>1241945068;

MySQL Error : Out of memory (Needed 1048548 bytes)
Error Number : 5
Request Date : Sunday, May 10th 2009 @ 07:51:08 PM
Error Date : Sunday, May 10th 2009 @ 07:51:14 PM
Script : http://laserpointerforums.com/laser_pointer_forums_3/forum/shoutshow.php
Referrer : http://laserpointerforums.com/laser_pointer_forums_3/forum/shoutdiv.php
IP Address : xxxxx
Username : Unregistered
Classname : vB_Database
MySQL Version :


Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT COUNT(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>1241945065;

MySQL Error : Out of memory (Needed 1048548 bytes)
Error Number : 5
Request Date : Sunday, May 10th 2009 @ 07:51:05 PM
Error Date : Sunday, May 10th 2009 @ 07:51:14 PM
Script : http://laserpointerforums.com/laser_pointer_forums_3/forum/shoutshow.php
Referrer : http://laserpointerforums.com/laser_pointer_forums_3/forum/shoutdiv.php
IP Address :
Username : a
Classname : xxxxx
MySQL Version :


Database error in vBulletin :

Invalid SQL:

SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forum cache','usergroupcache','stylecache','languagecach e','products','pluginlist','cron','profilefield',' loadcache','noticecache');

MySQL Error : MySQL client ran out of memory
Error Number : 2008
Request Date : Sunday, May 10th 2009 @ 07:51:10 PM
Error Date : Sunday, May 10th 2009 @ 07:51:10 PM
Script : http://laserpointerforums.com/laser_pointer_forums_3/forum/shoutshow.php
Referrer : http://laserpointerforums.com/laser_pointer_forums_3/forum/shoutdiv.php
IP Address : xxxxx
Username :
Classname : vB_Database
MySQL Version :






should i be worried? what is causing this? my VPS has 1 gig of ram

does new version fix this if it was a bug?

DionDev
05-11-2009, 12:46 AM
Upgrade to the new version.

Sdahe
05-11-2009, 06:20 AM
Dion, I would like to add this shoutbox in one of my vBadvanced CMPS modules so I can have it in my portal page... can you tell me the steps to do this?

Thanks

DionDev
05-11-2009, 02:27 PM
Dion, I would like to add this shoutbox in one of my vBadvanced CMPS modules so I can have it in my portal page... can you tell me the steps to do this?

Thanks

Install it as normal, and insert the template.txt code into your VBA CMPS portal template.

PaleRiders
05-12-2009, 05:41 PM
I like it.

Cyberkef
05-12-2009, 07:47 PM
Doesn't really work here...

You use mysql_fetch_assoc($sql) instead of $db->fetch_array($sql) methods, so on some configurations all your queryreaders are fubar. Looks like using MySQLi does the trick.

I found:
line 21 in shoutshow.php
line 8, 9, 18 in shoutinsert.php
line 34, 75 in shoutarchive.php
....

I hope changing all the methods will make it work.

DionDev
05-13-2009, 06:22 AM
Doesn't really work here...

You use mysql_fetch_assoc($sql) instead of $db->fetch_array($sql) methods, so on some configurations all your queryreaders are fubar. Looks like using MySQLi does the trick.

I found:
line 21 in shoutshow.php
line 8, 9, 18 in shoutinsert.php
line 34, 75 in shoutarchive.php
....

I hope changing all the methods will make it work.

Yes I will be changing that for the next version. I've also used mysql_result in a couple of places, that will be changed as well.

|Jordan|
05-14-2009, 07:07 AM
How do i change the color of the default shouts? (shouts that dont have a color selected), it defaults to black and its hard to read black and a dark background.

Hall of Famer
05-14-2009, 04:40 PM
I want the shoutbox to be used by staff members only. Can I make it impossible for ordinary registered users to post in the shoutbox?

kyrenator
05-14-2009, 06:18 PM
the 2.1 edition is awesome!!!
congratulations!

kyrenator
05-14-2009, 06:26 PM
Buy there is a prob! It does not show the emoticons! :(
I have the Parse smilies to yes but it shows a space instead of the smiley!

P.S. When i write in greek it shows something like this "%u03B5λληνικα"!!

Any suggestions?

m0rgulvale
05-15-2009, 10:40 PM
this is an awesome mod dion!

my users love it (marked as installed) =)

the only odd issue i have is, sometimes i get this error:

atabase error in vBulletin

Invalid SQL:
SELECT COUNT(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>1242367818;

MySQL Error : Out of memory (Needed 1048548 bytes)
Error Number : 5
Request Date : Friday, May 15th 2009 @ 05:16:58 PM
Error Date : Friday, May 15th 2009 @ 05:17:44 PM
Script : http://laserpointerforums.com/laser_pointer_forums_3/forum/shoutbox/shoutcache.php
Referrer : http://laserpointerforums.com/laser_pointer_forums_3/forum/shoutbox/shoutdiv.php
IP Address : xxxxxx
Username : xxx
Classname : vB_Database
MySQL Version :


i don't understand what these means... mysql didn't crash and my vps has 1gig of ram

however sometimes i get emails with this error in it

any idea what could be causing and how to fix?

DionDev
05-17-2009, 04:35 PM
How do i change the color of the default shouts? (shouts that dont have a color selected), it defaults to black and its hard to read black and a dark background.

I will add this option to version 2.2

I want the shoutbox to be used by staff members only. Can I make it impossible for ordinary registered users to post in the shoutbox?

This would require a hack to the PHP files.

Buy there is a prob! It does not show the emoticons! :(
I have the Parse smilies to yes but it shows a space instead of the smiley!

P.S. When i write in greek it shows something like this "%u03B5λληνικα"!!

Any suggestions?

Please PM me the URL of your site so I can see.

this is an awesome mod dion!

my users love it (marked as installed) =)

the only odd issue i have is, sometimes i get this error:

atabase error in vBulletin

Invalid SQL:
SELECT COUNT(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>1242367818;

MySQL Error : Out of memory (Needed 1048548 bytes)
Error Number : 5
Request Date : Friday, May 15th 2009 @ 05:16:58 PM
Error Date : Friday, May 15th 2009 @ 05:17:44 PM
Script : http://laserpointerforums.com/laser_pointer_forums_3/forum/shoutbox/shoutcache.php
Referrer : http://laserpointerforums.com/laser_pointer_forums_3/forum/shoutbox/shoutdiv.php
IP Address : xxxxxx
Username : xxx
Classname : vB_Database
MySQL Version :


i don't understand what these means... mysql didn't crash and my vps has 1gig of ram

however sometimes i get emails with this error in it

any idea what could be causing and how to fix?

Theres a fix in this thread: http://www.webhostingtalk.com/showthread.php?t=616487

rmxs
05-17-2009, 06:48 PM
Helloo..
Many problems :(

No css style at my box.
No greek inside.(multilang)I use utf8 for my site
No emoticons


check here (http://www.rmxsmania.com/Vb/mypage.php)

Shazz
05-17-2009, 09:21 PM
Nice options and layout.

|Jordan|
05-19-2009, 03:06 AM
In the next version can you make the background of each shout alternate between alt1 and alt2 css?

DionDev
05-19-2009, 04:52 AM
Helloo..
Many problems :(

No css style at my box.
No greek inside.(multilang)I use utf8 for my site
No emoticons


check here (http://www.rmxsmania.com/Vb/mypage.php)

That page is blank.

In the next version can you make the background of each shout alternate between alt1 and alt2 css?

It does.

rmxs
05-19-2009, 05:54 AM
Yes because i remove it...
I fount that after you edit 2-3 files and remove some ../ from pathes and correct the path to css then works..
Byt normally must work without user edits :)

kyrenator
05-19-2009, 12:11 PM
"rmxs"
have you fixed the errors with emoticons and greek?

m0rgulvale
05-20-2009, 11:11 AM
hi dion,

this is what was suggested on the site u mentioned:

max_connections=500
wait_timeout = 30
query_cache_limit=2M
query_cache_size=24M


my my.cnf file listed below does not have any of the above variables set




[mysqld]
set-variable=max_allowed_packet=36M
skip-bdb
skip-innodb
skip-networking
bind-address=127.0.0.1


please let me know what u think is the best move

thanks
-ave

chrisbeau
05-20-2009, 03:53 PM
i replaced:
<if condition="!$show[guest] || $vboptions[ddsb_guest_show]">

with

<if condition="in_array($bbuserinfo['usergroupid'], array(5,6))">

So I could keep it just for S Mods and admin and it works BUT is there anyway of stopping anyone else from actually viewing it, as its still viewable by all via the direct link mysitename.com\shoutbox.php

I tried setting file permissions to 740 (public cant read, write or excute) but that throws up an error message.

DionDev
05-21-2009, 04:50 AM
i replaced:
<if condition="!$show[guest] || $vboptions[ddsb_guest_show]">

with

<if condition="in_array($bbuserinfo['usergroupid'], array(5,6))">

So I could keep it just for S Mods and admin and it works BUT is there anyway of stopping anyone else from actually viewing it, as its still viewable by all via the direct link mysitename.com\shoutbox.php

I tried setting file permissions to 740 (public cant read, write or excute) but that throws up an error message.

Use PHP's die function, and create a conditional statement at the top of shoutbox.php.

DionDev
05-21-2009, 07:33 AM
hi dion,

this is what was suggested on the site u mentioned:

max_connections=500
wait_timeout = 30
query_cache_limit=2M
query_cache_size=24M


my my.cnf file listed below does not have any of the above variables set




[mysqld]
set-variable=max_allowed_packet=36M
skip-bdb
skip-innodb
skip-networking
bind-address=127.0.0.1


please let me know what u think is the best move

thanks
-ave

I'm not really sure. I am not exactly a server expert. I think it would be best to contact your hosting provider, or post a message on WHT.

goxy63
05-21-2009, 05:28 PM
Got db error while uninstalling previous version

Database error in vBulletin 3.8.2:

Invalid SQL:

drop table ?avrljanje;;

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 '?avrljanje' at line 1
Error Number : 1064
Request Date : Thursday, May 21st 2009 @ 01:07:04 PM
Error Date : Thursday, May 21st 2009 @ 01:07:04 PM
Script : http://***********/test/testvb/marija/plugin.php?do=productkill
Referrer : http://*************/test/testvb/marija/plugin.php?do=productdelete&productid=ddsb2&s=
IP Address : **********
Username : Administrator
Classname : vB_Database
MySQL Version : 5.1.30

Even after removing all uploaded files same problem upon uninstallation

Any help on this one

Thanks

silentdub
05-21-2009, 06:45 PM
I think I am running your VB Shout 2.0, I am going to upgrade to your 2.1.

Where do you get more smiley options for the shoutbox?

My current version no one can use quotes, " " Can this be fixed?

also, when posting some links in, they get truncated, can you address this?

Thanks!

kyrenator
05-22-2009, 07:02 AM
how can i delete all messages from the shoutbox?

chrisbeau
05-22-2009, 06:26 PM
Use PHP's die function, and create a conditional statement at the top of shoutbox.php.

Done and works a treat :up:

Thanks

love.
05-22-2009, 11:08 PM
thank u.. how can i add the arabic font ?

:)

Reycer
05-24-2009, 05:13 PM
I'm still having the same problem. Every once in a great while. It quits loading the messages, and you have to hit refresh in your browser for it to show up. It does this with all browsers.

DionDev
05-25-2009, 01:48 PM
I'm still having the same problem. Every once in a great while. It quits loading the messages, and you have to hit refresh in your browser for it to show up. It does this with all browsers.

I'm guessing you have more than 1 window open on the site?

Also - I don't know about arabic characters. I don't speak it and have never worked with it before in any of my scripts...so I would have to look into it.

Reycer
05-26-2009, 03:25 PM
I'm guessing you have more than 1 window open on the site?

Also - I don't know about arabic characters. I don't speak it and have never worked with it before in any of my scripts...so I would have to look into it.

nope just one. And it's doing it again right now.

Hate to say it (because I like the features on this one better), but I may revert back to the old one, it never did this.

BlackLava
05-27-2009, 08:04 AM
I was having such result when trying to setup the refresh to 500ms instead of the classic 2000ms... With 2000ms I haven't got such freeze (when having only one window opened).
Don't know if that could help...

silentdub
05-27-2009, 07:07 PM
Is there a version that will show the forum smiley's so that a user can select a smiley to put in the shoutbox?

It works if you put the code in manually, but then you need to remember each one.

Great App!

Slewey
05-28-2009, 05:27 AM
Installed! Works perfectly here, exactly what we were looking for!

But some members (incl. 2 other Moderators) don't see the date & time, but see the date like the format string; d-m-y H:i
Any idea what's going wrong?

silentdub
05-28-2009, 09:38 PM
The smilies are automatically parsed. So if someone types :) it gets turned into the smilie.

To change the font size you'll have to edit the "shoutshow.php" file, look for <font>'s that use the "smallfont" class and remove them.

Now currently only admins and SMOD's can delete shouts. You can disable SMOD's ability in the admin CP.

Yes, that does work, but instead of having to type out the smiley, is there a way to add a little button that you can click the smiley you want?

An old version of a regular shoutbox had that and my users miss it.

goxy63
06-02-2009, 07:31 PM
Got db error while uninstalling previous version
Database error in vBulletin 3.8.2:

Invalid SQL:

drop table ?avrljanje;;

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 '?avrljanje' at line 1
Error Number : 1064
Request Date : Thursday, May 21st 2009 @ 01:07:04 PM
Error Date : Thursday, May 21st 2009 @ 01:07:04 PM
Script : http://***********/test/testvb/marija/plugin.php?do=productkill
Referrer : http://*************/test/testvb/marija/plugin.php?do=productdelete&productid=ddsb2&s=
IP Address : **********
Username : Administrator
Classname : vB_Database
MySQL Version : 5.1.30

Even after removing all uploaded files same problem upon uninstallation

Any help on this one?

Thanks

BlackLava
06-05-2009, 09:35 AM
I'm running a large board on 2 good servers (one for web and one for database) and even with only about 15-20 simultaneous chatters I see my load going from 0.5 to around 2... I have setup a 2 second delay (default) for messages and 20 max message for the box, any tip to optimize and use less load please?

LDS Prepare
06-06-2009, 05:10 AM
Where is the config file to fix this?

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in [path]/shoutbox/shoutshow.php on line 19

LDS Prepare
06-08-2009, 11:13 PM
Does Not Work. No help. No Support.
I have been asking, and have sent a PM
but no reply for days.
No Support.

DionDev
06-09-2009, 12:09 AM
LDS, I haven't been around lately. I replied to your PM. Please keep in mind that I work on this project in my spare time and I have been very busy lately. I try and provide the best support I can, but free support for a free script is hard to make time for when I work 12 hours a day.

LDS Prepare
06-11-2009, 01:36 AM
A donation is on it's way when it gets fixed and works! I don't expect it for free, but I do expect it to work.

goxy63
06-17-2009, 10:15 PM
Installed, everything seems to be ok...Iam using shoutbox within Vba CMPS
Module shows up, but upon shout nothing is there, msg is not displayed in shoutbox!?

Please advise

Thanks

TheLastSuperman
06-20-2009, 09:47 PM
Installed, everything seems to be ok...Iam using shoutbox within Vba CMPS
Module shows up, but upon shout nothing is there, msg is not displayed in shoutbox!?

Please advise

Thanks

I'm looking @ it now goxy and it's working ;)

Checking the other stuff you mentioned but it was up all I did was optimize and repair your DB tables.

Edit: NM that was on your live forum lol I was viewing the wrong one, still hmp'd on the testvb :(

goxy63
06-22-2009, 12:14 AM
Well I will buy one T shirt and print on it "TheLastSuperman"
:D

Thanks mate

I just love VBuleltin.org, guys & girls here are great
Cheers

Slewey
06-23-2009, 12:41 PM
But some members (incl. 2 other Moderators) don't see the date & time, but see the date like the format string; d-m-y H:i
Any idea what's going wrong?

I still have this problem. Any idea how to fix this? :confused:

Here's a screenshot as well
https://vborg.vbsupport.ru/external/2009/06/67.jpg

DynaMow
06-24-2009, 11:58 PM
this looks like an awesome shoutbox.

I am 1 day old on vbulletin administartor/site owner.

I am by no means computer savvy, so I must ask for help.

I do not understand what # 4 and #5 of the following mean?

Can you please help? Thank you

4. upload the entire "shoutbox" folder (DO NOT RENAME IT) to your main vbulletin directory
5. copy and paste the entire contents of "template.txt" into the template you want the shoutbox to show up in

if you want the shoutbox to show at the top of your forum index, go to the FORUMHOME template and find:

"<!-- / guest welcome message -->
<br />
</if>"

and copy and paste the contents of "template.txt" after that.

http://turftopics.com/forums/index.php

TheLastSuperman
06-25-2009, 12:08 AM
this looks like an awesome shoutbox.

I am 1 day old on vbulletin administartor/site owner.

I am by no means computer savvy, so I must ask for help.

I do not understand what # 4 and #5 of the following mean?

Can you please help? Thank you

4. upload the entire "shoutbox" folder (DO NOT RENAME IT) to your main vbulletin directory
5. copy and paste the entire contents of "template.txt" into the template you want the shoutbox to show up in

if you want the shoutbox to show at the top of your forum index, go to the FORUMHOME template and find:

"<!-- / guest welcome message -->
<br />
</if>"

and copy and paste the contents of "template.txt" after that.

http://turftopics.com/forums/index.php

4. There's a folder in the zip file named that, simply upload to your server via FTP or a File Manager and like it says, do not rename that folder :D ... BTW this is the same folder on your server where your forums are at, you'll see index.php and the folders tha house all your graphics and other files for vBulletin.

5. There's a file in the zip called Template.txt all you do is copy the code in it and paste into the template you want this to show in so for example if you want this to show on JUST your main forum page go to... Admincp --> Styles & Templates --> Style Manager and select your style, now scroll down and look for the template named FORUMHOME then do this:

if you want the shoutbox to show at the top of your forum index, go to the FORUMHOME template and find:

"<!-- / guest welcome message -->
<br />
</if>"

and copy and paste the contents of "template.txt" after that.

NOW no matter what template you out this in copy it before you start and save it somewhere on your desktop, if anything goes wrong go back to that template and paste the original back over the entire code and save and you'll be back to normal and then can come bug us some more :D (J/K about the bugging part)

S-MAN

DynaMow
06-25-2009, 12:14 AM
Superman thank you, I will give it a try.

I renamed that vbulletin "upload" file to "forums"

which is in my "public_html" directory.

Do I put it in the "forums" folder or in the "public_html" directory along with the "forums" folder?

Thank you

DynaMow
06-25-2009, 12:20 AM
hey when I go to style manager and select my style. I do not see a box for FORUMHOME there.

There are 3 boxes with code at the top: header, headinclude, footer


then 1 at the bottom named, Additional CSS Definitions

HMBeaty
06-25-2009, 12:22 AM
hey when I go to style manager and select my style. I do not see a box for FORUMHOME there.

There are 3 boxes with code at the top: header, headinclude, footer


then 1 at the bottom named, Additional CSS Definitions

AdminCP > Styles and Templates > Style Manager and in the dropdown menu for each style you have, there should be a selection that says "Edit Templates"

DynaMow
06-25-2009, 12:34 AM
WOW, thanks guys I got it!!!


Except one little problem, I get this inside the shoutbox area

http://i88.photobucket.com/albums/k189/CraigsMowin/shoutbox_error.jpg

What now?

HMBeaty
06-25-2009, 12:42 AM
Just like the error said, you're missing the file in forum/shoutbox/shoutdiv.php

upload that file to that location and you should be good. Might be a good idea to make sure all the other files have been uploaded to the proper location as well

DynaMow
06-25-2009, 12:50 AM
Sir you absolutly rock. I got it and it is working.

Thank you !!!!!!!!!!!!!!!!!!!

dont go far though, I will be lurking, looking for new cool stuff, which will create more questions from me.

THANK YOU!!!

Reycer
06-28-2009, 01:34 AM
ok, just found out that the Shoutbox will not work on the newest upgrades for the IPHONE. Any reasons why not?

NOTE: I phone uses Safari web browser.

DynaMow
06-28-2009, 04:04 AM
I have 17 members and all can use the shoutbox but 1.

I have checked everything I know. What could the problem be?

Thank you.

FeatheredFriend
06-28-2009, 10:37 PM
I have installed this. Just curious as to if there is a way to make it show up on every page? Thanks!

DionDev
06-30-2009, 03:13 AM
I'm going to be releasing a new version soon that should fix some of the problems a couple people have been having.

macc
06-30-2009, 01:09 PM
hello

can some help me to get this shoutbox like center module for VB cmps ... what must to do with code from text file? (will make like template module)

regards

macc

drsli
07-02-2009, 08:54 PM
First of all, thank you very much for providing this neat shoutbox! :)
I discovered an issue within Safari4 on MacOSX - the colors in the dropdown-box are not shown, just white spaces.

drsli
07-03-2009, 04:32 PM
The same with Cybernetec´s chatbox. This seems to be a browser-related issue with Safari.

ti07shadow
07-03-2009, 06:53 PM
nice shoutbox but I prefer vbshout due to the ajax refresh

Reycer
07-04-2009, 01:04 PM
hello

can some help me to get this shoutbox like center module for VB cmps ... what must to do with code from text file? (will make like template module)

regards

macc

I had it on my CMPS homepage for a while. Just create a new "Template Module" and here's the code:

<!-- Dion Dev Shoutbox v2.1 -->
<if condition="!$show[guest] || $vboptions[ddsb_guest_show]">
<script type="text/javascript" src="shoutbox/shoutinsert.js"></script>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_sb')">
<img id="collapseimg_forumbit_sb" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_sb}.gif" alt="" border="0" />
</a>

$vboptions[ddsb_title]

</td>
</tr>
<tr id="collapseobj_forumbit_sb" style="{$collapseobj_sb}">
<td style="padding: 0px;">

<form method="post" onsubmit="insertshout(); return false;">

<div class="panel" style="padding: 0px; margin-bottom: $stylevar[cellspacing]px;">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%" style="padding-right: 0px;">

<input type="text" id="body" class="bginput" size="$vboptions[ddsb_size]" maxlength="$vboptions[ddsb_length]"
<if condition="$show[guest]"> value="$vboptions[ddsb_no]" disabled="true"</if>>

<input type="submit" class="button" value="$vboptions[ddsb_button]"
<if condition="$show[guest]"> disabled="true"</if>>

&nbsp;

<input type="button" class="button" value=" B " style="font-weight: bold;" onclick="shoutstyle('bodyb', 0);"
<if condition="$show[guest]"> disabled="true"</if>>

<input type="button" class="button" value=" I " style="font-style: italic;" onclick="shoutstyle('bodyi', 0);"
<if condition="$show[guest]"> disabled="true"</if>>

<input type="button" class="button" value=" U " style="text-decoration: underline;" onclick="shoutstyle('bodyu', 0);"
<if condition="$show[guest]"> disabled="true"</if>>

<select id="bodycolorsel" <if condition="$show[guest]"> disabled="true"</if> onchange="shoutstyle('bodycolor', this.value);">
<option value="0" style="background: #ffffff; color: #000000;">$vboptions[ddsb_txtcolor]</option>
<option value="#000000" style="background: #000000;">&nbsp;</option>
<option value="#8b0000" style="background: #8b0000;">&nbsp;</option>
<option value="#ff0000" style="background: #ff0000;">&nbsp;</option>
<option value="#ff00ff" style="background: #ff00ff;">&nbsp;</option>
<option value="#ffc0cb" style="background: #ffc0cb;">&nbsp;</option>
<option value="#a0522d" style="background: #a0522d;">&nbsp;</option>
<option value="#ff8c00" style="background: #ff8c00;">&nbsp;</option>
<option value="#f4a460" style="background: #f4a460;">&nbsp;</option>
<option value="#ffa500" style="background: #ffa500;">&nbsp;</option>
<option value="#f5deb3" style="background: #f5deb3;">&nbsp;</option>
<option value="#556b2f" style="background: #556b2f;">&nbsp;</option>
<option value="#808000" style="background: #808000;">&nbsp;</option>
<option value="#9acd32" style="background: #9acd32;">&nbsp;</option>
<option value="#fffacd" style="background: #fffacd;">&nbsp;</option>
<option value="#006400" style="background: #006400;">&nbsp;</option>
<option value="#008000" style="background: #008000;">&nbsp;</option>
<option value="#2e8b57" style="background: #2e8b57;">&nbsp;</option>
<option value="#00ff00" style="background: #00ff00;">&nbsp;</option>
<option value="#98fb98" style="background: #98fb98;">&nbsp;</option>
<option value="#483d8b" style="background: #483d8b;">&nbsp;</option>
<option value="#008080" style="background: #008080;">&nbsp;</option>
<option value="#48d1cc" style="background: #48d1cc;">&nbsp;</option>
<option value="#00ffff" style="background: #00ffff;">&nbsp;</option>
<option value="#afeeee" style="background: #afeeee;">&nbsp;</option>
<option value="#000080" style="background: #000080;">&nbsp;</option>
<option value="#0000ff" style="background: #0000ff;">&nbsp;</option>
<option value="#4169e1" style="background: #4169e1;">&nbsp;</option>
<option value="#00bfff" style="background: #00bfff;">&nbsp;</option>
<option value="#add8e6" style="background: #add8e6;">&nbsp;</option>
<option value="#4b0082" style="background: #4b0082;">&nbsp;</option>
<option value="#708090" style="background: #708090;">&nbsp;</option>
<option value="#800080" style="background: #800080;">&nbsp;</option>
<option value="#9932cc" style="background: #9932cc;">&nbsp;</option>
<option value="#dda0dd" style="background: #dda0dd;">&nbsp;</option>
<option value="#2f4f4f" style="background: #2f4f4f;">&nbsp;</option>
<option value="#696969" style="background: #696969;">&nbsp;</option>
<option value="#808080" style="background: #808080;">&nbsp;</option>
<option value="#c0c0c0" style="background: #c0c0c0;">&nbsp;</option>
<option value="#ffffff" style="background: #ffffff;">&nbsp;</option>
</select>

</td>
<td nowrap="nowrap" class="smallfont">

<a href="shoutbox/shoutarchive.php" target="_blank">$vboptions[ddsb_archive]</a>

</td>
</tr>
</table>

</div>

<input type="hidden" id="bodyb" value="0">
<input type="hidden" id="bodyi" value="0">
<input type="hidden" id="bodyu" value="0">
<input type="hidden" id="bodycolor" value="0">
<input type="hidden" id="bodystyle" value="0">

</form>

<iframe src="shoutbox/shoutdiv.php" width="$vboptions[ddsb_iwidth]" height="$vboptions[ddsb_iheight]" scrolling="auto" frameborder="0">
Browser does not support iframes
</iframe>

</td>
</tr>
</table>
<br />
</if>
<!-- end Dion Dev Shoutbox v2.1 -->

Reycer
07-04-2009, 01:07 PM
I have installed this. Just curious as to if there is a way to make it show up on every page? Thanks!

yes. I have it at the top of every page. Just open your Navbar Template and add the following code above it or below it.

<!-- Dion Dev Shoutbox v2.1 -->
<if condition="!$show[guest] || $vboptions[ddsb_guest_show]">
<script type="text/javascript" src="shoutbox/shoutinsert.js"></script>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_sb')">
<img id="collapseimg_forumbit_sb" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_sb}.gif" alt="" border="0" />
</a>

$vboptions[ddsb_title]

</td>
</tr>
<tr id="collapseobj_forumbit_sb" style="{$collapseobj_sb}">
<td style="padding: 0px;">

<form method="post" onsubmit="insertshout(); return false;">

<div class="panel" style="padding: 0px; margin-bottom: $stylevar[cellspacing]px;">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%" style="padding-right: 0px;">

<input type="text" id="body" class="bginput" size="$vboptions[ddsb_size]" maxlength="$vboptions[ddsb_length]"
<if condition="$show[guest]"> value="$vboptions[ddsb_no]" disabled="true"</if>>

<input type="submit" class="button" value="$vboptions[ddsb_button]"
<if condition="$show[guest]"> disabled="true"</if>>

&nbsp;

<input type="button" class="button" value=" B " style="font-weight: bold;" onclick="shoutstyle('bodyb', 0);"
<if condition="$show[guest]"> disabled="true"</if>>

<input type="button" class="button" value=" I " style="font-style: italic;" onclick="shoutstyle('bodyi', 0);"
<if condition="$show[guest]"> disabled="true"</if>>

<input type="button" class="button" value=" U " style="text-decoration: underline;" onclick="shoutstyle('bodyu', 0);"
<if condition="$show[guest]"> disabled="true"</if>>

<select id="bodycolorsel" <if condition="$show[guest]"> disabled="true"</if> onchange="shoutstyle('bodycolor', this.value);">
<option value="0" style="background: #ffffff; color: #000000;">$vboptions[ddsb_txtcolor]</option>
<option value="#000000" style="background: #000000;">&nbsp;</option>
<option value="#8b0000" style="background: #8b0000;">&nbsp;</option>
<option value="#ff0000" style="background: #ff0000;">&nbsp;</option>
<option value="#ff00ff" style="background: #ff00ff;">&nbsp;</option>
<option value="#ffc0cb" style="background: #ffc0cb;">&nbsp;</option>
<option value="#a0522d" style="background: #a0522d;">&nbsp;</option>
<option value="#ff8c00" style="background: #ff8c00;">&nbsp;</option>
<option value="#f4a460" style="background: #f4a460;">&nbsp;</option>
<option value="#ffa500" style="background: #ffa500;">&nbsp;</option>
<option value="#f5deb3" style="background: #f5deb3;">&nbsp;</option>
<option value="#556b2f" style="background: #556b2f;">&nbsp;</option>
<option value="#808000" style="background: #808000;">&nbsp;</option>
<option value="#9acd32" style="background: #9acd32;">&nbsp;</option>
<option value="#fffacd" style="background: #fffacd;">&nbsp;</option>
<option value="#006400" style="background: #006400;">&nbsp;</option>
<option value="#008000" style="background: #008000;">&nbsp;</option>
<option value="#2e8b57" style="background: #2e8b57;">&nbsp;</option>
<option value="#00ff00" style="background: #00ff00;">&nbsp;</option>
<option value="#98fb98" style="background: #98fb98;">&nbsp;</option>
<option value="#483d8b" style="background: #483d8b;">&nbsp;</option>
<option value="#008080" style="background: #008080;">&nbsp;</option>
<option value="#48d1cc" style="background: #48d1cc;">&nbsp;</option>
<option value="#00ffff" style="background: #00ffff;">&nbsp;</option>
<option value="#afeeee" style="background: #afeeee;">&nbsp;</option>
<option value="#000080" style="background: #000080;">&nbsp;</option>
<option value="#0000ff" style="background: #0000ff;">&nbsp;</option>
<option value="#4169e1" style="background: #4169e1;">&nbsp;</option>
<option value="#00bfff" style="background: #00bfff;">&nbsp;</option>
<option value="#add8e6" style="background: #add8e6;">&nbsp;</option>
<option value="#4b0082" style="background: #4b0082;">&nbsp;</option>
<option value="#708090" style="background: #708090;">&nbsp;</option>
<option value="#800080" style="background: #800080;">&nbsp;</option>
<option value="#9932cc" style="background: #9932cc;">&nbsp;</option>
<option value="#dda0dd" style="background: #dda0dd;">&nbsp;</option>
<option value="#2f4f4f" style="background: #2f4f4f;">&nbsp;</option>
<option value="#696969" style="background: #696969;">&nbsp;</option>
<option value="#808080" style="background: #808080;">&nbsp;</option>
<option value="#c0c0c0" style="background: #c0c0c0;">&nbsp;</option>
<option value="#ffffff" style="background: #ffffff;">&nbsp;</option>
</select>

</td>
<td nowrap="nowrap" class="smallfont">

<a href="shoutbox/shoutarchive.php" target="_blank">$vboptions[ddsb_archive]</a>

</td>
</tr>
</table>

</div>

<input type="hidden" id="bodyb" value="0">
<input type="hidden" id="bodyi" value="0">
<input type="hidden" id="bodyu" value="0">
<input type="hidden" id="bodycolor" value="0">
<input type="hidden" id="bodystyle" value="0">

</form>

<iframe src="shoutbox/shoutdiv.php" width="$vboptions[ddsb_iwidth]" height="$vboptions[ddsb_iheight]" scrolling="auto" frameborder="0">
Browser does not support iframes
</iframe>

</td>
</tr>
</table>
<br />
</if>
<!-- end Dion Dev Shoutbox v2.1 -->

Reycer
07-04-2009, 01:13 PM
First of all, thank you very much for providing this neat shoutbox! :)
I discovered an issue within Safari4 on MacOSX - the colors in the dropdown-box are not shown, just white spaces.

be glad that your Safari users can even use it, my Safari users can't.

sunnylikbeckham
07-06-2009, 08:24 PM
damn i did not saw latest version does not have feture to enable it for guests

any way to do it??

or have to downgrade again???

daveaite
07-07-2009, 03:13 AM
Shotboxes always consume large server loads.

IngoT
07-08-2009, 12:53 AM
Hello, i use vBulletin 3.6.11
Works your Shoutbox 2.1 also under this version, or only under 3.8 ?

Thanks!

Dark_Wizard
07-10-2009, 12:55 AM
Shoutbox not working correctly with WOL? Getting unknown location -> /shoutbox/shoutshow.php

Big-Pete
07-11-2009, 01:06 PM
ok, when trying to post a smilie code, I am getting a broken image picture. For some reason, it's repeating my home address.
Also does this in the image tag.

OK, scratch that, I fixed it, in shoutshow.php I had to remove ../ from line 32. Otherwise it did what I stated above.

Mine done exactly the same, thanks for the help with this!!

@DionDev, great mod, thanks!

mysql101
07-11-2009, 04:21 PM
for some reason the styles don't work right.

I had to add this to the output for them to appear:

echo str_replace ("\"", "", $style);

Otherwise the output would look:

@import url(../"clientscript/vbulletin_css/style-b2d267a2-00005.css");

instead of:

@import url(../clientscript/vbulletin_css/style-b2d267a2-00005.css);

mysql101
07-11-2009, 05:16 PM
Not sure I mentioned this in the previous version, but at the bottom of the output, I included a userlist. I just upgraded to the newest ver of dev shoutbox and no longer have this feature:

if ($user_id) {
$t = time () - 300;
$q = "select u.username, u.userid, h.ts from user u, shoutbox_hash h where h.userid = u.userid and h.ts > $t
group by u.userid
order by u.username";
$res = $db->query ($q);
$i = 0;
$users = array ();
while ($row = mysql_fetch_assoc ($res)) {
$i++;
$age = time () - 30;
if ($row['ts'] > $age) {
$b1 = "";
$b2 = "";
} else {
$b1 = "<s>";
$b2 = "</s>";
}
$users[] = $b1."<a target='_user' $highlight
href='/member.php?u=".$row['userid']."'>".$row['username']."</a>".$b2;
}
if ($i) {
echo "<p><b>".count ($users)." users in chat</b>:<br>".implode (", ", $users)."<br>";
}
}

mysql101
07-11-2009, 05:33 PM
something I dislike is the cache table stores by IP address. If you're like me and have multiple computers online, the cache checking will assume I have seen text if one of my other computers loads first. Thus I end up missing posts all the time unless I hit reload on my browser.

It would be nice to make the key on userId+ip, that way it keeps track of unique users uniquely.

edit:

I put in bbsessionhash cookie value into the shoutbox_cache query so that everything looks like ip='$ip,$cookie', and that gives me a unique enough cache check so that multiple logged in users can auto reload as content comes in.

mysql101
07-11-2009, 05:34 PM
one more thing - the old ver wouldn't allow & character. The new one doesn't allow +

:)

|Jordan|
07-20-2009, 03:37 AM
Post removed 2x.

Maybe this picture of a kitten will make you happy:

http://img35.imageshack.us/img35/7925/kittenf.jpg

RichDavid
07-24-2009, 04:48 PM
I like the look. I installed the newest version, but I get

The requested URL /VB/shoutbox/shoutdiv.php was not found on this server.

I am a fairly new vB user, so this may be an obvious issue, but I cannot find a reference to this error.

matthewhotdude
07-27-2009, 05:14 PM
Ok got a SQL problem...Can be seen here http://www.chattaboxforums.com

Does this seem ok?


chdir('../');

require_once('global.php');
require_once('includes/class_bbcode.php');
require_once('includes/functions_newpost.php');

$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$sql = $db->query("
select s.*, g.opentag, g.closetag
from " . TABLE_PREFIX . "shoutbox as s, " . TABLE_PREFIX . "user as u, " . TABLE_PREFIX . "usergroup as g
where u.userid = s.user_id and g.usergroupid = u.usergroupid
order by id desc
limit " . $vbulletin->options['ddsb_show'] . "
");
$alt_count = 1;

while ($row = mysql_fetch_assoc($sql))
{
$alt_class = ($alt_count % 2) ? 'alt1' : 'alt2';

$id = $row['id'];
$user_id = $row['user_id'];
$user_name = $row['user_name'];
$opentag = $row['opentag'];
$closetag = $row['closetag'];

DionDev
07-31-2009, 05:40 PM
I finally gave up on this buggy shoutbox and replaced with Cyb - Chatbox (https://vborg.vbsupport.ru/showthread.php?t=201283). If you're tired of lack of support and updates, i suggest you switch too (Cyb has all the features of this and more).

I'm sorry for the lack of support, but like I said, I have a new version coming out soon that will address many issues, include a smilies box, and more.

If you don't like this shoutbox then DON'T INSTALL IT. If you REALLY need support, send me a PM, I won't bite. Coming here and bashing coders who volunteer their time writing free mods for people is pathetic and immature.

People like you just piss me off. You have no consideration for the hours I spent working on this. If you don't like my coding or the way I try my best to support my scripts (while working a full time job of 60+ hours a week) then maybe next time you can keep it to yourself. Did you feel proud of yourself for posting this? Or is it just your instinct to try and demotivate other volunteer coders?

I like the look. I installed the newest version, but I get

The requested URL /VB/shoutbox/shoutdiv.php was not found on this server.

I am a fairly new vB user, so this may be an obvious issue, but I cannot find a reference to this error.

Make sure that you put the shoutbox folder in your MAIN vbulletin directory, that should fix it.

Ok got a SQL problem...Can be seen here http://www.chattaboxforums.com

Does this seem ok?


chdir('../');

require_once('global.php');
require_once('includes/class_bbcode.php');
require_once('includes/functions_newpost.php');

$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$sql = $db->query("
select s.*, g.opentag, g.closetag
from " . TABLE_PREFIX . "shoutbox as s, " . TABLE_PREFIX . "user as u, " . TABLE_PREFIX . "usergroup as g
where u.userid = s.user_id and g.usergroupid = u.usergroupid
order by id desc
limit " . $vbulletin->options['ddsb_show'] . "
");
$alt_count = 1;

while ($row = mysql_fetch_assoc($sql))
{
$alt_class = ($alt_count % 2) ? 'alt1' : 'alt2';

$id = $row['id'];
$user_id = $row['user_id'];
$user_name = $row['user_name'];
$opentag = $row['opentag'];
$closetag = $row['closetag'];

I visited the URL and see on SQL errors. Please copy and paste them so I can tell you whats going on.

DionDev
08-03-2009, 01:17 AM
Post removed because coder is sensitive to criticism.

What you said wasn't even criticism. You said "this shoutbox is a buggy and has no updates, go use this other shoutbox".

Do me a favor and just don't visit my threads anymore. I'd rather have appreciative people using my free mods and styles.

struff
08-03-2009, 12:09 PM
I installed this about an hour ago. Nice and easy (under 10 minutes and it was up and running).

I have a couple of (non-urgent) questions: would there be a way in the future to have multiple chat rooms? How about a way to move the archives into regular forums? Just a couple of thoughts - no big deal to me if they can't be done.

What would I have to do if I wanted the box to also appear in individual forums as well as on the main page? Can I just edit a template and add the stuff in the txt file?

No rush on replying to these.

Thanks.

DionDev
08-03-2009, 03:54 PM
I installed this about an hour ago. Nice and easy (under 10 minutes and it was up and running).

I have a couple of (non-urgent) questions: would there be a way in the future to have multiple chat rooms? How about a way to move the archives into regular forums? Just a couple of thoughts - no big deal to me if they can't be done.

What would I have to do if I wanted the box to also appear in individual forums as well as on the main page? Can I just edit a template and add the stuff in the txt file?

No rush on replying to these.

Thanks.

Multiple chat rooms probably won't be added. Archiving the shoutbox messages to a forum is a very good idea though. I think I may implement that in the next version.

In order to put the shoutbox in individual forums you would need to put a conditional statement in your FORUM DISPLAY template.

I'm not exactly sure what the statement would be, something like "<if condition="$forumid == 6">". That probably won't work, but if you ask around here you may get the correct conditional statement for this (sorry I'm not sure of it).

faramir8360
08-03-2009, 08:41 PM
Hi DionDev!

Congratulation for this Mod! Really cool!

I have a small bug report for you: on Safari 4 (OSX) no colours are displayed in the choosing list... everything ok with firefox 3.5.1 (OSX too).

And a small suggestion:
it could be nice receive a small sound feedback at new users' shouts.. this option should be activable/deactivable by the user.

Thanks for your work!

Bye! ^^

DionDev
08-06-2009, 08:25 PM
Hi DionDev!

Congratulation for this Mod! Really cool!

I have a small bug report for you: on Safari 4 (OSX) no colours are displayed in the choosing list... everything ok with firefox 3.5.1 (OSX too).

And a small suggestion:
it could be nice receive a small sound feedback at new users' shouts.. this option should be activable/deactivable by the user.

Thanks for your work!

Bye! ^^

Yes I am aware that the color picker is not functioning properly for a couple of browsers. The color picker is improved in the next version.

ChopBam
08-07-2009, 08:19 PM
I just installed this chatbox on my forum and it seems to work like a charm!
Many thanks for your hard work.

One question right now: is there a quick way to apply usergroup markup to the usernames in the chatbox? Right now the only part of the markup that seems to be working is that my name, as an admin, is italicized. It should also be green, and bold. But I noticed that everybody's name is bold. Just wondering if there's an easy way to customize the names. I took a quick look in the template but didn't see it.

I even went into shoutinsert.php and changed $user_name = $vbulletin->userinfo['username']; to $user_name = $vbulletin->userinfo['musername'];
This only partially worked, as my name was green but didn't light up when I hovered the cursor over it.

DionDev
08-08-2009, 02:33 PM
I just installed this chatbox on my forum and it seems to work like a charm!
Many thanks for your hard work.

One question right now: is there a quick way to apply usergroup markup to the usernames in the chatbox? Right now the only part of the markup that seems to be working is that my name, as an admin, is italicized. It should also be green, and bold. But I noticed that everybody's name is bold. Just wondering if there's an easy way to customize the names. I took a quick look in the template but didn't see it.

I even went into shoutinsert.php and changed $user_name = $vbulletin->userinfo['username']; to $user_name = $vbulletin->userinfo['musername'];
This only partially worked, as my name was green but didn't light up when I hovered the cursor over it.

In the shoutbox CSS it defines font sizes and whatnot - your best bet is to modify the shoutbox CSS.

ChopBam
08-09-2009, 08:53 PM
Where is the shoutbox CSS?
I looked in the PHP files, the template, the style options, and even the shoubox options.

DionDev
08-09-2009, 11:56 PM
Where is the shoutbox CSS?
I looked in the PHP files, the template, the style options, and even the shoubox options.

Take a look at the shoutshow.php file. You can apply your own CSS there.

Hope this helps.

BEB
08-23-2009, 11:16 AM
Hi,

I tried installing this and it didn't work for me. The shout box is inserted where I put it in the templalate, but nothing is entered when I type something and click "shout it". All I get in the main body of the shoutbox is the text "Powered by Dion Dev Shoutbox v2.1" (or something very similar, I've deleted it now). This is a hyperlink to this thread.

We do not allow guests to view our forum, would that be the problem?

Thanks for your help.

BEB
:)

DionDev
08-24-2009, 06:28 AM
Hi,

I tried installing this and it didn't work for me. The shout box is inserted where I put it in the templalate, but nothing is entered when I type something and click "shout it". All I get in the main body of the shoutbox is the text "Powered by Dion Dev Shoutbox v2.1" (or something very similar, I've deleted it now). This is a hyperlink to this thread.

We do not allow guests to view our forum, would that be the problem?

Thanks for your help.

BEB
:)

re-install the shoutbox and follow the instructions carefully, i bet one of the files became corrupt.

BEB
08-24-2009, 09:42 AM
re-install the shoutbox and follow the instructions carefully, i bet one of the files became corrupt.


Hello DionDev,

Thank you very much for your prompt reply and for your suggestion. Unfortunately I still can't get it to work... I uninstalled the program and deleted the files, and re-installed it again, didn't work. I uninstalled the program/deleted files again, downloaded a fresh copy of the zip file, followed the installation instructions to a tee.. and still got exactly the same problem. I've attached a screen shot of what appears on my forum index page. It all looks great, but when I type a shout in the shotbox and click "shout it".... the text "vanishes"... but nothing appears in the shoutbox. I know this isn't much information for you to go on to work out what the problem is, but hopefully the screen shot will help. Nothing appears in the table where the shouts should appear.. could it be a database issue?

I'd really appreciate it if you could help as this mod is exactly what I've been looking for and looks great.

Thank you

BEB
:)

denman75
08-26-2009, 09:40 AM
thanks for the shoutbox ,although i mis the pop up smiley box ,its a great product

DionDev
08-28-2009, 12:54 AM
Hello DionDev,

Thank you very much for your prompt reply and for your suggestion. Unfortunately I still can't get it to work... I uninstalled the program and deleted the files, and re-installed it again, didn't work. I uninstalled the program/deleted files again, downloaded a fresh copy of the zip file, followed the installation instructions to a tee.. and still got exactly the same problem. I've attached a screen shot of what appears on my forum index page. It all looks great, but when I type a shout in the shotbox and click "shout it".... the text "vanishes"... but nothing appears in the shoutbox. I know this isn't much information for you to go on to work out what the problem is, but hopefully the screen shot will help. Nothing appears in the table where the shouts should appear.. could it be a database issue?

I'd really appreciate it if you could help as this mod is exactly what I've been looking for and looks great.

Thank you

BEB
:)

PM me the link to your forums so I can look myself.

ti07shadow
09-02-2009, 11:10 PM
can you add some features such as announcement posting like..

/announcement This is an announcement!!!

https://vborg.vbsupport.ru/external/2009/09/12.gif

XxJAYSONxX23
09-09-2009, 07:28 PM
This very well might be a rookie question. But I am following the "Fresh Installation" and I am not sure what you mean by step 5. Thanks. Where do I find the templates in my server. How do I do that step.

Thanks

DionDev
09-10-2009, 02:40 PM
This very well might be a rookie question. But I am following the "Fresh Installation" and I am not sure what you mean by step 5. Thanks. Where do I find the templates in my server. How do I do that step.

Thanks

In your vbulletin admin panel, you can edit the templates of your style. This is where you will find the FORUMHOME template, etc. where you copy and paste the contents of the text file to.

gr8whtd0pe
09-17-2009, 11:43 PM
It works on my main forums, but not with the CMPS. I can't seem to figure out why. It displays it, all that, but when you click shout! it does nothing.

DionDev
09-21-2009, 05:03 AM
email me with your URL and an example gr8

DeanLag
09-21-2009, 07:22 AM
Is this server intensive? Cause I've been using Cyb - Chatbox and apparently, it caused me some server issues - so I'm looking for something else

ErrorLog
09-22-2009, 11:03 AM
Turkish character dont work.

gr8whtd0pe
09-26-2009, 02:14 AM
HA! Fixed it myself. Made another instance of shoutinsert.js and changed

var url = 'shoutbox/shoutinsert.php';
to
var url = 'forums/shoutbox/shoutinsert.php';

then just called up the new one named shoutinsertcmps.js and bingo!

silentdub
10-05-2009, 09:58 PM
I had to re-install the shoutbox and now it is white background with black text.

I had it Black background with white text.

Where can I change this?

Yosef Sh
10-07-2009, 06:51 PM
While importing the product i get this

Database error in vBulletin 3.8.4:

Invalid SQL:

INSERT INTO product
(productid, title, description, version, active, apm_releasedate, apm_author, apm_relatedurl, apm_extrainfo, apm_extraedit,apm_installdate,url, versioncheckurl)
VALUES
('ddsb2',
'Dion Dev Shoutbox',
'Adds a shoutbox to your forums',
'2.1',
1,
'',
'',
'',
'',
'',
'1254945083',
'http://www.diondev.com/vb',
'');

MySQL Error : Unknown column 'apm_releasedate' in 'field list'
Error Number : 1054
Request Date : Wednesday, October 7th 2009 @ 10:51:23 PM
Error Date : Wednesday, October 7th 2009 @ 10:51:23 PM

jkcerda
10-11-2009, 05:12 AM
nice

snappy1313
10-12-2009, 09:38 PM
Can I get some help with this? I installed it and it's on the forum pages exactly where I want it BUT inside the shoutbox is a 404 page not found link from my host? What did I do wrong? :(

silentdub
10-15-2009, 10:07 PM
I had to re-install the shoutbox and now it is white background with black text.

I had it Black background with white text.

Where can I change this?

Uninstalled.

nhdriver4
10-22-2009, 07:06 PM
Patiently awaiting a new version for this. Seems that mysqli users are borked since you are using your own database calls. Until then, Uninstalled.

FTG STRYKER FG
10-23-2009, 08:15 AM
Installed in less than 3 minutes. Thx, great mod.

I used vbShout but didn't like it because there is no option to not let guests view it and no option to allow admin/moderators delete shouts.

Only think I would change would be adding the ability for emoticons so people don't have to try and remember the keyboard verisons.

FTG STRYKER FG
10-27-2009, 07:46 PM
Does anyone know where I can make these changes? And how? I basically want the shoutbox to look like the rest of my theme:

https://vborg.vbsupport.ru/external/2009/11/62.jpg

https://vborg.vbsupport.ru/external/2009/11/63.jpg

2nd image is just so you can see an entire box and its borders.

So basically I want to get the box/fame of the shoutbox to look like the rest of my site/theme. Not just grey and no borders.

Also want to change the gry color that surrounds the "text box" to the maroon color to match the site.

Any suggestions/ideas?

Brennan Portz
11-03-2009, 02:30 PM
Does anyone know where I can make these changes? And how? I basically want the shoutbox to look like the rest of my theme:

https://vborg.vbsupport.ru/external/2009/11/62.jpg

https://vborg.vbsupport.ru/external/2009/11/63.jpg

2nd image is just so you can see an entire box and its borders.

So basically I want to get the box/fame of the shoutbox to look like the rest of my site/theme. Not just grey and no borders.

Also want to change the gry color that surrounds the "text box" to the maroon color to match the site.

Any suggestions/ideas?

look through the css of your template and find the image location and once you do that edit the xml of vbadanced and pop it in the title image of the headder files and that should do it.

gearspro
11-04-2009, 10:03 PM
Ok thanks muchly for the chatbox :P, Having a little problem, which is sometimes the chatbox doesnt refresh to show new posts and you have to refresh the page in order to show the new posts. How can i fix this please?

LiftedBronco
11-05-2009, 11:39 PM
Same. Kind of,

I have it installed everything is up and running. But when I try to type a shout it doesn't show....hmm. I'm still working on it though. We will see.

I fixed the 404 thing. So it looks like a BLANK shoutbox. I'm still working on it

-edit-

The problem I'm running into is when I try to type in and I try to " shout " The page just refreshes instead of it "shouting"

gearspro
11-08-2009, 02:12 PM
No one will help :(

maor20094
11-09-2009, 02:02 PM
unlucky.
it no sapporting hebrew...

kevsfastz
11-09-2009, 08:20 PM
I have it installed on my forum, but I am not able to see anything that is "shouted" any ideas?

Kev D

Been Told
11-15-2009, 09:14 AM
Is there an option to empty the shoutbox? Deleting the shouts one by one is rather bothersome...

Been Told
11-15-2009, 09:14 AM
I have it installed on my forum, but I am not able to see anything that is "shouted" any ideas?

Kev D

Follow the instructions and don't forget about "template.txt"

jkcerda
11-17-2009, 05:24 AM
Ok thanks muchly for the chatbox :P, Having a little problem, which is sometimes the chatbox doesnt refresh to show new posts and you have to refresh the page in order to show the new posts. How can i fix this please?

the answer is a few pages back,,,you get that when you have more than one tab open.

Dion, thanks for your work,,cant wait to see the Smilie drop down & would love for the users to be able to edit their shouts :up:

Empire Gaming
12-17-2009, 11:42 PM
Does anyone know how to get this to show on all pages "and" work on the vBadvanced home page at the same time? It works great on every page except my main CMPS page.

gr8whtd0pe
12-22-2009, 06:18 PM
When I get home Ill post up the files if I can.

Drago13
12-22-2009, 10:01 PM
Dion, any idea when you will be able to update your chat system to the new vB4.. Your Shout box is one of the best. Thanks...

gr8whtd0pe
12-23-2009, 03:48 AM
Okay so this should work. Open shoutinsert.js and change
var url = 'shoutbox/shoutinsert.php';
to
var url = 'forums/shoutbox/shoutinsert.php';

Save it as something like shoutinsertcmps.js and upload it with the rest of the shoutbox files.

Now go and create a new template under your style manager. Name it: adv_portal_shoutbox , paste this in:
<!-- Dion Dev Shoutbox v2.1 -->
<if condition="!$show[guest] || $vboptions[ddsb_guest_show]">
<script type="text/javascript" src="http://www.yoursite.com/forums/shoutbox/shoutinsertcmps.js"></script>
<tr>
<td style="padding: 0px;">

<form method="post" onsubmit="insertshout(); return false;">

<div class="panel" style="padding: 0px; margin-bottom: $stylevar[cellspacing]px;">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%" style="padding-right: 0px;">

<input type="text" id="body" class="bginput" size="$vboptions[ddsb_size]" maxlength="$vboptions[ddsb_length]"
<if condition="$show[guest]"> value="$vboptions[ddsb_no]" disabled="true"</if>>

<input type="submit" class="button" value="$vboptions[ddsb_button]"
<if condition="$show[guest]"> disabled="true"</if>>

&nbsp;

<input type="button" class="button" value=" B " style="font-weight: bold;" onclick="shoutstyle('bodyb', 0);"
<if condition="$show[guest]"> disabled="true"</if>>

<input type="button" class="button" value=" I " style="font-style: italic;" onclick="shoutstyle('bodyi', 0);"
<if condition="$show[guest]"> disabled="true"</if>>

<input type="button" class="button" value=" U " style="text-decoration: underline;" onclick="shoutstyle('bodyu', 0);"
<if condition="$show[guest]"> disabled="true"</if>>

<select id="bodycolorsel" <if condition="$show[guest]"> disabled="true"</if> onchange="shoutstyle('bodycolor', this.value);">
<option value="0" style="background: #ffffff; color: #000000;">$vboptions[ddsb_txtcolor]</option>
<option value="#000000" style="background: #000000;">&nbsp;</option>
<option value="#8b0000" style="background: #8b0000;">&nbsp;</option>
<option value="#ff0000" style="background: #ff0000;">&nbsp;</option>
<option value="#ff00ff" style="background: #ff00ff;">&nbsp;</option>
<option value="#ffc0cb" style="background: #ffc0cb;">&nbsp;</option>
<option value="#a0522d" style="background: #a0522d;">&nbsp;</option>
<option value="#ff8c00" style="background: #ff8c00;">&nbsp;</option>
<option value="#f4a460" style="background: #f4a460;">&nbsp;</option>
<option value="#ffa500" style="background: #ffa500;">&nbsp;</option>
<option value="#f5deb3" style="background: #f5deb3;">&nbsp;</option>
<option value="#556b2f" style="background: #556b2f;">&nbsp;</option>
<option value="#808000" style="background: #808000;">&nbsp;</option>
<option value="#9acd32" style="background: #9acd32;">&nbsp;</option>
<option value="#fffacd" style="background: #fffacd;">&nbsp;</option>
<option value="#006400" style="background: #006400;">&nbsp;</option>
<option value="#008000" style="background: #008000;">&nbsp;</option>
<option value="#2e8b57" style="background: #2e8b57;">&nbsp;</option>
<option value="#00ff00" style="background: #00ff00;">&nbsp;</option>
<option value="#98fb98" style="background: #98fb98;">&nbsp;</option>
<option value="#483d8b" style="background: #483d8b;">&nbsp;</option>
<option value="#008080" style="background: #008080;">&nbsp;</option>
<option value="#48d1cc" style="background: #48d1cc;">&nbsp;</option>
<option value="#00ffff" style="background: #00ffff;">&nbsp;</option>
<option value="#afeeee" style="background: #afeeee;">&nbsp;</option>
<option value="#000080" style="background: #000080;">&nbsp;</option>
<option value="#0000ff" style="background: #0000ff;">&nbsp;</option>
<option value="#4169e1" style="background: #4169e1;">&nbsp;</option>
<option value="#00bfff" style="background: #00bfff;">&nbsp;</option>
<option value="#add8e6" style="background: #add8e6;">&nbsp;</option>
<option value="#4b0082" style="background: #4b0082;">&nbsp;</option>
<option value="#708090" style="background: #708090;">&nbsp;</option>
<option value="#800080" style="background: #800080;">&nbsp;</option>
<option value="#9932cc" style="background: #9932cc;">&nbsp;</option>
<option value="#dda0dd" style="background: #dda0dd;">&nbsp;</option>
<option value="#2f4f4f" style="background: #2f4f4f;">&nbsp;</option>
<option value="#696969" style="background: #696969;">&nbsp;</option>
<option value="#808080" style="background: #808080;">&nbsp;</option>
<option value="#c0c0c0" style="background: #c0c0c0;">&nbsp;</option>
<option value="#ffffff" style="background: #ffffff;">&nbsp;</option>
</select>

</td>
<td nowrap="nowrap" class="smallfont">

<a href="forums/shoutbox/shoutarchive.php" target="_blank">$vboptions[ddsb_archive]</a>

</td>
</tr>
</table>

</div>

<input type="hidden" id="bodyb" value="0">
<input type="hidden" id="bodyi" value="0">
<input type="hidden" id="bodyu" value="0">
<input type="hidden" id="bodycolor" value="0">
<input type="hidden" id="bodystyle" value="0">

</form>

<iframe src="forums/shoutbox/shoutdiv.php" width="$vboptions[ddsb_iwidth]" height="$vboptions[ddsb_iheight]" scrolling="auto" frameborder="0">
Browser does not support iframes
</iframe>

</td>
</tr>
<br />
</if>
<!-- end Dion Dev Shoutbox v2.1 -->

save that and upload the module in your cmps and you should be good to go.

B@Zzz...
12-31-2009, 05:08 PM
We use the shoutbox for a few months now, without any problems :up:

But I tried to install vBadvanced and now the smiley's doesn't work anymore :(
If I look at the properties of the "red-cross"symbol I see that the URL is http://www.*****.nl/forum/http://www.*****.nl/forum//images/smilies/icon_razz.gif

But the URL must be: www.*****.nl/forum//images/smilies/icon_razz.gif

Anyone an idea what the problem can be? Because we miss "our" smiley's :D

Thank you!

B@Zzz...
01-02-2010, 06:14 AM
Now I manualy changed the URL's of the smiley's in the database and now it's working again. The url was http://www.***.nl/forum//images/smileys/**.gif and I changed it in images/smileys/**.gif (what a job to do with 180 smiley's )
Now the shoutbox is working again, but vBadvanced CMPS is still uninstalled...
When I install it again, I will have the same problem...
Is there a solution to fix this problem?

B@Zzz...
01-15-2010, 06:03 PM
Isn't there anyone who can help me to solve my problem?

socalmike
01-19-2010, 04:12 PM
Help :) I am getting a Page Not Found showing up in my Shout box.

See: http://www.chasingthechuckwagon.com/forum/index.php

What am I missing?

- Ok. It would help if I copied the correct folder into my Vbul directory. Working now and looking good!

Thanks,

Mike, GameGavel.com

socalmike
01-21-2010, 06:42 PM
Just got 960 error messages:

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User
socalmike already has more than 'max_user_connections' active connections
/data/13/1/147/147/1310636/user/1403651/htdocs/forum/includes/class_core.php on line
311

MySQL Error :
Error Number :
Request Date : Thursday, January 21st 2010 @ 02:58:40 PM
Error Date : Thursday, January 21st 2010 @ 02:58:40 PM
Script : http://www.chasingthechuckwagon.com/forum/shoutbox/shoutcache.php
Referrer : http://www.chasingthechuckwagon.com/forum/shoutbox/shoutdiv.php
IP Address : 75.128.238.129
Username :
Classname : vB_Database
MySQL Version :
__________________________________________________ ___

Anyone know why?

DionDev
01-30-2010, 08:27 AM
Dion, any idea when you will be able to update your chat system to the new vB4.. Your Shout box is one of the best. Thanks...

I'm rewriting the shoutbox for vb4. It should be posted within the next couple of weeks.

captkirk
01-30-2010, 09:39 PM
Excellent, can hardly wait, since Inferno shoutbox project is dead.

elwachiman
01-30-2010, 09:42 PM
waiting for vb4 ....

gothicuser
01-31-2010, 06:47 AM
I'm rewriting the shoutbox for vb4. It should be posted within the next couple of weeks.
Many thanks :D

B@Zzz...
01-31-2010, 11:37 AM
Isn't there anyone who can help me to solve my problem?

The answer is already given on the first page of this thread... :rolleyes: Problem is solved now! :)
@DionDev, thanks for you PM!

Fonzi
02-11-2010, 12:20 PM
for some reason the styles don't work right.

I had to add this to the output for them to appear:

echo str_replace ("\"", "", $style);

Otherwise the output would look:

@import url(../"clientscript/vbulletin_css/style-b2d267a2-00005.css");

instead of:

@import url(../clientscript/vbulletin_css/style-b2d267a2-00005.css);

I have the same issue, exactly where did you add echo str_replace ("\"", "", $style); ?

Thanks

GrossKopf
02-27-2010, 11:34 AM
I'm rewriting the shoutbox for vb4. It should be posted within the next couple of weeks.

Any update on this?

MotMann
03-07-2010, 03:18 PM
I Try it on 3.8, but the Shoutbox don't be displayed... any ideas?

B@Zzz...
03-21-2010, 11:23 AM
@Dion,

the "+" and "€" sign doens't work in the shoutbox. Is it possible to fix that?

Tnx!
Bas

Reycer
05-29-2010, 10:28 PM
Any update on this?

wonder if there is an update now? I really need to update my forum to 4.0.3 and am truly waiting on this mod to get updated so that I can do just that. Great product.....

Reycer
05-29-2010, 10:30 PM
I Try it on 3.8, but the Shoutbox don't be displayed... any ideas?

then you've got to be doing something wrong. I'm currently using 3.8x on one of my forums and it works great!

DEMO: www.lacledeforum.com/forums

FlikstRR
06-08-2010, 06:41 PM
demo doesnt work

squad22345
06-26-2010, 09:18 AM
is anyone else having problems with it not refreshing in IE???

nbaphenom
10-10-2010, 04:45 AM
Hey guys, I installed this and it worked for a few days - loved it.

Anywho unfortunately the site got shutdown because of an error and here's the log:

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'website'@'localhost' (using password: YES)
/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Saturday, October 9th 2010 @ 05:15:37 PM
Error Date : Saturday, October 9th 2010 @ 05:15:37 PM
Script : http://2khoops.net/forums/shoutbox/shoutcache.php
Referrer : http://2khoops.net/forums/shoutbox/shoutdiv.php
IP Address : 67.11.178.214
Username :
Classname : vB_Database
MySQL Version :

And then here's the code:

$template_hook[credits_pos1]

<if condition="$show['donate']">
<form action="credits.php?do=donate" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="donate" />
<a name="donate"></a>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[donate] <span class="smallfont"><if condition="$show['anon']"> <input type="checkbox" name="anonymous" value="1" />$vbphrase[anonymous]</if></span></td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td width="20%" valign="top" nowrap="nowrap">
<div style="margin-bottom:$stylevar[formspacer]px"><strong>$vbphrase[recipient]</strong><br /></div>
<div id="userfield">
<input type="text" class="bginput" name="recipient" id="userfield_txt" size="12" value="$username[username]" autocomplete="off" />
</div>
<div id="userfield_menu" class="vbmenu_popup" style="display:none"></div>
<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
vbmenu_register('userfield', true);
snc = new vB_AJAX_NameSuggest('snc', 'userfield_txt', 'userfield');
//-->
</script>
</td>
<td width="3%" rowspan="2" style="border-$stylevar[left]:1px solid $stylevar[tborder_bgcolor]">&nbsp;</td>
<td width="49%" valign="top" rowspan="2">
<div style="margin-bottom:$stylevar[formspacer]px"><strong>$vbphrase[comment]</strong></div>
<input type="text" class="bginput" name="comment" size="35" maxlength="255" />
</td>
<td width="3%" rowspan="2" style="border-$stylevar[left]:1px solid $stylevar[tborder_bgcolor]">&nbsp;</td>
<td width="25%" valign="top" rowspan="2">
<div style="margin-bottom:$stylevar[formspacer]px"><strong>$vbphrase[amount]</strong><if condition="$donatefee"> <if condition="$vbulletin->options['credits_feetype'] == 'neg'">-<else />+</if>$donatefee% $vbphrase[fee]</if></div>
<input type="text" class="bginput" name="amount" value="0" size="6" /> <input type="submit" class="bginput" value="$vbphrase[donate]" style="font-weight:normal" />
</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</form>
<br />
</if>

$template_hook[credits_pos2]

<if condition="$show['lottery']">
<form action="credits.php?do=lottery" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="lottery" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('credits_lottery')"><img id="collapseimg_credits_lottery" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_credits_lottery].gif" alt="" border="0" /></a>
$vbphrase[drawings]
</td>
</tr>
</thead>
<tbody id="collapseobj_credits_lottery" style="$vbcollapse[collapseobj_credits_lottery]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
$lotterybits
<div class="fieldset" style="margin:0px; padding:$stylevar[formspacer]px">
<phrase 1="$maxrange" 2="$maxtickets" 3="$wintax">$vbphrase[credits_lotteryinfo]</phrase>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<br />
</if>

$template_hook[credits_pos3]

<if condition="$show['topx']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="4">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('credits_top')"><img id="collapseimg_credits_top" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_credits_top].gif" alt="" border="0" /></a>
$vbphrase[credits_topholders]
</td>
</tr>
<tr align="center">
<td class="thead" width="25%">$vbphrase[username]</td>
<td class="thead" width="25%">$vbphrase[contact]</td>
<td class="thead" width="25%">$vbphrase[join_date]</td>
<td class="thead" width="25%">$vbphrase[credits]</td>
</tr>
<thead>
<tbody id="collapseobj_credits_top" style="$vbcollapse[collapseobj_credits_top]">
$topentries
</tbody>
</table>
<br />
</if>

$template_hook[credits_pos4]

I love this shoutbox and would really appreciate it if someone would be kind enough to help me identify a fix for it :(

Zweeper
12-21-2010, 04:49 AM
love this shoutbox!
but now i want to move on with vb 4.1 and i ask myself if this shoutbox works with 4.1, and would be even more awesome, if it would work as a widget!

anyone can help me?

VIP Hawaii
02-04-2012, 03:54 AM
I liked your shoutbox a lot until I realised that it does not use VBulletin's permissions system, so I uninstalled it. Then I started getting these errors. I have removed the entire /shoutbox directory and reverted the template edits yet I keep getting the database errors! :

"Database error in vBulletin 3.8.4:

Invalid SQL:

select s.*, g.opentag, g.closetag
from shoutbox as s, user as u, usergroup as g
where u.userid = s.user_id and g.usergroupid = u.usergroupid
order by id 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 5
Error Number : 1064
Request Date : Saturday, February 4th 2012 @ 03:23:31 AM
Error Date : Saturday, February 4th 2012 @ 03:23:32 AM
Script : http://paradisefoundation.net/shoutbox/shoutshow.php
Referrer : http://paradisefoundation.net/shoutbox/shoutdiv.php
IP Address : xxxxxxxx
Username : xxxxxxx
Classname : vB_Database
MySQL Version : 5.1.52
"

If you try clicking on the links to the two "scripts" above, you will see that they do not even exist on our server anymore ... yet the errors persist.

Please help! :(:erm:

Goomzee
02-28-2012, 04:42 AM
it;s not works show me error


Warning: require_once(/home/xxx/public_html/includes/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/mknex0/public_html/forums/global.php on line 20

Fatal error: require_once() [function.require]: Failed opening required '/home/xxx/public_html/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/forums/global.php on line 20

madscientist06
07-15-2012, 02:48 AM
Apparently, these guys are out of business.

I tried to link to their URL and it is no longer registered. I deinstalled it and I still see part of the shoutbox still visible - like a shell of itself.

Pretty disappointing.

I don't know what to do now.

Never mind. I figured it out. Deleted the code added to Forum Home. All is well now. :)

JalsaTime
09-29-2014, 12:21 PM
Error hits


Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\class_core.php on line 2552

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\shoutbox\shoutshow.php on line 9

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forums\includes\class_core.php on line 2552

ozzy47
09-29-2014, 12:52 PM
What vb version and PHP version are you running?