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
Problems with Recent Posts
Avatar
Chris Hustad
Member
Free Members
sp_UserOfflineSmall Offline
Sep 25, 2013 - 5:08 pm

Hello,

I have pages setup in Wordpress to display recent articles and recent forum posts.

I'm using the following code to display the newest topics from simple press for EACH forum and page (So each page has it's own unique forum in SP).

[sp_newest_topics forumIds='3' itemOrder='T' beforeTopic='' listTags='0' limit='10']

Here is the page that displays this:

http://www.werejustparents.com/tips/

The problem is Forum ID 3, which is parenting tips forum...has 3 topics.  But the page is only displaying one?

Here is that forum:

http://www.werejustparents.com/forum/parenting-tips-1/

 

Any idea why it's not pulling all of the topics from that forum?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 25, 2013 - 5:20 pm

sorry - no code there...

if you just pasted in php code then it will probably strip it. You need to paste it in and then  carefully highlight it and then use the syntax button - right, top toolbar.

And I think I need to see your code...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Chris Hustad
Member
Free Members
sp_UserOfflineSmall Offline
Sep 25, 2013 - 5:38 pm

I added spaces before sp and after '10' so it will display.

 

[ sp_newest_topics forumIds='3' itemOrder='T' beforeTopic='' listTags='0' limit='10' ]
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 25, 2013 - 5:47 pm

Then I think the problem is our fault - my apologies - but hopefully a fix will on its way to you at the end of this week.

Basically, the function at the end of all this was written to accept an array of forum IDs and not a comma delimited list. And that was wrong as it should have catered for both. I don't think you can send it as an array using a WP style shortcode (whereas you can with a template tag) but this should work after the update all being well.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Chris Hustad
Member
Free Members
sp_UserOfflineSmall Offline
Sep 25, 2013 - 5:53 pm

Thank you - I will await the update.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 25, 2013 - 8:59 pm

if all goes well, will be Sunday...

Avatar
Chris Hustad
Member
Free Members
sp_UserOfflineSmall Offline
Sep 25, 2013 - 10:05 pm

Thank you sir, I appreciate it.

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 26, 2013 - 3:35 am

You're welcome. And I apologise for the problem.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Chris Hustad
Member
Free Members
sp_UserOfflineSmall Offline
Sep 26, 2013 - 11:28 pm

For the record, our recent posts in our sidebar isn't working either.  Not showing the most recent posts.

The code:

[ sp_newest_topics itemOrder='T' beforeTopic='' ]

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 27, 2013 - 3:45 am

There are no known problems with this nor have there been for a very long time. Can you exoplian to me what you are seeing in detail please?

andy-signature.png
YELLOW
SWORDFISH
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: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10118
Posts: 79603