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)
-   -   Sigma Chat integration for non-platinum users (https://vborg.vbsupport.ru/showthread.php?t=61238)

xlguy 02-05-2004 10:00 PM

Sigma Chat integration for non-platinum users
 
Introduction
This hack integrates your forum with the Sigma Chat software provided by Raidersoft. Unlike the other Sigma integration hack, this one will work for users who own the Professional (entry-level) license, rather than the more expensive Platinum license.

What does it do?
This hack means that only registered forum users will be able to access the chat room. Additionally, they will only be able to chat using the same username as they have on the forum. If someone who isn't registered (or logged in) tries to visit the chat room they will see the standard "No Permission" vBulletin screen.

Is it complicated to install?
No, it's simple. You don't need to edit any VB files, you simply upload one new file (chat.php) to your forum directory and add one new template via your Admin CP.

Support?
Yes, I will support this hack. PM me if you need any help.

Demo?
I've installed this on a colleagues server. You can see the chat integration in action (you will need to register) at at this site

I also used some code (which limits the username length to 15 characters) which was originally created by wot-Mike for his vB2.x chat hack - so all credit to him.

Hope it proves useful for you - please let me know if you use it :)

bluecat 02-06-2004 08:52 PM

This is the message I got when I tried it:

Applet Halted. This chat room is closed.

SVTBlackLight01 02-07-2004 06:04 AM

Any chance of integrating the header/footer and auto-resizing chat window like the VB2 hack?

Mephisteus 02-07-2004 12:00 PM

Quote:

Originally Posted by SVTBlackLight01
Any chance of integrating the header/footer and auto-resizing chat window like the VB2 hack?

Isn't this illegal? Since it's only supposed to be supported when you have platinum...

Itworx4me 02-08-2004 04:44 PM

There is a type O in the address that this hack uses. Change the addy to the correct one and everything is good.

Current chatroom template

PHP Code:

<html>
<
head>
<
title>Chat Room</title>
</
head>
<
body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000ff">
<
applet codebase="http://[B]client1.[/B]sigmachat.com/current/" code="Client.class" archive="scclient_en.zip" width=680 height=480 MAYSCRIPT>
   <
param name="room" value="XXXXX">
   <
param name="cabbase" value="scclient_en.cab">
   <
param name="USERNAME" value="$bbuserinfo[username]">
   <
param name="autologin" value="yes">
</
applet>
</
body>
</
html

Change to this:

PHP Code:

<html>
<
head>
<
title>Chat Room</title>
</
head>
<
body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000ff">
<
applet codebase="http://[B]client.sigmachat.com/current/[/B]" code="Client.class" archive="scclient_en.zip" width=680 height=480 MAYSCRIPT>
   <
param name="room" value="XXXXX">
   <
param name="cabbase" value="scclient_en.cab">
   <
param name="USERNAME" value="$bbuserinfo[username]">
   <
param name="autologin" value="yes">
</
applet>
</
body>
</
html

Should work after doing this correction.

Thanks,
Itworx4me

xlguy 02-08-2004 10:04 PM

Please check your Sigma Chat control panel for the correct code for the chat room. The code I used in the hack was the code provided by Sigma/Raider and is correct for my room. As for the header and footer - you can edit the chatroom template and add your header and footer manually. I will work on a more complicated version of this hack which resizes the applet if you like.

Preech 02-09-2004 11:25 PM

Quote:

Originally Posted by xlguy
Please check your Sigma Chat control panel for the correct code for the chat room. The code I used in the hack was the code provided by Sigma/Raider and is correct for my room. As for the header and footer - you can edit the chatroom template and add your header and footer manually. I will work on a more complicated version of this hack which resizes the applet if you like.

Appreciate this. I will work on it to make it resize according to my forum.

SVTBlackLight01 02-10-2004 12:42 AM

Ok , for anyone that's interested, I have modified the template to include the header and the footer. This isn't displaying the navbar however, so if anyone knows why feel free to jump in.

Preech 02-11-2004 01:53 PM

Quote:

Originally Posted by SVTBlackLight01
Ok , for anyone that's interested, I have modified the template to include the header and the footer. This isn't displaying the navbar however, so if anyone knows why feel free to jump in.

Just try adding the code from the navbar template into the template for the chat-room.
I'll try and let you know if it worked.

Itworx4me 02-11-2004 02:56 PM

To add the Navbar to the page do the following:

Open chat.php and find this code:

PHP Code:

require_once('./global.php'); 

Add this line just below:

PHP Code:

eval('$navbar = "' fetch_template('navbar') . '";'); 

Save file


The navbar should be displayed on your page now.

Hope this helps.

Thanks,
Itworx4me


All times are GMT. The time now is 12:39 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.01107 seconds
  • Memory Usage 1,756KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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