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: 1336
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any 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]


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

Last Users in 24 Hours

Started by thesikaleon, November 03, 2011, 08:37:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thesikaleon

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?

Eliana Tamerin

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.

thesikaleon

I use 2.0 RC4 and this mod is for SMF 2.0  :

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

Old Fossil

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

thesikaleon

Quote from: Brack1 on November 04, 2011, 02:24:26 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

Old Fossil

QuotePeople 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

thesikaleon

Quote from: Brack1 on November 04, 2011, 03:10:08 PM
QuotePeople 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

Old Fossil

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

thesikaleon

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?

thesikaleon

Quote from: Eliana Tamerin 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.

I tried but I make it a mess  ;D