Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
MGC Chatbox (with AJAX) Details »»
MGC Chatbox (with AJAX)
Version: 1.5, by VBDev VBDev is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.6.9 Rating:
Released: 05-29-2007 Last Update: 09-19-2007 Installs: 764
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Last version - MGC Chatbox Evo available : here

Description

When I had left the vBulletin world, I was in the past the co-author of a little chatbox (shoutbox), very well known in the vBulletin world.
This chatbox had been developed by Svaliotti (known as Poseidon on vb.org) for vB2 in the past and I had made the porterage (with is authorisation as we were both members of the same french non-official support forum) and the improvement for vB3.

It is thus normal that in my return in the vBulletin world, I begin by getting down to this hack. Even if several versions of chatbox are already present in the vBulletin world, I said to myself that it would be a good thing to make a made in France.

Naturally, I don't deal with a "copy" version of the other chatbox, I have any coded at the beginning (it was preferable because the front code wasn't so clean any more), and I integrated a good quantity of very interesting features.

New version features

The new version contains all the features from the previous version. Description of these versions can be found in Sofia's post hereabove (https://vborg.vbsupport.ru/showpost.php?p=1257510&postcount=3).

Modifications from previous version are the following :
  • 1.5 :
    • Fixed bugs :
      • Chatbox is shown two times in full page mode when the Display on all pages under the navbar option is selected.
      • "Fermer" is not in a sentence.
      • Overflow problem with Netscape.
      • Uppercase transformed to lowercase in the PM channel.
      • The ban cron debans user indefinitly banned.
      • Chatbox continuously loading on some forums.
      • Inactivity and guests problem.
      • Team icon blinking is not working properly.
      • Coma error in the who is online.
      • 2 spaces instead of one between the date and the time.
    • New functionnalities :
      • Option to deactivate the random smilies.
      • Option to deactivate the automatic PM sending when banning a user.
      • New permission to allow or not the downloading of shouts.
      • Option to specify the name under which unregistered users shouts appear.
      • Syntax change for the /ban, /ignore, /del, /pm commands : Possibility to use them with the username or the userid (For more information about the new syntax, check the help button in the chatbox).
    • Removed functionnalities :
This hack is very light in term of queries : only one for every recharging / refreshment of the chatbox and 5 for the statistics in the load of the page if you actiate them. If you don't activate advanced options of course as stated aside each in the acp

Installation

Read the file "Installation" in the pack.

Once the installation is ended, go in usergroups and edit permissions to see the Chatbox.

By default, no group has access to the chatbox.

Screenshots

The screenshots are in french as I have made it on an online website which is in french. Don't hesitate to give me new one if you want in english

They are up to date of 1.3 version.

See the following post : https://vborg.vbsupport.ru/showpost.php?p=1292136&postcount=559

User manual

Coming soon ...

Copyright

This hack is under copyright MGC (Mtor&Grog Corporation) 2007-forever and was developed for vBulletin-Resources.com & vb-hacks.org. Its redistribution on another forum that vbulletin-ressources.com, vb-hacks.org or vbulletin.org are prohibited without aggreement of the authors!

Evolutions and improvements

This sixth version of the chatbox is already very complete, but like each product, its evolution depends on all. Then don't hesitate especially to share your ideas of improvements so that we can improve even more this chatbox.

Languages

Actually available :
  1. French
  2. English
  3. Arabic [Translator : alessai]
  4. German [Translator : captainslater]
  5. Vietnamese [Translator : Anhyeu12000]
  6. Turkish [Translator : neutralizer and bocek]
  7. Spanish [Translator : obmob] [TO BE UPDATED FOR 1.5]
To be available [Translation in progress] :
  1. Bosnian [Translator : Benjaminbih]
[FONT='Calibri','sans-serif']For the translators : phrases with version number 1.5 in the English language file are the one that have been modified or added in the new version so you should probably find the modification for your language file easily.[/font]

Contact me if you want to participate and add your own country language file

Support

Several possible problems are explained in the file "Read Me"
Chatbox in iBProarcade and vBadvanced CMPS

See the readme file for iBProarcade.

For vbadvanced, a module is available here : https://vborg.vbsupport.ru/showthread.php?t=163628.

FAQ

Q: I installed the chatbox but it doesn't display
R: Check if you have allowed users (permissions in usergroups)

