Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Dion Dev Shoutbox v2.1 (AJAX) Details »»
Dion Dev Shoutbox v2.1 (AJAX)
Version: 2.1, by DionDev DionDev is offline
Developer Last Online: Aug 2012 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.8.2 Rating:
Released: 05-08-2009 Last Update: 05-08-2009 Installs: 121
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

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

Download Now

File Type: zip ddshoutbox2.1.zip (11.7 KB, 1663 views)

Screenshots

File Type: jpg screenshot1.jpg (121.0 KB, 0 views)
File Type: jpg screenshot2.jpg (171.1 KB, 0 views)
File Type: jpg screenshot3.jpg (126.0 KB, 0 views)
File Type: jpg screenshot0.jpg (134.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-10-2009, 01:25 PM
silvermerc silvermerc is offline
 
Join Date: Apr 2006
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks rather nice!
Reply With Quote
  #23  
Old 05-10-2009, 09:34 PM
m0rgulvale m0rgulvale is offline
 
Join Date: Feb 2009
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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_.../shoutshow.php
Referrer : http://laserpointerforums.com/laser_...m/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_.../shoutshow.php
Referrer : http://laserpointerforums.com/laser_...m/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_.../shoutshow.php
Referrer : http://laserpointerforums.com/laser_...m/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?
Reply With Quote
  #24  
Old 05-11-2009, 12:46 AM
DionDev DionDev is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgrade to the new version.
Reply With Quote
  #25  
Old 05-11-2009, 06:20 AM
Sdahe Sdahe is offline
 
Join Date: May 2009
Location: San Juan, PR
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #26  
Old 05-11-2009, 02:27 PM
DionDev DionDev is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PhotoBoricua View Post
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.
Reply With Quote
  #27  
Old 05-12-2009, 05:41 PM
PaleRiders PaleRiders is offline
 
Join Date: Nov 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like it.
Reply With Quote
  #28  
Old 05-12-2009, 07:47 PM
Cyberkef's Avatar
Cyberkef Cyberkef is offline
 
Join Date: Jan 2003
Location: Belgium
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 05-13-2009, 06:22 AM
DionDev DionDev is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyberkef View Post
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.
Reply With Quote
  #30  
Old 05-14-2009, 07:07 AM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #31  
Old 05-14-2009, 04:40 PM
Hall of Famer Hall of Famer is offline
 
Join Date: Apr 2009
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13225 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete