vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Chat Modifications - VSa - ChatBox (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=235271)

ti07shadow 06-03-2010 04:42 PM

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 06-04-2010 06:08 AM

Is this backwards compatible?

Michlerish 06-04-2010 09:27 AM

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

Thank you!

Oracle simsim 06-04-2010 09:40 PM

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 06-05-2010 12:42 AM

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 06-05-2010 01:06 AM

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 06-05-2010 01:14 AM

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 06-05-2010 02:41 AM

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 06-05-2010 10:18 AM

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-06-2010 03:48 PM

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


All times are GMT. The time now is 12:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03270 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete