Im Searching A Plugin For Add Option In Profile (privacy options) Hide Current Activity From Who's Online, It will just display Location Hidden
And Location will be displayed for mod,smods & administrators.....
Thanks In advance
If you have template conditionals plugin I think you could use template conditionals for this? Maybe something like this:
<if $mybb->usergroup['gid'] == 1 then>
<td class="trow1" width="50%">{$location}</td>
</else>
<td class="trow1" width="50%">(Hidden)</td>]
</if>
Substitute whatever usergroups that you would like to see location in place of the '1'.
MyBB default group IDs are like this
Guests => 1
Members => 2
Super Moderators => 3
Administrators => 4
awaiting activation => 5
Moderators => 6
Banned => 7
I have completely removed who's onine location from my forum so I can't test it on the board at the moment
(2017-08-16, 05:05 PM)ChillBro Wrote: [ -> ]If you have template conditionals plugin I think you could use template conditionals for this? Maybe something like this:
<if $mybb->usergroup['gid'] == 1 then>
<td class="trow1" width="50%">{$location}</td>
</else>
<td class="trow1" width="50%">(Hidden)</td>]
</if>
Substitute whatever usergroups that you would like to see location in place of the '1'.
MyBB default group IDs are like this
Guests => 1
Members => 2
Super Moderators => 3
Administrators => 4
awaiting activation => 5
Moderators => 6
Banned => 7
I have completely removed who's onine location from my forum so I can't test it on the board at the moment
But Can this will add option in profile (privacy options) & display
Location Hidden In place of activity ?
(2017-08-16, 05:16 PM)RahulP Wrote: [ -> ] (2017-08-16, 05:05 PM)ChillBro Wrote: [ -> ]If you have template conditionals plugin I think you could use template conditionals for this? Maybe something like this:
<if $mybb->usergroup['gid'] == 1 then>
<td class="trow1" width="50%">{$location}</td>
</else>
<td class="trow1" width="50%">(Hidden)</td>]
</if>
Substitute whatever usergroups that you would like to see location in place of the '1'.
MyBB default group IDs are like this
Guests => 1
Members => 2
Super Moderators => 3
Administrators => 4
awaiting activation => 5
Moderators => 6
Banned => 7
I have completely removed who's onine location from my forum so I can't test it on the board at the moment
But Can this will add option in profile (privacy options) & display Location Hidden In place of activity ?
No, sorry, I should have read your post better......