Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to obtain session data: membership?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-13-2003, 03:22 AM
 
Alan Alan is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 83
 

Default How to obtain session data: membership?

Hello x-Carts!

I'm in the process of going through part of my site, and would like to disable some sections to customers not signed in, and who is not a certain type of membership.

I've guessed it to be inside xcart_php_sessions database and I'm quite positive that's where I can see my customer login information...am I on the right track?

Anyhow I queried up a row and look at it's data column, and my gosh it's all mumbo jumbo! I have no idea how I'm going to grab that information from the data column.

Is there a deadly obvious way to detect what type of users (both anon and registered, with what type of membership) are already? Sorry if I'm confusing. I'm exhausted physically and mentally.
Thanks for listening.
__________________
Best Regards!
Alan
Search is my friend
Reply With Quote
  #2  
Old 05-24-2003, 07:47 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

easy way is in the template:

Code:
{if $login ne ""} for members eyes only {/if}
__________________
ex x-cart guru
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:06 PM.

   

 
X-Cart forums © 2001-2020