Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hey,
I want to put into my advanced forum structure my one goodle adsense ad.
I want it like in phpbb - to be beetween first and second post for example
- FIRST POST
- GOOGLE ADSENSE ADS
- SECOND POST
- THIRD POST
what should i do? Should I rebuild some *.tpl ?
thank you
Comments
Comment #1
MichellePut this at the end of advf-forum-post.tpl.php:
Michelle
Comment #2
pawi81 CreditAttribution: pawi81 commentedIf i put it here:
there is in every or 2 first topics on the bottop where is "login to reply" google ads :/
Comment #3
pawi81 CreditAttribution: pawi81 commentedComment #4
MichelleThat isn't where I said to put it; I told you to put it at the bottom. If you put it where I told you to, it will work like you want.
Michelle
Comment #5
pawi81 CreditAttribution: pawi81 commentedI'm sorry i'm bad at coding...
should i put it where the last endif is?
Comment #6
pawi81 CreditAttribution: pawi81 commentedsorry, i've got it :D
thank you
Comment #8
sp09 CreditAttribution: sp09 commentedWhere do you place the file at?
Comment #9
frenk CreditAttribution: frenk commentedWhere do have to put the adsense code with AF 2.0-alpha3?
Can't find advf-forum-post.tpl.php
Comment #10
Michelleadvanced_forum.naked.post.tpl.php
Michelle
Comment #11
frenk CreditAttribution: frenk commentedThank you!
Comment #13
pawi81 CreditAttribution: pawi81 commentedOne more question to this topic - already done with 6.x-2.0-alpha3 after top post google adsense - it's ok, but what if I want that my google adsense banner would show after every post - where should i put adsense code?
Comment #14
MichelleSame file. Keep in mind, though, that you can only have 3 Google ads on a page per their TOS.
Michelle
Comment #15
pawi81 CreditAttribution: pawi81 commentedOh thank you, then i must pass it away :)
Comment #17
kharonturk CreditAttribution: kharonturk commentedI did as you said. But the adsence code is for each article.
Just do what needs to release two or three ads?
Comment #18
kharonturk CreditAttribution: kharonturk commentedThis:
http://drupal.org/node/1282424
Comment #19
tonu110 CreditAttribution: tonu110 commentedDeleted