Log in

View Full Version : Entrypoint for custom showthread content plugin


charlie71
09-26-2009, 03:34 PM
hi,
i've added a custom area to my forum where people can post reviews to products. I want to show the last 5 reviews of a product in specific forum threads where people talking about this product.

The showthread page should look like this after change:

[ 1st post ]
[ Reviews ]
[ 2nd post ]
[ 3rd post ]

Which is the correct entry point for getting the db-entries and parsing the custom template?
I'm a bit confused about the entry points :S

I'm thankful for any suggestion :)
greets

Lynne
09-26-2009, 04:21 PM
Isnt' there some ad template for use after the first post in a thread - ad_showthrea_firstpost ? I'm not sure as I don't use them, but you might want to see where that template inputs code.

charlie71
10-16-2009, 11:27 PM
Hi Lynne,
It seems that there is a template called ad_showthread_firstpost only, no plugin hook.
Anyway, i used this hook for my code: postbit_display_complete, works good :)

greets