vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Official SigmaChat Integration (https://vborg.vbsupport.ru/showthread.php?t=93833)

moonclamp 10-14-2005 02:03 AM

Quote:

Originally Posted by moonclamp
my "who is chatting page" is stretched beyond 1024 pixels for some reason. I've looked at the template but can't quite figure it

OK ... fixed it myself ... anyone else experiencing page stretch might want to try this as an alternative template to "sigmachat_chatting"

HTML Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $vbphrase[sigmachat_title]</title>
$headinclude
<body>
$header
$navbar
<table class="tborder" border="0" width="100%" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" >
<tr>
<td colspan=3 class="tcat"><div class="smallfont">
                <span style="float:right">
                        <strong><a href="chat_online.php?$session[session_url]">Reload this page</a></strong>
                </span>
                <strong>$vbphrase[sigmachat_who]</strong><br>
                $chatcount $vbphrase[sigmachat_users_chatting]
                </div></td>
</tr>
<tr>
                <td class="thead" width="100%">$vbphrase[username]</td>
                <td class="thead" align=middle><center>$vbphrase[sigmachat_subroom]</center></td>
                <td class="thead" align=right nowrap>$vbphrase[sigmachat_privileges]</td><br/><br/>
</tr>
$SIGMACHAT_CHATTING_TABLE
</table>
<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>
$spacer_close
$spacer_open
<br />
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%">&nbsp;</td>
<td>$forumjump</td>
</tr>
</table>
$footer
</body>
</html>


moonclamp 10-14-2005 02:15 AM

Does anyone know how much bandwidth the "who's in chat" cron uses?

Grim77 10-14-2005 03:58 PM

Very, very little :) Once a minute your computer sends a single web page request to the SigmaChat server for the list, the size of the response would be less than a kilobyte.

Quote:

Originally Posted by moonclamp
Does anyone know how much bandwidth the "who's in chat" cron uses?


moonclamp 10-14-2005 08:01 PM

Quote:

Originally Posted by Grim77
Very, very little :) Once a minute your computer sends a single web page request to the SigmaChat server for the list, the size of the response would be less than a kilobyte.

60 per hour x 24 hours x 30 days x 1024 bytes = 44236800

About 40 - 45 megs a month then I guess :)

mutus123 10-17-2005 11:38 AM

Figure it can't hurt to ask... is there anything that can be done about losing dynamic nav bar menus behind the chat screen? (when viewed as a forum page) see attached.

Grim77 10-17-2005 04:14 PM

Quote:

Originally Posted by mutus123
Figure it can't hurt to ask... is there anything that can be done about losing dynamic nav bar menus behind the chat screen? (when viewed as a forum page) see attached.

Good question. As far as I know, there is no solution that will work correctly on all systems. Most browsers ignore Z order for Java applets. A hack or two has been published to work around this, but everyone that I've seen is usually limited to a single browser. Google it, or download the 3.0.x integration script as the documentation contains a FAQ regarding this.

moonclamp 10-18-2005 09:24 AM

I'm having a problem with the cronjob ... I think:

I was getting a whole load of "core.xxxxx" files appearing in my forum root (xxxx being a seemingly random number)

These files were roughly 5 megs in size and appearing a couple of times every hour. It seems that they are coredumps generated by the server when a script failed to execute correctly.

Anyway, I removed the 'who's in chat cronjob' and haven't had one since

I've posted in other threads about it:

http://www.vbulletin.com/forum/showthread.php?p=990599

https://vborg.vbsupport.ru/showthread.php?p=798184

this is the email I got from my webhost:
Quote:

when a script causes a system error it outputs core files. These are created by the system, but they are caused by a script. I would recommend you make sure your board is up to date and also check your database has no errors. You can remove the core files without any issues!
I emailed them back, told them I was up to date and asked them to supress the errors ... they replied again with:
Quote:

core files are caused by scripts that need extras and they write core files to assit them its normally when they request a lot of services and processes

or that the script colapses due to mad setup or modifcation, but be aware that we have some 3,000 peolpe on the servers using varing versions of VB with no problems

Like I said ... no errors since I removed the scheduled task

Grim77 10-18-2005 04:23 PM

Quote:

I was getting a whole load of "core.xxxxx" files appearing in my forum root (xxxx being a seemingly random number)
hrm? Did you install the script using a standard CRON daemon or something? The script provided is meant for use with VB 3.5's built in psuedo-cron system.

2fast4ya 10-18-2005 06:14 PM

in the installation readme, it states under the "Required to install" section that i need something called Platinum or Enterprise. Is this something i need to purchase or download before installing this? please advise as i am about to install

moonclamp 10-18-2005 07:24 PM

Quote:

Originally Posted by Grim77
hrm? Did you install the script using a standard CRON daemon or something? The script provided is meant for use with VB 3.5's built in psuedo-cron system.

No, I installed it through the VB 'scheduled tasks' manager as instructed.

I filled up a gigabyte of web space with the things within a couple of days. I didn't even realise what was happening until I got a warning email from my webhost telling me I was running out of space ...

As soon as I removed the task the coredumps stopped ...

I've now modified the install so that users now only see who is online in chat when they click the link


All times are GMT. The time now is 01:44 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.01139 seconds
  • Memory Usage 1,760KB
  • 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_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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