vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   Can't get the AdSense to work on the CMPS! (https://vborg.vbsupport.ru/showthread.php?t=118668)

chick 12-02-2006 01:16 PM

thanks so so much!

RedTyger 12-02-2006 01:20 PM

Not to spam my own mod :p but it can be used to manage Ads across non-standard vBulletin pages including vB CMPS. I forget how exactly, you'd have to search the 3.6 thread to see but it was just a case of changing a phrase slightly and pasting it into the navbar instead of the header.

chkdgate 12-18-2006 09:34 AM

Quote:

Originally Posted by KW802 (Post 1008091)
For an Adsense module even a very old version of a module should work since it's just an HTML template.

I'm attaching a Google Adsense module that I use on one of my sites. Take the following steps...

1. Import it. (ACP => vBa CMPS => Download Upload Module)

2. Modify the template 'adv_portal_google_adsense' and replace the code between "<!-- START: Google Code -->" and "<!-- END: Google Code -->" with your own Google Adsense code. (ACP => Styles & Templates => Style Manager => {choose your parent style} => Edit Templates)

3. [OPTIONAL] Modify the module to make any changes to it (eg: Switch it from the left to the middle or right columns, etc.). (ACP => vBA CMPS => Edit Modules => Google Ads)

4. Modify the CMPS page(s) that you want your Google Ads to appear on. (ACP => vBa CMPS => Edit Pages => {select your page} => {turn on the check box for Google Ads})

I'm also attaching a screen shot of what the final result should look like.

Can this work for 3.6.4? I just upgraded.

^^It does work but can you use more than 1?

KW802 12-19-2006 01:57 AM

Quote:

Originally Posted by chkdgate (Post 1140884)
Can this work for 3.6.4? I just upgraded.

Should work fine with just about version of vBa CMPS that supports importing modules since it's just some HTML code. For older versions the templates would need to be done manually (since the older versions of CMPS didn't have support for importing/exporting modules).

Quote:

Originally Posted by chkdgate (Post 1140884)
^^It does work but can you use more than 1?

Sure. Either modify the template to put your additional code into or copy the existing module into a new one (ACP => vBa CMPS => Edit Modules => {select existing Google module} => Select An Action => Copy) => {...}).

chkdgate 12-23-2006 08:36 AM

I tried using 2 modules on my front page but I can't seem to get it to not distort.

KW802 12-26-2006 06:30 PM

Quote:

Originally Posted by chkdgate (Post 1143899)
I tried using 2 modules on my front page but I can't seem to get it to not distort.

Have a link I can see it on?

mattonline 04-11-2007 07:59 PM

thanks just installed! www.EntrepreneurForum.co.uk


All times are GMT. The time now is 01:14 PM.

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.01005 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete