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


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

board news block

Started by unoit, May 01, 2013, 11:17:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

unoit

I'm using the board news block, is there away to set it up so when a member post the that will go to the top.at the moment they don't change postion.

[SiNaN]

Sources/PortalBlocks.php

Code (Find) Select
ORDER BY t.id_first_msg DESC

Code (Replace) Select
ORDER BY t.id_last_msg DESC

There are two instances of the code you need to replace.
And slowly, you come to realize... It's all as it should be...

unoit

thanks, where do I find? Sources/PortalBlocks.php   :-[

[SiNaN]

Well, you need to connect to your site using an FTP client and edit the files manually. Connect to your site using an FTP client like you did while you were uploading SMF files, go to your site root, then to Sources directory and download PortalBlocks.php file. Open it with a text editor like Notepad, make the change, upload the file back replacing the old one.
And slowly, you come to realize... It's all as it should be...

unoit


[SiNaN]

And slowly, you come to realize... It's all as it should be...