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)

x626xblack 06-18-2010 12:19 PM

Works on vB 4.0.4.
Installed and running.

Samhayne-MMS 06-18-2010 03:30 PM

Love the mod, installed and 5 star!

The only thing that would make it better for me would be if there was some flood or spam limiting settings, so users could only post say 3 posts every 30 seconds (make those settings Admin configurable). If they post more than than the flood settings, it sends a message to them that only they see that tells them, "You have reached the flood maximum for messages per second. Please slow down how quickly you are posting, thanks!" Or something like that.

Cheers!

Samhayne-MMS 06-18-2010 03:42 PM

Quote:

Originally Posted by ngoulas (Post 2054483)
Hi to all

i have 2 questions

1. i installed the newest version of Vsa Chatbox and i cannot find how to change the User name Color. Can anyone help me with this?

2. when i enable time settings, i get a h:i A and a d-m instead of displaying time and date. Why?

Thanks

For user name color, it's the color set for that usergroup. for example on our forums for Administrators we have their names in green. In the Usergroup settings for that usergroup we have

Code:

<span style="font-weight: bold; color: green;"> </span>
for the section

Quote:

Username HTML Markup (Specify an opening and closing HTML tag with which to display the names of users in this group. This applies to names that appear on Logged-in Users, Who's Online, Users Browsing Forum, Users Browsing Thread, Posts, Member List etc.)
Hope that helps!

Iron Star 06-22-2010 12:17 PM

Quote:

Originally Posted by Oracle simsim (Post 2049575)
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


It doesn't work for me... the table is well modified, but chatbox stays open... Another table to modify?

bailz66 06-22-2010 11:46 PM

I am having almost the same issue as above. Does anyone know a possible solution to this.

There is obviously some other things that happen when starting and stopping the chatbox

(The issue im talking about is that the database gets updated but the page doesnt)

Someone mentioned something about a cache

CybaGirl 06-23-2010 05:16 AM

Installed and seems to work well.

But is there any way of changing the background colour of the chat box without editing the background colour of the style like this?

Style Manager > "Your Style" > StyleVars > blockrow_background

Thanks.

bailz66 06-23-2010 05:34 AM

Regarding the Database start / stop using cron sessions

You need to update the datastore database as well

"vsachatbox_enable_product";i:0;s:22: needs to become "vsachatbox_enable_product";i:1;s:22:

In the Options title

fr?nk 06-23-2010 07:24 AM

Hi,
nice chat addon, but my member complain that everybody is able to read the messages and it is more a shout box than a chat. I am sure there is a setting to disable the archive isn't it?
Would be happy to get some help / advice with this. Thanks! Fränk

Mr.David 06-23-2010 07:30 AM

1 Attachment(s)
Translation Italy By Mr.David

bailz66 06-24-2010 05:10 AM

PHP Code:

$query "select * from vb_datastore where title = 'options'";
        
$result mysql_query($query);
        
$row mysql_fetch_object($result);
        
        
$data $row->data;
        
$data str_replace("vsachatbox_enable_product\";i:0;s:22:""vsachatbox_enable_product\";i:1;s:22:"$data);
        
$data addslashes($data);
        
$query "update vb_datastore set data = '$data' where title = 'options'";
        
$result mysql_query($query); 

The above should enable the live chat for you

My new issue is getting more than 50 posts to display on one page in the archive. Anyone have a solution for that?

Thanks


All times are GMT. The time now is 09:10 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.05256 seconds
  • Memory Usage 1,757KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (3)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