vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   SigmaChat Complete Integration & Authentication (https://vborg.vbsupport.ru/showthread.php?t=63107)

ChrisBaktis 01-08-2005 11:47 AM

I dont know what is wrong but that template keeps clearing out for me, going blank again. Thus removing the box.

mavherzog 01-09-2005 04:45 AM

This integration hack is GREAT! Love it.

Using the free version of SigmaChat right now...but with the integration with my board, I'm thinking I'm about to spend $75. :)

dwh 01-10-2005 10:19 AM

If you want to speed this up a bit, make sure to cache the templates.

Add
PHP Code:

'sigmachat_wc_list'
'sigmachat_wc_embedne'


to
PHP Code:

$globaltemplates = array( 

in index.php

and
in chat.php add

PHP Code:

$globaltemplates = array(
'sigmachat_embed'
); 

Before

PHP Code:

       require_once("./global.php"); 


dwh 01-10-2005 11:45 AM

I've just gone through a good chunk of this code. I'm amazed who's online works at all for anyone. Phrases and Templates were not meant to be updated this way through cron IMHO and the whole approach is very inefficient. The number of queries in the cron file is downright wasteful. It would have been much better, especially with buggy code, to create a totally separate table and update the fields there.

vonedaddy 01-16-2005 11:41 PM

I finally got the Who's Online box showing now but it never shows anyone in chat. Also when I click on Who's Chatting I see this error:
PHP Code:

Warningfile(http://client1.sigmachat.com/scwho.pl?plain=1&id=56771&roompw=********************): failed to open stream: Permission denied in /home/u1/vonaone/html/forums/chat_online.php on line 20

WarningInvalid argument supplied for foreach() in /home/u1/vonaone/html/forums/chat_online.php on line 23 

Any ideas?? Maybe this has something to do with why its not working?

vonedaddy 01-17-2005 12:20 AM

I also figured something else out. Everytime someone logs into the chat room it clears the whole sigmachat_wc_embedne template (I added the template so it would show the box all the time).

Any help would be greatly appreciated.

dwh 01-17-2005 12:28 AM

In my opinion, this entire implementation of sigmachat integration should be chucked entirely. I believe it is dangerous to implement. Maybe I'm being overly cautious, but updating the templates and phrases directly on a cron schedule is just not a good idea. As I said before, especially on buggy code, they should have created a table dedicated to whos chatting and update that. So if there's an error or problem, it won't mess up something as integral to vb as the template AND phrase system.

It works if you fix the bugs in their code, but the approach is wrong. I'm amazed that the same people who wrote such a good chat did such a bad job of writing the integration program.

Bounce 01-21-2005 04:07 PM

Quote:

Originally Posted by vonedaddy
I also figured something else out. Everytime someone logs into the chat room it clears the whole sigmachat_wc_embedne template (I added the template so it would show the box all the time).

Any help would be greatly appreciated.


Same problem here

Wots the point in havin a box that disane appear till someone's in chat

isn't the whole point in having a "who's chatting" box is to get people to go into chat?

keeps clearing

otherwise works great :)

vonedaddy 01-29-2005 12:59 AM

Quote:

Originally Posted by hIBEES
Same problem here

Wots the point in havin a box that disane appear till someone's in chat

isn't the whole point in having a "who's chatting" box is to get people to go into chat?

keeps clearing

otherwise works great :)

Anyone have any ideas??

kangta 01-31-2005 09:51 AM

I've created an addon that will generate a random guest username if you're having problems with "Unregistered" users bumping each other or being denied access when you're using vB authentication. Enjoy ;)


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