News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

how to display recent post on all forum actions

Started by Hiver101, April 10, 2009, 11:05:59 AM

Previous topic - Next topic

Hiver101

Is subject possible? Please let me know. I already put the Updated topic at top but I still need to show the recent post on every forum pages.

Please Help

KahneFan

Someone probably has a better answer, but off hand, you could use SimplePortle and create a recent posts block and have it display on your entire forum. You can turn off the front end of SP so no one even knows it's really active, they'll just see the new block.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Hiver101

#2
Please see my Recently Updated topic on top right below the shoutbox. http://www.thegamershive.net/forum/index.php. I reformatted it and i want it to be shown in every page. Please help

Adish - (F.L.A.M.E.R)

The requested document was not found on this server.

Thats the message I get. Let us know about the link.

Which portal have you installed?

Hiver101

#4
i didn't use any portal instead i move the recent post block at the top right after the link tree.

here is the sample


Adish - (F.L.A.M.E.R)


Bulakbol

You should look at the SSI.php. There is a function called ssi_recentTopics().
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Hiver101

Hi,
I'm not really good in PHP. can you please detail what i'm going to do? thanks

Bulakbol

#8
I can only give you example.

index.template.php, find
// Version: 2.0 RC1; index
add after
include_once('.\ssi.php');

Code (find) Select
<body>';
Code (add after) Select
ssi_recentTopics();

or if you want recent posts
Code (add after) Select
ssi_recentPosts();
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Hiver101

because of your great help

here is the result on my forum site

http://thegamershive.net/forum/index.php

many thanks.

Bulakbol

Looking good. Good idea too. You probably already know that the
ssi_recentTopics(10);
will return/display 10 topics.

You're welcome BTW.
(Walang anuman lol)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Hiver101

Pinoy?

I modified the layout of the recent post list to meet my needs.

thanks for the great help, really

Advertisement: