![]() |
Quote:
|
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 ? |
Hi,
Guiding me would be brilliant!! :up: Thanks again Quote:
|
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 :( |
Quote:
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) { 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:
|
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... :D:D Thanks again and if I have any questions I'll let you know. :up: |
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 |
Quote:
|
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. https://vborg.vbsupport.ru/ |
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... ??? |
All times are GMT. The time now is 10:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|