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
  #42  
Old 08-20-2004, 04:25 AM
akoj akoj is offline
 
Join Date: Jul 2004
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried setting up a conditional to stop users in groups 4, 1, 3, 8, 10 from using the chat. But I get an unexpected parse error. Can someone please tell me what I did wrong? Thanks!!

Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', 'chat');
require_once('./global.php');
$globaltemplates = array('chatroom');

  if ($bbuserinfo[userid]=='') {
	print_no_permission();
  }($userinfo[' 4, 1, 3, 8, 10 '] == $usergroupid) {
	print_no_permission();
  } else {
     $username1=ereg_replace("[^A-Za-z0-9]", "_", $bbuserinfo['username']); 
     $myLength = strlen( $username1 ); 
     if ($myLength > 15) { 
      $username = substr( $username1, 0, 15 ); 
     } else { 
      $username = $username1; 
    }
   eval('print_output("' . fetch_template('chatroom') . '");');
  }
?>
Reply With Quote
  #43  
Old 08-20-2004, 06:21 PM
aberg aberg is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack works great,but there is one little bug in it.
When users chat the forum don't count this users anymore.
So on the forumhome there are as example 10 users online browsing the forum, and there are in the chat 5 users online.
The board is counting than only 10 members online and not 15.
Anyone a idea how this bug can fixed??
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 04:45 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.05357 seconds
  • Memory Usage 2,211KB
  • Queries Executed 17 (?)
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
  • (1)bbcode_code
  • (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
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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