PDA

View Full Version : Thread starter INSTEAD of last poster in blocks


addamroy
12-27-2012, 03:09 AM
How do I show the 'thread starter' for threads showing in the forum sidebar, instead of the default 'last poster' info.

Basically I have a block that puts the most replied thread each week on the homepage. Essentially the block says 'last post by someguy. yesterday 11:11pm', and it stays like that the whole week.

I'm sure there's a way to create a new block template from the existing one, but change it up so it says 'Started by someguy' and the date the thread was started, instead of the last post info. I just don't know how to do it i just know it's possible.

addamroy
12-29-2012, 02:17 PM
Anyone?

kh99
12-29-2012, 02:46 PM
Try this: edit the template block_threads and search for this:
<vb:if condition="$threadstype == 0">


and change it to:
<vb:if condition="$threadstype == 0 OR $threadstype == 2">

addamroy
12-29-2012, 03:39 PM
perfect! Thanks for the help I super appreciate it.