MyBB Community Forums

Full Version: Is There Any plugin for hide location (activity) in who's online & profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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
you can try using OUGC-Hide-Administrator-Location plugin (see also coder's replies at this related thread)
(2017-08-16, 03:29 PM).m. Wrote: [ -> ]you can try using OUGC-Hide-Administrator-Location plugin (see also coder's replies at this related thread)
Thanks for quick reply, But I think this plugin is for hide administrators location only, I want it will be available for all members except guests
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......
Still replies needed!
Yup.

[Image: rgpyuf.png]
(2017-08-17, 04:57 AM)Sazze Wrote: [ -> ]Yup.

[Image: rgpyuf.png]
It is plugin or code ?
(2017-08-17, 05:03 AM)RahulP Wrote: [ -> ]
(2017-08-17, 04:57 AM)Sazze Wrote: [ -> ]Yup.

[Image: rgpyuf.png]
It is plugin or code ?

Not a plugin. ^-^
Pages: 1 2