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
  #612  
Old 07-16-2007, 10:13 AM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When i clicked on the canal_wol icon ,it doesn't do anything.
Instead,a javascript error appears at the bottom of my screen,error message is "Done,but with errors on page".
Code:
Details:
Line 351 
Char:5 
Error:Object required 
Code:0
By the way,great upgrade!Looks cooler with the new icons.:up:
Reply With Quote
  #613  
Old 07-16-2007, 10:24 AM
sybakaos sybakaos is offline
 
Join Date: Mar 2006
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I've used MGCchat on my test forum and moved it to my active forum. I uninstalled mgc from my test forum but I can't update usergroups anymore, it gives a MySQL error. Your hack doesn't uninstall cleanly? There are still appearing radio buttons also but without text.

Code:
MySQL Error  : Unknown column 'mgccustomusergroupperms' in 'field list'
Greets,
SybaKaos.
Reply With Quote
  #614  
Old 07-16-2007, 10:36 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 Pottsy View Post
The original idle fault was on both collapsed and expanded, but the odd recurring idle thing is only on collapsed.

PM sent...
For the first appearance, this is strange coz it should not show that on first load, I'll dig through that and also through the collapsed one.

Quote:
Originally Posted by Karabaja View Post
Clicking a smiliey throws me to cyb's advanced stats, not to the bottom of the page. And it only seems to happen on first click. If I click two smilies in a row first one will jump the cursor down, on second click it stays where it is.
I also don't get anyone in channel wol, even though some members are shown as in mgc chatbox in board's who's online.
But regardless of the above still great hack and thx VBDev for providing support I haven't seen yet seen with any other hack. Hope you won't get too tired
Regarding the smileys, it means that it send you to the top of the chatbox (which is the bottom of the cybstats) that's right ?

If this is the case this is what I explained but don't really know actually how to pass through this , I'll search !

Oh yes I am tired Na that's start of the week so that's good but waking up like this morning with 2 pages of message bumped my head down

But you know being nominated to the MOTM two times already is a great reward for me thus I will not win it

Quote:
Originally Posted by Njm View Post
hello agin thanx 4 every thing .... i have a problom

whene i wirhgt somting in the text and after i send it nothing happen ?

but whene i go to Archives i see all my text ?

how can i fixe it ?

my text it dosen`t show in the box ?
What happens after that if you try to refresh ?

Quote:
Originally Posted by Adam21 View Post
When i clicked on the canal_wol icon ,it doesn't do anything.
Instead,a javascript error appears at the bottom of my screen,error message is "Done,but with errors on page".
Code:
Details:
Line 351 
Char:5 
Error:Object required 
Code:0
By the way,great upgrade!Looks cooler with the new icons.:up:
If you look at the source code of the page in your browser, what is on line 351 (if this javascript code coz sometimes line in the error doesn't correspond the good line in the code).

Quote:
Originally Posted by sybakaos View Post
Hi,

I've used MGCchat on my test forum and moved it to my active forum. I uninstalled mgc from my test forum but I can't update usergroups anymore, it gives a MySQL error. Your hack doesn't uninstall cleanly? There are still appearing radio buttons also but without text.

Code:
MySQL Error  : Unknown column 'mgccustomusergroupperms' in 'field list'
Greets,
SybaKaos.
Please have a look at the Readme file and ensure that you are following instructions as specified !

I think you have uninstalled the product before removing the xml files which is not what you should have done. To repair that, remove the xml files and then rebuild the bitfields manually (if you don't know how to do that, search for one of my previous message in this thread ).
Reply With Quote
  #615  
Old 07-16-2007, 10:44 AM
sybakaos sybakaos is offline
 
Join Date: Mar 2006
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I should have done that, and actually, did it now with satisfaction. Thanks.

May I suggest a change?
- A server-push when sending a chatline. When a user sends a chatline, the chatbox should refresh for anyone active in the chat. I have a very active chat and a lot of times users type a message thinking they are the next in the chatbox, but after hitting "send", suddenly 10 new lines appear.
Reply With Quote
  #616  
Old 07-16-2007, 10:56 AM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are no way I could do that, the only thing that could be done is to lower the refresh period time but this would become server intensive in my opinion (I think but never tested ).

Anyway, you know using it like that is like having a real chat an this is not really intended for that kind of use, there are some limitations I can't break through and this one is part of them. And I don't want my chatbox to become a enormous "factory" (which it is starting to be with all thos functionnalities ).
Reply With Quote
  #617  
Old 07-16-2007, 11:01 AM
sybakaos sybakaos is offline
 
Join Date: Mar 2006
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. Thanks for your reply.

I may found a small issue:
- when I disable the /team option and go to chat I see two buttons (good). When I click the wol button, it works (good) but when I click the "canal normal" button again, another "canal button" appears below it.

I like your chatbox a lot .
Reply With Quote
  #618  
Old 07-16-2007, 11:15 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
Ok. Thanks for your reply.

I may found a small issue:
- when I disable the /team option and go to chat I see two buttons (good). When I click the wol button, it works (good) but when I click the "canal normal" button again, another "canal button" appears below it.

I like your chatbox a lot .
Ok, I'll have a look to that issue in the next version, todo list will be available very soon.

Don't forget to click install if you want to be warned when a new version is available.
Reply With Quote
  #619  
Old 07-16-2007, 11:24 AM
sybakaos sybakaos is offline
 
Join Date: Mar 2006
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I'll keep updating you and hit install right away.

'issue 1' I found is (using oldest lines on top):
- The scrollbar only goes to bottom when you yourself makes a new chatline. If anyone else makes a chatline, the scrollbar doesn't go to bottom.

'issue 2'
- when a user disables chatbox from withtin their UserCP, the entire bit is gone (ie. can't enable anymore because the option to do so is gone). This the value added in SQL (mgc_cb_params):
Code:
a:7:{s:13:"mgc_cb_police";s: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:0;}
Reply With Quote
  #620  
Old 07-16-2007, 11:27 AM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post

If you look at the source code of the page in your browser, what is on line 351 (if this javascript code coz sometimes line in the error doesn't correspond the good line in the code).
Line 351 relates to some template codes,i dont think it causes that
Quote:
/* ***** Rounded Footer ***** */
.rzone {
display: block;
}
Any ideas please?
Reply With Quote
  #621  
Old 07-16-2007, 11:47 AM
matDDH matDDH is offline
 
Join Date: Oct 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I went back in and reinstalled / overwrite some the files and i still have the same issues.

WOL is not showing anything its just blank

Team chat doesnt blink either.

Even if these issues can not be fix im sticking with your chatbox its the best.
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 01:32 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.05287 seconds
  • Memory Usage 2,355KB
  • 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_code
  • (8)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