vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Restricted Page... (https://vborg.vbsupport.ru/showthread.php?t=39938)

Chris M 06-15-2002 10:00 PM

Restricted Page...
 
Basically, if you want to restrict the access to a new page you created for a clan or whatever, then you could download this easy file!

I have tested it on my local forums, but I have not got any screenshots at the moment...

Satan

Velocd 06-16-2002 08:11 PM

Sounds pretty basic, sure this hasn't been done yet? I feel like I've heard this somewhere on these forums before...

g-force2k2 06-17-2002 01:05 AM

or you could simply make a new usergroup for that clan or just restrict certain members using the show_nopermission function... but if it works for you easier then thats always cool ^_- nice job man...

on any page

if($bbuserinfo[usergroupid]==XX) {
show_nopermission();
} else {

// coding here

}

;)

g-force2k2

Jawelin 06-17-2002 08:28 AM

I had similar problem, but main issue is when in the clan should be included ONLY some staff members.
I can't create a group for them, so permissions should be given individually to some user of group 7 (mods)

Bye

Chris M 06-17-2002 01:06 PM

That can easily be solved by using the code :

PHP Code:

if ($bbuserinfo[userid]==xx) {
    
show_nopermission();


(where xx=the user id you want to block)

Satan

Xelation 06-18-2002 06:53 PM

very cool, this will be good for a modding section I was planning to add.

Chris M 06-19-2002 08:35 PM

Good:)

Glad u like it!

Satan

Roody 07-08-2002 02:16 AM

hey hellsatan i dont suppose you have any screenshots of this hack do you?


All times are GMT. The time now is 08:31 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.00991 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_php_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