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 login or register.

* Who's Online

  • Dot Guests: 453
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* 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]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: Whos Online  (Read 30919 times)

0 Members and 1 Guest are viewing this topic.

Offline Aw06

  • Full Member
  • ***
  • Posts: 238
  • Gender: Male
    • www.ShopinJA.com
  • SMF Version: 1.1.13
  • SP Version: 2.3.2
Whos Online
« on: September 11, 2008, 12:10:29 AM »
In the whos online Block .. could you make it that 'Total Users' is clickable and will point to the whos online list action=who

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Whos Online
« Reply #1 on: September 17, 2008, 09:24:02 AM »
We applied the change here on this site and looks pretty good. Could be implemented I think.
And slowly, you come to realize... It's all as it should be...

Offline Aw06

  • Full Member
  • ***
  • Posts: 238
  • Gender: Male
    • www.ShopinJA.com
  • SMF Version: 1.1.13
  • SP Version: 2.3.2
Re: Whos Online
« Reply #2 on: September 18, 2008, 12:07:01 AM »
We applied the change here on this site and looks pretty good. Could be implemented I think.

agreed  >:-D

Offline ???1031

  • ... feel not as a dev at the moment ...
  • Comrade
  • *
  • Posts: 789
  • Gender: Male
  • Overworked <<
  • SMF Version: None
  • SP Version: None
Re: Whos Online
« Reply #3 on: September 18, 2008, 01:31:09 AM »
We applied the change here on this site and looks pretty good. Could be implemented I think.
Agree, but i hope you check if the user is allowed to see it ;).

Bye
DIN1031
Again... I'm having time problems...Normal Monday to Friday I'm at office from 6:00-16:00 (On my local time ;P).

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Whos Online
« Reply #4 on: September 18, 2008, 01:54:35 AM »
Well, whoever put it there didn't think of that. ;)

I have now added checking for the 'who_view' permission, we can add this to the block if we need to. ;)
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Aw06

  • Full Member
  • ***
  • Posts: 238
  • Gender: Male
    • www.ShopinJA.com
  • SMF Version: 1.1.13
  • SP Version: 2.3.2
Re: Whos Online
« Reply #5 on: September 18, 2008, 08:24:11 AM »
We applied the change here on this site and looks pretty good. Could be implemented I think.
Agree, but i hope you check if the user is allowed to see it ;).

Bye
DIN1031

Only guest arnt allowd to see users online on my site..

Well, whoever put it there didn't think of that. ;)

I have now added checking for the 'who_view' permission, we can add this to the block if we need to. ;)

Kool, thanks for the addition ... can i get this in 2.0.4 ? or ill have to wait for 2.1 ?

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Whos Online
« Reply #6 on: September 18, 2008, 05:31:46 PM »
Replace this code ('SPorta.php'):
Code: [Select]
<tr>
<td><img src="' . $settings['images_url'] . '/dot.gif" alt="Dot" /></td>
<td>', $txt['sp-onlinetuser'], '</td>
<td>:</td>
<td>', $online['total_users'],'</td>
</tr>';

With this code:
Code: [Select]
<tr>
<td><img src="' . $settings['images_url'] . '/dot.gif" alt="Dot" /></td>
<td>', (allowedTo('who_view') ? '<a href="' . $scripturl . '?action=who">' : ''), $txt['sp-onlinetuser'], ':', (allowedTo('who_view') ? '</a>' : ''), '</td>
<td>', $online['total_users'],'</td>
</tr>';
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Cyst

  • Semi Newbie
  • *
  • Posts: 31
Re: Whos Online
« Reply #7 on: September 18, 2008, 06:02:59 PM »
Thanks, LHVWB. It works and looks good :)

Offline Aw06

  • Full Member
  • ***
  • Posts: 238
  • Gender: Male
    • www.ShopinJA.com
  • SMF Version: 1.1.13
  • SP Version: 2.3.2
Re: Whos Online
« Reply #8 on: September 18, 2008, 08:16:02 PM »
Replace this code ('SPorta.php'):
Code: [Select]
<tr>
<td><img src="' . $settings['images_url'] . '/dot.gif" alt="Dot" /></td>
<td>', $txt['sp-onlinetuser'], '</td>
<td>:</td>
<td>', $online['total_users'],'</td>
</tr>';

With this code:
Code: [Select]
<tr>
<td><img src="' . $settings['images_url'] . '/dot.gif" alt="Dot" /></td>
<td>', (allowedTo('who_view') ? '<a href="' . $scripturl . '?action=who">' : ''), $txt['sp-onlinetuser'], ':', (allowedTo('who_view') ? '</a>' : ''), '</td>
<td>', $online['total_users'],'</td>
</tr>';

