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
  #152  
Old 12-06-2002, 07:15 PM
eggz eggz is offline
 
Join Date: Aug 2002
Location: UK
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #153  
Old 12-06-2002, 10:51 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are positive all the templates have been added.

And that you have added the code to your index.php
Reply With Quote
  #154  
Old 12-07-2002, 07:11 PM
eggz eggz is offline
 
Join Date: Aug 2002
Location: UK
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup

Triple Checked.
Reply With Quote
  #155  
Old 12-07-2002, 09:48 PM
p0s3id0n p0s3id0n is offline
 
Join Date: Jun 2002
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are you absolutely sure you put the last part in the index.php
just before le last call to the gettemplate function...
Because if you put the chatbox function after, it would
not appaer as it would not be parsed before the page
is echoed.

Just another try ...
Reply With Quote
  #156  
Old 12-09-2002, 06:29 AM
ThoughtDiver ThoughtDiver is offline
 
Join Date: Apr 2002
Location: Fort Wayne, IN
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great add-on!

There are a couple French phrases in the templates and code that English speakers might want to translate.

I found this site useful:

http://www.freetranslation.com/

Also, if you want the date format on the shout timestamps to read Month/Day instead of Day/Month, then search the shout code added to shoutbox.php and root/index.php for:

Code:
$date = date("Y")."-".substr($date,4,2)."-".substr($date,1,2)." ".substr($date,7,2).":".substr($date,10,2);
$date = date("[d/m|H:i]",strtotime($date)+(($bbuserinfo['timezoneoffset']+5)*3600));
Change to:
Code:
$date = date("Y")."-".substr($date,1,2)."-".substr($date,4,2)." ".substr($date,7,2).":".substr($date,10,2);
$date = date("[m/d|H:i]",strtotime($date)+(($bbuserinfo['timezoneoffset']+5)*3600));
Change any other "d/m" to "m/d" also.
:-)

Thanks again to p0s3id0n - and Erwin for add-ons!

Scott
Reply With Quote
  #157  
Old 12-12-2002, 04:05 AM
Taco Taco is offline
 
Join Date: Mar 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, i got this error and i cant figure out what it wants me to do? If you have an error message about a chmod() function having failed, go to your admin folder and chmod manually the shoutbox_config.php to 777.

i got that error and now dont know what to do. I finished the rest of the installation. Help please..

lol, tried again and got everything installed but that chmod thingy, just gave the summary page one big blank page. Is that only cuz the chmod and that everything else was installed right?
Reply With Quote
  #158  
Old 12-14-2002, 02:43 PM
eggz eggz is offline
 
Join Date: Aug 2002
Location: UK
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Erwin & Posidon for all your help - it (seemingly) works at last!

One problem - our site uses frames.
When a user selects minimise, the forums break out of the frames, and the navigation is lost.. any suggestions?

whilst I'm at it, is there an easy way to change the 'grey' colour around the box, maybe even centre the box on the page?

And how do you set the time to UK if your server is in a different country?

Regards,
Oliver
Reply With Quote
  #159  
Old 12-14-2002, 03:34 PM
eggz eggz is offline
 
Join Date: Aug 2002
Location: UK
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK I've got the time sorted, but still need help with the other two problems!
Reply With Quote
  #160  
Old 12-14-2002, 08:08 PM
eggz eggz is offline
 
Join Date: Aug 2002
Location: UK
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got rid of the grey as well, but have found another problem...

When the site has a message box on new pm, viewing it in the current window opens it in the shoubox I-Frame if it has focus, so you end up with a 'site inside site' scenario... any ideas?
Reply With Quote
  #161  
Old 12-15-2002, 08:47 AM
eggz eggz is offline
 
Join Date: Aug 2002
Location: UK
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We've got this as well!!!:

Quote:
Originally posted by Anitah
There is this little bug.

Members who log and first check the shoutbox find their "view new posts" turns up blank.

Any fixes for this?

Also, I never did get an answer to my question about making shoutbox available for guests to post. Is there a security issue involved?

Thanks.
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 05:10 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.05873 seconds
  • Memory Usage 2,312KB
  • Queries Executed 27 (?)
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_code
  • (1)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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete