PDA

View Full Version : Chat Modifications - MGC Chatbox with AJAX


VBDev
12-18-2007, 10:00 PM
https://vborg.vbsupport.ru/external/2007/12/10.png
If you enjoy my mod and want to be kept up to date >>> "Click install"

Description

This chatbox was once developped for vB3.6 and has been reported as working by its user so I post it back here !

See here : https://vborg.vbsupport.ru/showthread.php?t=148472

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 in the vB3.6 thread (https://vborg.vbsupport.ru/showpost.php?p=1257510&postcount=3 (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 :

vBAdvanced integration [TEMPORARLY] => See this for integration with this version https://vborg.vbsupport.ru/showthread.php?t=163628
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. They are intended for vB3.6 but applies also for vB3.7 as they have been followed as is by users.

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

None to provide soon, they will be available with the 2.0 version which is planned for the beginning of the year !

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 author !

Evolutions and improvements

I am not accepting new improvements request until the 2.0 version as it will come with some new good things.

Languages

Actually available :

French
English
Arabic [Translator : alessai]
German [Translator : captainslater]
Vietnamese [Translator : Anhyeu12000]
Turkish [Translator : neutralizer and bocek]
Spanish [Translator : obmob] [NOT UP TO DATE]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

lolo?
12-19-2007, 05:11 AM
salut vbdev
sur une instal de vb3.7 neuve ca ne fonctionne pas
Database error in vBulletin 3.7.0 Beta 2:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Administrators',
`description` = '',
`usertitle` = 'Administrator',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '180',
`passwordhistory` = '360',
`forumpermissions` = '8388607',
`genericpermissions` = '2113929151',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '7',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions2` = '1',
`genericoptions` = '55',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '237567',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '0',
`sigmaxchars` = '0',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '0',
`albumpermissions` = '3',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albumpicmaxsize` = '100000',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '31',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '255',
`trgpermissions` = '15',
`mgccustomusergroupperms` = '0',
`nbmsgshowchatbox` = '10'
WHERE usergroupid=6;

MySQL Error : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054
j'ai cette erreur lors de la mise a jour des droits des groupes :s

VBDev
12-19-2007, 05:16 AM
salut vbdev
sur une instal de vb3.7 neuve ca ne fonctionne pas

j'ai cette erreur lors de la mise a jour des droits des groupes :s

Je pense que tu n'as pas suivit les instructions, tu dois uploader les fichiers d'abord puis importer les deux produits (?? va changer dans la prochaine version pour ?viter les probl?mes, je repasserais ? 1 seul produit).

This is because you haven't followed instructions carefully, you have to upload files first and then import the two products (it will change in the next veresion to avoid those kind of problems, I will go back to one product only).

lolo?
12-19-2007, 05:18 AM
erff quel boulet j'avais import? qu'un seul produit ca fonctionne nickel :)

Thnaks with all product that works :p

Marco van Herwaarden
12-19-2007, 05:25 AM
Please post in english only.