PDA

View Full Version : "Off duty" administator...


DannyMilner
10-25-2005, 11:21 PM
When a admin is off duty, I wan't it to show some way...


Any ideas on how I can do it?

Thanks ;)

peterska2
10-25-2005, 11:23 PM
Like when they are posting but not as admin or when they are offline?

DannyMilner
10-25-2005, 11:24 PM
Well,

So if I was off duty and a admin on this forum it would look like this...

DannyMilner
Member

Join Date: Aug 2005
Posts: 10
Location: Leeds
Admin status: Off duty

vB Version: 3.5.0
Style: Smooth Blue

peterska2
10-25-2005, 11:32 PM
You could do it by creating a profile field as below

Name: Admin Status
Options: On Duty
Off Duty
Set Default: Yes, No Blank First Option
Editable by User: No
Required: No


Then use <if condition="$post[fieldx]">Admin Status: $post[fieldx]</if> where x is the field id number of the above created profile field.

This will be required to be changed via the ACP user manager.

There more than likely is another way of doing it but this surely would work.

DannyMilner
10-25-2005, 11:42 PM
Thanks,

Would if be possible to do like a php "if"
So like if a admin show it in user cp...?

Thanks for all your help :)

peterska2
10-25-2005, 11:43 PM
possibly. Unless someone gets to it first, I'll see what I can rumble up. It won't be till the back end of the week though coz I'm quite busy.

DannyMilner
10-25-2005, 11:50 PM
Okay mate, as I said thats for your help :)


If anyone else knows feel free to speak up :ninja: