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
  #362  
Old 06-18-2007, 05:09 PM
Shakefire.com Shakefire.com is offline
 
Join Date: Aug 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting this error:

Quote:
Originally Posted by error
Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb3_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Cache des templates chatbox', 'cache_templates', '$globaltemplates = array_merge($globaltemplates, array(\'mgc_chatbox\', \'mgc_chatbox_bit\', \'mgc_chatbox_editor\', \'mgc_chatbox_ucp\', \'editor_jsoptions_font\', \'editor_jsoptions_size\'));', 'mgc_chatbox');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Monday, June 18th 2007 @ 01:51:29 PM
Script : http://www.shakefire.com/boards/admincp/plugin.php
Referrer : http://www.shakefire.com/boards/admi...?do=productadd
IP Address : 151.213.225.123
Username : SFpeter
Classname : vb_database
any help?
Reply With Quote
  #363  
Old 06-18-2007, 05:56 PM
GoNz00 GoNz00 is offline
 
Join Date: Jan 2005
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if i use the /me command it throws all the text below to the right hand side ?

and as it wont allow me to search for /me does anyone have an answer please?
Reply With Quote
  #364  
Old 06-18-2007, 06:41 PM
SuprSurfr SuprSurfr is offline
 
Join Date: Apr 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was working fine for about 3 days.

Now I loging and it is totally missing from the Forums.
I went into usergroups and found that the permissions were all set to no.
I gave my groups the persmissions to see the chat I get this error:

Database error in vBulletin 3.6.7:

Code:
Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
	`title` = 'Administrators',
	`description` = '',
	`usertitle` = 'Administrator',
	`opentag` = '',
	`closetag` = '',
	`passwordexpires` = '180',
	`passwordhistory` = '360',
	`mgccustomusergroupperms` = '1',
	`nbmsgshowchatbox` = '100',
	`vbgmepermissions` = '31',
	`forumpermissions` = '1048575',
	`genericpermissions` = '1073741759',
	`attachlimit` = '0',
	`pmquota` = '50',
	`pmpermissions` = '7',
	`pmsendmax` = '5',
	`calendarpermissions` = '63',
	`wolpermissions` = '31',
	`adminpermissions` = '3',
	`genericoptions` = '63',
	`profilepicmaxwidth` = '100',
	`profilepicmaxheight` = '100',
	`profilepicmaxsize` = '65535',
	`avatarmaxwidth` = '80',
	`avatarmaxheight` = '80',
	`avatarmaxsize` = '20000',
	`signaturepermissions` = '237567',
	`sigpicmaxwidth` = '500',
	`sigpicmaxheight` = '100',
	`sigpicmaxsize` = '20000',
	`sigmaxrawchars` = '0',
	`sigmaxchars` = '0',
	`sigmaxlines` = '0',
	`sigmaxsizebbcode` = '7',
	`sigmaximages` = '0'
WHERE usergroupid=6;

MySQL Error  : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054
Reply With Quote
  #365  
Old 06-18-2007, 07:39 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 Shakefire.com View Post
I am getting this error:


any help?
I haven't tested the chatbox on vb3.5.4, and I think that it might not be compatible with that version has there are changes in the plugin management syste.

Quote:
Originally Posted by GoNz00 View Post
if i use the /me command it throws all the text below to the right hand side ?

and as it wont allow me to search for /me does anyone have an answer please?
Could you make a screenshot plz ?

Quote:
Originally Posted by SuprSurfr View Post
It was working fine for about 3 days.

Now I loging and it is totally missing from the Forums.
I went into usergroups and found that the permissions were all set to no.
I gave my groups the persmissions to see the chat I get this error:

Database error in vBulletin 3.6.7:

Code:
Invalid SQL:
UPDATE usergroup SET
 
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
    `title` = 'Administrators',
    `description` = '',
    `usertitle` = 'Administrator',
    `opentag` = '',
    `closetag` = '',
    `passwordexpires` = '180',
    `passwordhistory` = '360',
    `mgccustomusergroupperms` = '1',
    `nbmsgshowchatbox` = '100',
    `vbgmepermissions` = '31',
    `forumpermissions` = '1048575',
    `genericpermissions` = '1073741759',
    `attachlimit` = '0',
    `pmquota` = '50',
    `pmpermissions` = '7',
    `pmsendmax` = '5',
    `calendarpermissions` = '63',
    `wolpermissions` = '31',
    `adminpermissions` = '3',
    `genericoptions` = '63',
    `profilepicmaxwidth` = '100',
    `profilepicmaxheight` = '100',
    `profilepicmaxsize` = '65535',
    `avatarmaxwidth` = '80',
    `avatarmaxheight` = '80',
    `avatarmaxsize` = '20000',
    `signaturepermissions` = '237567',
    `sigpicmaxwidth` = '500',
    `sigpicmaxheight` = '100',
    `sigpicmaxsize` = '20000',
    `sigmaxrawchars` = '0',
    `sigmaxchars` = '0',
    `sigmaxlines` = '0',
    `sigmaxsizebbcode` = '7',
    `sigmaximages` = '0'
WHERE usergroupid=6;
 
MySQL Error  : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054
Have you installed the product_mgc_bitfield ?
Reply With Quote
  #366  
Old 06-18-2007, 10:08 PM
GoNz00 GoNz00 is offline
 
Join Date: Jan 2005
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it wont do it now, i have no idea what went wrong, i disabled the option to stop anyone causing it, and now i re-enabled it, theres no issues ?
Reply With Quote
  #367  
Old 06-19-2007, 02:40 AM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
What do you mean exactly ? You can see the team icon channel ? And when you click on it you can chat but chats are not shown ??

You mean the problem of the smiley being far from the username ?

Do you have particular css options in your alt1 and alt2 classes ?
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.
Reply With Quote
  #368  
Old 06-19-2007, 04:24 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 GoNz00 View Post
it wont do it now, i have no idea what went wrong, i disabled the option to stop anyone causing it, and now i re-enabled it, theres no issues ?
No noone has been experienced that expect obmob with the first line problem.

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.
Only the first line??? who that's strange, I don't see what could cause this problem. Especially if this is for one line. I think it might come from your skin but don't know what could be messing with the chatbox :/
Reply With Quote
  #369  
Old 06-19-2007, 07:46 AM
Lifesupporters Lifesupporters is offline
 
Join Date: Apr 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lifesupporters
I'm using the chatroom in it's own window /forums/mgc_chatbox.php?do=view_chatbox#top to help keep the forums from looking wayyyy too cluttered and scroll heavy. Is there a way to broadcast who's online from this other page?

Quote:
Originally Posted by VBDev View Post
You mean the whole who's online of the forum ? If so, my answer for that one would be no coz this would add to much code and it's not a necessary option in my opinion.
I think I explained it rather poorly, sorry. What I meant is that it would be great if you could see who's in chat even if the chat is only configured to display on a separate page.

Currently, the only way the chat will show who is in chat is if the physical chat module is within the forum index. If you use the chat in it's own page, you can no longer see who's in chat nor can you see chat statistics.

I'm obviously not very articulate lately so I hope this make sense.

BTW I'd like to add that I'm also very impressed with how responsive you are within your thread, great work all around!
Reply With Quote
  #370  
Old 06-19-2007, 09:45 AM
GoNz00 GoNz00 is offline
 
Join Date: Jan 2005
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can u fix the /announce in 1.3 ?

im not impressed having to type the word nonce

Announce not annonce

makes me sound like a kiddie fiddler typing it :O
Reply With Quote
  #371  
Old 06-19-2007, 12: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 Lifesupporters View Post
I think I explained it rather poorly, sorry. What I meant is that it would be great if you could see who's in chat even if the chat is only configured to display on a separate page.

Currently, the only way the chat will show who is in chat is if the physical chat module is within the forum index. If you use the chat in it's own page, you can no longer see who's in chat nor can you see chat statistics.

I'm obviously not very articulate lately so I hope this make sense.

BTW I'd like to add that I'm also very impressed with how responsive you are within your thread, great work all around!
I still don't understand the first part lol

Actually, there are no whosonline for the chatbox so I don't understand what you still don't see ? Maybe you only speak of the statistics ?

What you'd like is an option to show the stats in the self page mode ?

Thanks for the compliment

Quote:
Originally Posted by GoNz00 View Post
can u fix the /announce in 1.3 ?

im not impressed having to type the word nonce

Announce not annonce

makes me sound like a kiddie fiddler typing it :O
As I previously told, this is not a wrong spelling, this is just the fact that this hack was originally developped for the french community. And in french an announce is "annonce".

For some commands I have used english which is in some way easier to type for certain commands, but for this one it was not easier.

Maybe I'll implement both commands so that you don't feel like a kiddie fiddler ...
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:09 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.05614 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
  • (2)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
  • (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