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
  #772  
Old 07-22-2007, 09:22 AM
carlosacgj carlosacgj is offline
 
Join Date: Apr 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
I understand the second part of your message, but could you please explain me the first one, this is bearly hard to understand

easy.... it's only information for a persons that have a VB 3.5, this persons can install your mod and this work fine
Reply With Quote
  #773  
Old 07-22-2007, 02:21 PM
Piccante Piccante is offline
 
Join Date: May 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chatbox working perfectly, apart from one strange problem.

I have a user who cannot see it. She is a Registered User and the usergroup does have permission. Everyone else in the same usergroup can view the chatbox.

I gave her the url for the full page chatbox and she can view that, but she still can't view the normal chatbox on any of the forum pages.

I installed the mod "Admin can login as user". When I login as this member... it is true... the chatbox is not visible.

I'm stumped... any ideas?
Reply With Quote
  #774  
Old 07-22-2007, 02:47 PM
jamper's Avatar
jamper jamper is offline
 
Join Date: Jul 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Congratulations, great mod. Thank you:up:

Quote:
Originally Posted by Gemma View Post
I tried it wit ibproarcade but it jus shows up as 'loading'
I'm having the same problem. Any sugestions?
Reply With Quote
  #775  
Old 07-22-2007, 05:11 PM
powerful_rogue powerful_rogue is offline
 
Join Date: Jan 2007
Location: Kent
Posts: 603
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to add this chatbox to the "Whats Going on?" part of the forum?
Reply With Quote
  #776  
Old 07-22-2007, 08:21 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 carlosacgj View Post
easy.... it's only information for a persons that have a VB 3.5, this persons can install your mod and this work fine
Yes that I understood but you had told something first on another subject no ?

Quote:
Originally Posted by Piccante View Post
Chatbox working perfectly, apart from one strange problem.

I have a user who cannot see it. She is a Registered User and the usergroup does have permission. Everyone else in the same usergroup can view the chatbox.

I gave her the url for the full page chatbox and she can view that, but she still can't view the normal chatbox on any of the forum pages.

I installed the mod "Admin can login as user". When I login as this member... it is true... the chatbox is not visible.

I'm stumped... any ideas?
Hum the fact that she can view the chabox but not the full page one is very strange.

Does she have the options in the user cp ? (if no then it's a known bug that might have messed up with that and this'll be corrected in the new version )

Quote:
Originally Posted by jamper View Post
Congratulations, great mod. Thank you:up:

I'm having the same problem. Any sugestions?
I have to test it but as I don't have ibproarcade install I'll do that once I have time.

Quote:
Originally Posted by powerful_rogue View Post
Is it possible to add this chatbox to the "Whats Going on?" part of the forum?
Actually not but maybe you could achived that by using the display chatbox when having problems on some styles.

This could help you add the $chatbox_forumhome just where you want it to be shown in the what's going on.
Reply With Quote
  #777  
Old 07-22-2007, 09:13 PM
Piccante Piccante is offline
 
Join Date: May 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
Hum the fact that she can view the chabox but not the full page one is very strange.

Does she have the options in the user cp ? (if no then it's a known bug that might have messed up with that and this'll be corrected in the new version )
It's the other way around. She has no chatbox at the top of forum home, but she can view the full page version by typing in the url. I can reproduce her problem by logging into her account.

I'm not sure what options you are talking about in the user cp? No one has any chatbox options in the user cp as far as I can see.

I was thinking about telling her to create a new account where it should work (as no one else has a problem), and then using the merge user function to move all her old posts over to her new account. But that would be a last resort
Reply With Quote
  #778  
Old 07-22-2007, 10:51 PM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello i have a request, alot of idiots are treating the shoutbox as a search function so i was wondering if u can move the text field where u type the msg to the bottom instead of the top.. or make a wanring text when the person wish to type something
Reply With Quote
  #779  
Old 07-23-2007, 01:14 AM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by obmob View Post
Oh, no, smilie is ok, the problem is that the first line where the date and username are, is not aligned with the chat's messages.

Checked alt classes, but they don't have padding or margin asigned.
In the end I found one template has a "top" alignement, that's why i was having this problem... haven't checked the latest version...
Reply With Quote
  #780  
Old 07-23-2007, 03:45 AM
JakkFrosted JakkFrosted is offline
 
Join Date: Jul 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is going to seem like a dumb question but I'm very new to this stuff. In the instructions it says:
Quote:
In the additional CSS, add : /** DEBUT MGC CHATBOX **/
.mgc_cb_date {
color : #555555;
}

.mgc_cb_me {
color : #FF0000;
}
/** FIN MGC CHATBOX **/

What additional CSS am I looking for?
Reply With Quote
  #781  
Old 07-23-2007, 04:54 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 Piccante View Post
It's the other way around. She has no chatbox at the top of forum home, but she can view the full page version by typing in the url. I can reproduce her problem by logging into her account.

I'm not sure what options you are talking about in the user cp? No one has any chatbox options in the user cp as far as I can see.

I was thinking about telling her to create a new account where it should work (as no one else has a problem), and then using the merge user function to move all her old posts over to her new account. But that would be a last resort
Then if noone is having the option in the usercp, it means that you certainly have not done the modification in the modifyoptions template which is necessary. If you don't do it, then if the user changes his option he will not see the chatbox anymore (as the option to show the chatbox will not be present and so supposed to be equal to 0 by php).

Due to an actual bug in my code, even if you modify now the modifyoptions template, your user won't be able to revert state of the show chatbox option (which will be corrected in the upcoming very soon 1.4).

Anyway this can be corrected by modyfing the mgc_cb_params field of the user table in the database and ensuring that the 1 in bold case in the following value is equal to 1 in the value of your user field:

Code:
a:7:{s:13:"mgc_cb_police";s:1:"0";s:13:"mgc_cb_taille";i:0;s:14:"mgc_cb_couleur";b:0;s:8:"mgc_cb_b";i:0;s:8:"mgc_cb_u";i:0;s:8:"mgc_cb_i";i:0;s:11:"mgc_cb_show";i:1;}
Quote:
Originally Posted by maidos View Post
hello i have a request, alot of idiots are treating the shoutbox as a search function so i was wondering if u can move the text field where u type the msg to the bottom instead of the top.. or make a wanring text when the person wish to type something
Quote:
Originally Posted by JakkFrosted View Post
This is going to seem like a dumb question but I'm very new to this stuff. In the instructions it says:


What additional CSS am I looking for?
If you go in the style manager in your admincp, select the Main CSS option in the dropdown list of your style.

Then go to the bottom of the page, you'll see a field named Additionnal CSS definitions, this is where you have to put that bit of code
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 09:21 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.14842 seconds
  • Memory Usage 2,353KB
  • 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)bbcode_code
  • (12)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