Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Featured Topics and Posts Plugin - populate from most recent forum topics? display as Scrolling text box?
Avatar
Azti
Member
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2013 - 4:19 pm

Greetings,

Has anyone modified the "Featured Lists" plugin to populate the list directly from the database for N number of the most recent forum topics, or reply to topics, from all of the forums on the Site? I.E. treat it as a stack and display the most recent N posts? And then feed that into a Scrolling Text Widget? Is anybody working on this, by chance?

I was hoping this was already in the capabilities... Sadly not, it seems...

I am in the process of porting the http://www.ethericwarriors.com...../forum.php site to WP/SP and one of the existing features is just such a scrolling box with the latest forum posts (3rd box down on the Left Sidebar), from all of the forums on the site. There is a WP plugin that does this for WP Posts (Vertical scroll recent post), I am considering  hacking that one to pull from the SP part of the database. Or conversely hacking this SP Plugin (Featured Topics and Posts). I am not certain, yet, which of the two choices would be easier (or better).

I am an experienced Perl Coder diving (again, and deeper) into the world of PHP (a frustrating exercise, lol)... What is the best source of documentation for the SP API? I went to the codex but so much of it is, as yet, unwritten...

Regards,

--Azti

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2013 - 7:29 pm

sorry, dont understand...  you want the feature posts to just be the most recent posts?  why not just use the recent posts template tag instead??  there are multiple 'recent' posts template tags (see http://codex.simple-press.com/.....gs-plugin/)... not sure why we would duplicate those in the featured topics/posts plugin, but maybe I am missing something...

scrolling text widget?  yikes.. ;)   but if this widget lets you enter a shortcode or template tag, should be fine...

 

Avatar
Azti
Member
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2013 - 9:03 pm

Thanks, "recent post template tag" it is... You are almost certainly NOT missing anything... Its me who is missing concepts and what's available in SP and WP... I hadn't looked at these Template Tag "beasties" yet, lol (http://codex.wordpress.org/Template_Tags) Will dig in now.. As you can likely see, I don't know much about how to drive SP yet as I'm just now diving in... for that matter I'm fairly new to hacking WP in general (but starting to figure out how its "wired")...

In any case, yes, a scrolling text box with the latest posts... Its what the user base is used to and I don't want any "grumbling" as I move the site forward and build its readership...

Thanks again,

--Azti

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2013 - 11:20 pm

the simple press api is much like the wp api - a bunch of hooks, filters and actions...  yes, the codex is a big lacking in that area, but we are trying to get to it...

for now, best to look at code for the hooks, or just ask here regarding what you want to do...  may not always be possible, but like wp, we can add more hooks when needed...

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: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625