Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
FlashChat : Integration upgrades for vBulletin. Details »»
FlashChat : Integration upgrades for vBulletin.
Version: 1.21, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.x Rating:
Released: 01-17-2005 Last Update: 12-07-2006 Installs: 83
Template Edits
Re-useable Code Code Changes Additional Files Translations  
No support by the author.

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.

Show Your Support

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

Comments
  #42  
Old 05-07-2005, 09:06 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jdsinclair
Paul,

This has been up on my live forums for about a week and still working like a charm.

Thanks again,

jd
Thanks for letting me know.
Reply With Quote
  #43  
Old 05-10-2005, 02:06 PM
vulture vulture is offline
 
Join Date: Mar 2005
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does the hack only work for primary usergroups?
Reply With Quote
  #44  
Old 05-10-2005, 03:59 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vulture
Does the hack only work for primary usergroups?
Yes.
Reply With Quote
  #45  
Old 05-10-2005, 04:04 PM
vulture vulture is offline
 
Join Date: Mar 2005
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Yes.

Next question: how can you make it work for secondary groups? I have a promotion set where once a user gets to a certain amount of posts, they get access to chat. I can't have them changing their primary usergroup as that will mess up other hacks. Any ideas?
Reply With Quote
  #46  
Old 05-10-2005, 04:46 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vulture
Next question: how can you make it work for secondary groups? I have a promotion set where once a user gets to a certain amount of posts, they get access to chat. I can't have them changing their primary usergroup as that will mess up other hacks. Any ideas?
In theory it would be possible to make it take note of secondary groups - however it does pose a problem - if one group is not allowed access, and another is, and another is a mod group, what takes priority. Normally a non allowed group would take priority over all others, but you are asking for the opposite (mod/admin would always take priority over user).
Reply With Quote
  #47  
Old 05-10-2005, 07:26 PM
vulture vulture is offline
 
Join Date: Mar 2005
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
In theory it would be possible to make it take note of secondary groups - however it does pose a problem - if one group is not allowed access, and another is, and another is a mod group, what takes priority. Normally a non allowed group would take priority over all others, but you are asking for the opposite (mod/admin would always take priority over user).
Well, I've hacked the code so it takes care of secondary groups. I created a new role (ROLE_BANNED) so if a mod/admin/user has n secondary groups of which any are classed as banned, then access is denied. Access rights are granted in the following precedence: ROLE_BANNED, ROLE_ADMIN, ROLE_USER, ROLE_NOBODY

Its working fine atm.
Reply With Quote
  #48  
Old 05-10-2005, 10:14 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice.
Reply With Quote
  #49  
Old 05-12-2005, 12:16 AM
speedway's Avatar
speedway speedway is offline
 
Join Date: Nov 2001
Location: Sydney, Australia
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vulture
Well, I've hacked the code so it takes care of secondary groups. I created a new role (ROLE_BANNED) so if a mod/admin/user has n secondary groups of which any are classed as banned, then access is denied. Access rights are granted in the following precedence: ROLE_BANNED, ROLE_ADMIN, ROLE_USER, ROLE_NOBODY

Its working fine atm.
Would you mind sharing that mod? Sounds like something I need...

Cheers
Bruce
Reply With Quote
  #50  
Old 05-12-2005, 04:30 PM
vulture vulture is offline
 
Join Date: Mar 2005
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its got some of Paul's code in there (userinrole function), so if paul doesn't mind me posting the changes here ...
Reply With Quote
  #51  
Old 05-12-2005, 06:13 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vulture
Its got some of Paul's code in there (userinrole function), so if paul doesn't mind me posting the changes here ...
Fine by me.
Reply With Quote
Reply


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 12:34 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.04590 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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