The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MGC Chatbox (with AJAX) Details »» | |||||||||||||||||||||||||
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 :
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 :
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
|
Comments |
#1822
|
||||
|
||||
cool - thanks - found the setting and enabled it
|
#1823
|
||||
|
||||
Quote:
I don't have the time to do it now but I could guide you through the steps if you have a bit of knowledge in php ? |
#1824
|
||||
|
||||
Hi,
Guiding me would be brilliant!! :up: Thanks again |
#1825
|
|||
|
|||
i have a question.
tell me plz how to set the writing settings? i want that my messages in the chatbox are allways blue and size4, but i have do set it again and again |
#1826
|
||||
|
||||
Basically what you have to do is edit the chatbox plugin attached to the global hook.
In this hook, you'll find a global condition to check if the chatbox is active ($vboptions[mgc_chatbox] or kinda, I don't have the code beyond the eyes so don't remember the exact one). Before the content in the condition, you have to add an sql query to count the messages since the last 24 hours (dynamic count): Code:
$getcount = $vbulletin->db->query_first("SELECT COUNT(postid) AS nb_posts FROM " . TABLE_PREFIX . "post WHERE userid='" . $vbulletin->userinfo['userid'] . "' AND dateline > '" . ( TIMENOW - 86400 ) . "'"); Then you have to put all the actual part of the condition in a second condition : Code:
if ($getcount['nb_posts'] > 10) { /* Put the actual content of the condition here */ } Of course this a homemade and hardcoded modification so you could also replace the 10 value by the one you want or even better, create a new option in the chatbox group (possible by activating the debug mode) to do just the same thing but giving easier access to modify it Feel free to ask for any help if you encounter problems ! And give me back the final code so that I could use it in the versions following the v2.0. Quote:
|
#1827
|
||||
|
||||
Thanks for the guidelines. I will get cracking on it.
I really hope this is something other members would also be able to use. Since I installed the chatbox I could physically see posts dropping. Hopefully this will encourage my members to post once again. Guess the mods will now just have to be wary of 1 liners but that is the least of the problems... Thanks again and if I have any questions I'll let you know. :up: |
#1828
|
||||
|
||||
Yeah, users always use the easiest ways to communicate which is not always the good one.
vBulletin software is used to build forum so the chatbox is only an addition which should not be used as much as the posting but users tends to do the contrary lol |
#1829
|
|||
|
|||
Yes, my help template was not up-to-date.... thanks
|
#1830
|
||||
|
||||
How can i do to delete these "<" ">" in the chat box?
Anybody could tell me please? Thanks for this great mod first of all, kind regards. |
#1831
|
|||
|
|||
i have an issue with this mod. today out of no where the chat box just disappeared. i have searched this thread and saw that others had this issue, but it looked to be fixed. so far i am the only one experiencing this issue. i even tried otehr browsers on my pc and it does not work, but it shows up when i use a different computer.
any ideas? edit to add: i logged out of my admin account and used a test account i created and it appears.... it has soething to do with my user account... ??? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|