vBulletin Modifications

Major Additions - MGC chatbox (with ajax)

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > vBulletin Database System > vBulletin 3.5 / 3.6 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
dhoutbox
Posted By: Hay
Submit A Bug | View All Bugs

Advertisement
  
Supported
[vB 3.6.0] Major Additions - MGC chatbox (with ajax) (667)
Released: 05-30-2007, 06:58 PM
Modification Information:
Author: MtoR
Last Online: 08-07-2007
Hack Version: 1.4 Installer Included: 1 Additional queries added to database: 1
New Templates: 10 Template Edits: 1 File Edits: 0
New Files: 11 New Phrases: 0 Installation Time (In Minutes): 15

vB 3.6.0 Compatible!
Code Hack
If you enjoy my mod and want to be kept up to date >>> "Click install"

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 the below post.

Modifications from previous version are the following :
  • 1.4 :
    • Fixed bugs :
      • Scrolling not working properly when oldest shouts first is selected.
      • Problem of page bumped to the top when clicking on smilies.
      • Inactive mode problem when chatbox is collapsed.
      • Js error when clicking on wol channel button (experienced only by Adam21).
      • When team command is not active, clicking on the wol button and then back to the normal button make a second normal button appears.
      • When a user disables the chatbox from its ucp, he can't activate it again.
      • Problem when having a smilieys smileys like : : D and \ : D /..
      • When delete cross is active in the chatbox there is an alignment problem.
      • In archives, when viewing team shouts only and deleting a shout, the page is back to the view all shouts page.
    • New features :
      • Random smilies - Thanks to stangger5 from vb.org.
      • Channel name shown on channel buttons' mouseover.
      • Option to align or not the username in the chatbox.
      • Full page mode link directly in the chatbox.
      • Don't count at all team shouts in top X shouters (actually they were counted but only when user viewing the stats has access to the team command).
      • Full page mode as popup or in the same browser window
      • Option to choose the number of shouts in the full page mode independently from the one in the normal mode.
      • Nex commmand : /pm or /mp which allow users to send private shouts (enabled through acp option + usergroup permissions).
      • For the user which have access to this command, a little pen is shown near others username in the chatbox to easier private shouts sending - Thansk to Teepiak from vbulletin-ressources.com for his inspiration on that part
    • Removed features :
      • Aucune
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

For those who had installed earlier v1.4 version:
  1. Upload files again
  2. Import mgc_chatbox product
  3. Enjoy
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 fifth 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.


Reported bugs of v1.4:
  1. Chatbox is displayed 2 times on full page if display on defined page under the navbar option is set.
[TBT] : To Be Tested
[RT] : Reproduced in Test
[KO] : Refused (ie not reproduced)
[OK] : Corrected in the next version

TODO LIST for v2.0:
  1. Smilies in a popup like in new post or new thread (More ... link)
  2. Smilies button possibility to open a popup only insteed of collapsable line
  3. Popup smiley, custom height and widht popup
  4. Maximum number of chats per day in usergroup permissions (possibility to activate/deactivate it as it would add a query)
  5. Try to find a fix to the whosonline problem as it does not affect all user's forums
  6. Option to deactivate random smilies
  7. Correct alt tags for the chatbox's buttons
  8. Warn user on new pm
  9. Correct the readme file for the integration with vbadvanced (adv_index instead of arcade)
  10. Problem of loading in the error and warning messages
  11. Option to disable mp sending on ban.
  12. Add /ban, /ignore and /pm uid <userid> commands
  13. A surprise
