• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Secondary Indication of Invisible Browsing

Amaury

Well-known member
#1
Currently, you can style invisible members -- personally, I remove the text color and make them bold and italic -- but I also want a secondary indicator that stands out more, because sometimes we may have planned to only be invisible for a short while, but then forget to re-enable our online status, or sometimes we may even accidentally disable our online status when logging out -- for those of us who explicitly log out.

How easy would it to add an alert that would display as a notice saying you're invisible? It would be pretty much like how you get an automatic notice when you turn the forum off.

Invisible Notice.png
 

Brogan

XenForo moderator
Staff member
#2
Use this in one of the ad_ templates, e.g. ad_below_top_breadcrumb:
Code:
<xen:if is="!{$visitor.visible}">
You are not visible!
</xen:if>
Style it to suit.
 

Amaury

Well-known member
#3
Use this in one of the ad_ templates, e.g. ad_below_top_breadcrumb:
Code:
<xen:if is="!{$visitor.visible}">
You are not visible!
</xen:if>
Style it to suit.
Thanks, Brogan! Is there any way to turn it into a notice just like Test Notice 1, for example?

Invisible Notice 2.png

I also might make a suggestion to add "User is invisible" as a user criteria, and it'd make this easier.