vBulletin Mods

The Official vBulletin Modifications Site
http://www.vbulletin.org/forum/showthread.php?t=235271

ti07shadow 03 Jun 2010 17:42

I love how this question is answered

How do you change the default black in the chat to white, and also how do you prevent the color from changing in the text field!

exel 04 Jun 2010 07:08

Is this backwards compatible?

Michlerish 04 Jun 2010 10:27

Super easy to install and I especially love the multitude of preferences I can set in Admin CP.

Thank you!

Oracle simsim 04 Jun 2010 22:40

I want to setup a cronjob that close the chatbox automatically in (let's say 9 pm) then open it again in (11 pm) utilizing the enable/disable feature in the wonderful chatbox product

How can do that

Can Valter add this option the chatbox product ? I mean add an option that enable us to enter the opening time and close time ?



there are good reasons to do that

1. The chatbox increase server load. So it can be enabled when the server load in minimum
2. The chatbox make members leave posing in forums and just chatting
3. when there is specific period time for enabling chatbox. it will make members know when they should go the chatbox page (in case it is enabled only in full mode)

Thank you

Michlerish 05 Jun 2010 01:42

Yeah, problem #2 was huge for me... today was the first day with chatbox enabled and we had hardly any posts in the forum! I have disabled it for now.

I was thinking of maybe enabling only during certain hours of the day/week, or setting a time limit between chat messages (eg. 30 minutes)

Videx 05 Jun 2010 02:06

I haven't really seen that. Oh, some useless 'chatter' now goes to the shoutbox, but if people want to discuss an issue they still use the forums.

Of course, one big difference perhaps is that I have mine set up as a shoutbox, not a chatbox. It idles them out after 5 minutes. And I would never consider adding any sort of chime or notice that a post has been made - those are for chatboxes, and not for shared servers.

Michlerish 05 Jun 2010 02:14

I think perhaps it's because my board is local and almost everyone knows each other... majority of the forum content is "chatty" type posts anyway.

If you idle them out after 5 minutes... how does that affect the user? Can they still "chat" whenever they want?

Michlerish 05 Jun 2010 03:41

Permissions need to be fixed for chatbox. I am deciding between two options:

I have a usergroup of users with 1000 posts or more, I would like to have the chatbox only accessible/viewable for them (and administrators/moderators, of course).

OR

Only Administrators or Moderators can post messages, but everyone can view (to use as a note to users kind of system).

As it stands, if a user belongs to "Regular Users" and is a secondary user of "Moderators", they cannot post messages.

edit: Actually, it's pretty messed up if you try to play around with which usergroupids can view, view but not post or are banned. I can't even figure out how it's working. I currently have ALL usergroupids banned, except for Administrator usergroup, and I can't even see the box as admin.

wuju 05 Jun 2010 11:18

Hallo ! ! !

:up: Is an very nice Addon

My Client needs an Sound for new incoming Messages. Tell me where is the Line in your Code, whitch controll for new Messages ?

Thanks
Wuju

ti07shadow 06 Jun 2010 16:48

Quote:

I want to setup a cronjob that close the chatbox automatically in (let's say 9 pm) then open it again in (11 pm) utilizing the enable/disable feature in the wonderful chatbox product

How can do that

Can Valter add this option the chatbox product ? I mean add an option that enable us to enter the opening time and close time ?



there are good reasons to do that

1. The chatbox increase server load. So it can be enabled when the server load in minimum
2. The chatbox make members leave posing in forums and just chatting
3. when there is specific period time for enabling chatbox. it will make members know when they should go the chatbox page (in case it is enabled only in full mode)

Thank you
Look on google on how to make a cron job that can run a php file then make a php script that runs and changes the on off status of the item, of course the php file must not be accessible client side, so keep it out of the www folder and have the cron job run that file.

in the php file have a if function like

if (date("h")=="11"){
mysql_query("UPDATE vsa_chatbox SET vsa_chatbox_status='1' WHERE id='1'");
}else{
mysql_query("UPDATE vsa_chatbox SET vsa_chatbox_status='0' WHERE id='1'");
}



of course that script there wont work without the correct table and column names along with the correct id for the where and the fact you need to connect to the database :p

Oracle simsim 06 Jun 2010 22:05

Quote:

Originally Posted by ti07shadow (Post 2049400)
Look on google on how to make a cron job that can run a php file then make a php script that runs and changes the on off status of the item, of course the php file must not be accessible client side, so keep it out of the www folder and have the cron job run that file.

in the php file have a if function like

if (date("h")=="11"){
mysql_query("UPDATE vsa_chatbox SET vsa_chatbox_status='1' WHERE id='1'");
}else{
mysql_query("UPDATE vsa_chatbox SET vsa_chatbox_status='0' WHERE id='1'");
}



of course that script there wont work without the correct table and column names along with the correct id for the where and the fact you need to connect to the database :p

WOW, you are wonderful

I made a mistake in my last post. I meant that the chatbox should OPEN in (9 pm) then CLOSE in (11 pm)

I know how to setup any cronjop but I was in need to the php code itself

now regarding the vsa chatbox product itself and in the light of your code I can write the code like this:

<?php
if (date("h")=="9")
{
mysql_query("UPDATE setting SET value='1' WHERE varname='vsachatbox_enable_product'");
}
else
{
mysql_query("UPDATE setting SET value='0' WHERE varname='vsachatbox_enable_product'");
}

?>

then the only what I need to do is to set the cronjob to run once at 9:00 pm then run it again once at 11:00 pm

but I have questions about that:

1. As far as I know, the settings of vbullein are saved in cache for quick read without need to go to the database each time to read the settings

2. if the chatbox is running, will this stop it immediatly ? or it will just prevent new comers from entering the chat. ? (VSA Chatbox read the setting in each refresh or only when it loads first time ?)

3. How do I connect to the database properly ? OMG

in any way. I will try it on my test server.

Thank you ti07shadow

raagaswaram 07 Jun 2010 09:13

how to make it work on mobile style?.

Ozymandyus 07 Jun 2010 14:16

Quote:

Originally Posted by raagaswaram (Post 2049792)
how to make it work on mobile style?.

I wouldn't recommend running it in a mobile style...it gets pretty tiny and bogs down most platforms.

nealohara 07 Jun 2010 17:33

Can this be integrated as a widget into VBCMS?

keweedsmo 07 Jun 2010 22:05

Ever since I installed this mod there has been a HUGE number of guests getting stuck as online. They are always "Viewing ChatBox Archive". How can I fix this, or disable the archive completely? Some of them are bots, but their user agent isn't always a bot. It seems really strange to me. Anyone else having this issue?


All times are GMT. The time now is 06:57.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2001 - , vbulletin.org. All rights reserved.