Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Flashchat: Integration for vB 3.7 Details »»
Flashchat: Integration for vB 3.7
Version: 3.7.009, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.7.x Rating:
Released: 01-02-2008 Last Update: 10-24-2008 Installs: 601
Translations  
No support by the author.

This modification is no longer available or supported.

Flashchat integration with vBulletin 3.7

Note: Flashchat Version 5.0.8 onwards now has the option for vbulletin 3.7 integration.

Note:
Standard Flashchat includes vBulletin integration as part of the Tufat supplied files. However, the standard integration does not include Direct Usergroup Integration or other extra's like the WOL Display & Flashchat on a vBulletin page. This Modification adds those features


Standard vB 3.7 integration features

* Authorised members are automatically logged in.
* Automatic login works even if a member has not ticked "remember me".
* All non authorised members are locked out (this and the above are based on usergroup membership).
* If enabled, Flashchat updates the users session location (displayed in various vBulletin online location displays such as WOL).
* Real ip detection when a proxy server is used (only if the proxy server passes on the details).
* Permanant, Private Rooms are loaded by Admins and Moderators (allows for Staff Rooms).

Extra's added by this modification

* Direct login to a room.
* The WOL will correctly display Flashchat as the location (not 'Unknown Location')
* Flashchat can be displayed embedded inside a 'standard' vBulletin Page (i.e. not full screen).
* Direct Usergroup Integration - a section is added to each usergroup in the ACP Usergroup Manager to set the Flashchat permissions for that group.
* The plugin will try to automatically add a link to Flashchat in your Quick Links or Navbar - this feature can be disabled if you wish.
* The automatic link can have a prefix path defined - useful if you use something like CMPS.
* You can define a usergroup to login as Flashchats "Spy" mode. (Version 3.7.002 onwards)


More notes:

* This integration is for Flashchat versions 4.7.x or 5.0.x (seperate downloads).
* The automatic link feature may fail if you have customised templates (it uses template hooks).
* For Flashchat inside a vBulletin page you need to link to .../misc.php?do=flashchat
* This modification does not add any links to Flashchat Administration in the ACP.
* You can set all members to login direct to particular room via the ACP.
* You can also add a room parameter to the url - i.e. .../misc.php?do=flashchat&room=3
* Spys can login into the chat but are not listed in the room - they cannot chat, just watch.
* 3.7.004 onwards has extra code to cope with VBs CSRF protection, which interferes with profile linking.
* 3.7.006 onwards is for Flashchat 5.0.x - The previous version for Flashchat 4 (3.7.005) will continue to be available for the moment.

The CMS file assumes that you are installing Flashchat in your forum root folder - this is the same folder as your usercp.php file and includes folder. Installation will fail if you do not do this.

Support: Please check the instructions, and make sure you have uploaded any files to the correct location - the vast majority of problems reported are due to an error made in editing or uploading files. If you are still stuck and want me to take a look then feel free to PM me your site address, an admin user, and ftp access details, without these I cannot help you. I will look when I have time.

Flashchat 4 : If you have upgraded from 3.6 to 3.7 make sure you have edited the CMS entry in the Flashchat config.php file.


Finally, I am not Tufat.com or Flashchat Support - if you have questions about Flashchat, their forums are here.


To use the this upgraded integration simply download and unzip the file, then follow the instructions in the text file. Once installed, the Flashchat userlevel options for each usergroup will appear in the ACP usergroup edit screens - editing of the CMS file will no longer be required.



History:

v3.7.001 : First release for vb 3.7.
v3.7.002 : Option for Flashchat spy mode added.
v3.7.003 : Fix for 404 page not found error in certain situations.
v3.7.004 : Code added to allow profile views blocked by VB's CSRF protection.
v3.7.005 : CSRF Code changed.

v3.7.006 : Modified for Flashchat 5.
v3.7.007 : Removed 3.6 CMS file, Updated install code.
v3.7.008 : Fix bug in new install code - was using WIC option.
v3.7.009 : CMS file updated to check a users infraction groups.

