Download User Manual - Ecommerce software

Transcript
checked will write the client's email address to the database and can be used
for mail shots.
Login level
You can assign different levels of login permissions on any page to say that a
particular page is restricted to anyone below the login level assigned in the
login admin section. For example, if you set requiredloginlevel=4 then only
people who you have set up with a login value of 4 or above can view the
page when logged on. Only place the code on the pages where you need to
restrict access, for example, it should not go on clientlogin.php
To add the level of restriction to individual pages you will need to add the line:
<?php $requiredloginlevel=4;?>
...where 4 is the threshold of permission for that page. This needs to come
anywhere before the line
<?php include "vsadmin/inc/incfunctions.php"?>
The last thing you need to do is find the code at the top of your page that
looks like this:
<?php
session_cache_limiter('none');
session_start(); ?><html>
...and change it to:
<?php
session_cache_limiter('none');
session_start();
ob_start(); ?><html>
..making sure there is no space before the code and you just have the one
opening <html> tag.
108
© Ecommerce Templates