Estimated release 1.5 date : September (no exact date as I'll be on holiday during two weeks in august)

Languages

Actually available :
  1. French
  2. English
  3. Arabic [Translator : alessai]
  4. German [Translator : captainslater]
To be available [Translation in progress] :
  1. Vietnamese [Translator : J1755EC6A244]
  2. Spanish [Translator : carlosacgj]
  3. Afrikaans [Translator : powerbook]
  4. Turkish [Translator : neutralizer]
  5. Portuguese [Translator : killerkraft]
  6. Greek [Translator : tonton from vbulletin-ressources.com]
  7. Bosnian [Translator : Benjaminbih]
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.

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 * MtoR?
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




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 06-12-2007, 04:13 AM   #31
Junior Member
Join Date: Feb 2006
chadthe1 is on a distinguished road

Default

Anyway to have it show up on homepage.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 06-12-2007, 08:36 AM   #32
vB Newbie
Join Date: Jun 2007
firefoxcub is on a distinguished road

Default

Great, i will try it




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-13-2007, 01:58 AM   #33
vB Newbie
Join Date: Feb 2007
davidkral is on a distinguished road

Default

help me .. "
I have install , and set permission ( admin , member , mod )
admin usergroups is can views ( ok ) but member usergoups can not views ??




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-15-2007, 07:27 AM   #34
Coder
Retardinjo's Avatar
Join Date: Dec 2006
Real Name: Cvetkov
Location: Macedonia
Retardinjo is on a distinguished road

Default

it doesn't have cyrilic support - ajax problems
can i fix it




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-16-2007, 08:35 AM   #35
Coder
Join Date: May 2007
MtoR is on a distinguished road

Default

Quote:
Originally Posted by Retardinjo View Post
it doesn't have cyrilic support - ajax problems
can i fix it
Do you know how to fix this ? or are you asking me too ?

@davidkral: if you have set all permissions for all usergroup then it should work, are you sure of what you did ?

@dellbhoy67: yes this is a known issue, I'll correct it




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-16-2007, 08:36 AM   #36
Coder
Join Date: May 2007
MtoR is on a distinguished road

Default

Quote:
Originally Posted by chadthe1 View Post
Anyway to have it show up on homepage.
What do you mean ?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-16-2007, 08:08 PM   #37
Junior Member
Join Date: Aug 2005
Xplorer4x4 is on a distinguished road

Default

Quote:
Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Administrators',
`description` = '',
`usertitle` = 'Administrator',
`opentag` = '<span style=\"color: red;\"\"font-weight: bold;\">',
`closetag` = '</span>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`nbmsgshowchatbox` = '0',
`mgccustomusergroupperms` = '255',
`vbppermissions` = '65529',
`vbp_discountrate` = '0.00000',
`vbp_paycheckamount` = '0.00000',
`vbp_secondarycost` = '0.00000',
`vbp_primarycost` = '0.00000',
`forumpermissions` = '470810623',
`genericpermissions` = '1073741759',
`attachlimit` = '0',
`pmquota` = '100',
`pmpermissions` = '7',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericoptions` = '55',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '200000',
`signaturepermissions` = '237567',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '100000000',
`sigmaxrawchars` = '0',
`sigmaxchars` = '0',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '0'
WHERE usergroupid=6;

MySQL Error : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054
Date : Sunday, June 17th 2007 @ 08:00:59 AM
Script : /admincp/usergroup.php?do=update
Referrer : /admincp/usergroup.php?do=edit&usergroupid=6
IP Address : 7
Username : Xplorer4x4
Classname : vB_Database_MySQLi
How can i fix this? I get this problem when trying to edit the permission for admins. Oh and I am using V1.2 on a clean install.

EDIT: I Imported the bitfield product as well and it fixed it.

Last edited by Xplorer4x4; 06-16-2007 at 08:35 PM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-17-2007, 11:07 AM   #38
Coder
Join Date: May 2007
MtoR is on a distinguished road

Default

Yup you have to upload both as stated in the readme file




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-18-2007, 05:35 AM   #39
Junior Member
Join Date: Aug 2005
Xplorer4x4 is on a distinguished road

Default

Quote:
Originally Posted by MtoR View Post
Yup you have to upload both as stated in the readme file
Quote:
If you had already installed the version 1.0 or 1.1 of the hack, don't make this step.
Otherwise: Import the product product-mgc_bitfield_custom.xml
Yeah the wording is a bit confusing. I was thinking of it the other way around. However I need to know how to uninstall this. I tried to delete both products twice. I uninstalled them in opposite order each time and still get a db error.
Quote:
Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Administrators',
`description` = '',
`usertitle` = 'Administrator',
`opentag` = '<span style=\"color: Red; font-weight: bold;\">',
`closetag` = '</span>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`forumpermissions` = '1048575',
`genericpermissions` = '1073741759',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '7',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericoptions` = '55',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '150',
`avatarmaxheight` = '150',
`avatarmaxsize` = '20000',
`signaturepermissions` = '245759',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '2000',
`sigmaxrawchars` = '0',
`sigmaxchars` = '0',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '0',
`vbppermissions` = '65529',
`vbp_discountrate` = '0.00000',
`vbp_paycheckamount` = '0.00000',
`vbp_secondarycost` = '0.00000',
`vbp_primarycost` = '0.00000',
`nbmsgshowchatbox` = '',
`mgccustomusergroupperms` = '0'
WHERE usergroupid=6;

MySQL Error : Unknown column 'nbmsgshowchatbox' in 'field list'
Error Number : 1054
Date : Monday, June 18th 2007 @ 08:31:55 AM
Script : /usergroup.php?do=update
Referrer : /usergroup.php?do=edit&usergroupid=6
IP Address : 75.16.253.182
Username :
Classname : vb_database




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-18-2007, 08:09 AM   #40
vB Newbie
Join Date: Feb 2007
Guns4hire is on a distinguished road

Default

great work on this m8




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
chatbox lite help !! cyberman General vBulletin Support 16 10-07-2007 05:43 PM
Disable AJAX on vBShout 2.1 Unforgiv3N General vBulletin Support 0 04-12-2007 10:07 AM
Integrating AJAX Technology Into Your Modifications Zero Tolerance vBulletin Modification Tutorials 3 08-28-2006 11:30 AM
My host don't support AJAX, why?? takiye General vBulletin Support 16 08-23-2006 04:13 AM


All times are GMT -3. The time now is 12:10 AM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)