thanks,,, but its slighty diffrent, on my site now, 'Online users' points to action=who .. on this site 'Total Users' points to action=who

and is it possible to not show hidden users to guest/regular members ? i think only admins show see that
« Last Edit: September 18, 2008, 08:21:48 PM by Aw06 »

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Whos Online
« Reply #9 on: September 19, 2008, 03:54:56 AM »
Odd, I swear that I posted the correct edit. Can you post your 'SPortal.php' file as an attachment? I can fix it for you. ;)
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Cyst

  • Semi Newbie
  • *
  • Posts: 31
Re: Whos Online
« Reply #10 on: September 19, 2008, 04:11:36 AM »
Hmm, I copied your code and it showed up on Total users fine for me.

Offline Aw06

  • Full Member
  • ***
  • Posts: 238
  • Gender: Male
    • www.ShopinJA.com
  • SMF Version: 1.1.13
  • SP Version: 2.3.2
Re: Whos Online
« Reply #11 on: September 19, 2008, 10:08:51 AM »
Odd, I swear that I posted the correct edit. Can you post your 'SPortal.php' file as an attachment? I can fix it for you. ;)

this is the file before the edits ... can you make it so that i only have
    
Online Guests:     
Online Users:    
Total Users:action=who
   

On my site now .. its like this

Online Guests:
Online Users:
Hidden Users:
Total Users:Action=Who
Online Users:
   

As you can see, online users is displaying twice, and i dont need Hidden users
« Last Edit: September 19, 2008, 10:11:50 AM by Aw06 »

Offline Aw06

  • Full Member
  • ***
  • Posts: 238
  • Gender: Male
    • www.ShopinJA.com
  • SMF Version: 1.1.13
  • SP Version: 2.3.2
Re: Whos Online
« Reply #12 on: September 20, 2008, 11:19:01 PM »
 ;D remember me please  :angel:

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Whos Online
« Reply #13 on: September 20, 2008, 11:32:46 PM »
Sorry, we are very busy at the moment with the new versions of SP. The attached file should work.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Aw06

  • Full Member
  • ***
  • Posts: 238
  • Gender: Male
    • www.ShopinJA.com
  • SMF Version: 1.1.13
  • SP Version: 2.3.2
Re: Whos Online
« Reply #14 on: September 20, 2008, 11:45:47 PM »
Sorry, we are very busy at the moment with the new versions of SP. The attached file should work.

magic  :wave: :wave: :wave:

Offline Aw06

  • Full Member
  • ***
  • Posts: 238
  • Gender: Male
    • www.ShopinJA.com
  • SMF Version: 1.1.13
  • SP Version: 2.3.2
Re: Whos Online
« Reply #15 on: January 31, 2009, 11:33:33 AM »
Odd, I swear that I posted the correct edit. Can you post your 'SPortal.php' file as an attachment? I can fix it for you. ;)

this is the file before the edits ... can you make it so that i only have
    
Online Guests:     
Online Users:    
Total Users:action=who
   

On my site now .. its like this

Online Guests:
Online Users:
Hidden Users:
Total Users:Action=Who
Online Users:
   

As you can see, online users is displaying twice, and i dont need Hidden users

How can i make these same changes in SP 2.1

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Whos Online
« Reply #16 on: February 02, 2009, 04:32:46 AM »
It should be the same. Hopefully you won't need for further versions.

http://simpleportal.net/index.php?issue=109.0
And slowly, you come to realize... It's all as it should be...

Offline Aw06

  • Full Member
  • ***
  • Posts: 238
  • Gender: Male
    • www.ShopinJA.com
  • SMF Version: 1.1.13
  • SP Version: 2.3.2
Re: Whos Online
« Reply #17 on: February 02, 2009, 08:53:46 AM »
In SP 2.1.1 Where so i find SPortal.php ???

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Whos Online
« Reply #18 on: February 02, 2009, 09:05:04 AM »
It's SPortal1-1.php or SPortal2.php depending on your SMF version, in Sources directory.
And slowly, you come to realize... It's all as it should be...

Offline Aw06

  • Full Member
  • ***
  • Posts: 238
  • Gender: Male
    • www.ShopinJA.com
  • SMF Version: 1.1.13
  • SP Version: 2.3.2
Re: Whos Online
« Reply #19 on: February 03, 2009, 07:29:40 AM »
Its not working .. can you do the edits for me please...

Attached the file
« Last Edit: February 06, 2009, 01:53:35 AM by Aw06 »