Author Topic: 'whos online' tab  (Read 2846 times)

moylo

  • Active Member
  • ***
  • Posts: 64
  • Karma: +1/-0
'whos online' tab
« on: August 27, 2009, 11:30:49 PM »
Hi
     I'm wanting to change the 'whos online' tab in frames so it is only available if a member is logged on.
any Ideas?
             Cheers Mark

admin2

  • Guest
Re: 'whos online' tab
« Reply #1 on: August 28, 2009, 02:41:03 AM »
Use the following code:
Code: [Select]
<!--opt name="tplvars.user_logged"-->
<li><a class="menu1" href="{tplvars.relative_url}search.php?st=online" title="Online Members"><span>Who's Online</span></a></li>
<!--/opt name="tplvars.user_logged"-->

moylo

  • Active Member
  • ***
  • Posts: 64
  • Karma: +1/-0
Re: 'whos online' tab
« Reply #2 on: August 28, 2009, 04:23:34 AM »
hi Dan.  sorry you will have to 'dumb' it up a little.  add the code to which file?

                      cheers

Johnboy

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 566
  • Karma: +40/-2
Re: 'whos online' tab
« Reply #3 on: August 28, 2009, 05:09:21 AM »
I think he means to your 'whos online' navigation link
I LOVE these forums!!! So helpful...

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3138
  • Karma: +211/-7
    • Maverick Webworks
Re: 'whos online' tab
« Reply #4 on: August 28, 2009, 05:18:41 AM »
skins_site\def\frame.html
Also index.html

Those are the only 2 unless you've created some custom pages that required a different layout than the standard frame.html, if so they might typically be named something like frame2.html

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.

admin2

  • Guest
Re: 'whos online' tab
« Reply #5 on: August 28, 2009, 06:17:45 AM »
Oh, sorry, in skins_site/<skin name>/frame.html and index.html
You already have the html code (second line in my code above). Just wrap it in those <!--opt name... tags.

Chaze

  • Prime Member
  • ****
  • Posts: 158
  • Karma: +0/-0
  • Be Happy
    • Fast Web Hosting
Re: 'whos online' tab
« Reply #6 on: August 28, 2009, 01:20:10 PM »
Good idea, I just did this.  :D
Charles Yarbrough
Fast Web Host - WebHost.pro
My Blog

moylo

  • Active Member
  • ***
  • Posts: 64
  • Karma: +1/-0
Re: 'whos online' tab
« Reply #7 on: August 28, 2009, 05:21:00 PM »
Thanks for the code Dan.  Just what I needed,

            cheers Mark