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
  #1422  
Old 09-11-2007, 12:42 AM
357Magnum 357Magnum is offline
 
Join Date: Jun 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got it! lol
Reply With Quote
  #1423  
Old 09-11-2007, 05:49 AM
FelixFlow FelixFlow is offline
 
Join Date: Sep 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay, i completely uninstalled it & started over...i cant get it to work, or show up



New installation

1. Upload the files from the f folder in your forum folder (For the images folder, don't forget to add its contents in each of your styles folders). DONE

2. Import the product-mgc_bitfield_custom.xml product from the p folder. DONE

3. Import the produit product-mgc_chatbox.xml product from the p folder. DONE

4. Import the language file:
In the admincp, go in : Languages & Phrases >> Download / Upload Languages
Click on the Browse button and select the language file from the l folder
In the overwrite language dropwdown, select the language in which you want to install the chatbox phrases.
Select yes for Ignore language version.
Click on import.
DONE

5. Do the following templates modifications for each of your styles. DONE * note: "in the additional css, add:" <-- not sure where that goes (instructions are very vague)...i used the drop-down menu in the Style Manager to select "Main CSS", and I pasted the "/** DEBUT MGC CHATBOX **/" code in the bottom-most box under "Additional CSS Definitions"


6. If you use the chatbox on all pages feature with global var, add in the corresponding templates the $mgc_chatbox variable wherever you want the chatbox to be shown. huh?? can i get this in layman-terms please??




so, i seem to have (most) everything installed correctly....i went thru and edited permissions of all usergroups so they can see/use the chatbox

i must be close cause i didnt get any errors & everything i did went okay...so can someone please tell me what i'm doing wrong or what i'm NOT doing???


Reply With Quote
  #1424  
Old 09-11-2007, 05:49 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 FelixFlow View Post
THANKS 357, i did that....now my next error is when i go to: Usergroup Manager > edit usergroup (registered users) > MGC chatbox permissions "can use.." and "can see...", i chose "yes" and when i click "Update" i get this error....

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE vb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '782847',
`genericpermissions` = '237510343',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericoptions` = '62',
`profilepicmaxwidth` = '150',
`profilepicmaxheight` = '150',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '150',
`avatarmaxheight` = '150',
`avatarmaxsize` = '25000',
`signaturepermissions` = '137215',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4',
`vbblog_general_permissions` = '94',
`vbblog_entry_permissions` = '7800',
`vbblog_comment_permissions` = '974',
`mgccustomusergroupperms` = '5',
`nbmsgshowchatbox` = ''
WHERE usergroupid=2;

MySQL Error : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054

any clue what i'm doing wrong???

I think you haven't imported the two products from the p directory.

Quote:
Originally Posted by Ohiosweetheart View Post
Sorry vBDev - the endlessly loading problem is still endlessly loading
Does IE still tells you of an error on load at the left bottom of the browser ?

Quote:
Originally Posted by chariotdriver View Post
I had a member tell me that the text was spilling down into the forums below and he sent me a pic and it is.
He is on Netscape, is this an issue with Netscape?
Phil
Yes it is, I have corrected it for the next version.

Quote:
Originally Posted by baghdad4ever View Post
can you add restricted words to chat

instead of depending on restricted words of forum

bec

in chat i dont allow any url to be written

but in forum ok

thanks
No I won't do that sorry. This is not very useful in my opinion.
Reply With Quote
  #1425  
Old 09-11-2007, 05:50 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 FelixFlow View Post
okay, i completely uninstalled it & started over...i cant get it to work, or show up



New installation

1. Upload the files from the f folder in your forum folder (For the images folder, don't forget to add its contents in each of your styles folders). DONE

2. Import the product-mgc_bitfield_custom.xml product from the p folder. DONE

3. Import the produit product-mgc_chatbox.xml product from the p folder. DONE

4. Import the language file:
In the admincp, go in : Languages & Phrases >> Download / Upload Languages
Click on the Browse button and select the language file from the l folder
In the overwrite language dropwdown, select the language in which you want to install the chatbox phrases.
Select yes for Ignore language version.
Click on import.
DONE

5. Do the following templates modifications for each of your styles. DONE * note: "in the additional css, add:" <-- not sure where that goes (instructions are very vague)...i used the drop-down menu in the Style Manager to select "Main CSS", and I pasted the "/** DEBUT MGC CHATBOX **/" code in the bottom-most box under "Additional CSS Definitions"


6. If you use the chatbox on all pages feature with global var, add in the corresponding templates the $mgc_chatbox variable wherever you want the chatbox to be shown. huh?? can i get this in layman-terms please??




so, i seem to have (most) everything installed correctly....i went thru and edited permissions of all usergroups so they can see/use the chatbox

i must be close cause i didnt get any errors & everything i did went okay...so can someone please tell me what i'm doing wrong or what i'm NOT doing???


Did you try setting the usergroup permissions so that it appears ?
Reply With Quote
  #1426  
Old 09-11-2007, 06:42 AM
FelixFlow FelixFlow is offline
 
Join Date: Sep 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
Did you try setting the usergroup permissions so that it appears ?
yes


Quote:
Originally Posted by FelixFlow View Post
....i went thru and edited permissions of all usergroups so they can see/use the chatbox...




^ still doesnt work...can you please address #s 5 and 6 in my post?

https://vborg.vbsupport.ru/showpost....postcount=1423




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

5 : this is good.

6 : this must be done only if you try to show the chatbox on all pages but you should first try to show it on basic pages

In the usergroup permissions, have you put a logical number of posts to see the chatbox ? If yes, then have you tried modifying the position where the chatbox is shown ?
Reply With Quote
  #1428  
Old 09-11-2007, 08:23 AM
FelixFlow FelixFlow is offline
 
Join Date: Sep 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
5 : this is good.

6 : this must be done only if you try to show the chatbox on all pages but you should first try to show it on basic pages

In the usergroup permissions, have you put a logical number of posts to see the chatbox ? If yes, then have you tried modifying the position where the chatbox is shown ?




ahhhh, i imported from a phbBB database...the minimum posts were set to 10 to use/view the chatbox....apparently it doesnt take into account the imported post count, but only new posts in VB

i changed that number to "1" and its working perfectly!!!


also, adding code in the templates (#6) was unnecessary because in the admin panel, the mgc options, there's pre-built options to position it on what/where that worked just fine!!


thank you !!!

:up:
Reply With Quote
  #1429  
Old 09-11-2007, 11:34 AM
baghdad4ever baghdad4ever is offline
 
Join Date: Apr 2007
Location: baghdad
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
I haven't re-installed the chatbox on my local forum. Have you try at least to search what do modify ?

hi

i try to make that by my self

but its defficult

plz help

the template in atachment

plz see it and tell me what i may need to do??

to obtain time bet brackets

like

[3:30]


thanks
Reply With Quote
  #1430  
Old 09-11-2007, 03:23 PM
apokphp apokphp is offline
 
Join Date: Nov 2002
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error when setting default font options in the UserCP.

Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE user SET
### Bitfield: user.options ###
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 4, options, options + 4),
options = IF(options & 16, options, options + 16),
options = IF(options & 32, options - 32, options),
options = IF(options & 256, options, options + 256),
options = IF(options & 512, options - 512, options),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options - 4096, options),
options = IF(options & 131072, options - 131072, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
languageid = 0,
autosubscribe = -1,
threadedmode = 0,
timezoneoffset = '-8',
showvbcode = 1,
pmpopup = 1,
maxposts = 30,
daysprune = 365,
startofweek = 1,
showdonor = 0,
mgc_cb_params = 'a:7:{s:13:\"mgc_cb_police\";s:13:\"Comic Sans MS\";s:13:\"mgc_cb_taille\";i:0;s:14:\"mgc_cb_coul eur\";s:6:\"000080\";s:8:\"mgc_cb_b\";i:1;s:8:\"mg c_cb_u\";i:0;s:8:\"mgc_cb_i\";i:0;s:11:\"mgc_cb_sh ow\";i:1;}'
WHERE userid = 1;

MySQL Error : Unknown column 'showdonor' in 'field list'
Error Number : 1054
Date : Tuesday, September 11th 2007 @ 09:21:52 AM
Script : http://www.onlinedebate.net/forums/p...=updateoptions
Referrer : http://www.onlinedebate.net/forums/p...do=editoptions
IP Address : xx.xx.xx.xx
Username : Apokalupsis
Classname : vb_database
See the "show donor"? That's from a PayPal donations hack. I have uninstalled that mod, but for some reason, that part still exists...I'm assuming that this is the culprit?

I tried to remove it via phpmyadmin, but I couldn't find "showdonor" or "field list" anywhere.


*EDIT*

Actually, it's ANY change made whatsoever in the UserCP > Options page, that creates the error. Here's what happens when I try to change styles via the UserCP - Options...


Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE user SET
### Bitfield: user.options ###
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 4, options, options + 4),
options = IF(options & 16, options, options + 16),
options = IF(options & 32, options - 32, options),
options = IF(options & 256, options, options + 256),
options = IF(options & 512, options - 512, options),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options - 4096, options),
options = IF(options & 131072, options - 131072, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
styleid = 41,
languageid = 0,
autosubscribe = -1,
threadedmode = 0,
timezoneoffset = '-8',
showvbcode = 1,
pmpopup = 1,
maxposts = 30,
daysprune = 365,
startofweek = 1,
showdonor = 0,
### Bitfield: user.quoteitoptions ###
quoteitoptions = IF(quoteitoptions & 1, quoteitoptions - 1, quoteitoptions),
### Bitfield: user.glossaryuseroptions ###
glossaryuseroptions = IF(glossaryuseroptions & 1, glossaryuseroptions, glossaryuseroptions + 1),
mgc_cb_params = 'a:7:{s:13:\"mgc_cb_police\";s:0:\"\";s:13:\"mgc_c b_taille\";i:0;s:14:\"mgc_cb_couleur\";b:0;s:8:\"m gc_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;}'
WHERE userid = 1;

MySQL Error : Unknown column 'showdonor' in 'field list'
Error Number : 1054
Date : Tuesday, September 11th 2007 @ 09:36:57 AM
Script : http://www.onlinedebate.net/forums/p...=updateoptions
Referrer : http://www.onlinedebate.net/forums/p...do=editoptions
IP Address : xx.xx.xx.xx
Username : Apokalupsis
Classname : vb_database
Reply With Quote
  #1431  
Old 09-11-2007, 05:34 PM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
Does IE still tells you of an error on load at the left bottom of the browser ?
Yes it sure does.
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 12:43 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.08612 seconds
  • Memory Usage 2,371KB
  • 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
  • (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