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: 899
  • 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]

Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Author Topic: Last Users in 24 Hours  (Read 5945 times)

0 Members and 1 Guest are viewing this topic.

Offline thesikaleon

  • Semi Newbie
  • *
  • Posts: 27
  • Gender: Male
  • Stonekin FTW
    • BattleForge.GR
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Last Users in 24 Hours
« on: November 03, 2011, 08:37:21 PM »
I use 2.0 RC4 and i have installed this mod Last Users In 24 Hours



This is vissible only in forum page.

How I can make it work in portal page?



What I want is a block shown all user names being active in last 24 hours and not just the numder of users.

Pls any idea how to make it work?
« Last Edit: November 03, 2011, 08:43:16 PM by thesikaleon »

Offline Eliana Tamerin

  • Comrade
  • *
  • Posts: 2889
  • Gender: Female
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: Last Users in 24 Hours
« Reply #1 on: November 03, 2011, 11:55:00 PM »
You would have to modify the PortalBlocks.php file in /Sources, the sp_whosOnline function is the one you'd want to modify.

SP currently has built-in support for this mod, though, which does basically the same thing: http://custom.simplemachines.org/mods/index.php?mod=217
Ms. Eliana TamerinIt should be painfully obvious by now that I don't respond to support PMs. Don't send me PMs for support. They will be ignored and deleted, post on the Support Boards to get support.

Offline thesikaleon

  • Semi Newbie
  • *
  • Posts: 27
  • Gender: Male
  • Stonekin FTW
    • BattleForge.GR
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Last Users in 24 Hours
« Reply #2 on: November 04, 2011, 10:56:18 AM »
I use 2.0 RC4 and this mod is for SMF 2.0  :

And I dont think I can make the custom coding alone  :(

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: Last Users in 24 Hours
« Reply #3 on: November 04, 2011, 02:24:26 PM »
To use the mod you would have to upgrade to 2.0.1

2.0 RC4 is an out of date version.
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline thesikaleon

  • Semi Newbie
  • *
  • Posts: 27
  • Gender: Male
  • Stonekin FTW
    • BattleForge.GR
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Last Users in 24 Hours
« Reply #4 on: November 04, 2011, 02:53:37 PM »
2.0 RC4 is an out of date version.

when I have a theme and about 27 mods working only in 2.0 RC4 I just cant change smf version


And I think this is the main problem of SMF.
People install modifications, make custom coding and if they want to upgrade at next SMF version they have to DELETE all of their work

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: Last Users in 24 Hours
« Reply #5 on: November 04, 2011, 03:10:08 PM »
Quote
People install modifications, make custom coding and if they want to upgrade at next SMF version they have to DELETE all of their work

Wrong.

This is where emulate version comes in handy.

Out of 79 mods on my forum 25 are not 2.0.1

These 25 mods have been emulated to work on the forum.

Have you looked to see if any mods have been updated to work on 2.0.1?
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline thesikaleon

  • Semi Newbie
  • *
  • Posts: 27
  • Gender: Male
  • Stonekin FTW
    • BattleForge.GR
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Last Users in 24 Hours
« Reply #6 on: November 04, 2011, 03:20:49 PM »
Quote
People install modifications, make custom coding and if they want to upgrade at next SMF version they have to DELETE all of their work

Wrong.

This is where emulate version comes in handy.

Out of 79 mods on my forum 25 are not 2.0.1

These 25 mods have been emulated to work on the forum.

Have you looked to see if any mods have been updated to work on 2.0.1?

emulate version?
mods emulated?

I guess i miss something here  :o

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: Last Users in 24 Hours
« Reply #7 on: November 04, 2011, 07:35:57 PM »
This will help.
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline thesikaleon

  • Semi Newbie
  • *
  • Posts: 27
  • Gender: Male
  • Stonekin FTW
    • BattleForge.GR
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Last Users in 24 Hours
« Reply #8 on: November 05, 2011, 02:54:01 PM »
thanks emulation is really cool but doesnt solve my problem

After install the Online Today Mod, then my forum crashes.


I want one block to show "who's online last 15 min" (default block so no problem) and a block "who's online last 24 hours or today"
Is there any way i can make it?

Offline thesikaleon

  • Semi Newbie
  • *
  • Posts: 27
  • Gender: Male
  • Stonekin FTW
    • BattleForge.GR
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Last Users in 24 Hours
« Reply #9 on: November 05, 2011, 03:17:30 PM »
You would have to modify the PortalBlocks.php file in /Sources, the sp_whosOnline function is the one you'd want to modify.

I tried but I make it a mess  ;D