Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 header shows user name
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

plasma
Starting Member

19 Posts

Posted - February 04 2004 :  10:08:55  Show Profile  Reply with Quote
Has anyone setup a site that in the header shows the users name if they are logged in and prompts them to login if they are not ?

I looked through the forum archive and didn't find anything.

Thanks, David.

jonmadrid
VP-CART New User

USA
192 Posts

Posted - February 04 2004 :  10:36:44  Show Profile  Visit jonmadrid's Homepage  Reply with Quote
Hi plasma,

I have somehting that will do just that. E-mail if you're interested: [email protected]

All the best,

Jon Madrid
--------------------
Madrid Communications
Web Design, Development, and Hosting
www.madridcom.com
Go to Top of Page

siraj
VP-CART New User

USA
194 Posts

Posted - February 05 2004 :  03:19:06  Show Profile  Visit siraj's Homepage  Reply with Quote
I recomend you to visite the site
http://208.17.144.14/testsite/shopcarttemp/index.asp and use lastname and email as buyer and [email protected]
You will see what you want.....
THere are more and useful code you can get from this
http://208.17.144.14/testsite/
.. Please grab what you can as soon as possible as hakatil is not been seen in the forum for long time and this site might go down any time.
GOOD LUCK.
SJ.

[email protected]
Go to Top of Page

Amanda
Starting Member

USA
15 Posts

Posted - February 05 2004 :  17:25:53  Show Profile  Reply with Quote
Yea it works but how do you do it ??????


quote:

I recomend you to visite the site
http://208.17.144.14/testsite/shopcarttemp/index.asp and use lastname and email as buyer and [email protected]
You will see what you want.....
THere are more and useful code you can get from this
http://208.17.144.14/testsite/
.. Please grab what you can as soon as possible as hakatil is not been seen in the forum for long time and this site might go down any time.
GOOD LUCK.
SJ.

[email protected]



Go to Top of Page

billsingh
VP-CART New User

56 Posts

Posted - February 05 2004 :  17:49:32  Show Profile  Visit billsingh's Homepage  Reply with Quote
I use this

<p align="center"><b><font face="Verdana" size="1"><font color="#FFFFFF"> Welcome : <% Dim testlogin
testlogin = getsess ("LastName")
if testlogin <> "" then
Response.Write Session("firstname") & " " & Session("lastname")
else %>Guest (</font><a href="http://www.yourdomainname/shopcustadminlogin.asp"><font color="#FFFFFF">Login
</font> </a>
<font color="#FFFFFF">| </font>
<a href="http://www.yourdomainname/shopcustregister.asp">
<font color="#FFFFFF">Register</font></a><font color="#FFFFFF">)<% end if %>
</font></font>

Thanks
Bill Singh
[email protected]
Go to Top of Page

billsingh
VP-CART New User

56 Posts

Posted - February 05 2004 :  17:53:20  Show Profile  Visit billsingh's Homepage  Reply with Quote
Use the above code in shoppage_header.htm where every you want to display the username.

If the user logs in it will diaplay

Welcome : Firstname Lastname

If the user is not logged in

Welcome : Guest (Login | Register)

Thanks
Bill Singh
[email protected]
Go to Top of Page

Amanda
Starting Member

USA
15 Posts

Posted - February 07 2004 :  17:08:46  Show Profile  Reply with Quote
Works great
Thanks

Go to Top of Page

plasma
Starting Member

19 Posts

Posted - February 09 2004 :  14:07:59  Show Profile  Reply with Quote
Perfect, Thank You very much

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00