vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Chat Modifications - Flashchat: Integration for vB 3.7 (https://vborg.vbsupport.ru/showthread.php?t=166834)

Paul M 05-06-2008 06:40 PM

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.

snake-boy 05-07-2008 08:04 PM

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?

Paul M 05-08-2008 07:18 AM

Re-upload the files as well.

ukdalai 05-08-2008 10:00 AM

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

Paul M 05-08-2008 04:25 PM

Are you sure you have the latest version fully installed ?

ukdalai 05-08-2008 04:53 PM

just uploaded again, still the same thing
btw flashchat version '4.7.12'
Craig

Paul M 05-08-2008 06:06 PM

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

Andreas 05-09-2008 12:18 PM

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.

iheartvb 05-09-2008 02:45 PM

thanks for making this available!

Paul M 05-09-2008 04:41 PM

Quote:

Originally Posted by Andreas (Post 1513703)
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.


All times are GMT. The time now is 09:34 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.01511 seconds
  • Memory Usage 1,749KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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