TinyPortal
Development => Block Codes => Topic started by: Swampy on August 08, 2010, 03:49:46 PM
Recent Topic block for a Specific Area(s)?
Is there block code for the above that will work with this release of TP?
I have a huge need for it.
Much thanks in advance.
Look through the snippets.
Quote from: Freddy on August 08, 2010, 03:59:20 PM
Look through the snippets.
I did but they all seemed for much early versions. Do you have a recommendation which one?
Not really no but if you find one that looks all right I can try converting it....guessing you are on the newest TP and SMF2 ?
Quote from: Freddy on August 08, 2010, 04:35:43 PM
Not really no but if you find one that looks all right I can try converting it....guessing you are on the newest TP and SMF2 ?
This is the one I was looking at.
http://www.tinyportal.net/index.php?topic=1234.0
SMF 2.0 RC3 and latest TP
If you are talking about getting the latest topics from a specific board on your forum, this is not as difficult as it used to be with earlier versions of SMF. There are some new ssi functions that make this fairly easy. The advanced mode of the recent topics function works pretty well for this.
ssi_recentTopics($num_recent = 5, $exclude_boards = null, $include_boards = 15, $output_method = 'echo');
Placing this into a php block will let you show the last 5 topics from board #15.
ZarPrime
Much thanks and appreciation ZarPrime!!!
You Rock!
Sure, NP. Can we go ahaead and mark this solved then? :)
ZarPrime
sure!
Great idea ZP O0