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.0 (uses AJAX) Details »»
Dion Dev Shoutbox v2.0 (uses AJAX)
Version: 2.00, 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: 04-01-2009 Last Update: 04-01-2009 Installs: 43
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Preview:

http://www.diondev.com/vb

Screenshots:

(see attached)

Features:

- Uses AJAX so new shouts show up without the page having to be refreshed
- Set the title and other language features to anything you want
- Will ignore empty shouts, and ones that are being repeated one after the other
- Enter how many shouts you want it to show
- Enter how many days you want it to store shouts in the database (even forever)
- Enable or disable guest shouting
- Members names are linked to their profile pages
- Admins can delete shouts directly through the shoutbox itself
- A fully customizable shout archive with pagination
- Works with any custom theme automatically
- Parses BBcode, smilies, and images if you allow it to
- Installation takes about 5 minutes and is all done through the admin CP
- You can even modify the amount of time it waits in between checking for new shouts
- Plus lots more!

Installation instructions:

1.a) Extract the "ddshoutbox2.zip" file onto your computer using a program like winrar, or winzip

2. Log in to your admin CP, everything will be done within here

3.a) Go to Plugins & Products -> Manage Products
3.b) Click on the "[Add/Import Product]" link
3.c) Browse for the "product-ddsb2.xml" file
3.d) Click on the "Import" button

4. Upload all the ".js" and ".php" files into your main vbulletin directory (the same directory as index.php)

5 Decide where you want the shoutbox on your site (I recommend the top of your forum index)

If you want the shoutbox at the top of your forum index, go to the "FORUMHOME" template, find:
"<!-- / guest welcome message -->
<br />
</if>"
Copy and paste the contents of "template.txt" underneath.

If you want it at the top of every page, go to the "navbar" template, find:
"<!-- / nav buttons bar -->
<br />"
Copy and paste the contents of "template.txt" underneath.

6.a) Go to vBulletin Options -> vBulletin Options
6.b) Select "Dion Dev Shoutbox v2.0 Options"
6.c) Click on the "Edit Settings" button
6.d) Edit all of the values as you desire
6.e) Click on the "Save" button

Additional options:

1. If you want to change the time in which it checks for new shouts, open up "shoutshow.js" with notepad, find "timeint = 2000" at the top of the file, and change "2000" to the time (in milliseconds) you want it to wait before checking for new shouts. 1 second equals 1000 milliseconds. If you want shouts to show up faster, set it to a lower number. If you are worried about server load, set it higher. Don't forget to upload it to your server after you change it so the new timer takes effect.

2. You can edit the shoutbox width and height by changing the iframe width="100%" and height="200" attributes from the "template.txt" file.

You're done! Please donate anything you can spare to donations@diondev.com before removing my copyright notice.

Download Now

File Type: zip ddshoutbox2.zip (9.5 KB, 538 views)

Screenshots

File Type: jpg ddsbadmin.jpg (119.7 KB, 0 views)
File Type: gif ddshoutbox2.gif (12.7 KB, 0 views)

Show Your Support

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

Comments
  #42  
Old 04-05-2009, 07:13 PM
CFodder CFodder is offline
 
Join Date: Mar 2008
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DionDev View Post
... Cfodder I checked your site and it seems to be quite slow. This lag could cause a large delay in the AJAX response ...
Slow it could possibly be, but the shouts appear in the archive immediately and I don't think it would be that slow that they still don't appear after 2 days in the main shoutbox area.
Reply With Quote
  #43  
Old 04-05-2009, 09:34 PM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, is there any way that we would be able to see the IP's of the Guest Comments?
Reply With Quote
  #44  
Old 04-07-2009, 08:50 PM
DionDev DionDev is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mdelcour View Post
Also, is there any way that we would be able to see the IP's of the Guest Comments?
i'll add it to the next version list.
Reply With Quote
  #45  
Old 04-10-2009, 04:21 PM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

um. We discovered today that the shoutbox dosen't recognize characters such as "&" or "$" any reason why?
Reply With Quote
  #46  
Old 04-12-2009, 01:42 PM
DevJw DevJw is offline
 
