Hi

,
I was wondering if someone could post a simple hack development guide somewhere.
You could use your own simplest hack and then post how you thought of a solution and why you coded it in that way.
Like say you created a "get 10 latest threads from forum" hack. It would store the results in a variable like $latestten and then you could put $latestten in to any template and it would replace it with the results. I can assume that you run a SQL query to get posts arranged by date limit 10.
I don't really understand how you would go about planning something like that and where you would actually store the query and how you'd get VB to run it and how you would make it into a plugin.
Can someone please write a simple tutorial like that?
Thanks
edit: fixed typo