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)

supadave 03-08-2010 03:45 AM

Valter, this product is not working with IE8. I have no issues with Fire Fox. What i have done;
Reverted all your templates.
Removed Product, and reinstalled most current .xml file.
Dissabled all mods (was getting the error before and after mod disableing) but chatbox.
Pruned through 50+ pages here to find the problem.

What error does;
does not allow type input in the message text field i.e. I cannot chat. Also the area where you type in the message txt is exploded, compared to Fire Fox, no problems with Fire Fox.

I noticed you said it works on IE8 on win 7 x64, what about IE8 32 bit (most users still run these older version) on Vista & XP?

Server info:
Apache server running php5x and mysql5x , new forum so forum size is small. Running VB4.0.1 about to update to latest patch fix. Side note: VB style is default, only color changes.

Webbstre 03-09-2010 06:04 AM

This is an excellent product, but I have one request: I would like to insert the chatbox as a forum block or cms widget. I haven't read through the 56 pages before this post, so it might have come up before, but is there a way to manage that?

eBola75 03-09-2010 08:24 AM

Hallo,

I have strange problem.

When you go to forum page. "Smilies list" are displayed inside chat. When I refresh everything is OK.


See picture


https://vborg.vbsupport.ru/

bigjosh359 03-09-2010 09:21 AM

Quote:

Originally Posted by eBola75 (Post 2000307)
Hallo,

I have strange problem.

When you go to forum page. "Smilies list" are displayed inside chat. When I refresh everything is OK.


See picture


https://vborg.vbsupport.ru/

I had this happen a couple times and mentioned it in a previous post, no answer but I havent had it happen since either.

eBola75 03-09-2010 09:57 AM

Quote:

Originally Posted by bigjosh359 (Post 2000326)
I had this happen a couple times and mentioned it in a previous post, no answer but I havent had it happen since either.

it happens only first time loading page. Than never again.

But clear browser cache,cookies.
Reload...

and again

nyunyu 03-09-2010 10:38 AM

Is there an option to ban users?

Ozymandyus 03-09-2010 01:14 PM

Quote:

Originally Posted by Webbstre (Post 2000266)
This is an excellent product, but I have one request: I would like to insert the chatbox as a forum block or cms widget. I haven't read through the 56 pages before this post, so it might have come up before, but is there a way to manage that?

Valter indicated a few pages back that he was finding it very difficult to make it work as a widget, due to Jelsoft changing the way the code worked, so he was not going to make a CMS widget a priority. Whether this means he will get it working eventually or not I don't know, but given that he seems a skilled coder, I would imagine that it will happen eventually.

I believe it's possible to do yourself by pasting all of Valter's chatbox code into a custom PHP widget. It would still require tweaking though. Hopefully we get an official version soon, I'm planning on donating at that point myself, as it's the last functionality I need to seamlessly integrate this into my board.

Webbstre 03-09-2010 10:46 PM

Quote:

Originally Posted by Ozymandyus (Post 2000429)
Valter indicated a few pages back that he was finding it very difficult to make it work as a widget, due to Jelsoft changing the way the code worked, so he was not going to make a CMS widget a priority. Whether this means he will get it working eventually or not I don't know, but given that he seems a skilled coder, I would imagine that it will happen eventually.

I believe it's possible to do yourself by pasting all of Valter's chatbox code into a custom PHP widget. It would still require tweaking though. Hopefully we get an official version soon, I'm planning on donating at that point myself, as it's the last functionality I need to seamlessly integrate this into my board.

Ok, it's not an essentially vital thing right now, I just thought I would ask.

Does anyone know how much of a load an active chatbox causes on their server?

mobe00 03-10-2010 06:34 AM

Quote:

Originally Posted by madotds (Post 1999337)
Ok the easiest way to do this is to go to the plugin we need to edit in this case
?VSa - ChatBox ? MN?
How? Admincp>>> Plugin and products>>>>Plugin manager Scroll down and find the VSa-Chatbox-MN plugin and next to that click edit.

Select everything in the php code box and copy it to a text editor of your choice ( I use notepad++ )

Once there you can use the find function and look for

Code:

$vbulletin->db->show_errors();
And add on the line above it (copy and paste)

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);


Then use the search function again to find

Code:

$vsacb_box_totalmessages>0
And on the line above that add (copy and paste) the next bit of code

Code:

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

Once you have done that you can copy the whole lot back from your text editor into the plugin phpcode box replacing the original code and click save.

You then need to find a good wav file. you can TRY HERE and upload it to your images/misc folder ( make sure and name it "chat.wav )

Hope this helps
Mark


i did all of this..but still no sound playing ???

kiwi1342 03-10-2010 08:14 AM

Hi,

I don't know if anyone asked this already, but it would be cool if (like an other chat posted in this forum but not as good as this one ;) ) there would be the possibility to create a link in chat when a new post is made.

what do you think?
thx


All times are GMT. The time now is 06:15 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
  • Page Generation 0.03650 seconds
  • Memory Usage 1,765KB
  • 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
  • (4)bbcode_code_printable
  • (5)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