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
  #1022  
Old 07-29-2007, 06:15 AM
unitedpunjab unitedpunjab is offline
 
Join Date: Feb 2006
Location: Scotland
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a little problem. I have enabled PM feature on my shoutbox and i have enabled the PM feature for every usergroup. But when i ever a Registered user send PM to some other group member it appears in shoutbox in PM channel. But when ever a member from some other group rather than registered member group send message to that group the PM channel doesn't displayed anywhere.

e.g Letz i m admin and i sent mssg to a member dream. In pm channel it shows that mssgz has been sent to dream. But dream is unable to see it anywhere. But when dream send mssg to admin it appears in PM channel.

Did i missed something anywhere ... ??
Reply With Quote
  #1023  
Old 07-29-2007, 07:29 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 ButtCrackAttack View Post
Hey guys I think i've uploaded everything, but I keep getting this when I set the permissions in the admin cp...

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

Did I upload something in the wrong place?
This is error must be because you didn't import the two products.

I think you've uploaded only the mgc_chatbox product not the bitfield one, this could be the only possible reason

Quote:
Originally Posted by Nimrod. View Post
Yeah, I kind of get the same thing. Everything in my AdminCP looks great, but when i try to go to my site, it says that I have an error on my global.php file on line #34.
Error in global.php ? This is strange and have never been experienced with the chatbox. Which version of vbulletin do you have ?

Quote:
Originally Posted by gothicuser View Post
Yes I did but made no difference I'm afraid.
As i said, will play again in the morning
That's ok

Quote:
Originally Posted by stangger5 View Post
I finally got it working with vBadvanced..

First I put $mgc_chatbox; in the cmp_index.php file
right above
Code:
print_portal_output($home);
Display on defined pages in a variable: YES

I added adv_index in the Display and position (Other pages list) box..

Create a new vBadvanced template based module with the following parameters :
Title : MGC Chatbox
Template to include : mgc_chatbox
Styles : the style on which you want the module to be shown

This depends on what version of VBA and the way you want to display it..

Template content :
Code:
$mgc_chatbox
you could use wrapper template option: YES or NO..

Use this in older VBA:

Code:
$mgc_chatbox
or

Code:
<tr>
<td class="$bgclass">
$mgc_chatbox
</td>
</tr>
In the edit modules page, add the chatbox module to the homepage on the center wherever you want it to be positioned.


Heres a Demo...

There is something strange with your first line ? how adding $mgc_chatbox; would do something ??

Are you sure of that first part ?
Reply With Quote
  #1024  
Old 07-29-2007, 07:33 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 inciarco View Post
Hello VBDev!!

I share with you a little Bug in the ShatBox, that I located 5 minutes Ago:

