PDA

View Full Version : enter image halfway through a thread


sabret00the
04-02-2004, 02:04 PM
basically what i would like, is to be able to have an image or banner between the 19th and 20th post (if i have my user options set to display 40 posts per page) so basically i would like the ability to have ads halfway through a thread.

i'm not sure but i thought this may be able to be done via conditionals?

sabret00the
04-03-2004, 12:46 PM
*bump*

Zachery
04-03-2004, 06:08 PM
I think it can but im not sure how well it would be done O.o ill take a look into the conditionals though

sabret00the
04-03-2004, 06:45 PM
thanks i appreciate your help :)

Zachery
04-03-2004, 07:09 PM
I know you could show an add on the last postbit, or the first one, i havent had a chance to check yet, but i know thos two are possible at the very least

sabret00the
04-03-2004, 08:25 PM
i think it will be something like

<if condition="$postid = half of ($bbuserinfo[maxposts]) AND THIS_SCRIPT=showthread">whatever you want here</if>

just chuck that at the bottom of postbit template but obviously it would need a template king to get the right template conditional

sabret00the
04-06-2004, 08:44 PM
i know you're busy zack but any progress?

sabret00the
04-16-2004, 11:21 PM
*bump*