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
  #972  
Old 07-27-2007, 05:59 PM
LockeAG's Avatar
LockeAG LockeAG is offline
 
Join Date: Aug 2005
Location: Mexico, DF
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get de Loading stanby error,

since I reupdate to new version ...
Reply With Quote
  #973  
Old 07-27-2007, 06:10 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 Mastar View Post
How did you fixed the arcade problem? I updated the chat just now and same problem with ibparcade. Thanks!
Did you follow the how to in the readme file as stated in the thread text ?

It won't work if you don't do the modification in the functions.php file of the arcade.

Quote:
Originally Posted by inciarco View Post
I've Fixed the Error by Editing the Text of the Phrase "$vbphrase[mgc_cb_idle_msg]" changing it back to the Original Setting!! (That's the last thing I changed before the ChatBox Collapsed).

If is useful for you, I tryed to include the Following Text into it, so that the User could know the Image of the Refresh Button, but it seems that the Include Image Damages the Chat Box's Working!!

<center><b>Due to your inactivity, the refresh has been disabled in the chatbox.<br />To leave this mode, please click on the refresh button (<img src="http://inciarco.com/foros/images/misc/mgc_chatbox/mgc_cb_refresh.gif">) or refresh the full page if the button is not shown.</b></center>

I hope this help you to Make your Great hack Stronger in the Configuration Process for Users!! :up:

Thank You VBDev is a Great Hack, I've Voted for it in the Hack of the Month!! :up:

My Best Regards to You!!

This is not the image this is the quote in the image as quotes are used in php.

It would have worked maybe if you had escaped the quote (by putting \" instead of just ").

Quote:
Originally Posted by Subah View Post
I don`t know but there is a problem with seeing the poll resulte ?
Upload the new language file of the 1.4 corrected version.

Quote:
Originally Posted by LockeAG View Post
I get de Loading stanby error,

since I reupdate to new version ...
Did you revert chatbox templates (if you had modified them).

Have you uploaded all new files ?
Reply With Quote
  #974  
Old 07-27-2007, 06:34 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 Mastar View Post
How did you fixed the arcade problem? I updated the chat just now and same problem with ibparcade. Thanks!
Did you follow the how to in the readme file as stated in the thread text ?

It won't work if you don't do the modification in the functions.php file of the arcade.

Quote:
Originally Posted by inciarco View Post
I've Fixed the Error by Editing the Text of the Phrase "$vbphrase[mgc_cb_idle_msg]" changing it back to the Original Setting!! (That's the last thing I changed before the ChatBox Collapsed).

If is useful for you, I tryed to include the Following Text into it, so that the User could know the Image of the Refresh Button, but it seems that the Include Image Damages the Chat Box's Working!!

<center><b>Due to your inactivity, the refresh has been disabled in the chatbox.<br />To leave this mode, please click on the refresh button (<img src="http://inciarco.com/foros/images/misc/mgc_chatbox/mgc_cb_refresh.gif">) or refresh the full page if the button is not shown.</b></center>

I hope this help you to Make your Great hack Stronger in the Configuration Process for Users!! :up:

Thank You VBDev is a Great Hack, I've Voted for it in the Hack of the Month!! :up:

My Best Regards to You!!

This is not the image this is the quote in the image as quotes are used in php.

It would have worked maybe if you had escaped the quote (by putting \" instead of just ").

Quote:
Originally Posted by Subah View Post
I don`t know but there is a problem with seeing the poll resulte ?
Have you used the new language version ?

Anyway, are you using it with the english language or another one ?

Quote:
Originally Posted by LockeAG View Post
I get de Loading stanby error,

since I reupdate to new version ...
Did you revert chatbox templates (if you had modified them).

Have you uploaded all new files ?
Reply With Quote
  #975  
Old 07-27-2007, 06:43 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello VBDev!! :up:

How can I change the Size of the Text inside the Chat Box??

What Template or Line Code shall I Edit and Change in order to make the Size of the Text inside the Chat Box a little Smaller??

I appreciate your Help!! :up:

I send you My Best Regards!!

Ps: Adding \" instead of just " worked Great, Thanks!!. The following Code works Fine now.