When Selected as "YES" the Option "Display on defined pages above the navbar" (This option lets you activate the mechanism which allows the displaying of the chatbox on defined pages of the forum under the navbar (except from the forumhome, forumdisplay and showthread pages which have their own option)), in the ChatBox Page (http://inciarco.com/foros/mgc_chatbo...o=view_chatbox) the Chatbox Duplicates it self, one for the ChatBox in that Page and other for the Added ChatBox activated by this Option.

You Can see it in the Following Link:
http://inciarco.com/foros/mgc_chatbo...o=view_chatbox

(When that Option is Set to "NO" the ChatBox Page works with just One ChatBox and Not the Two that you'll see if you visit the Link).

(One of the ChatBoxes Loads the Contens and the other Just show the "Loading" Text).

The Code shall Identify the ChatBox Page and not Include another ChatBox Above it.

I hope this helps for your Next Version of this Great Hack!! :up:

My Best Regards To You!!

He he lol

Yes I have forgotten to put the condition with chatbox script

I did it for forumhome, forumdisplay and showthread so that it doesn't show doubled but not for the chatbox file itself lol

Thanks for the report
Reply With Quote
  #1025  
Old 07-29-2007, 07: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 gothicuser View Post
Forget this one, I must have had a blonde moment
I totally uninstalled the original installation of MGC then re-installed, following your instructions but adding 'vba_index' as strangger5 suggested and all works perfectly now.
Thankyou once more for a brilliant mod
You mean adv_index ? I am a little lost on the way you and strangger5 achieved it

Quote:
Originally Posted by unitedpunjab View Post
There is a little problem. I have enabled PM feature on my shoutbox and i have enabled the PM feature for every usergroup. But when i ever a Registered user send PM to some other group member it appears in shoutbox in PM channel. But when ever a member from some other group rather than registered member group send message to that group the PM channel doesn't displayed anywhere.

e.g Letz i m admin and i sent mssg to a member dream. In pm channel it shows that mssgz has been sent to dream. But dream is unable to see it anywhere. But when dream send mssg to admin it appears in PM channel.

Did i missed something anywhere ... ??
Hum, if you have enabled it for both then dream user should be able to see it in the pm channel.

I think I'll have to check that out But I will do it tomorrow when my headache will be passed (too much alcohol yesterday )
Reply With Quote
  #1026  
Old 07-29-2007, 07:51 AM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the usercp section where you can choose what font and color, it was working fine yesterday. I upgraded to 3.6.8, now it's gone. I reimported the product files without success in getting this back.

Is there a template edit to the usercp you're doing that I can just edit myself to get this working again?
Reply With Quote
  #1027  
Old 07-29-2007, 08:37 AM
gothicuser's Avatar
gothicuser gothicuser is offline
 
Join Date: Apr 2004
Location: Kernow, Nr. UK
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
You mean adv_index ? I am a little lost on the way you and strangger5 achieved it
Sorry, yes, that was the only difference from your instructions and appears to have done the trick.
Am experimenting further today as hard-coding the paths is really a non starter got to find a suitable alternative.
Reply With Quote
  #1028  
Old 07-29-2007, 08:51 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 Tulsa View Post
In the usercp section where you can choose what font and color, it was working fine yesterday. I upgraded to 3.6.8, now it's gone. I reimported the product files without success in getting this back.

Is there a template edit to the usercp you're doing that I can just edit myself to get this working again?
I think the upgrade might have removed the modifyoptions template modification which you had modified (following my readme instructions).

You should do it again

Quote:
Originally Posted by gothicuser View Post
Sorry, yes, that was the only difference from your instructions and appears to have done the trick.
Am experimenting further today as hard-coding the paths is really a non starter got to find a suitable alternative.
But I thought I did tell to add adv_index, that's strange.

Which path did you hardcode ?
Reply With Quote
  #1029  
Old 07-29-2007, 09:07 AM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this mod be switched on/off whenever?
Reply With Quote
  #1030  
Old 07-29-2007, 09:25 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 Megatr0n View Post
Can this mod be switched on/off whenever?
There is an option to activate or not the chatbox in the acp
Reply With Quote
  #1031  
Old 07-29-2007, 09:55 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post

There is something strange with your first line ? how adding $mgc_chatbox; would do something ??

Are you sure of that first part ?
Never mind editing the cmp_index.php file...

It was adding adv_index in the Display and position (Other pages list) box..

Your Readme.! html file said to add arcade ...

Quote:
Integration to vBadvanced CMPS
This integration works only if you activate the display on defined pages in a variable.

Here is how to make it work:

Go in the admincp, in the "Display and position" chatbox option page.
Activate the "Display on defined pages of the forum in a variable" option.
Then in the pages list, add : arcade and then validate.
Create a new vBadvanced template based module with the following parameters :
1. Title : MGC Chatbox
2. Template to include : mgc_chatbox
3. Styles : the style on which you want the module to be shown
4. Template content : $mgc_chatbox
Select no for the wrapper template option
Then validate
5. In the edit modules page, add the chatbox module to the homepage on the center wherever you want it to be positionned.
6. Enjoy
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:20 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.08569 seconds
  • Memory Usage 2,365KB
  • 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
  • (4)bbcode_code
  • (13)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
  • (6)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