A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
LATEST FORUM POSTS
Jul 14, 2010
2:24 pm
LATOUR
Guest

i want to display a list of the latest forum posts on my main website, how do i do that?

Jul 14, 2010
3:16 pm

SP Master
Forum Posts: 22176
Member Since:
Nov 9, 2008
Online
Jul 14, 2010
4:53 pm
LATOUR
Guest

i need to custimize the output though, im looking for somthing like this:

 

$latest_posts = sf_recent_posts($args);

foreach ($latest_post as $lp) {

}

 

so i would like to put the data into some type of array and output it myself so i can custimze it fully

Jul 15, 2010
12:45 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

then easist thing to do is edit that template tag and have it return the list of posts rather than echoing it out…

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Yellow Swordfish, Jason Clark, Superfast
56 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 499

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2624

Members: 7354

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10876

Posts: 79446

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22175), Mr Papa (23688)