• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
[ITD] Show Online Status

[ITD] Show Online Status 1.4.0

No permission to download

Mian Shahid

Well-known member
#1
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...
 

Mian Shahid

Well-known member
#4
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
 

DFI

Active member
#6
Even after following Step 1, 2 and 3 nothing changes. Users still have option to go invisible.

Did anyone tried ?
 

Bob_R

Active member
#9
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.
 

maszd

Active member
#14
if some user change their configuration at user preferences and privacy, visibility options will change too.
i see this on user change log :
ee.JPG
 

Mian Shahid

Well-known member
#15
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:



After:




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.


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 ;)