Adsense in different area.. Adsense in different area..
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Adsense in different area..

Started by disposition, January 11, 2008, 05:49:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

disposition

Hi,

I search your massive area on this forum for different adsense placement, but my question is I would like a small adsense ad to be placed between "Rate This File" and "Add your comment".

I hope you can help.

Thanks
www.blackdeathmetal.com     - main website
http://www.blackdeathmetal.com/displayimage.php?album=2&pos=6     - link to area I want an ad.

Joachim Müller

Both sections you refer to only get displayed on your page if a visitor is logged in. Do you want the adsense code only to be displayed for registered users?

disposition


Joachim Müller

Then either modify the rating section and add the adsense code below it or edit the comment section and add the adsense code in front of it. To do this, edit themes/yourtheme/theme.php, find the corresponding section and edit it. If the section you're suppossed to edit doesn't exist in your custom theme, copy the definition from themes/sample/theme.php into a new line of themes/yourtheme/theme.php before ?>and then modify it.
It's always the same way, described in thousands of postings on this board. I'm reluctant to explain this yet one more time - after all, you're a frequent posted on this board, so I can expect that you have done your homeworks.
The sections to search for arefunction theme_html_rating_boxorfunction theme_html_comments($pid)

disposition

I will give it a try and see how it comes out, I will keep ya posted.

Thanks!

disposition

I got it working.  It is a cool addition to the site.

Thanks for your help.