This topic contains 1 reply, has 2 voices. Last updated by Eduan 3 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Feb 27th, 2013 at 10:47 am #43329 | |
I need some help with my Author page. I have 2 account types, basic and premium. Each member fills in forms specific to their s2 level (more for premium). This information is then posted to the author page to use as their profile page. This is where I am stuck! I can hide content depending on what dat has been entered on the profile form but if a user decides to downgrade their account back to basic all the data applied to the premium data fields still show on the profile page. What I want to do is hide this content depending on whether the author is s1 or s2. Obviously the code below only relates to logged on user
The code below won’t do it either as its using current user.
How do I get the author level and hide content from any user viewing the page. I am using
to display the authors details. I hope I have explained it well enough. Thanks in advance. |