vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   FlashChat : Integration upgrades for vBulletin. (https://vborg.vbsupport.ru/showthread.php?t=74613)

Paul M 01-17-2005 10:00 PM

FlashChat : Integration upgrades for vBulletin.
 
This modification is no longer available or supported.

This originally made changes to add new facilities to your FlachChat & vb set-up. However, all the features added are now part of standard Flashchat (4.6.0 and above). This now just supplies the latest vb 3.0 CMS file, which depending on circumstances, may either be the same as, or newer than, the one supplied with Flashchat itself.

To install the latest 3.0 CMS file - unzip it, edit the usergroups access and options as required, and then copy the file to the ../chat/inc/cmses/ folder on your server.


Optionally, you can also edit inc\langs\en.php.

Finding ;
Code:

'banned' => "You've been banned",
and replacing with ;
Code:

'banned' => "You do not have permission to enter the chat",


* Version 1.82 was the last version of the old hack (for Flashchat 4.2.1 upwards).

History of the 3.0 CMS file

* v1.13 - updated vbulletin30CMS.php file for vb 3.0 and Flashchat 4.5.2+ this contains a fix for a cookie security issue.
* v1.14 - Added ability to login direct to a room using ../flashchat.php?username=_int_&room=n
* v1.15 - Alterations to caching code.
* v1.16 - Minor fix to Get User for membergroupids.
* v1.17 - Security (anti-hacking) code added (as supplied by Darren).
* v1.18 - Usergroup settings moved to top of CMS file.
* v1.19 - Fixed error message when accessing chat admin area.
* v1.20 - Default role changed.
* v1.21 - Minor bug fix to Avatar detection, login code changes, tidy up.


wrongful 01-19-2005 01:41 AM

Works great, thanks for the modifications.

kewl1uk 01-27-2005 06:34 PM

Thanks. Clicks install.

trainer 02-04-2005 05:52 PM

how do you allow specific usergroups access? i don't see the option

Paul M 02-04-2005 06:04 PM

Quote:

Originally Posted by trainer
how do you allow specific usergroups access? i don't see the option

Taken from the instructions ;

Code:

// Edit the cases below to set permissions for different vBulletin usergroups //

function getRoles($usergroupid) {
        switch($usergroupid) {
                case 5:
                case 6:
                        return ROLE_ADMIN; // Chat Staff //
                case 2:
                case 7:
                case 8:
                        return ROLE_USER; // Allowed Users //
                default:
                        return ROLE_NOBODY; // Banned Users (everyone else) //
        }
}


Eagle Creek 02-28-2005 10:54 PM

Stupid question but where can I find the original flash chat? I find modifications, add-ons and hacks everwhere but not the chat itself..

Paul M 02-28-2005 11:47 PM

www.tufat.com - second in the list. :)

Eagle Creek 02-28-2005 11:48 PM

Quote:

Originally Posted by Paul M
www.tufat.com - second in the list. :)

I'll take a look. Thank you!


Edit: I get 404?

SuperGLS 03-04-2005 10:33 PM

When setting different permissions, is the case number equivalent to the chat room number?

EDIT- And, can I make a room for all mods? Not just the Admin (only me)?

Thanks in advance.

Paul M 03-05-2005 10:47 AM

Quote:

Originally Posted by SuperGLS
When setting different permissions, is the case number equivalent to the chat room number?

EDIT- And, can I make a room for all mods? Not just the Admin (only me)?

Thanks in advance.

The case number is the vBulletin usergroup number, not the room - i.e. the permissions in flashchat/vB integration are usergroup based, not room based.

The Permanant Private rooms this hack adds are visible to anyone defined as flashchat staff - in the example I posted above this is usergroups 6 & 5 (Administrators and Supermods). The Moderators group is id 7.


All times are GMT. The time now is 05:51 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.02303 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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