Join Date: Apr 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by columbonet View Post
Is there an edit I can do to allow mods to delete chatbox posts? We only have 2 admins and don't have time to monitor the chatbox.
I editted shoutshow.php so supermoderators can now also delete shouts.
Find:
PHP Code:
if ($vbulletin->userinfo['permissions']['adminpermissions']) 
New:
PHP Code:
  if ($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['ismoderator']) 
Quote:
Originally Posted by mdelcour View Post
um. We discovered today that the shoutbox dosen't recognize characters such as "&" or "$" any reason why?
I've edited shoutinsert.js and now it works.
At the end of the file:
Code:
  var url = 'shoutinsert.php';
  var params = 'body=' + document.getElementById('body').value;
I changed it to:
Code:
  var url = 'shoutinsert.php';

  var value = document.getElementById('body').value;
  if (encodeURIComponent) {
    url = encodeURIComponent(value);
  } else {
    url = escape(value);
  }
  
  var params = 'body=' + url;

Note to the creator:
I had to change line 44 in shoutshow.php because it was not showing the time.
Old:
PHP Code:
$shout_time vbdate($vbulletin->options['ddsb_time'], $row['shout_time']); 
New:
PHP Code:
$shout_time date($vbulletin->options['ddsb_time'], $row['shout_time']); 
Reply With Quote
  #47  
Old 04-16-2009, 11:46 AM
DionDev DionDev is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DevJw View Post
I editted shoutshow.php so supermoderators can now also delete shouts.
Find:
PHP Code:
if ($vbulletin->userinfo['permissions']['adminpermissions']) 
New:
PHP Code:
  if ($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['ismoderator']) 

I've edited shoutinsert.js and now it works.
At the end of the file:
Code:
  var url = 'shoutinsert.php';
  var params = 'body=' + document.getElementById('body').value;
I changed it to:
Code:
  var url = 'shoutinsert.php';

  var value = document.getElementById('body').value;
  if (encodeURIComponent) {
    url = encodeURIComponent(value);
  } else {
    url = escape(value);
  }
  
  var params = 'body=' + url;

Note to the creator:
I had to change line 44 in shoutshow.php because it was not showing the time.
Old:
PHP Code:
$shout_time vbdate($vbulletin->options['ddsb_time'], $row['shout_time']); 
New:
PHP Code:
$shout_time date($vbulletin->options['ddsb_time'], $row['shout_time']); 
Thos are some great fixes! By the way, you should use the vbdate function. It is a vbulletin function which is like the php date() function, but I believe it also shows the date in the time zone the user specified in their profile.
Reply With Quote
  #48  
Old 04-20-2009, 03:05 PM
adiboy.net adiboy.net is offline
 
Join Date: Nov 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can the time and date be on the extremely left instead of on the right?
Reply With Quote
  #49  
Old 04-21-2009, 03:19 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone please explain how to get this working if I uploaded all the files neatly inside a directory called "shoutbox"? I tried already, modified the files and couldn't get this working

I changed all instances of:

require_once('global.php');

to

require_once('/global.php');

I changed the template code to add /shoutbox/ before the shoutbox.php code, still didn't work.
Reply With Quote
  #50  
Old 04-21-2009, 04:44 AM
DionDev DionDev is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chadi View Post
Can someone please explain how to get this working if I uploaded all the files neatly inside a directory called "shoutbox"? I tried already, modified the files and couldn't get this working

I changed all instances of:

require_once('global.php');

to

require_once('/global.php');

I changed the template code to add /shoutbox/ before the shoutbox.php code, still didn't work.
It won't work that way because the shoutbox uses paths relative to the main vbulletin directory.

Maybe the next version I release will be in its own folder.
Reply With Quote
  #51  
Old 04-23-2009, 08:08 PM
Milez Milez is offline
 
Join Date: Jan 2002
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DionDev View Post
Maybe the next version I release will be in its own folder.
Sweet as soon as this happens I will try this on my big board. Awesome plugin (have tested it) with a very active and dedicated designer - so refreshing! Great work Dion.

Uhm, any time frame on the changes? I can beta test
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 04:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05030 seconds
  • Memory Usage 2,364KB
  • 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
  • (4)bbcode_code
  • (8)bbcode_php
  • (7)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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