Q: I see shouts but in the collapsed chatbox
R: You can specify number of shouts in the collapsed chatbox. If you don't want to see it, put "0" for this option.

Q: The chatbox doesn't display below or in the top of one of the pages while in the other position it displays
R: You use a style and it's possible that variables used in templates aren't present. (Read the file "Read Me")

Q: I have a problem with accents in the Chatbox
R: Read the file "Read Me"

Q: How to change the value of color for date and for command /me?
R: When you add additionnal CSS for each style, you can change color in class CSS.

Thanks to Sofia for her earlier help on the chatbox.

You can donate if you want to show your support

Last version - MGC Chatbox Evo available : here

Show Your Support

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

Comments
  #752  
Old 07-20-2007, 06:51 PM
Bicho??'s Avatar
Bicho?? Bicho?? is offline
 
Join Date: Jul 2007
Location: Portugal
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excelent Addon!
Reply With Quote
  #753  
Old 07-20-2007, 09:31 PM
sybakaos sybakaos is offline
 
Join Date: Mar 2006
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Possible bugs:
- when you attempt ajax edit, (IE) shows page error (object required) but everything still works fine.
- when /team is enabled but "use two channels" is disabled, object errors appear (IE)
- when in team channel, /me shows message in main channel.

Ideas:
- when you are in the team channel, maybe a button that shows there's activity in main channel?
- per channel (normal/team) choose if to allow img, bbcode etc
- show archive chronologically (from oldest to newest chatline), same with download txt function.
- add option to add more channels like (team) (main, spam, offtopic, trivia bot)?

A feature request:
At my forum the team channel is used to spam and I use a trivia bot on it. I would like to request a feature that disables the chatlines in the team channel from being logged or counted to the top5 for example. Is that possible?
Reply With Quote
  #754  
Old 07-20-2007, 10:15 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sybakaos View Post
Possible bugs/ideas/issues:
1 when you attempt ajax edit, (IE) shows page error (object required) but everything still works fine.
2 when you are in the team channel, maybe a button that shows there's activity in main channel?
3 when /team is enabled but "use two channels" is disabled, object errors appear (IE)
4 when in team channel, /me shows message in main channel.

A feature request:
5 At my forum the team channel is used to spam and I use a trivia bot on it. I would like to request a feature that disables the chatlines in the team channel from being logged or counted to the top5 for example. Is that possible?
1 :
I am sorry but this might not be a problem on the chatbox side, I have tested it with ie6 and ie7 an never experienced such problem.

Which browser version do you have ?

Do you have any clues to help me tell you where it should come from ?

2 :
No this is not a bug and this will never be like that as in my opinion the most used channel is the general one so user shall stay in it and they only go in the team one to put a shout or to view new shouts after having seen the new shouts available icon.

3:
Any informations on that ? I don't experience that

4:
Only one command can work in a shout at a time, when you shout in the team channel, the chat is registered in the database with /team added to it to specifies that it's a team message.

5:
In the top 5, users that don't have access to this channel won't see the same top 5 as others.
Anyway, yes I could add an option so that team message shall not be taken into account, I add it to the todo list.
Reply With Quote
  #755  
Old 07-20-2007, 10:25 PM
sybakaos sybakaos is offline
 
Join Date: Mar 2006
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
1 :
I am sorry but this might not be a problem on the chatbox side, I have tested it with ie6 and ie7 an never experienced such problem.

Which browser version do you have ?

Do you have any clues to help me tell you where it should come from ?

2 :
No this is not a bug and this will never be like that as in my opinion the most used channel is the general one so user shall stay in it and they only go in the team one to put a shout or to view new shouts after having seen the new shouts available icon.

3:
Any informations on that ? I don't experience that

4:
Only one command can work in a shout at a time, when you shout in the team channel, the chat is registered in the database with /team added to it to specifies that it's a team message.

5:
In the top 5, users that don't have access to this channel won't see the same top 5 as others.
Anyway, yes I could add an option so that team message shall not be taken into account, I add it to the todo list.
1) I found out, when AJAX editing a chatline and hit enter the error appears. When you edit and don't hit enter, there's no error (IE7).
2) I'm using your chatbox for two purposes, main/spam channel. I figured it would be a nice addition . There are over 30 users actively chatting, so I renamed the team channel to spam channel.
3) Seems related to #1. I'm sorry for this.
4) Ok.
5) That would be wonderfull.

