MyBB Hacks

Full Version: template conditional not working on postbit_classic
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello!!

i am using template conditional for my forum http://studentsuvidha.com/forum

but problem is that when i am using this condition(written below) on template postbit then it is working fine but whenever i am trying to use this on postbit_classic or postbit_attachments then this condition is not working. actually i want to show ads within attachment box of first post of any thread.

<if $postcounter == 1 then>
...ad HTML here...
</if>
If it works in postbit, it'll work in postbit_classic

For attachments, replace $postcounter with $GLOBALS['postcounter']
thanks zingaburga. $GLOBALS['postcounter']  working for attachment box. but condition not working for postbit_classic really, but working for postbit.

but i think all condition will be work on postbit and my work will be complete. i want to ask that as condition not working on postbit_classic so i am gonna miss something if i want to complete my work with postbit template only.??  if yes then only i will try to find a way to fix this.

and you are really helpful person

thanks for your response.

have a good day.

sorry for my bad english
Reference URL's