vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How does Usergroup permission work? (https://vborg.vbsupport.ru/showthread.php?t=71258)

Swedie 11-01-2004 09:47 PM

How does Usergroup permission work?
 
Hey,

I need to understand how vB's general permissions work that you change from the Usergroup Manager?

How does vB's script check whether it's a Yes or No value? I've been trying to figure this out for a while and thought maybe someone here has an answer.

Thank you
Johnny

Swedie 11-02-2004 11:30 AM

Quote:

Originally Posted by Swedie
Hey,

I need to understand how vB's general permissions work that you change from the Usergroup Manager?

How does vB's script check whether it's a Yes or No value? I've been trying to figure this out for a while and thought maybe someone here has an answer.

Thank you
Johnny

anyoooone

Zachery 11-02-2004 11:45 AM

Quote:

Originally Posted by Swedie
Hey,

I need to understand how vB's general permissions work that you change from the Usergroup Manager?

How does vB's script check whether it's a Yes or No value? I've been trying to figure this out for a while and thought maybe someone here has an answer.

Thank you
Johnny

it uses bit system, 1,2,4,8,16,32,64,128, etc...

You might want to take a look at init.php

Swedie 11-02-2004 06:23 PM

Quote:

Originally Posted by Zachery
it uses bit system, 1,2,4,8,16,32,64,128, etc...

You might want to take a look at init.php

How does that system work really? i don't understand how it works.

I've successfully added a new Yes/No options to Usergroups but now afterwards how do I write my scripts to detect if it's a Yes or No value?

thanks

Swedie 11-03-2004 07:43 PM

it'd be nice with an answer.

Zachery 11-03-2004 08:25 PM

Quote:

Originally Posted by Swedie
it'd be nice with an answer.

If I knew id tell you, you will either have to wait or go read documentation, sorry.

Swedie 11-25-2004 09:48 AM

Quote:

Originally Posted by Zachery
If I knew id tell you, you will either have to wait or go read documentation, sorry.

I gotta bump this thread as I am having issues with the init.php file..

i have add more usergroup options and I gotta Understand how these work. How long does it take until they populate the new $usergroup array so I can start using them for checking permissions etc..

anyone? please...

Swedie 11-25-2004 10:00 AM

Quote:

Originally Posted by Swedie
I gotta bump this thread as I am having issues with the init.php file..

i have add more usergroup options and I gotta Understand how these work. How long does it take until they populate the new $usergroup array so I can start using them for checking permissions etc..

anyone? please...

okay, i figured it out.. wow. i'm good :p

dwh 01-06-2005 03:27 AM

Quote:

Originally Posted by Swedie
okay, i figured it out.. wow. i'm good :p

Great, can you share the info :) ?

The coding of permission is tight but makes life hard for hackers.

deathemperor 01-06-2005 11:59 AM

when you understand how it works you see it's easy.

This one is also the same. I may make a tips thread for this soon.


All times are GMT. The time now is 01:33 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.01067 seconds
  • Memory Usage 1,735KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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