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


Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Who's Online Block Alphabetize?

Started by tk2012, September 15, 2009, 08:08:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tk2012

How do I go about making both of the sections for the Who's Online Block appear in alphabetical order instead of by sign-on?

I want the User's Online and the Online Today lists to appear this way, so it is easier to find people.


Also, is there a way to increase the number that it shows before it becomes a scroll?

SMF2.0 RC1.2
default

Nathaniel

Quote from: tk2012 on September 15, 2009, 08:08:49 PM
How do I go about making both of the sections for the Who's Online Block appear in alphabetical order instead of by sign-on?

I want the User's Online and the Online Today lists to appear this way, so it is easier to find people.

The edit below is the easiest way to do this. However, you should only perform this edit if you don't use the 'ssi_whosOnline' function for anything else.

Code ("Find (SSI.php)") Select
'sort' => 'log_time',
'reverse_sort' => true,


Code ("Replace") Select
'sort' => 'real_name',
'reverse_sort' => false,


Quote from: tk2012 on September 15, 2009, 08:08:49 PM
Also, is there a way to increase the number that it shows before it becomes a scroll?

Find the 'sp_online_flow' class in your '/Themes/default/css/portal.css' file. Change the 'max-height' value as required.
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.