Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2013, 01:47 AM
Wajow-community Wajow-community is offline
 
Join Date: Dec 2009
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default google ads in archive

Hi,

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

thnx
Reply With Quote
  #2  
Old 10-10-2013, 01:51 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The archive don't use templates, so the only way to do that would be with a file edit, and is typically not advised.
Reply With Quote
  #3  
Old 10-10-2013, 03:54 PM
Wajow-community Wajow-community is offline
 
Join Date: Dec 2009
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
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?
Reply With Quote
  #4  
Old 10-10-2013, 06:45 PM
dougdirac's Avatar
dougdirac dougdirac is offline
 
Join Date: Nov 2011
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For vB4 you just use the Ad manager in the AdminCP.

AdminCP-->Advertising-->Add New Ad

select Archive
Reply With Quote
  #5  
Old 10-11-2013, 09:11 AM
Wajow-community Wajow-community is offline
 
Join Date: Dec 2009
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dougdirac View Post
For vB4 you just use the Ad manager in the AdminCP.

AdminCP-->Advertising-->Add New Ad

select Archive
thnx for helping i have it.
Reply With Quote
  #6  
Old 10-11-2013, 07:56 PM
dougdirac's Avatar
dougdirac dougdirac is offline
 
Join Date: Nov 2011
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #7  
Old 12-13-2013, 05:31 PM
induslady induslady is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/
Reply With Quote
  #8  
Old 12-13-2013, 05:34 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 12-17-2013, 06:42 PM
induslady induslady is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [DATE]1387310311[/DATE] at [TIME]1387310311[/TIME] ---------------

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)
Reply With Quote
  #10  
Old 12-17-2013, 09:55 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:54 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07156 seconds
  • Memory Usage 2,248KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete