Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #142  
Old 11-21-2002, 06:35 AM
Anitah Anitah is offline
 
Join Date: Jan 2002
Location: Los Angeles
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I manually created the shoutbox for each of my templates but this caused an error in my database (the error was not apparant until I did a backup and restore on a test database for a new upgrade).

How can I get this to work with more than one template?
Reply With Quote
  #143  
Old 11-22-2002, 09:35 PM
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DATABASE ISSUE

If you install this hack vanilla, you will get an error if you try to backup to an .sql file!!!

Here is a fix:

Simply go into the install instructions and replace any calls to the REPLACE field in shoutbox_swear with REDO. Then, manipulate the query so that you have a REDO field where the replace field is.

Replace is a SQL command, and that is why it has been puking. If I have permission from the author, I can release an updated version of this hack.

If you need help deciphering which of the replace calls you need to replace (confusing, huh?), please PM me and I will help out the best way I can.
Reply With Quote
  #144  
Old 11-22-2002, 09:50 PM
p0s3id0n p0s3id0n is offline
 
Join Date: Jun 2002
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

absolutely as you said ... sorry for being away from this
thread so long, but errr... you know ... life ...

I am preparing a new realease of this hack to correct for
example the f*cking 'replace' word i used from the start
and got stuck with (first of all coz i was too lazy to correct
all the code)...

You can use reserved words in sql queries to mysql, even if
you should not ... you just have to put a ` around the word in
each query using it as a i did in the code.
If you are using phpmyadmin for example you have a checkbox
which gives you the choice to put those things or not.

@ john : of course you have my permission to correct
my error, and i gladly thank you in advance, and apologize
for my lack of support to this thread... I'll try to get some
time to make a final realease soon.
Reply With Quote
  #145  
Old 11-22-2002, 09:59 PM
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the update to accomodate the replace reserved word, just to make phpmyadmin happy without having to configure additional settings
Reply With Quote
  #146  
Old 11-25-2002, 05:03 AM
luvjeffrey luvjeffrey is offline
 
Join Date: Nov 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack...installed without a hitch
Reply With Quote
  #147  
Old 11-26-2002, 02:47 PM
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey p0s3id0n,

Here's some additions I have made to your hack.

PHP Code:
In template shoutbox_chat right after </head>
 
Add:
<
font size="1" color="#FF0000"><b>
<
a href="http://YOURSITE.COM/forums/online.php" style="text-decoration: none" target="_blank">
<
font color="#808080" face="Arial">Want to see who is in the Chatbox?&nbsp
Click Here to see 'Who's Online'</font></a></b></font><br><br> 
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

If you want the Who's Online page to say 'In YOURFORUMS ChatBox', simply use this three second hack to get it to work!

UPDATE WHO'S ONLINE
Reply With Quote
  #148  
Old 11-27-2002, 04:22 PM
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As is becoming standard...I have fixed my own problem

My list has Rule 1:, Rule 2:, etc. So I wanted the drop down to reflect this.

Simply go into warn.php

Find:

PHP Code:
// New Prevent Warning Usergroup Function
          
$all_warns $DB_site->query("
          SELECT name, points
          FROM warnings
          ORDER BY points
          DESC"
); 
Replace With:

PHP Code:
// New Prevent Warning Usergroup Function
          
$all_warns $DB_site->query("
          SELECT name, points
          FROM warnings
          ORDER BY name
          ASC"
); 
Now, my list is sorted by name in an ascending order!

Easy Enuf
Reply With Quote
  #149  
Old 11-29-2002, 02:41 AM
XIanX XIanX is offline
 
Join Date: Nov 2002
Location: Minnesota
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SpeedStreet, I have cleaned up your addon code a bit.

Here is the revamped code:
Code:
<font size="1" color="#FF0000"><b>
<a href="$bburl/online.php?s=$session[sessionhash]" style="text-decoration: none" target="_blank">
<font color="#808080" face="Arial">Want to see who is in the Chatbox?&nbsp; 
Click Here to see 'Who's Online'</font></a></b></font><br><br>
Reply With Quote
  #150  
Old 12-03-2002, 06:09 PM
Athmo Athmo is offline
 
Join Date: Nov 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow!!!

Realy great hack!

But errr....
Some users of our forum are asking for this...

Is it possible that eg. the first 5 lines in the frame get refreshed constantly and the rest of the frame is to readback the past conversations?
Reply With Quote
  #151  
Old 12-03-2002, 06:15 PM
Dev-United Dev-United is offline
 
Join Date: Oct 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Dev-United
Mozilla and MSIE6 problem. The buttons overlap. I am using MSIE6 myself but I have no problems. But several of the members have reported this bug. One of the members has also posted a screen shot:
The answer to this question can be found here http://development4life.net/portal/b...s=&threadid=94

This might be fixed in the nev version though.
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:26 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.07237 seconds
  • Memory Usage 2,325KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_php
  • (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_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