Skyrider
11-03-2015, 09:56 PM
I'm looking for a condition code that affects the view on a profile that depends on the user itself, rather than the person viewing the profile. I've added additional code to add an extra tab on the users profile, but should show different text depending on the users usergroup.
For example, lets say I am visiting a member profile on /members/1-testuser and he's located in usergroup A. Now on the profile, I'm visiting his "test" tab that I added. And I added the text "test a" within the template for everyone to see.. works great, no problems. Now.. I'd like the condition code where it shows another text IF the testuser is in for example, Usergroup B.
Thus far I've tried a few conditions (including usergroup array, etc). But the problem is that this affects the user itself (the client viewing the profile, depending on his usergroup) rather than the profile/User ID.
I hope you can make sense of this. I appreciate the help.
Regards,
Skyrider
For example, lets say I am visiting a member profile on /members/1-testuser and he's located in usergroup A. Now on the profile, I'm visiting his "test" tab that I added. And I added the text "test a" within the template for everyone to see.. works great, no problems. Now.. I'd like the condition code where it shows another text IF the testuser is in for example, Usergroup B.
Thus far I've tried a few conditions (including usergroup array, etc). But the problem is that this affects the user itself (the client viewing the profile, depending on his usergroup) rather than the profile/User ID.
I hope you can make sense of this. I appreciate the help.
Regards,
Skyrider