Forum Home
Press F1
 
Thread ID: 79597 2007-05-25 08:06:00 phpBB Recent Threads on main page Chilling_Silence (9) Press F1
Post ID Timestamp Content User
553011 2007-05-25 08:06:00 Hi all,

Im after a bit of a hand with phpBB, getting the most recent Threads to be displayed underneath the Forum Name.

I found:
www.phpbbhacks.com
But I wouldnt have a clue how to get the darn thing to work :(

Basically, the same way PressF1 has the "Last Post" if you goto the homepage, but underneath the forum name..

Comments / suggestions?

Many thanks


Chill.
Chilling_Silence (9)
553012 2007-05-25 08:53:00 Hey Chill

I am more then happy to help you install that hack/mod, IM me when we are bouth online at the same time & I will install it for you :)

that is if it will work with phpbb 2.0.22, as in past experience mods from phpbbhacks.com, are either badly made or they are very out-of-date & don’t work with the current version of phpbb
stu161204 (123)
553013 2007-05-25 10:12:00 I did this a couple years ago with one of my forums :

Open viewtopic.php with a text editor and search for the following section :


//
// Decide how to order the post display
//
if ( !empty($HTTP_POST_VARS['postorder']) || !empty($HTTP_GET_VARS['postorder']) )
{
$post_order = (!empty($HTTP_POST_VARS['postorder'])) ? : #444444; font-style : italic; "> $HTTP_POST_VARS['postorder'] : : #444444; font-style : italic; "> $HTTP_GET_VARS['postorder'];
: #444444; font-style : italic; "> $post_time_order = ($post_order == "asc") ? : #444444; font-style : italic; "> "ASC" : "DESC";
}
else
{
$post_order = 'asc';
$post_time_order = 'ASC';
}

Replace with this :


//
// Decide how to order the post display
//
if ( !empty($HTTP_POST_VARS['postorder']) || !empty($HTTP_GET_VARS['postorder']) )
{
$post_order = (!empty($HTTP_POST_VARS['postorder'])) ? : #444444; font-style : italic; "> $HTTP_POST_VARS['postorder'] : : #444444; font-style : italic; "> $HTTP_GET_VARS['postorder'];
: #444444; font-style : italic; "> $post_time_order = ($post_order == "asc") ? : #444444; font-style : italic; "> "ASC" : "DESC";
}
else
{
$post_order = 'desc';
$post_time_order = 'DESC';
}

Let us know how ya get on. Or if you need a hand to do it I'm also happy to help.
Greg (193)
553014 2007-05-25 10:20:00 Oops. I just re-read your query - I don't think my mod is what you're after, sorry! (the mod above simply changes the post order - latest first instead of latest last) Greg (193)
1