The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Custom Page: Permission based on age?
Please forgive me, I'm very new to PHP and vB programming.
For a custom page I'm creating, I'm trying to create access permissions based on a user's age. For a function that I've placed in an external functions_*.php file, I've done what I *think* calculates the logged in user's age, but now I'm not so sure, because my access permissions aren't working. I've borrowed code from memberlist.php to calculate the user's age and return either their age or false. PHP Code:
PHP Code:
Would anyone mind giving me some pointers as to where I'm going wrong? Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|