Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 946
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Who is online block

Started by Manu, April 05, 2009, 10:09:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Manu

Hi,

in the new version of the portal is the mod "Online Today" mod, thanks for it, but....

In the forum itself, the name of the "today online users" are only visible for logged in members, guest can see only how many were online today. Is it possible to make it in this way in the portal too?

Guest should see only, how many members were logged in during a day and members can see the names of the members?
Sometimes I'm an angel, sometimes I'm a devil, but I am always 100% woman and if you have a problem with me, learn to deal with it!

Manu

Any idea how to solve the problem?

For the moment I have taken off the code for the "Users Online Today" but it would be nice when I can add it as I wrote in my request.  :-[
Sometimes I'm an angel, sometimes I'm a devil, but I am always 100% woman and if you have a problem with me, learn to deal with it!

[SiNaN]

Does this work for you?

SPortal1-1.php

Code (Find) Select
if (!empty($txt['uot_users_online_today']))

Code (Replace) Select
if (!empty($txt['uot_users_online_today']) && !$context['user']['is_guest'])
And slowly, you come to realize... It's all as it should be...

Manu

Quote from: [SiNaN] on May 10, 2009, 06:17:15 AM
Does this work for you?

SPortal1-1.php

Code (Find) Select
if (!empty($txt['uot_users_online_today']))

Code (Replace) Select
if (!empty($txt['uot_users_online_today']) && !$context['user']['is_guest'])

Thx Sinan, but this code hides complete the UOT for guests in the Portal.

My idea is not to hide the UOT for guests, my idea is to hide the member names of the UOT for guests.
Take a look here: http://forum.arseniums.com/index.php?action=forum
You can see as guest:
Users Logged In Today
Total: Number of members which were logged in during the day

Are you logged in to the forum you can see:
Users Logged In Today
Total: All member names which were logged in during the day.

Is there a way to show it in the portal as it is in the forum itself for guests?

* Manu doesn't know how to explain it better  :-[

Sometimes I'm an angel, sometimes I'm a devil, but I am always 100% woman and if you have a problem with me, learn to deal with it!