The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
what i want: check for registration (login cookie) when entering the "files" directory on my server. nothing special at all... simply an "if registered then load directory else show default no access page".
i assume this involves a .htaccess file... i already do this with my jpilot chat integration in the php script i made for it. but .htaccess isn't php so i'm not sure what to do here. |
#2
|
||||
|
||||
hmm i need the same but some changes i need:
i need to protect an directory on my webserver like this /memberarea/index.php the login code must check the usergroup like gr. 1 5 8 12 may enter all other gets the error NOACCES msg is it possible to use this code and what changes to to: require("./global.php"); if ($bbuserinfo[userid]==0) { show_nopermission(); } @Jakeman create an index.php and put this code in it all regged members are able to viev the page others get logincode |
#3
|
||||
|
||||
i'm doing this for a directory with no index, not for one file in the vb root. i already know how to check reg and user groups with php.
|
#4
|
||||
|
||||
ok my mistake
|
#5
|
||||
|
||||
i bump u!
... in teh face |
#6
|
||||
|
||||
one more time...
tube is trying to help me with this on vb.com but we are both kind of stumped. keep in mind that this would have to be .htaccess since i want to prevent direct linking or access of any kind for those that aren't logged in. i know how to do this with php but not with .htaccess . anyone? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|