freeshares1
11-29-2002, 05:12 PM
This is probably very bery simple but i guess we all have to start somewhere :)
I have a file bank.php which displays a bank when logged in but for users that are not logged in or guests they get the standard show_nopremission
I have written a template bank_notloggedin template i want to be displayed if a user is a guest or not logged in.
I think i have to change this bit in bank.php
if ($bbuserinfo[username]=="Unregistered"){
show_nopermission();
}elseif ($process){
but i am not sure to what.
Any ideas?
I have a file bank.php which displays a bank when logged in but for users that are not logged in or guests they get the standard show_nopremission
I have written a template bank_notloggedin template i want to be displayed if a user is a guest or not logged in.
I think i have to change this bit in bank.php
if ($bbuserinfo[username]=="Unregistered"){
show_nopermission();
}elseif ($process){
but i am not sure to what.
Any ideas?