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)

Inflikted 02-26-2010 01:34 AM

is it possible to add some sort of Post/New Reply notification like the other chatboxes availables?

cory_booth 02-26-2010 10:45 AM

Quote:

Originally Posted by Bouncer222 (Post 1991627)
THIS SHOULD BE ADDED TO FIRST OR SECOND POST

https://vborg.vbsupport.ru/showpost....postcount=5516

What is it?
Makes a bot in your VSA Chatbox create shouts when someone plays the Arcade and gets a score, it will then post it in the chatbox, Good way to attract people to the arcade!!

THANKS FOR THIS AND I AGREE....

woffie 02-26-2010 01:37 PM

The color selector does not work on the new version

Kaosvf 02-26-2010 02:59 PM

hi,
is there the antiflood? Then you could put it that would be perfect as a shoutbox?
I propose also to give the possibility to change the formatting of the written only to certain groups.
There is a bug: http://i45.tinypic.com/rh98pl.png
Thanks

gsmph 02-26-2010 04:23 PM

Quote:

Originally Posted by woffie (Post 1992000)
The color selector does not work on the new version

yup same here color selector not working.. i used opera,firefox,ie8, and safari all fail on color selector..

br
gsmph:)

Ozymandyus 02-26-2010 05:09 PM

For you fellows with color selector issues, you should really read back through the rest of the thread, these things have been brought up many times and addressed by Valter. The two big things are:
  • Revert all custom templates BEFORE you import the product
  • He's working on a way to remove the black as the default first color.

Have a little patience with the guy, he has a full time job like the rest of us too.

cory_booth 02-26-2010 06:41 PM

Add an alert sound to new chats....

OK folks, this is not for the faint of heart and I know there must be a much easier way to do this, but until something better comes along....

BEFORE YOU BEGIN.

You'll need a wav file and access to your database.

STEP 1: UPDATE USER TABLE
Add new column of type "INT"
Name Column = "countvsachats"

STEP 2: MODIFY PLUGINS - (VSa - ChatBox - MN)

Find the following function "ccbmessages"
Add above: $vbulletin->db->show_errors();
PHP Code:

$tvsacurrent $vbulletin->db->query_read("SELECT COUNT(ID) AS VSACURRENT FROM ".TABLE_PREFIX."vsa_chatbox AS vsa_chatbox");
                while (
$tvsacurrent $vbulletin->db->fetch_array($tvsacurrent))
                {
                
$vsacurrent $tvsacurrent[VSACURRENT];
                }
                
$tvsauser $vbulletin->db->query_read("SELECT countvsachats AS VSAUSER FROM ".TABLE_PREFIX."user WHERE userid = " $vbulletin->userinfo['userid'] ."");
                while (
$tvsauser $vbulletin->db->fetch_array($tvsauser))
                {
                
$vsauser $tvsauser[VSAUSER];
                }
                if (
$vsacurrent $vsauser)
                {
                
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "user SET countvsachats = ".$vsacurrent." WHERE userid = " $vbulletin->userinfo['userid'] . "");
                }
                if (
$vsacurrent $vsauser)
                {
                
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "user SET countvsachats = ".$vsacurrent." WHERE userid = " $vbulletin->userinfo['userid'] . "");
                }
                
$vsacb_box_totalmessages $vbulletin->db->num_rows($vsacb_get_msg_box); 


STEP 3: Scroll down and find .... if ($vsacb_box_totalmessages>0)
Add above (notice here I am loading a chat.wav from images\misc - you'll need to upload a wav and change accordingly):

PHP Code:

              if ($vsacurrent $vsauser)
                {
                echo (
'<div><table><tr><td><EMBED SRC="images\misc\chat.wav" HIDDEN="TRUE" AUTOSTART="TRUE"></EMBED></td></tr></div>');
                } 


I have yet to try with FireFox but the idea is simple. Have a coulm in the user tabe keep track of the current amount of chats. When the chatbox refreshes, run a quick query to count the number of chats. If the chats in the query are larger than the entry in the user table - update the user table to match and fire off a sound.



I hope that there will be a good response to this and Valter might provide a similar solution?

2Shea 02-27-2010 12:51 AM

I love this modification, I just have a few requests (sorry if they've already been asked):

Spam Protection
- Limit # of posts in a row by a member

Chat Text - If someone posts with a long name, the chat text gets moved over. Please make it so the persons text sticks next to their name.

I will be happy with using this mod forever if these issues are addressed. Thank you!

enoobz 02-27-2010 06:57 AM

Quote:

Originally Posted by Trek (Post 1991539)
Not true, it just doesn't work for me. I'm not saying it doesn't work for everyone, but this change, doesn't work for me specifically.

Quote:

Originally Posted by Michael Tsai (Post 1991613)
It should work for everyone.:D:D:D:D:D

Nope.. NOT working for me also. Logged in but still NOT working.

dianna 02-27-2010 01:17 PM

Love this mod just one question how can I remove the chatbox full from my navbar?


All times are GMT. The time now is 03:42 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.02598 seconds
  • Memory Usage 1,764KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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