Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
vB Chatbox 1.2.4 Details »»
vB Chatbox 1.2.4
Version: 1.00, by p0s3id0n p0s3id0n is offline
Developer Last Online: Apr 2006 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 08-24-2002 Last Update: Never Installs: 212
 
No support by the author.

What this hack does : Adds a box on top of your vB home page
where all members can chat/shout in an IRC like way, with all the
vB options added (smilies, vBcodes....)

I started this hack by modifying the shoutbox made by Doug
Tanner for phpnuke (i think).. And it went far far from his original
code. As far as i think he wouldn't recognize it .

I integrated it as far as i could with vB, and in the admin CP,
with every bit of it being possible to modify trough the admin
CP (prune, ban, censure...)...

SCREENSHOT

This hack has been tested and used by some people out
there in france .

1.2.4 changes :
Install problems with the mysql reserved words solved,
Uninstalling option added to the install script,
Possibility to automaticaly add the templates to the
templatesets you chose in the install script,
IE6 problem with divs solved,
timezoneoffset mod integrated,
text input limited to 255 characters.

1.2.3 changes :
security hole on the pruning of the admin part fixed.

1.2.2 changes :
templatesused var filled with all templates used by the
script in the shoutbox.php file and in the index.php file.
And chmod 777 made on the admin/shoutbox_config.php file
by the install script. Thanks to erwin

Name changed from shoutbox to chatbox, because some people
thought of this hack as related with TWT-commish's shoutbox...
no more excuses


Here is some sort of [high]FAQ[/high] from all the thread,
hope this helps, and prevents you from reading all that i just read :

[high]#----------------------------------------------------------#[/high]
Erwin : limit of smilies a person can post in the shoutbox.
This is to prevent smilie spamming : HERE
[high]#----------------------------------------------------------#[/high]
Erwin : Another tip for installers - instead of manually having to
ban users in the shoutbox, to automatically ban users who
you have already banned from the forums : HERE
[high]#----------------------------------------------------------#[/high]
For the shoutbox to be in a popup : HERE
[high]#----------------------------------------------------------#[/high]
To have 5 'shouts/chats' visible when the chatbox is reduced :
HERE
[high]#----------------------------------------------------------#[/high]
SpeedStreet : This simply creates a link for people to click on so
that they can easily view the 'Who's Online' page without
having to dig for it : HERE
[high]#----------------------------------------------------------#[/high]
ThoughtDiver: if you want the date format on the shout timestamps
to read Month/Day instead of Day/Month : HERE
[high]#----------------------------------------------------------#[/high]

Show Your Support

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

Comments
  #192  
Old 02-08-2003, 02:43 PM
redstaing0 redstaing0 is offline
 
Join Date: Jan 2003
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: CREATE TABLE `shoutbox` (`id` INT(11) NOT NULL AUTO_INCREMENT, `name` VARCHAR(255) NOT NULL default '', `comment` TEXT NOT NULL, `date` VARCHAR(30) NOT NULL default '', PRIMARY KEY (`id`))
mysql error: Table 'shoutbox' already exists

mysql error number: 1050

Date: Saturday 08th of February 2003 05:40:34 PM
Script: http:///vbbb/vbbb/admin/shoutbox_install.php?etape=1
Referer: http://wwwadmin/shoutbox_install.php
Reply With Quote
  #193  
Old 02-09-2003, 05:48 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are trying to run the install file again. You need to delete the tables first, then install it.
Reply With Quote
  #194  
Old 02-23-2003, 03:05 AM
2root4u 2root4u is offline
 
Join Date: Feb 2003
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this code. Originally I wanted a java applet that would interface with the web server (no servlets), but this will suit my needs just fine.

One customization I did was integrating it as a forum. I didn't want it at the top of every page. Instead I wanted it listed under the forums list and protected with the same permission attributes as the other forums in the members only section.

I made a new style set and edited the forumdisplay template that shows only the chat box about 400 pixels in height and along with the standard header and footer. I created a new forum called chat and assigned the new style set to it. Then I put all the shoutbox code in the forumdisplay.php instead of the index.php.

Works great! Thanks!
Reply With Quote
  #195  
Old 02-23-2003, 03:19 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by 2root4u
I made a new style set and edited the forumdisplay template that shows only the chat box about 400 pixels in height and along with the standard header and footer. I created a new forum called chat and assigned the new style set to it. Then I put all the shoutbox code in the forumdisplay.php instead of the index.php.

Works great! Thanks!
Good idea.
Reply With Quote
  #196  
Old 02-23-2003, 06:53 AM
pjgoncalves pjgoncalves is offline
 
Join Date: Dec 2001
Location: Portugal
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same prob

All installed wth no errors, i can access to /shoutbox.php and to the admin pannel.. but still dont have the Shoutbox on Main Page

I'm running vBB 2.2.9.

Quote:
Originally posted by eggz
Sauron, I share your pain.

The options are all there in admin, and I did everything I was told to BUT still no ShoutBox on the main page at all.... I've checked my templates and $shoutbox is there in all its glory :ermm:

@ Sauron - If anyone has given you an answer by PM or email I'd appreciate it if you could forward it to me.

Everyone else... Heelp us PLEASEEEEE!
Reply With Quote
  #197  
Old 02-23-2003, 01:19 PM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you go and add the bit of code it told you to in forumhome template? It will not do that for you. (I had the same issue because it SEEMED to be taking care of all the templates for me. Darn French Guy. j/k)
Reply With Quote
  #198  
Old 02-23-2003, 01:47 PM
ANT.menmusic ANT.menmusic is offline
 
Join Date: Feb 2003
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by pjgoncalves
I have the same prob

All installed wth no errors, i can access to /shoutbox.php and to the admin pannel.. but still dont have the Shoutbox on Main Page

I'm running vBB 2.2.9.

read the thread:
Quote:
go to your templates and modify "forumhome":

find:
<!-- main -->

and put before that this:
$shoutbox
Reply With Quote
  #199  
Old 02-23-2003, 10:15 PM
pjgoncalves pjgoncalves is offline
 
Join Date: Dec 2001
Location: Portugal
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have like this..

<!-- /text -->
<!-- main -->
$shoutbox
$loggedinusers
$pminfo
$birthdaybits
$forumbits
</table>


Seems that is this right? :dead:



Quote:
Originally posted by ANT.menmusic


read the thread:
Reply With Quote
  #200  
Old 02-24-2003, 01:00 AM
ANT.menmusic ANT.menmusic is offline
 
Join Date: Feb 2003
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no, put
$shoutbox
before
<!-- main -->

-ant
Reply With Quote
  #201  
Old 02-24-2003, 04:29 AM
pjgoncalves pjgoncalves is offline
 
Join Date: Dec 2001
Location: Portugal
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hihihi, WORKED! :banana:

tks in a bunch :knockedout:

Quote:
Originally posted by ANT.menmusic
no, put
$shoutbox
before
<!-- main -->

-ant
Reply With Quote
Reply

Thread Tools

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:47 PM.


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.04694 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete