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

  #166  
Old 03 Jun 2007, 19:11
itdevil's Avatar
itdevil itdevil is offline
 
Join Date: Oct 2005
Location: Switzerland [CH]
Real name: Tahir Meer
Hi, there is seems to be problem with the with Uninstall process. After uninstalling the hack it giving me DB error when try to update groups.


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

How can i Fix it ?
Reply With Quote
  #167  
Old 03 Jun 2007, 19:23
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
I think you haven't followed the uninstalling steps rightly

You should have removed the files before removing the products, especially the files in includes/xml concerning the chatbox as they contains bitfields which are generated upon install and uninstall process.

The regeneration upon uninstall is here to remove the bitfield concerning the chatbox but before files must have been removed.

So to correct this, you must remove the xml files concenrnig the chatbox and then rebuild the bitfields by hand (activation of the debug mode and the in the options menu the rebuild bitfields link shall be there )
Reply With Quote
  #168  
Old 03 Jun 2007, 19:45
bashy bashy is offline
 
Join Date: Nov 2005
Hi VBDev

The only bit of code i can find in there with regards to a window is this

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

problem is, the popup aint changing size, as you can see i made it quite big with no change?
It wernt at the top either, it was a little way down!

Also, this hack actually ppears to add 3 queries even without the stats enabled,

Hack active: 35 queries and server load of 4.64
Hack disabled: 32 queries and server load of 0.84

Killing my server if i may say so... Anyway of improving this please?
__________________
Bashy

Bashys Place ~ Bashys Hosting

Last edited by bashy; 03 Jun 2007 at 20:11.
Reply With Quote
  #169  
Old 03 Jun 2007, 20:27
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
Originally Posted by bashy View Post
Hi VBDev

The only bit of code i can find in there with regards to a window is this

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

problem is, the popup aint changing size, as you can see i made it quite big with no change?
It wernt at the top either, it was a little way down!

Also, this hack actually ppears to add 3 queries even without the stats enabled,

Hack active: 35 queries and server load of 4.64
Hack disabled: 32 queries and server load of 0.84

Killing my server if i may say so... Anyway of improving this please?
In the template mgc_chatbox, you should find this bit of code:


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

This is where you can change the size not as you mentionned above

For the query part, how did you measure the server load and the queries ?

For the queries, the chatbox actually uses 2 queries on the forumhome page, one to retrieve the smilies and one to retrieve the custom bbcode. The one for the bbcode can be removed (see a previous post in the thread, about bbcodecache ).

The other query might be for the refresh if you saw it by another way than the debug mode of vbulletin it might have appeared.

I think more information on the way you did it might be useful.

For the smiliey part, it could be removed in the next version by activating the smilie in a popup instead of on the page itself (queries would be run only in case of click on the button to show the page )
Reply With Quote
  #170  
Old 03 Jun 2007, 21:56
bashy bashy is offline
 
Join Date: Nov 2005
Yep thats the one lol, didnt see you mention the template, i only noticed ya mention the file int he clientscript folder lol me is blind

I have added 2 images for the server load as well, i also hace the refresh set to 30 seconds...(default setting)
Page loading jumps about up 3 seconds

Willl look foward to the update
Attached Images
File Type: jpg enabled.jpg (10.3 KB, 34 views)
File Type: jpg disabled.jpg (9.7 KB, 26 views)
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #171  
Old 03 Jun 2007, 22:03
Sofia Sofia is offline
 
Join Date: Oct 2006
Real name: Sofia
Originally Posted by bashy View Post
Also, this hack actually ppears to add 3 queries even without the stats enabled,

Hack active: 35 queries and server load of 4.64
Hack disabled: 32 queries and server load of 0.84

Killing my server if i may say so... Anyway of improving this please?
On my forum, memory usage is less than 1 kb and the Chatbox add only 2 queries.

4,64 -> 0,84 = 3,80. What is it ? Kb ? It's rather big. Strange.


Edit : Ohh ok, no Kb but seconds
Reply With Quote
  #172  
Old 03 Jun 2007, 22:07
bashy bashy is offline
 
Join Date: Nov 2005
Originally Posted by Sofia View Post
On my forum, memory usage is less than 1 kb and the Chatbox add only 2 queries.

4,64 -> 0,84 = 3,80. What is it ? Kb ? It's rather big. Strange.
I aint got a clue about the kb side of it, i only break things lol

I did the edit to the global.php as explained in the post below and now my queries have
gone from 35 to 64 pmsl.... i am gonna undo that edit

Page generated in 0.86726 seconds with 64 queries

http://www.vbulletin.org/forum/showp...8&postcount=79
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #173  
Old 03 Jun 2007, 22:18
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
There is an error on the code bit, its ( I correct the previou post) :


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

The 3 seconds seems enormous to me, I haven't experienced such added delays. What are the numberes between the []?
Reply With Quote
  #174  
Old 04 Jun 2007, 11:36
Sofia Sofia is offline
 
Join Date: Oct 2006
Real name: Sofia
Originally Posted by VBDev View Post
There is an error on the code bit, its ( I correct the previou post) :


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

The 3 seconds seems enormous to me, I haven't experienced such added delays. What are the numberes between the []?
Yes, it's enormous. When the hack is enabled on my forum, it's only ~0.2 seconds more i think.
Reply With Quote
  #175  
Old 04 Jun 2007, 15:54
bashy bashy is offline
 
Join Date: Nov 2005
There must be something else conflicting with the hack as well then
I have vbshout 2.1 installed but that is only for the staff and dont get used much.

Tis a puzzling one this, I would like a box for the members but its not looking good atm!!
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #176  
Old 04 Jun 2007, 16:03
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
yeah by far this is the best one I used so far dont even touch my server load. how many users are using it at once bashy? also what refresh rate do you have? maybe its something with the 2 shout boxes installed why not remove that one and just use this cause then you can use the team channel.

here is my server load

GZIP ON (level 1) | 0.02 : 0.04 : 0.01 | Uncached Templates: None
Reply With Quote
  #177  
Old 04 Jun 2007, 16:16
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
Originally Posted by bashy View Post
There must be something else conflicting with the hack as well then
I have vbshout 2.1 installed but that is only for the staff and dont get used much.

Tis a puzzling one this, I would like a box for the members but its not looking good atm!!
We used to have vbshout 2.1 and my chatbox on vbulletin-ressources when we were using the first release (v1.0) as the double channel principle was not introduced. And we didn't experienced any load problem.

I didn't understand your second phrasen could you explain it please ? I think you're using current language words I am not used to as a french guy
Reply With Quote
  #178  
Old 04 Jun 2007, 16:39
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
he has vbshout for his staff and the second part hes saying that its getting him confused he wants a shoutbox for his members but right now its not looking to good I guess cause of his server loads. that is why I said he should remove vbshout and just install this one and use the team channel for the staff and the regular channel members only see.
Reply With Quote
  #179  
Old 04 Jun 2007, 16:51
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
Originally Posted by DementedMindz View Post
he has vbshout for his staff and the second part hes saying that its getting him confused he wants a shoutbox for his members but right now its not looking to good I guess cause of his server loads. that is why I said he should remove vbshout and just install this one and use the team channel for the staff and the regular channel members only see.
Hum I see !

Try to deactivate the vbshout and just see how much server load you have with only the mgc chatbox active bahsy to see.
Reply With Quote
  #180  
Old 04 Jun 2007, 17:24
bashy bashy is offline
 
Join Date: Nov 2005
Yeah i will try that and see how it pans out,
when it was enabled there was actually no one using it at all!!
__________________
Bashy

Bashys Place ~ Bashys Hosting
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 01:03.

Layout Options | Width: Wide Color: