Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
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
  #302  
Old 06-11-2007, 08:04 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh ffs, wish you'd said a little sooner m8, i just gone back to 1.1 pmsl.......
Reply With Quote
  #303  
Old 06-11-2007, 08:19 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Bashy: If you have insalled v1.2, then the revert of the templates make so that the templte of the master style is used so it's the 1.2 one Everything is allright for you now ? (Except from the inline chat edit ?)

@Redlabour: yeah as I said in the modification post, permissions for team command has been moved to the usergroup permissions for limiting of options in the vbulletin options and I found it was a better place for it!
What do you mean by the fact that you still only see the same teammode than before ? You mean that you still have the two tabs mode ? You can have the one tab mode (both team and general shouts in the same tab). In that mode buttons are not shown and you must use the /team command .
The choice between the two mode is available in the acp.

The code in the modify_options is the same but the place where it must be put is not
Reply With Quote
  #304  
Old 06-11-2007, 08:25 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot.... Yeah all working except inline for IE and guests cant see the shout box

I got them set so they can see the chat box but they still cannot? Any thoughts?

Hovering over the channel buttons say canal.... do i edit this in phrases or the template??

Edit:

Ok found it its in the template, changed it to Staff Chat and Member Chat
Reply With Quote
  #305  
Old 06-11-2007, 09:07 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah for the guest, the option is present in the usergroup persmissions to see chatbox but not yet implemented in the code as stated in the description of the new version I have put it coz I was doing all the permissions thing so that I won't need to dig in it again later

Hum for the canal name, this might come from a translation miss Will check that out later for next version.
Reply With Quote
  #306  
Old 06-11-2007, 11:39 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
For RemiAlone, I had experienced such a problem between my local forum and one online. For my local forum, I had to put %d/%m/%y while on the online one d/m/y was just fine...

Don't know why
That's because of french locale I think. vbdate() has an option to turn off locale and use the date() function format instead "strsomething()" format.
Reply With Quote
  #307  
Old 06-12-2007, 04:51 AM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hum, thanks for the advice Dream on the problem Dream

I'll correct that in the next version so !
Reply With Quote
  #308  
Old 06-12-2007, 04:53 AM
unitedpunjab unitedpunjab is offline
 
Join Date: Feb 2006
Location: Scotland
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have two teams for my forum, so i have given them equal permissions. But when ever they chat on shoutbox usernames for both the teams appear with same color default: Orange.

I want to unique colors for both the teams. Like if one team has orange usernames, other can have black or green.

Please help.

And yeah i updated my MGC CHATBOX. ITZ WORKING LIKE CHAMP. But i was not able to find modify_options template anywhere. So i didn't removed that template yet. I have one template "modifyoptions" but it is without underscore.

And yeah one thing more, if certain usergroup doesn't have permission to use
/annonce command from shoutbox it create problem with database.

I entered
/annonce <text here> and pressed enter. A pop-up shoed up and when i closed it down, i was redirected to password change screen. Vbulletin was telling me that my password is 431 days old and expired. so u need to enter password.

Then i
/annonce from CP and tried again. it worked. But u should look after the error thing also...
Reply With Quote
  #309  
Old 06-12-2007, 04:56 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, perhaps i should have a a little more Only tried to set the permissions about 4 times lol.....

Lok forward to the next update, great hack and gonna vote

Quote:
Originally Posted by VBDev View Post
Yeah for the guest, the option is present in the usergroup persmissions to see chatbox but not yet implemented in the code as stated in the description of the new version I have put it coz I was doing all the permissions thing so that I won't need to dig in it again later

Hum for the canal name, this might come from a translation miss Will check that out later for next version.
Reply With Quote
  #310  
Old 06-12-2007, 08:18 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 unitedpunjab View Post
I have two teams for my forum, so i have given them equal permissions. But when ever they chat on shoutbox usernames for both the teams appear with same color default: Orange.

I want to unique colors for both the teams. Like if one team has orange usernames, other can have black or green.
You mean the color of the username of your teams ? If in usergroups, you have set colors for the username in the forums, it shall be the same in the chatbox.

Quote:
Originally Posted by unitedpunjab View Post
And yeah i updated my MGC CHATBOX. ITZ WORKING LIKE CHAMP. But i was not able to find modify_options template anywhere. So i didn't removed that template yet. I have one template "modifyoptions" but it is without underscore.
What does CHAMP mean ?

You don't have to remove the modifyoptions template (yup sorry little mistaking its witouth underscore) you have to remove the previous modifications you had to made for the v1.1 of the chatbox and apply the new modification.

Quote:
Originally Posted by unitedpunjab View Post
And yeah one thing more, if certain usergroup doesn't have permission to use /annonce command from shoutbox it create problem with database.

I entered /annonce <text here> and pressed enter. A pop-up shoed up and when i closed it down, i was redirected to password change screen. Vbulletin was telling me that my password is 431 days old and expired. so u need to enter password.

Then i /annonce from CP and tried again. it worked. But u should look after the error thing also...
What does the popup was saying ? Normally, if permissions to use /annonce are good for you, you shall have a popup with : Announce was successfully modified or kind of (I don't know how Sofia translated it ).

Anyway, when changing the announce, I rebuild the vbulletin options datastore (as I update the mgc_chatbox_annonce setting, this is why it can be modified from both the chatbox and the acp). So maybe your options had not been update since a long time and you had a password age set (or kind of).

After having reset your passowrd, did the /annonce worked ?
Reply With Quote
  #311  
Old 06-12-2007, 09:34 AM
Scotty2k Scotty2k is offline
 
Join Date: Dec 2003
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

no idea why but no shoutbox will work for me after new installation of server and vbulletin.

Is there a special option of configuring the apache ?

.. vbshout, dreamchat and MGC Chatbox will always freeze at "Loading.." and nothing happpens...

I can enter a text and the the text is visible in the archive but not in chatbox... only "Loading.."...

Could you please help me, my users are missing the chat and i have no idea how to fix it
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 03:02 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.09316 seconds
  • Memory Usage 2,337KB
  • 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
  • (5)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
  • (4)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