vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBgarage (https://vborg.vbsupport.ru/forumdisplay.php?f=104)
-   -   bug: permissions keep resetting! (https://vborg.vbsupport.ru/showthread.php?t=75538)

aussiev8 02-01-2005 09:31 AM

bug: permissions keep resetting!
 
if "can use VBGarage" is set to yes, and you change something else in the usergroup settings, and save, when you re-enter the usergroup settings ""can use VBGarage" is always set to no...

anyone got a fix for this?

noppid 02-01-2005 03:59 PM

What version of vBGarage are you using? That is very important.

If you are using the original version, 3.1.1 then you will have to update your init.php edits. That is usually the cause of this. If that is the case, what your are actually changing is the canseehiddenfields permissions, not vBGarage 'canvbgarage'.

aussiev8 02-01-2005 09:35 PM

i'm using the new version 4 with vb3.0.3 updated the security fixes

i don't understand your next question?

but if canvbgarage is set yes, and i change another setting anywhere in that usergroup,
when i click save/update, it will put canvbgarage to no.

its very annoying, because it takes 3 lots of clicks to get it how i want it..

noppid 02-02-2005 12:42 AM

I can not duplicate your problem on either of my two installs.

Maybe someone else can test as well to see if it is a bug? Anyone care to test the ACP settings for us?

aussiev8 02-02-2005 08:12 AM

can i ask what part of init.php i need to be looking at?

noppid 02-02-2005 11:13 AM

Quote:

Originally Posted by aussiev8
can i ask what part of init.php i need to be looking at?

This is all spelled out in the vbgarage_readme.txt.

You need to redo the PHP file edits according to those instructions on a clean copy of each named vB php file. You must use clean files or be able to find your old edits, remove them, and add the new edits.

It's in there man.

In init.php you probably have...or have both.

PHP Code:

    // START VBGARAGE HACK
    
'canvbgarage'              => 262144,
    
// END VBGARAGE HACK 

You should have this only.
PHP Code:

    // START VBGARAGE HACK
    
'canvbgarage'              => 16777216,
    
// END VBGARAGE HACK 


aussiev8 02-02-2005 11:22 AM

it was an error on my behalf!

sorry to trouble!

noppid 02-02-2005 11:50 AM

Quote:

Originally Posted by aussiev8
it was an error on my behalf!

sorry to trouble!

That's great news. I had just updated the post. Maybe it will help someone else that missed that too.

Thanks


All times are GMT. The time now is 08:59 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.01260 seconds
  • Memory Usage 1,726KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete