The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Chatbox 1.2.4 Details »» | |||||||||||||||||||||||||
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
|
Comments |
#22
|
||||
|
||||
Update: It's all working beautifully at the moment. My members all love it - they like it better than TWT's hack.
In fact, the number of queries has been slashed by 90%. Why? Because now when members use the shoutbox to chat, all they are refreshing is the new shoubox.php file in an iframe, rather than refreshing the previous TWT's shoutbox.php file which included headers etc. as well as 20 queries and a whole lot of other stuff. Thanks for the nice port. You can move this to the "Full Releases" once you update your install text files. |
#23
|
||||
|
||||
Do you mind posting in this thread what I should do to upgrade to 1.2.2? Just tell me what to add to the templatesused bits in case I'm missing something.
|
#24
|
|||
|
|||
here is the start of the shoutbox.php file upgraded to 1.2.2 :
PHP Code:
PHP Code:
|
#25
|
||||
|
||||
Thanks.
Is there a way to use the member's timeoffset so that the time stamp works for the member's timezone? |
#26
|
|||
|
|||
errr, what a nice idea... but wouldn't it be a little bit confusing
if a shout under another shout didnt have timestamps following each other ??? [high]* p0s3id0n notes the idea on a piece of paper for the 1.3 release .[/high] |
#27
|
||||
|
||||
No, no, all the timestamps will be offset to the user's timezone who is viewing the shoutbox. It would be good to have since I know when a member has posted according to my timezone, instead of the server timezone. TWT's shoutbox had this working fine using the - $timeoffset variable.
|
#28
|
||||
|
||||
I tried to implement this with your hack, but the way you parse the date and time is different...
|
#29
|
||||
|
||||
I've made it so that there is a limit of smilies a person can post in the shoutbox. This is to prevent smilie spamming.
In shoutbox.php, find: PHP Code:
PHP Code:
shoutbox_error with these contents: Code:
{htmldoctype} <html> <head> $headinclude </head> <body bgcolor="$fondshoutbox"> <center><br><br><b><smallfont>NOTE: You are only allowed a maximum of 5 smilies. Please try again.</smallfont></b></center> </body> </html> if (countchar($parsey,"<img")>5) { |
#30
|
||||
|
||||
Now if only I can get the timeoffset thing to work... anyone has any clue?
|
#31
|
||||
|
||||
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, you can do this:
In shoutbox.php, find: PHP Code:
PHP Code:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|