Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Forum Preview/Recent Posts Widget
Avatar
neon
Member
Free Members
sp_UserOfflineSmall Offline
Jan 4, 2012 - 12:02 am

Does the forums recent posts preview still work in 5.0?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 4, 2012 - 7:10 am

there is a new recent posts widget and template tag... so yeah... the name of the template tag has changed to sp_RecentPostsTag() with a whole slew of potential options (see the code)... for either, you will need the template tags plugin for SP...

Avatar
neon
Member
Free Members
sp_UserOfflineSmall Offline
Jan 6, 2012 - 2:05 am

Thanks. Is there any documentation on it yet?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 6, 2012 - 4:43 am

Sadly Brandon did write up the widget which was lost when we had the server issues before Christmas. So the answer is not yet.
But the recent posts template tag is pretty well documented in the code header

andy-signature.png
YELLOW
SWORDFISH
Avatar
neon
Member
Free Members
sp_UserOfflineSmall Offline
Jan 7, 2012 - 7:46 pm

Yellow Swordfish said

Sadly Brandon did write up the widget which was lost when we had the server issues before Christmas. So the answer is not yet.
But the recent posts template tag is pretty well documented in the code header

Thanks will have a look.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 7, 2012 - 8:36 pm

we hope to get the codex population started soon...

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Jan 7, 2012 - 10:55 pm

The codex info on the widget and how to setup is still available.

http://codex.simple-press.com/.....i/widgets/

If you use a theme that allows widgets in different areas, header, sidebar, footer, etc then that may be all you need.

We did lose the info on how to use that template tag but as Andy said it is pretty well documented.

For example here is one of my setups.

<?php sp_RecentPostsTag('beforeForum=In the Forum: &afterForum= &beforeUser= <b>&afterUser=  </b>&beforeTopic=  posted:&afterDate=<hr />&itemOrder=FUTD&limit=12');?>

Makes it look like this:

In the Forum: Slingbox Hardware MuzicEngineer posted: Slingbox Pro-HD has bad capacitors too!!
 - 26 minutes ago

 

I hope to rewrite this one and post it soon.

Avatar
neon
Member
Free Members
sp_UserOfflineSmall Offline
Jan 16, 2012 - 4:02 pm

Thanks. So something like this    

<?php sf_recent_posts_tag(10, true, true, true, false, false, true, $avatar=true, $size=100); ?>

 will no longer work?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 16, 2012 - 4:19 pm

No
We have changed all template tags and functions to use the alternative WP syntax of the 'argument1=x&argument2=y'... etc. type.

andy-signature.png
YELLOW
SWORDFISH
Avatar
lmk
Guest
Guests
Jan 20, 2012 - 10:06 am

neon said

Does the forums recent posts preview still work in 5.0?

Trying to se posted files

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626