Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
MGC Chatbox (with AJAX) Details »
MGC Chatbox (with AJAX)
Mod Version: 1.5, by VBDev (Coder) VBDev is offline
Developer Last Online: Feb 2021 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.9 Rating: (82 votes - 4.71 average) Installs: 763
Released: 30 May 2007 Last Update: 20 Sep 2007 Downloads: 11536
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

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 (http://www.vbulletin.org/forum/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 : http://www.vbulletin.org/forum/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 : http://www.vbulletin.org/forum/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

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Chat Modifications MGC Chatbox with AJAX VBDev Modification Graveyard 4 19 Dec 2007 06:25

  #736  
Old 20 Jul 2007, 03:52
vnairp11 vnairp11 is offline
 
Join Date: Jul 2007
how can i replace the text that says MGC Chatbox [Archives]

right above the chat box?

Also i like the idea of the inilne smileys how can i increase the # of inline smileys displayed

I am using version 1.2 by the way.
Reply With Quote
  #737  
Old 20 Jul 2007, 06:16
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
Originally Posted by Dr. Bantham View Post
I am sorry, but I can not find directions simple enough for me to implement the Chatbox with a global variable. Can someone explain what files I modify and what code I place in order to have it appear at the top of the footer of every page, or at least at the top of the vbAdvanced footer? I am sure this must be simple, but it is escaping me.
As I told, the global thing might not work with vbadvanced due to path problemes (this is why I told that I'll be releasing a vbadvanced addon for that purpose).

To show it on particular pages, here is what you should do :
  1. Open the php file of the page where you want to show the chatbox
  2. Search for the THIS_SCRIPT define line and note the value which is assigned to THIS_SCRIPT
  3. Put it in the admincp in the box made for that purpose for the chatbox show on all pages thing
  4. Activate the option show on defined pages in a global var
  5. The open the templates of the page you want it to be shown and then put $mgc_chatbox wherever you want it to be on the page.
I know this process is maybe hard but this is the price for placing the chatbox wherever you want

Originally Posted by vnairp11 View Post
how can i replace the text that says MGC Chatbox [Archives]

right above the chat box?

Also i like the idea of the inilne smileys how can i increase the # of inline smileys displayed

I am using version 1.2 by the way.
Both can be changed through options in the acp.
Reply With Quote
  #738  
Old 20 Jul 2007, 09:28
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
Has anyone tried using the global var thing with ibproarcade ?

I ask to know if this solved everyone's problem about that.
Reply With Quote
  #739  
Old 20 Jul 2007, 10:20
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Originally Posted by VBDev View Post
Has anyone tried using the global var thing with ibproarcade ?

I ask to know if this solved everyone's problem about that.
I tried it wit ibproarcade but it jus shows up as 'loading'
Attached Images
File Type: jpg shout.JPG (26.9 KB, 22 views)
__________________
Reply With Quote
  #740  
Old 20 Jul 2007, 10:36
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Originally Posted by VBDev View Post
As I told, the global thing might not work with vbadvanced due to path problemes (this is why I told that I'll be releasing a vbadvanced addon for that purpose).

To show it on particular pages, here is what you should do :
  1. Open the php file of the page where you want to show the chatbox
  2. Search for the THIS_SCRIPT define line and note the value which is assigned to THIS_SCRIPT
  3. Put it in the admincp in the box made for that purpose for the chatbox show on all pages thing
  4. Activate the option show on defined pages in a global var
  5. The open the templates of the page you want it to be shown and then put $mgc_chatbox wherever you want it to be on the page.
I know this process is maybe hard but this is the price for placing the chatbox wherever you want
Thank you for the step by step instructions. It worked on the first try. It also works with vbAdvanced, which is great in that I now have a full width ChatBox in lieu of being limited to the center column width, which is how I had my other ShoutBox mod set up. I have my forums in the root directory of my site. Perhaps that is why it works with VBA for me. I have made the full switch to MGC ChatBox now. Thanks again!
__________________
THOMAS LIGOTTI ONLINE
A Shining Brainless Beacon Of Elegant Mutations And Cunning Annihilations
Reply With Quote
  #741  
Old 20 Jul 2007, 11:18
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
Originally Posted by Gemma View Post
I tried it wit ibproarcade but it jus shows up as 'loading'
I don't have ibproarcade installed, think I'll have to install it

ibproarcade files are in the forum root ?

Originally Posted by Dr. Bantham View Post
Thank you for the step by step instructions. It worked on the first try. It also works with vbAdvanced, which is great in that I now have a full width ChatBox in lieu of being limited to the center column width, which is how I had my other ShoutBox mod set up. I have my forums in the root directory of my site. Perhaps that is why it works with VBA for me. I have made the full switch to MGC ChatBox now. Thanks again!
Yes it must be the reason why it perfectly works with your vba
Reply With Quote
  #742  
Old 20 Jul 2007, 12:00
baghdad4ever baghdad4ever is offline
 
Join Date: May 2007
Real name: husam
can you add popup windows with private chat between members??

with usergroup permissions
Reply With Quote
  #743  
Old 20 Jul 2007, 12:06
Inferno Dragon's Avatar
Inferno Dragon Inferno Dragon is offline
 
Join Date: Sep 2005
Real name: Bilal
I updated to v1.3, but my Smilies and bbcode button links are not working, whenever I click on them they just scoll the page..though when I click on the help button it works fine i-e opens a small popup window!

I revert the templates too but still smilies and bbcode buttons are notworking..rest is fine!

any fix available for this?
__________________
Regards,
Bilal
Reply With Quote
  #744  
Old 20 Jul 2007, 12:08
wizardan wizardan is offline
 
Join Date: Jan 2006
Has anyone found a workaround to the smilie selection?

That remains my only issue.

Thanks for the best shout box ever, VB Dev
Reply With Quote
  #745  
Old 20 Jul 2007, 13:23
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
Originally Posted by baghdad4ever View Post
can you add popup windows with private chat between members??

with usergroup permissions
No I won't add such thing, this would become too much of a chat.

Anyway I have started adding a /pm command which allow users to send private shouts (with a private channel where all shouts made with /pm will be shown).

Originally Posted by Inferno Dragon View Post
I updated to v1.3, but my Smilies and bbcode button links are not working, whenever I click on them they just scoll the page..though when I click on the help button it works fine i-e opens a small popup window!

I revert the templates too but still smilies and bbcode buttons are notworking..rest is fine!

any fix available for this?
You have updated the js files and reverted the templates ?

Does IE fires a javascript error ?

Originally Posted by wizardan View Post
Has anyone found a workaround to the smilie selection?

That remains my only issue.

Thanks for the best shout box ever, VB Dev
I do And I have corrected it in the next version, I don't have the chatbox code there but this is in the mgc_chatbox.js file (clientscript directory), you have to add a return false at the end of the ajouter_smilie function (not sure of the name of the function without the code beyond my eyes
Reply With Quote
  #746  
Old 20 Jul 2007, 13:43
wizardan wizardan is offline
 
Join Date: Jan 2006
Originally Posted by VBDev View Post



I do And I have corrected it in the next version, I don't have the chatbox code there but this is in the mgc_chatbox.js file (clientscript directory), you have to add a return false at the end of the ajouter_smilie function (not sure of the name of the function without the code beyond my eyes
I'll have a look. Good thing I speak french as well
Reply With Quote
  #747  
Old 20 Jul 2007, 13:52
wizardan wizardan is offline
 
Join Date: Jan 2006
Originally Posted by VBDev View Post



...at the end of the ajouter_smilie function (not sure of the name of the function without the code beyond my eyes
I found this beginning on line 219:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Is that it?
Reply With Quote
  #748  
Old 20 Jul 2007, 14:17
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
Yes it's that function, you have to add return false; before the }
Reply With Quote
  #749  
Old 20 Jul 2007, 17:10
baghdad4ever baghdad4ever is offline
 
Join Date: May 2007
Real name: husam
thanks alot

how can i change the username appearance in the box

from

<baghdad4ever>

to

baghdad4ever :


thanks
Reply With Quote
  #750  
Old 20 Jul 2007, 17:51
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
Open the mgc_chatbox_bit template, search for the different occurence of :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace by :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 07:03.

Layout Options | Width: Wide Color: