Latest News: (loading..)
show sign up banner only if visitor is guest
Started by sydjeii, Jan 19 2012, 18:06
2 replies to this topic
#1
Posted 19 January 2012, 18:06
hello.. i have a sign up banner that links to create_account.php.. I want to make it appear only if the visitor is not logged on.. Can somebody please help me how to do it?. I prefer not to use contri.. maybe a simple if else statement..or any other way.. thanks
-=PINOY AKO=-
#2
Posted 19 January 2012, 19:39
Something like
if (!tep_session_is_registered('customer_id')) {
'your code here';
}
Remember to backup database, files and pictures.
I reject your reality and substitute my own.
My mind not only wanders, it sometimes leaves completely.
The problem with the gene pool is that there is no lifeguard.
Everyone’s entitled to my opinion.
Links
Security
SSL Help
Basics for design
Basics for design V2.3+
How Do I ...?
I reject your reality and substitute my own.
My mind not only wanders, it sometimes leaves completely.
The problem with the gene pool is that there is no lifeguard.
Everyone’s entitled to my opinion.
Links
Security
SSL Help
Basics for design
Basics for design V2.3+
How Do I ...?
#3
Posted 20 January 2012, 02:51
Thank you sir.. it worked..
-=PINOY AKO=-