Show Your Support

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

Comments
  #132  
Old 05-06-2008, 06:40 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

I cannot comment on the ACP integration as its not mine.

You should really upgrade the integration as any future changes will not be applied to the 3.6 version.
Reply With Quote
  #133  
Old 05-07-2008, 08:04 PM
snake-boy snake-boy is offline
 
Join Date: Jul 2004
Location: Bangkok
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The documentation says nothing about upgrading. I want to upgrade from 3.7.004 to 3.7.005.

Do I just import the product .xml file again (allowing overwrite obviously), or do I need to re-upload all the files again also?
Reply With Quote
  #134  
Old 05-08-2008, 07:18 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Re-upload the files as well.
Reply With Quote
  #135  
Old 05-08-2008, 10:00 AM
ukdalai ukdalai is offline
 
Join Date: Oct 2005
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi paul, since upgrading to 3.7 i have a little problem.

when you try to view a users profile you get the error:
Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.


ive done the 3.7 update from this thread thinking it may fix it, but it did not.

Any thoughts

Craig
Reply With Quote
  #136  
Old 05-08-2008, 04:25 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

Are you sure you have the latest version fully installed ?
Reply With Quote
  #137  
Old 05-08-2008, 04:53 PM
ukdalai ukdalai is offline
 
Join Date: Oct 2005
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just uploaded again, still the same thing
btw flashchat version '4.7.12'
Craig
Reply With Quote
  #138  
Old 05-08-2008, 06: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

As the first post says ;

Quote:
Support: Please check the instructions, and make sure you have uploaded any files to the correct location - the vast majority of problems reported are due to an error made in editing or uploading files. If you are still stuck and want me to take a look then feel free to PM me your site address, an admin user, and ftp access details, without these I cannot help you. I will look when I have time
Reply With Quote
  #139  
Old 05-09-2008, 12:18 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul, I think there is a major bug in permission calculation:

PHP Code:
if(intval($rex['fcpermissions']))
{
    
$bit 1;
    foreach(
$permlist as $permission)
    {
        if (
$rex['fcpermissions'] & $bit$GLOBALS['vbulletin'][$permission][] = $group;
        
$bit *= 2;
    }
}
else
{
        exit(
'vBulletin 3.7 : Integration Error 03 : No permissions set for usergroup '.$group.'.');

This causes any user who is a member of several usergroups to not being able to use the chat - unless all groups do have permissions > 0.

This is inconsistent behaviour, as all other usergroup permissions in vBulletin are additive, eg. if I have a permission in any of my membergroups I do have the permission, no matter if I do hve it in all of my membergroups or not.
Reply With Quote
  #140  
Old 05-09-2008, 02:45 PM
iheartvb iheartvb is offline
 
Join Date: May 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for making this available!
Reply With Quote
  #141  
Old 05-09-2008, 04:41 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 Andreas View Post
Paul, I think there is a major bug in permission calculation:

PHP Code:
if(intval($rex['fcpermissions']))
{
    
$bit 1;
    foreach(
$permlist as $permission)
    {
        if (
$rex['fcpermissions'] & $bit$GLOBALS['vbulletin'][$permission][] = $group;
        
$bit *= 2;
    }
}
else
{
        exit(
'vBulletin 3.7 : Integration Error 03 : No permissions set for usergroup '.$group.'.');

This causes any user who is a member of several usergroups to not being able to use the chat - unless all groups do have permissions > 0.

This is inconsistent behaviour, as all other usergroup permissions in vBulletin are additive, eg. if I have a permission in any of my membergroups I do have the permission, no matter if I do hve it in all of my membergroups or not.

Sorry but I dont see any bug here - you must have set at least one permission for a usergroup (noaccess, user, mod, admin or banned). The default value is 1 (user). fcpermissions should never have the value of zero, something is broken if it does.
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 08:43 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.04339 seconds
  • Memory Usage 2,310KB
  • 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_php
  • (2)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
  • (2)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