Btw. I also suggested some ideas, if you could comment I'd appreciate it vbDev. I love your product more and more each minute that passes .
Reply With Quote
  #756  
Old 07-21-2007, 12:37 AM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope that we can define the number of messages in the full pagemode separately. Not just the same as it in the nomal mode.
Reply With Quote
  #757  
Old 07-21-2007, 05:47 AM
Lilyandy Lilyandy is offline
 
Join Date: Feb 2007
Location: Taiwan
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chinese character (2Byte) the character Yuan meeting typesetting makes
a mistake, asked how arranges sets?

thinking you~~~~~~~~~~^^

sorry.....my english very pool......
Reply With Quote
  #758  
Old 07-21-2007, 08:19 AM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sybakaos View Post
Possible bugs:
Ideas:
- when you are in the team channel, maybe a button that shows there's activity in main channel?
- per channel (normal/team) choose if to allow img, bbcode etc
- show archive chronologically (from oldest to newest chatline), same with download txt function.
- add option to add more channels like (team) (main, spam, offtopic, trivia bot)?
1: as I told in the previous message I won't do that
2: I could add an option to set the order
3: for me, channels aren't exactly channels, they are more interpreted as commands which can be shown either in the main channel only or either in separate channels. But however, I could think in next versions (not for the next immediate one) of a possibility to add personnal commands which could be recognized as channels


Quote:
Originally Posted by sybakaos View Post
1) I found out, when AJAX editing a chatline and hit enter the error appears. When you edit and don't hit enter, there's no error (IE7).
2) I'm using your chatbox for two purposes, main/spam channel. I figured it would be a nice addition . There are over 30 users actively chatting, so I renamed the team channel to spam channel.
3) Seems related to #1. I'm sorry for this.
4) Ok.
5) That would be wonderfull.
1: I have tried that on my forum with IE7 and there were no error, could you give me the url of your forum so that I could learn more ?
2: Yes but as I told I won't, it would add sql queries and sql queries and I don't want my chatbox to become a sql query box
3: Same as for 1, your url could be useful too me

Quote:
Originally Posted by itsblack View Post
I hope that we can define the number of messages in the full pagemode separately. Not just the same as it in the nomal mode.
Yes I could do that to, will put it in the todo list when I get back from my bank

Quote:
Originally Posted by Lilyandy View Post
Chinese character (2Byte) the character Yuan meeting typesetting makes
a mistake, asked how arranges sets?

thinking you~~~~~~~~~~^^

sorry.....my english very pool......
I am sorry but I can't seem to understand what you mean.
Reply With Quote
  #759  
Old 07-21-2007, 09:20 AM
silvermerc silvermerc is offline
 
Join Date: Apr 2006
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im having quite a few problems with this...

The first is that when i press the archive link at the top i get the following error message...
Code:
Fatal error: Call to undefined function: get_top_10() in /home/hhgsnet/public_html/mgc_chatbox.php on line 520
Also the WOL feature doesnt work and the /announce feature also doesnt work when i try to do both of them nothing happens
Reply With Quote
  #760  
Old 07-21-2007, 10:14 AM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by silvermerc View Post
Im having quite a few problems with this...

The first is that when i press the archive link at the top i get the following error message...
Code:
Fatal error: Call to undefined function: get_top_10() in /home/hhgsnet/public_html/mgc_chatbox.php on line 520
Also the WOL feature doesnt work and the /announce feature also doesnt work when i try to do both of them nothing happens
I think you didn't update all files coz get_top_10 is the oldest name of one my function and is no more in it the new version.

IMO this is the reason for those problems
Reply With Quote
  #761  
Old 07-21-2007, 06:45 PM
HydraulicJack HydraulicJack is offline
 
Join Date: Feb 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looked like from the screenshot that it's possible to have a transcript of each chat, correct? (I saw the Archives link).

Also, is there a way to suppress the date and timestamp from appearing on every line send?

Thanks!
HJ
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 02:13 AM.


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.06944 seconds
  • Memory Usage 2,356KB
  • 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
  • (2)bbcode_code
  • (7)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
  • (5)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