| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
displaying membership levels | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I would like to display the user's membership level in the Auth. box..
Is there a variable that will allow me to do this? Thanks! ![]()
__________________
Xcart V4.5.5 Gold seaCOAST "Live FREE or DIE!" |
|||||||||
#2
|
|||||||
|
|||||||
![]() There is a variable already shown on that template called {$redirect} that holds the membership level for the purposes of log out.
Funkydunk
__________________
ex x-cart guru ![]() |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Thanks funky...
But all that displayed was "customer", "admin" etc. I'm trying to display my defined user-levels. ![]()
__________________
Xcart V4.5.5 Gold seaCOAST "Live FREE or DIE!" |
|||||||||
#4
|
|||||||
|
|||||||
![]() I have messed about for a little while on this and cant see a snarty variable that seems to hold this. It seems such a simple thing.
It is shown in the modify profile page so must be available somewhere. ![]() ![]()
__________________
ex x-cart guru ![]() |
|||||||
#5
|
|||||||
|
|||||||
![]() The variable is available as either:
$userinfo.pending_membership or $userinfo.membership in the membership_signup.tpl template but it seems to disappear from there on. I dont know enough about how smarty works YET to help, but this is bugging me now..... ![]()
__________________
ex x-cart guru ![]() |
|||||||
#6
|
|||||||||
|
|||||||||
![]() I hope I didn't make you lose any sleep, funky....
![]() Please let me know if you find anything out and I'll do the same.
__________________
Xcart V4.5.5 Gold seaCOAST "Live FREE or DIE!" |
|||||||||
#7
|
|||||||
|
|||||||
![]() Still working on it in between paying client's work - if you suss it out can you put me out of my misery
![]() Cheers Funkydunk
__________________
ex x-cart guru ![]() |
|||||||
#8
|
|||||||
|
|||||||
![]() Here you go, this will work...
Code:
__________________
-tmx- |
|||||||
#9
|
|||||||
|
|||||||
![]() Top man - I can sleep now
![]()
__________________
ex x-cart guru ![]() |
|||||||
|
|||
X-Cart forums © 2001-2020
|