[ITD] Show Online Status

[ITD] Show Online Status 1.4.0

No permission to download

Mian Shahid

Well-known member
ITDarasgah submitted a new resource:

[ITD] Show Online Status - Disable all option for user to hide their online status and show them online.

This add-on will remove all options for user to set themselves invisible.

Setp 1:

  1. Download attachment & unzip it.
  2. Log in to your Admin CP and click on "Install Add-on" at bottom left corner.
  3. Upload the unzipped XML file.
Setp 2:

Set the default for new users:

Admin CP -> Home -> Options -> User Registrations -> Default Registration Values -> Show online...

Read more about this resource...
 
Just wondering, how does this differ from THIS addon?
you can read description of both, by the way every add-on who control user online status, basically working on same method, which described by Jake Bunce, therefor i gave credit to him in my release, after that coder may add few additional options to show it unique from others.

a funny comparison: my add-on is 1.1 KB in size and other is 31 KB in size :D
 
Even after following Step 1, 2 and 3 nothing changes. Users still have option to go invisible.

Did anyone tried ?
 
This add-on tested on default style may not support to some styles which containing extra templates.

Exactly. On UI.X, Drift Light even Waindingo's add-on doesn't work. For me it's a problem with that theme. On another theme it works like a charm.
 
if some user change their configuration at user preferences and privacy, visibility options will change too.
i see this on user change log :
ee.webp
 
Patch for UI.X style

I just created a patch for UI.X theme, due to non-supporting behavior of some custom templates of this style.

Before:

QRUSMdB.png
KfiRFCd.png
or0YdmE.png


After:

eiQFfS2.png
8w7r3Aa.png
Y10znjE.png



STEPS:
  1. Log in to your ACP.
  2. Install this Add-on.
  3. go to "Appearance" then click on "Templates".
  4. Select template "uix_visitorTabs" for editing.
Q2nj28N.png


Now, find the below code:

PHP:
<ul class="col1 blockLinksList">
<li>
<form action="{xen:link account/toggle-visibility}" method="post" class="AutoValidator visibilityForm">
<label><input type="checkbox" name="visible" value="1" class="SubmitOnChange" {xen:checked $visitor.visible} />
{xen:phrase show_online_status}</label>
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
</li>
</ul>

And replace the selected with below code:

PHP:
<XEN:COMMENT>
<ul class="col1 blockLinksList">
<li>
<form action="{xen:link account/toggle-visibility}" method="post" class="AutoValidator visibilityForm">
<label><input type="checkbox" name="visible" value="1" class="SubmitOnChange" {xen:checked $visitor.visible} />
{xen:phrase show_online_status}</label>
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
</li>
</ul>
</XEN:COMMENT>

That's All ;)
 
Just wondering, how does this differ from THIS addon?
Waidigo's add-on lets you set permissions for each user group, so you can control which user groups are able to hide their online status.

It would be great if this add-on could also do that. :)
 
Back
Top Bottom