Adding an SSI Function to show a List of Specific Topics

Started by ldk, November 13, 2005, 03:58:36 PM

Previous topic - Next topic

ldk

Hello,

I've added some very simple SSI functions to SSI.php that I've needed but now I'd like to add one and I can't figure out how to write it.

Basically I'd like to pass in a string which is a list of topic IDs like: "101,200,556" and have it output something that looks exactly like what "ssi_recentTopics" outputs. But obviously it would just show the topics for the IDs passed in.

If anyone could help me that would be great!
see SMF put to the test at http://www.craftster.org/

Trekkie101

My favourite mod of all time!

(Although it works by message id so its not quite the same)

http://mods.simplemachines.org/index.php?mod=18

ssi_grabmessage(id)

ldk

see SMF put to the test at http://www.craftster.org/

Advertisement: