How to hide Who Is Online
Select messages from # through # Forum FAQ
[/[Print]\]

HeadShot Extreme -> Nuke Blocks / Modules Support

#1: No icon How to hide Who Is Online Author: MAGNET PostPosted: Wed Feb 28, 2018 4:14 pm
    —
Hey, how's it going?

I need to know how to hide or disable the Who Is Online block located at the bottom of the Forum Index to where only registered members can view it.

Presently, the Who Is Online is visible to Guests and I would like to change it.

Thanks!
Go HeadShot

#2: No icon Re: How to hide Who Is Online Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Wed Feb 28, 2018 7:11 pm
    —
Okay, this is fairly easy, but, you need to know the basics of HTML for it. What you will need to do is edit your theme you are using a bit. Each theme is different so I can't say for sure, find this line and change this. The best I can do is give you a close example of what to look for. If this proves to be too confusing, feel free to pack up your theme file that I specify and send it to me and I will do them, but before doing that, give it a try.

What you want to do is open up:
public_html/themes/Your_Theme/forums/index_body.tpl

Find in that file:

Code: [ Select all ]

{L_WHO_IS_ONLINE}


Once you find that, you will see a table that it is in. What you want to do is wrap the whole table with this:

Code: [ Select all ]

<!-- BEGIN switch_user_logged_in -->

 <!-- END switch_user_logged_in -->


So everything you want hidden when someone is not logged in goes in between those to lines.

Here is an example of a theme I am currently working on for someone.
Please login to see this link
Get registered or Log in


If you click that link, you will see that I just wrapped the Who is Online and left the Birthdays still visible.

#3: No icon Re: How to hide Who Is Online Author: MAGNET PostPosted: Wed Feb 28, 2018 9:22 pm
    —
big grin
Well "f" me running ... PERFECTION!

Once again, you never cease to amaze me Oh Dreaded One! You are loved ...
Go HeadShot

#4: No icon Re: How to hide Who Is Online Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Wed Feb 28, 2018 10:11 pm
    —
Glad it helped.

#5: No icon Re: How to hide Who Is Online Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Thu Mar 01, 2018 2:30 pm
    —
Just note, you need to do this on all your themes your running, or at least your "Default" theme on your site.

#6: No icon Re: How to hide Who Is Online Author: MAGNET PostPosted: Fri Mar 02, 2018 3:22 am
    —
— coRpSE wrote
Just note, you need to do this on all your themes your running, or at least your "Default" theme on your site.


Duhhh  ok -- I didn't do that  hrm

Thanks for the tip!!



HeadShot Extreme -> Nuke Blocks / Modules Support


output generated using printer-friendly topic mod. All times are GMT - 7 Hours

Page 1 of 1