The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#14
|
|||
|
|||
![]()
Alright so here is my new plugin code:
PHP Code:
Code:
# PREFs Section 03: Security. ############################################################################ # Password Protection, Option 3 of 5 (use your site's existing login system): # # If your site already has a login system, either cookie-based or based on # PHP sessions, you can make FileChucker integrate with it. # # If using the PHP session method, you must set the following environment # variables from PHP just before calling filechucker.cgi from PHP: #f # putenv("PHP_ENC_USERNAME=$username"); # where $username is your PHP user variable. # putenv("PHP_ENC_ISADMIN=$X"); # where $X is a 0 or a 1. # # This option is mutually exclusive with the integrate_with_userbase option. # $PREF{integrate_with_existing_login_system} = 'no'; $PREF{login_error_message} = qq`Error: not logged in. Perhaps you need to <a href="/">go home</a> and log in first?`; #$PREF{logout_url} = '/logout/'; #$PREF{login_url} = '/login/'; #$PREF{forced_logout_link} = qq`<p>Logging out; <a href="%%logout_url%%">click here</a> to continue.</p>\n`; # $PREF{enable_username_from_cookie} = 'no'; $PREF{member_username_cookie_name} = $username; $PREF{admin_username_cookie_name} = 'anderma'; # $PREF{enable_username_from_php_session} = 'yes'; |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|