Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Keep The TechnoWorldInc.com Community Clean: Read Guidelines Here.
Recent Updates
[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[February 14, 2024, 02:00:39 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   MegaPixelShop
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Computer / Technical Issues » Internet » Websites » Google
 Adsense after first post
Pages: [1]   Go Down
  Print  
Author Topic: Adsense after first post  (Read 1144 times)
Khushi
Global Moderator
Adv. Member
*****



Karma: 4
Offline Offline

Posts: 329

Hello!!


View Profile
Adsense after first post
« Posted: January 03, 2007, 01:55:47 PM »


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.

Code:
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;

Code:
 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.

Code:
 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:

Code:
  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

Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.092 seconds with 26 queries.