Login Fields
Customise the Login field
The Login Field has some powerful capabilities. They are explained here:
This field has two variables:
- Permission (allow or deny: default is allow)
- Member types (which types to allow or deny access to: default is all types)
Examples:
- For a page only accessible by gold and platinum members:
<?PHP login('allow','gold|platinum'); ?> - For a page only accessible by all members except advertiser accounts:
<?PHP login('deny','advertiser'); ?>
NOTE: This new function is only available from version 1.97 onwards, and as of 1 September 2004. Even if your scripts show you have version 1.97, if you have not updated since that date, you need to do so in order for this function to work.
Also, you will need to copy a new file from the templates directory to your pages directory. That file is not_allowed_access.php - which is the file that shows when a visitor who is not allowed access tries to open a restricted page.









CCI Chatterbox RSS Feed