Advanced search  

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

Pages: [1]   Go Down

Author Topic: adsense in igames theme  (Read 7689 times)

0 Members and 1 Guest are viewing this topic.

clp

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 5
    • Wealth Portal
adsense in igames theme
« on: October 20, 2006, 06:27:46 am »

Hello!

I have just installed coppermine a couple of days ago.  I want to seek help in placing my adsense code specifically in my igames theme wherever possible.

I hope someone could help me.

Thanks.


Clarisse
« Last Edit: October 23, 2006, 06:22:46 pm by Sami »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: adsense in igames theme
« Reply #1 on: October 20, 2006, 06:31:19 am »

- Are you using it with PostNuke ? if No then you're postint to wrong board
- You can add your html code to themes/igames/template.html
Logged
‍I don't answer to PM with support question
Please post your issue to related board

clp

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 5
    • Wealth Portal
Re: adsense in igames theme
« Reply #2 on: October 20, 2006, 06:39:25 am »

- Are you using it with PostNuke ? if No then you're postint to wrong board
- You can add your html code to themes/igames/template.html

ooopss... sorry for posting in the wrong board.  No, im not using it with PostNuke.  Can you pls. tell me where exactly should i place my adsense code inside the file?  Im afraid to mess it up.

Clarisse
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: adsense in igames theme
« Reply #3 on: October 20, 2006, 06:46:27 am »

ooopss... sorry for posting in the wrong board.  No, im not using it with PostNuke
Moving ....

Can you pls. tell me where exactly should i place my adsense code inside the file?  Im afraid to mess it up.

- I'm not much familier with addsence code
- Depending on where you want to add show
- maybe you could add it right after this:
Code: [Select]
<div id="CUSTOM_HEADER">
  {CUSTOM_HEADER}
  </div>
and use <center> , </center> to align it at center of page
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: adsense in igames theme
« Reply #4 on: October 20, 2006, 09:49:46 am »

You can add your adsense code wherever you see fit. After all it's plain HTML and JavaScript, so it can go anywhere in template.html (which is plain HTML as well). We can't advice where exactly to place it unless you post at least a screenshot of your gallery and highlight the section you want your adsense code to go to.
Google's adsense program is geared towards people who at least know HTML.
Logged

clp

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 5
    • Wealth Portal
Re: adsense in igames theme
« Reply #5 on: October 20, 2006, 10:47:40 am »

Hi.  Here's the screenshot of my gallery.  I hope you could tell me where exactly to place my adsense code.   

Thanks.


[Edit GauGau] Replaced hotlinked image with attachment [/Edit]
« Last Edit: February 24, 2008, 07:20:26 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: adsense in igames theme
« Reply #6 on: October 20, 2006, 11:23:20 am »

themes/igames/template.html

Into a new line right below
Code: [Select]
<div id="MENUS">
  <div id="SUB_MENU">
    {SUB_MENU}
  </div>
  <div id="SYS_MENU">
    {SYS_MENU}
  </div>
</div>
As I said - this is plain HTML.
Logged

clp

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 5
    • Wealth Portal
Re: adsense in igames theme
« Reply #7 on: October 20, 2006, 12:10:51 pm »

thanks!  it worked.  I now have a link ad under the menus.

Can you pls. tell me where to put my code if i want ads to appear below RANDOM FILES and just above LAST ADDITIONS?

Thanks!


Clarisse
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: adsense in igames theme
« Reply #8 on: October 20, 2006, 12:11:52 pm »

use anycontent.php instead

- put your code under anycontent.php
- and set it between random and lastup under
config=>Album view =>The content of the main page

something like this:catlist/alblist/random,2/anycontent/lastup,2
Logged
‍I don't answer to PM with support question
Please post your issue to related board

clp

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 5
    • Wealth Portal
Re: adsense in igames theme
« Reply #9 on: October 23, 2006, 04:30:35 pm »

use anycontent.php instead

- put your code under anycontent.php
- and set it between random and lastup under
config=>Album view =>The content of the main page

something like this:catlist/alblist/random,2/anycontent/lastup,2

hey sami!  thanks a lot.  It worked.  :)
Logged

burnedbrass

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: adsense in igames theme
« Reply #10 on: February 24, 2008, 03:07:18 am »

Joachim and Sami, just want to say thanks it works - hairnations.com
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.