Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Sigma Chat integration for non-platinum users Details »»
Sigma Chat integration for non-platinum users
Version: 1.00, by xlguy xlguy is offline
Developer Last Online: Jun 2015 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-05-2004 Last Update: Never Installs: 13
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-06-2004, 08:52 PM
bluecat's Avatar
bluecat bluecat is offline
 
Join Date: Apr 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the message I got when I tried it:

Applet Halted. This chat room is closed.
Reply With Quote
  #3  
Old 02-07-2004, 06:04 AM
SVTBlackLight01's Avatar
SVTBlackLight01 SVTBlackLight01 is offline
 
Join Date: Jan 2003
Location: Texas
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance of integrating the header/footer and auto-resizing chat window like the VB2 hack?
Reply With Quote
  #4  
Old 02-07-2004, 12:00 PM
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Location: The Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #5  
Old 02-08-2004, 04:44 PM
Itworx4me's Avatar
Itworx4me Itworx4me is offline
 
Join Date: Feb 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 02-08-2004, 10:04 PM
xlguy's Avatar
xlguy xlguy is offline
 
Join Date: Feb 2004
Location: UK
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 02-09-2004, 11:25 PM
Preech Preech is offline
 
Join Date: Aug 2002
Location: Fort Campbell
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 02-10-2004, 12:42 AM
SVTBlackLight01's Avatar
SVTBlackLight01 SVTBlackLight01 is offline
 
Join Date: Jan 2003
Location: Texas
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 02-11-2004, 01:53 PM
Preech Preech is offline
 
Join Date: Aug 2002
Location: Fort Campbell
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 02-11-2004, 02:56 PM
Itworx4me's Avatar
Itworx4me Itworx4me is offline
 
Join Date: Feb 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07372 seconds
  • Memory Usage 2,311KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete