X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to obtain session data: membership? (https://forum.x-cart.com/showthread.php?t=2676)

Alan 05-13-2003 03:22 AM

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 8O my gosh it's all mumbo jumbo!8O 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.

funkydunk 05-24-2003 07:47 AM

easy way is in the template:

Code:

{if $login ne ""}
for members eyes only
{/if}



All times are GMT -8. The time now is 10:48 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.