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 - Ideal Chat Lite (facebook style bottom chat/chatroom bar) v1.3.0 (https://vborg.vbsupport.ru/showthread.php?t=267506)

Smile :-) 08-08-2011 02:41 PM

i don't like how this mod show the time & date of the messages.
so i change it to show it like my "Log Date Format" option in ACP.

if you want to do so too just edit ideal_chat_update_stream.php file and search for:
PHP Code:

$templater->register('time_sent'vbdate('M j, g:i:s a',$message['timestamp'])); 

replace with:
PHP Code:

$templater->register('time_sent'vbdate($vbulletin->options['logdateformat'],$message['timestamp'])); 

please add it to your next version ;)

kingMOB 08-08-2011 11:54 PM

Very nice mod =)

Only problems are the latin characters not showing properly and the fact that if I enable it to all users the server is taken down due to hundreds of stream connections (mysql) and an apache full of "Sending Reply" connections =(

montda 08-09-2011 01:59 AM

this mod effect some other mod as 8WR Media Library and PhotoPlog which is disable very important navigation links :(

I though the new version would solve it but...Q_Q

I'd appreciated any help to solve this.

Ideal Web Tech 08-09-2011 02:32 AM

Quote:

Originally Posted by kingMOB (Post 2231107)
Very nice mod =)

Only problems are the latin characters not showing properly and the fact that if I enable it to all users the server is taken down due to hundreds of stream connections (mysql) and an apache full of "Sending Reply" connections =(

Apache should be able to handle over 1k active connections without much trouble on even moderate server hardware. Mysql will hold more connections open currently (1 per user active in the chat), but with some tuning the extra connections shouldn't be a big deal. We are looking into options to try and see about avoiding having to maintain a mysql connection open for each stream but thats a bit tricky and has all kinds of other complications we are looking into solving. Ideally we can come up with a fix for this without stressing the filesystem, and without requiring memcache.

The character issue for now we can't do a whole lot about it right the second, but we will look into options as we have time after the next major update.

danhaga 08-09-2011 12:31 PM

Just installed the latest version and I am still having the same issues.

-When I click on a friend online and send a message it doesn't show up for myself or them unless I refresh the page. Does not show up real time.

-Chatroom does the same thing.

-Getting lots of Error: Reload messages

I am also now getting DB errors on my email:
Database error in vBulletin :
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
/data/13/1/81/81/1244407/user/1326992/htdocs/portal/includes/class_core.php on line 314


MySQL Error :
Error Number :
Request Date : Tuesday, August 9th 2011 @ 09:28:38 AM
Error Date : Tuesday, August 9th 2011 @ 09:28:38 AM
Script : xxxx/ideal_chat_update_stream.php
Referrer : xxxx/forum.php
IP Address :xxxxx
Username :
Classname : vB_Database
MySQL Version :

And just an FYI. Problems are the same in FF, IE and Chrome.

basilrath 08-09-2011 01:31 PM

I get exactly the same errors all the time ........... had to uninstall

kingMOB 08-09-2011 11:37 PM

Quote:

Originally Posted by Ideal Web Tech (Post 2231171)
Apache should be able to handle over 1k active connections without much trouble on even moderate server hardware. Mysql will hold more connections open currently (1 per user active in the chat), but with some tuning the extra connections shouldn't be a big deal. We are looking into options to try and see about avoiding having to maintain a mysql connection open for each stream but thats a bit tricky and has all kinds of other complications we are looking into solving. Ideally we can come up with a fix for this without stressing the filesystem, and without requiring memcache.

The character issue for now we can't do a whole lot about it right the second, but we will look into options as we have time after the next major update.

Don't know what can be changed here, there is more than 2000 users online, mysql connections goes up 16x and apache requests 7x when the plugin is active to everybody, which kills the server: an octocore with more then 12gb can not handle it. Is there anything that I can experience here to solve this? This is really a good plugin that I would like to share with our users.

Ideal Web Tech 08-10-2011 04:35 AM

Quote:

Originally Posted by kingMOB (Post 2231564)
Don't know what can be changed here, there is more than 2000 users online, mysql connections goes up 16x and apache requests 7x when the plugin is active to everybody, which kills the server: an octocore with more then 12gb can not handle it. Is there anything that I can experience here to solve this? This is really a good plugin that I would like to share with our users.

Tuning of mysql and apache should help considerable, as yes the script does create more connection overhead for both apache and mysql than typically they are configured to handle when you start talking that many users. The memcache stream Tim is working on should avoid most the extra mysql load, but it won't be ready for a bit still as its quite complex to make sure it works properly. In fact the memcache stream should drop the overall resource requirements besides apache connections considerable. The only thing we could really look into doing to lessen the apache connection count would be a server side script designed to feed the JavaScript in place of relying on apache.

ngocol 08-10-2011 09:29 AM

i got 500 internal server after i setup for my register member ..yes it took resource on my server .but in my opinion..its a very good mod..

Ideal Web Tech 08-11-2011 05:41 PM

We might see about pushing out a bug fix release tonight or tomorrow, while we continue to work on the next major release. We have fixed several issues already on our current dev build that should increase the stability of the system for most of the people who were having issues with the chat messages not showing up.


All times are GMT. The time now is 01:30 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.01449 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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