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
  #92  
Old 07-11-2009, 04:21 PM
mysql101 mysql101 is offline
 
Join Date: Aug 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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);
Reply With Quote
  #93  
Old 07-11-2009, 05:16 PM
mysql101 mysql101 is offline
 
Join Date: Aug 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

PHP Code:
        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>";
                }
        } 
Reply With Quote
  #94  
Old 07-11-2009, 05:33 PM
mysql101 mysql101 is offline
 
Join Date: Aug 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #95  
Old 07-11-2009, 05:34 PM
mysql101 mysql101 is offline
 
Join Date: Aug 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

one more thing - the old ver wouldn't allow & character. The new one doesn't allow +

Reply With Quote
  #96  
Old 07-20-2009, 03:37 AM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post removed 2x.

Maybe this picture of a kitten will make you happy:

Reply With Quote
  #97  
Old 07-24-2009, 04:48 PM
RichDavid RichDavid is offline
 
Join Date: Jul 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #98  
Old 07-27-2009, 05:14 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
Originally Posted by |Jordan| View Post
I finally gave up on this buggy shoutbox and replaced with Cyb - Chatbox. 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?

Quote:
Originally Posted by RichDavid View Post
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.

Quote:
Originally Posted by matthewhotdude View Post
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.
Reply With Quote
  #100  
Old 08-03-2009, 01:17 AM
DionDev DionDev is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by |Jordan| View Post
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.
Reply With Quote
  #101  
Old 08-03-2009, 12:09 PM
struff struff is offline
 
Join Date: Aug 2008
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 01:42 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.10624 seconds
  • Memory Usage 2,369KB
  • Queries Executed 28 (?)
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
  • (1)bbcode_php
  • (4)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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