![]() |
Showing Adsense *Only If There's" 2nd Post?
I already know how to stick adsense after 1st post, however that's not what I want.
For example: If there only ONE POST in a thread - adsense will NOT show under 1st post, but when there's a 2nd post.. the adsense then will appear under 1st post. So basically, no 2nd post = no adsense. I'm not sure but does it has anything with the <else> code? Here's my coding sampling: Code:
<if condition="in_array($post['postcount'], array(1,9,10,15,20))"> -Nhat |
<vb:if condition="$post[postcount]==2" /></vb:if>
|
Quote:
Where exactly would I stick the code? Should it look something like this? Code:
<if condition="$post[postcount]==2" "in_array($post['postcount'], array(1,9,10,15,20))"> Tried the code above without success :) |
Try posting in 3.8 than this is 4.0...........
|
Moved to vB3 forums.
|
Any expert? :)
|
I don't know what you're trying to do with the array in your if statement, it should merely be:
Code:
<if condition="$post[postcount]==2"> |
All times are GMT. The time now is 02:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|