Hey,
I have seen alot of people wanting to have adverts between posts so I will write this short tutorial on how to do it.
There is currently a mod that does it but if you want a quick and easy method just use this.
This idea was based upon CyberAliens idea from various posts.
1. #
2. #-----[ OPEN ]------------------------------------------
3. #
4. templates/subSilver/viewtopic_body.tpl
5. #
6. #-----[ FIND ]------------------------------------------
7. #
8. <END>
9. #
10. #-----[ BEFORE, ADD ]------------------------------------------
11. #
12. <php>
13. <tr>
14. <td colspan="2" align="center" class="row1">
15. put here your ad code
16. </td>
17. </tr>
18. <php>
19. #
20. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
21. #
22. # EoM
That will put an advert after the first post on each page of the topic.
If you are wanting to put an advert after the first cat. Do this;
1. #
2. #-----[ OPEN ]------------------------------------------
3. #
4. templates/subSilver/index_body.tpl
5. #
6. #-----[ FIND ]------------------------------------------
7. #
8. <END>
9. #
10. #-----[ BEFORE, ADD ]------------------------------------------
11. #
12. <php>
13.
14. <div>
15. Ad code here
16. </div>
17.
18. <php>
19. #
20. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
21. #
22. # EoM
And there we go, it is really that simple. The thing the remember with adsense (tutorial mainly aimed at adsense users) is that you must experiment to find the best place for your ads.
As with all tutorials in the the extreme styles mod tutorials they need XS mod.
If you would like to show the ads in between posts/cat. for guests only use this.
For in between cat.
1. #
2. #-----[ OPEN ]------------------------------------------
3. #
4. templates/subSilver/index_body.tpl
5. #
6. #-----[ FIND ]------------------------------------------
7. #
8. <END>
9. #
10. #-----[ BEFORE, ADD ]------------------------------------------
11. #
12. <BEGIN>
13. <php>
14. <tr>
15. <td colspan="2" align="center" class="row1">
16. put here your ad code
17. <br>
18. <a href="{U_REGISTER}">Register to remove this advert.</a>
19. </td>
20. </tr>
21. <php>
22. <END>
23.
24. #
25. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
26. #
27. # EoM
Or for after the first post:
1. #
2. #-----[ OPEN ]------------------------------------------
3. #
4. templates/subSilver/viewtopic_body.tpl
5. #
6. #-----[ FIND ]------------------------------------------
7. #
8. <END>
9. #
10. #-----[ BEFORE, ADD ]------------------------------------------
11. #
12. <BEGIN>
13. <php>
14. <tr>
15. <td colspan="2" align="center" class="row1">
16. put here your ad code
17. <br>
18. <a href="{U_REGISTER}">Register to remove this advert.</a>
19. </td>
20. </tr>
21. <php>
22. <END>
23.
24. #
25. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
26. #
27. # EoM