PDA

View Full Version : google ads in archive


Wajow-community
10-10-2013, 01:47 AM
Hi,

Where can i find this module the google adsense in archive?

thnx

ozzy47
10-10-2013, 01:51 AM
The archive don't use templates, so the only way to do that would be with a file edit, and is typically not advised.

Wajow-community
10-10-2013, 03:54 PM
The archive don't use templates, so the only way to do that would be with a file edit, and is typically not advised.



for vb 3.x.x there was a mod/plug google ads for archive page.. can i download it for vb 4?

dougdirac
10-10-2013, 06:45 PM
For vB4 you just use the Ad manager in the AdminCP.

AdminCP-->Advertising-->Add New Ad

select Archive

Wajow-community
10-11-2013, 09:11 AM
For vB4 you just use the Ad manager in the AdminCP.

AdminCP-->Advertising-->Add New Ad

select Archive

thnx for helping i have it.

dougdirac
10-11-2013, 07:56 PM
Glad I could help,

Though now I'm using DFP and need to place some code in the header.

So I'll need to edit /archive/index.php?

induslady
12-13-2013, 05:31 PM
Hi Doug,

I need help with displaying Adsense ads in Archive page.

I'm using AdminCP-->Advertising-->Add New Ad for Archive.
I want to display two 300x250 ads on the Top of the page and 728x90 in the bottom of the page.

I'm also in DFP (using Google Publisher tags, asynch type).
So I've edited /archive/index.php to include adcode in the header.

Still only one 300x250 gets displayed in the top of the page. The rest of the ads doesn't display.

What could be wrong? Can you please help?

Here's my archive page link: http://www.indusladies.com/forums/archive/index.php/

snakes1100
12-13-2013, 05:34 PM
There is a simple google ad archive hack for vb4 to add the advertising to the archive, which works good, use it instead of hacking up your files.

induslady
12-17-2013, 06:42 PM
Hello Anthony,

Do you mind pointing me to the Google ad Archive hack for vB4?

I searched here and could find one only for vB 3.6 / 3.7.

Thank you!

--------------- Added 1387310311 at 1387310311 ---------------

Further working on getting ads displayed in the archive page this is what I have:

http://www.indusladies.com/forums/archive/index.php/

Is this how the two 300x250 ads will sit one below the other? How can I get them displayed side-by-side?

The 728x90 ad at the bottom, how can I get it in the 'centre' of the page?

--------------------

I'm in DFP (using Google Publisher tags, asynch type).
So I've edited /archive/index.php to include adcode in the header.

I've included the <body> portion of the ad code in 'Ad Location Templates' for Archive.

(Note: AdminCP-->Advertising-->Add New Ad for Archive - didn't work; I'm using vB4.2.1)

TheLastSuperman
12-17-2013, 09:55 PM
There is a simple google ad archive hack for vb4 to add the advertising to the archive, which works good, use it instead of hacking up your files.

Did you mean the analytics mod that Joe did which also places the analytics code in the archives?
https://vborg.vbsupport.ru/showthread.php?t=256325

induslady
12-19-2013, 06:52 PM
TheLastSuperman,

I guess Snakes1100 meant this one - https://vborg.vbsupport.ru/showthread.php?t=231351

I installed this and could display a 728x90 ad on both header and footer of Archive page :)