![]() |
Profiles
Is there a way to code a different profile look for an administrator / staff member than what users have?
If I use the code <if condition""> Then it usually shows the new look profiles on all users for if an administrator is logged in on that profile. E.g, say I have 2 profile layouts, I want all users to be able to see the admin profiles that look totally different to the user layouts. |
You probably used the wrong user variable in your condition - what was the exact condition you tried?
|
I haven't tried any yet. I was just assuming :)
I just wanted an example of code that would work for that. |
You could probably use something like <if condition="is_member_of($userinfo, x,y)"> It depends on what template you are using.
|
I am using Memberinfo template.
I want it so that users can see the admin profile looking different to their profile. Seeing as it is a model agency website, the admins are not models, so we need a different layout |
OK, so you can use that condition and show the template one way for certain usergroups and another way for other usergroups.
HTML Code:
<if condition="is_member_of($userinfo, 5,6,7)"> |
Thank you Lynne
You have done it again :) Maybe you could assist with my other post on Age Restricted Content? https://vborg.vbsupport.ru/showthread.php?t=225774 |
All times are GMT. The time now is 08:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|