<center><b>Due to your inactivity, the refresh has been disabled in the chatbox.<br />To leave this mode, please click on the refresh button (<img src=\"http://inciarco.com/foros/images/misc/mgc_chatbox/mgc_cb_refresh.gif\">) or refresh the full page if the button is not shown.</b></center>


Reply With Quote
  #976  
Old 07-27-2007, 06:49 PM
LockeAG's Avatar
LockeAG LockeAG is offline
 
Join Date: Aug 2005
Location: Mexico, DF
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh Yes I have ,also I Uninstall and Reinstall de Product.. reupload and etc... I don't know what going on , but I return to the last prodcut (1.4 before today) , and all is working fine...

Also , my advice for all, I don't like the fact to edit navbar template, I'm very busy to make all this changes , and YES I 'm Lazy, So , I recomend use a CUSTOM NAVBAR PLUGIN , adding the specify url:
Code:
mgc_chatbox.php?$session[sessionurl]do=view_archive
and
Code:
mgc_chatbox.php?$session[sessionurl]do=view_chatbox
.. or ...

add ARCHIVE button to the "mgc_chatbox_editor" template

I' dont really search for de conditional variable so I only add a simple image link, and I added after the Full Mode Button link

Code:
<a href="mgc_chatbox.php?$session[sessionurl]do=view_archive" rel="nofollow"><img src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_arch.gif" alt="" name="mgc_cb_aide" border="0" class="inlineimg" id="mgc_cb_aide" title="Archive" /></a>
and I made a custom buttom for archive...

I don't know is the was an option for all of this , but for me works..

Great Hack , and thanks very much...
Reply With Quote
  #977  
Old 07-27-2007, 07:01 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 inciarco View Post
Hello VBDev!! :up:

How can I change the Size of the Text inside the Chat Box??

What Template or Line Code shall I Edit and Change in order to make the Size of the Text inside the Chat Box a little Smaller??

I appreciate your Help!! :up:

I send you My Best Regards!!

Ps: Adding \" instead of just " worked Great, Thanks!!. The following Code works Fine now.

<center><b>Due to your inactivity, the refresh has been disabled in the chatbox.<br />To leave this mode, please click on the refresh button (<img src=\"http://inciarco.com/foros/images/misc/mgc_chatbox/mgc_cb_refresh.gif\">) or refresh the full page if the button is not shown.</b></center>


Please don't use bold font like that ...

For the size of the text in the chatbox, it can't be changed as this is changed depending on user needs.

As you know font size is selectable.

Quote:
Originally Posted by LockeAG View Post
oh Yes I have ,also I Uninstall and Reinstall de Product.. reupload and etc... I don't know what going on , but I return to the last prodcut (1.4 before today) , and all is working fine...

Also , my advice for all, I don't like the fact to edit navbar template, I'm very busy to make all this changes , and YES I 'm Lazy, So , I recomend use a CUSTOM NAVBAR PLUGIN , adding the specify url:
Code:
mgc_chatbox.php?$session[sessionurl]do=view_archive
and
Code:
mgc_chatbox.php?$session[sessionurl]do=view_chatbox
.. or ...

add ARCHIVE button to the "mgc_chatbox_editor" template

I' dont really search for de conditional variable so I only add a simple image link, and I added after the Full Mode Button link

Code:
<a href="mgc_chatbox.php?$session[sessionurl]do=view_archive" rel="nofollow"><img src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_arch.gif" alt="" name="mgc_cb_aide" border="0" class="inlineimg" id="mgc_cb_aide" title="Archive" /></a>
and I made a custom buttom for archive...

I don't know is the was an option for all of this , but for me works..

Great Hack , and thanks very much...
The navbar shall not be changed anymore by user as there are links now in the chatbox

Your button is a nice idea thus it's not very useful when in full mode.

Anyway, I could use it for the archive link when in expanded mode !
Reply With Quote
  #978  
Old 07-27-2007, 07:38 PM
Lifesupporters Lifesupporters is offline
 
Join Date: Apr 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the first time I've ever voted for an MOTM so this is my way of saying thanks for a great product and even better support!

The only comment I'd like to make (and please don't slag me if it's already been mentioned as I did not find it in the 30+ pages I've already been through) is it would be nice if a user could turn on/off the random smilies option.

The only reason I suggest it is due to the different sizes of smilies and animated smilies out there. Adding a random component just ensures the undesirable smilies are also now in full rotation in the chatbox which messes with chat box overall aesthetic IMHO.

Quoting someones previous shout would also be a great feature because a lot of people in chat means that many different conversations are happening so it's easy for messages to get crossed.

Neither of these are complaints at all, merely suggestions for you to consider or discard, either way, it is still a great product!

Ken
Reply With Quote
  #979  
Old 07-27-2007, 07:42 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much
Reply With Quote
  #980  
Old 07-27-2007, 07:52 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am planning a big surprise for v1.5 which might be called v2.0

Won't post any clue, you'll have to imagine
Reply With Quote
  #981  
Old 07-27-2007, 08:07 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 Lifesupporters View Post
This is the first time I've ever voted for an MOTM so this is my way of saying thanks for a great product and even better support!

The only comment I'd like to make (and please don't slag me if it's already been mentioned as I did not find it in the 30+ pages I've already been through) is it would be nice if a user could turn on/off the random smilies option.

The only reason I suggest it is due to the different sizes of smilies and animated smilies out there. Adding a random component just ensures the undesirable smilies are also now in full rotation in the chatbox which messes with chat box overall aesthetic IMHO.

Quoting someones previous shout would also be a great feature because a lot of people in chat means that many different conversations are happening so it's easy for messages to get crossed.

Neither of these are complaints at all, merely suggestions for you to consider or discard, either way, it is still a great product!

Ken
You mean by user or an option in the admincp to activate or not the random smilies ?

for the quoting, how would you see that ?
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 06:12 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.05848 seconds
  • Memory Usage 2,370KB
  • 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
  • (6)bbcode_code
  • (11)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