![]() |
displaying membership levels
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! ;) |
There is a variable already shown on that template called {$redirect} that holds the membership level for the purposes of log out.
Funkydunk |
Thanks funky...
But all that displayed was "customer", "admin" etc. I'm trying to display my defined user-levels. ;) |
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. :?: :?: |
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..... :!: |
I hope I didn't make you lose any sleep, funky.... 8)
Please let me know if you find anything out and I'll do the same. |
Still working on it in between paying client's work - if you suss it out can you put me out of my misery 8O
Cheers Funkydunk |
..The code to get it..
Here you go, this will work...
Code:
{section name=level loop=$membership_levels} |
Top man - I can sleep now 8O
|
All times are GMT -8. The time now is 05:15 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.