I want the members list to be hidden , and shown ONLY for registered users ?
::::::::::::::: How![]()
![]()
![]()
I want the members list to be hidden , and shown ONLY for registered users ?
::::::::::::::: How![]()
![]()
![]()
well, while it may not be hard, it could be quite involved. the problem is that the templates are not parse by the PHP preprocessor.
You would need to create a second header.html without the member hyperlink. then use an IF statement based on finding/not finding the username and then displaying the appropriate header.html. You would need to do that for all the templates in the default folder. This is compounded by the header field which you'll see when you go thru. but if you never use the header, it would just be tedious.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
Needs [ programming ] see you later
![]()
thanks esm for your support !
you could try the following:
Just before DisplayTemplate($theme_path."header.html","\$title "); in the user_search.php file, add the following
The menu option will still be there but at least they will need to login.$users_obj = new clsUsers;
$users_obj->InitDB($dbServer,$dbHostname,$dbUsername,$dbPassw ord,$dbName);
$users_obj->table_name = "idx_users";
if(!$users_obj->GetUserAuthentication()==0){
$back_url = urlencode("user_search.php");
header("Location: login.php?f=1&b=$back_url");
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.