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
  #292  
Old 03-28-2003, 03:15 PM
Insideout Insideout is offline
 
Join Date: Mar 2003
Location: here
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The icons selection or minimise are not showing so i cant add smilies or text styles. any ideas?
Reply With Quote
  #293  
Old 03-28-2003, 10:43 PM
Dennis B's Avatar
Dennis B Dennis B is offline
 
Join Date: Jul 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Insideout,

Read page #17 of this thread.
Reply With Quote
  #294  
Old 03-28-2003, 11:54 PM
Insideout Insideout is offline
 
Join Date: Mar 2003
Location: here
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i know what to do now. but errrr i cant find chatbox_saisie template anywhere. what directory should it be in
Reply With Quote
  #295  
Old 03-29-2003, 11:11 AM
Insideout Insideout is offline
 
Join Date: Mar 2003
Location: here
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi ok.
I found the sassy template, Soz very new to this vb thang.
Ok i have changed the value of width to 300. Unfortunately It hasnt changed the chat box to show the smilies or minimise button.

Heres a portion of the template. The change i made is in red

var winsmilies, winvb;

function raz(){
bouate.message.value="";
}

function ouvresmil(){
var NewFen = true;
if(winsmilies != null)if(!winsmilies.closed)NewFen = false;
if (NewFen)winsmilies = window.open("chatbox.php?page_chat=popupsmil&s="," Smilies","left=600,top=0,width=300 ,height=550,scrollbars=yes,status=no,directories=n o,toolbar=no,location=no,resizable=yes,menuBar=no" );

For what its worth even though its not working correctly i am very impressed at this hack..thanks
Reply With Quote
  #296  
Old 03-29-2003, 11:34 AM
Dennis B's Avatar
Dennis B Dennis B is offline
 
Join Date: Jul 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Insideout,

You've changed the width of the simlie pop-up.

Look for this code futher down the chatbox_saisie template and change the size parameter:

<body bgcolor="$fondchatbox">
<form name="bouate" action="chatbox.php" method="post" target="chat" onsubmit="setTimeout('raz()',100)">
<input type="hidden" name="setting" value="save">
<input type="hidden" name="page_chat" value="chat">
&nbsp;<input type="text" name="message" size="25" maxlength="255"> <input type="submit" value="ok">
Reply With Quote
  #297  
Old 03-29-2003, 12:00 PM
Dennis B's Avatar
Dennis B Dennis B is offline
 
Join Date: Jul 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

p0s3id0n,

Could you quickly review the logic of the modified code in post # 68 cause I keep getting a parse error...

Also, on page 17 of this thread you told me how to do a couple of queries to make the chatbox appear reduced by default, but actually what's happening after the queries is that the chatbox appears at the last state when I left. Explaining better, if I left the forum yesterday in "expanded" mode, that's what I get when I logged back in this morning. Had I left in "reduced" mode, that would have appeared today. What I want is that every time a user logs in, the chatbox appears in reduced mode. Can you tell me how to do that...?

Merci
Reply With Quote
  #298  
Old 03-29-2003, 12:25 PM
Insideout Insideout is offline
 
Join Date: Mar 2003
Location: here
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dennis B.
Thank you mate. Im up and running and my forum has a new lease of life.
Reply With Quote
  #299  
Old 03-29-2003, 12:28 PM
Dennis B's Avatar
Dennis B Dennis B is offline
 
Join Date: Jul 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

np.
Reply With Quote
  #300  
Old 03-29-2003, 08:26 PM
sHORTYWZ sHORTYWZ is offline
 
Join Date: Jan 2002
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wonderful hack, wondering if there was a way to disable vbcode in it however?

I have some users who find it funny to post images =)

Thanks.
Reply With Quote
  #301  
Old 03-30-2003, 01:35 PM
Dennis B's Avatar
Dennis B Dennis B is offline
 
Join Date: Jul 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sHORTYWZ,

In the template chatbox_saisie this is the line where the vB codes are alled:

<a href="java script: ouvrevb() ;"><img src="https://vborg.vbsupport.ru/images/vbcodes.gif" border="0" alt="vBcodes" align="absmiddle"></a>

(there are some extra spaces in this line that should be ignored)

You can either remove (or comment it out) completely, but you'll lose the icon in the box as well, or you can remove or substitute these

<a href="java script: ouvrevb() ;"> ... </a>

with something else to keep the icon.
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 03:51 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.05933 seconds
  • Memory Usage 2,310KB
  • 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)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