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

Reply
 
Thread Tools Display Modes
  #11  
Old 07-12-2018, 01:52 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Ah good catch, yes in that case no checkboxes need to be set.
Thanks for confirming Dave. I'm fairly new at this...so good to have someone confirm things.
Reply With Quote
  #12  
Old 07-12-2018, 01:53 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are not using an ad blocker that could cause it not to display?
Feel free to private message me your website URL so I can take a look to see if it's working or not.
Reply With Quote
  #13  
Old 07-12-2018, 02:01 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iA1 View Post
Are you using a custom style? Maybe ad templates are disabled in that. Check the default template. Also, do you have ad block installed?
Great questions!

Yes...I normally do have an ad blocker installed...but I have it uninstalled at the moment. And I'm also using a 2nd computer (with no ad blocker)...and I'm getting the same results.

Also awesome question regarding a custom style. I do believe I'm using a custom style (not vBulletin 4 default). I went to "Styles & Templates"...then "Style Manager"...then scrolled to the settings for "Ads". Hopefully I'm in the correct area.

Attached is a screenshot of the settings. Anything look unusual?

Thanks
Attached Images
File Type: jpg Screen Shot 2018-07-12 at 11.50.28 AM.jpg (90.2 KB, 0 views)
Reply With Quote
  #14  
Old 07-12-2018, 02:31 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From what I can see, you have Google Analytics properly inserted and 2 Google ad locations: below navbar and above footer.

However, the Google Ads script code is missing, which causes the ads not to display. The Google Ads actual script that loads Google Ads must be inserted in the headinclude template. (where you inserted the Google Analytics script)
Reply With Quote
  #15  
Old 07-12-2018, 03:42 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
From what I can see, you have Google Analytics properly inserted and 2 Google ad locations: below navbar and above footer.

However, the Google Ads script code is missing, which causes the ads not to display. The Google Ads actual script that loads Google Ads must be inserted in the headinclude template. (where you inserted the Google Analytics script)
When you say the Google Ads Script is missing. Are you referring to the area in the screenshot (the "Ad Manager" area)...or somewhere else totally different?

As you can see...I do have the Google Ad script code entered in the Ad Manager area.

Thanks
Attached Images
File Type: png Screen Shot 2018-07-12 at 1.35.45 PM.png (74.5 KB, 0 views)
Reply With Quote
  #16  
Old 07-12-2018, 04:13 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok...I did a search in the "Search in Templates" area...and found the "headinclude" template.

Are you saying that the same Google AdSense code that was inserted in the "Ad Manager" area...also needs to be inserted in the "headinclude" template as well?

If so...where do I insert it...without messing things up.

Thanks
Reply With Quote
  #17  
Old 07-12-2018, 05:08 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that script is not showing up on your forum. Insert it into the headinclude template and see if it then works.
Reply With Quote
  #18  
Old 07-12-2018, 05:31 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<u>Just to be 100% sure:
</u>
- Does it matter where the code is inserted in the headinclude template? I don't want to mess things up.

- Can this html code be inserted directly into the headinclude template...without any additional PHP code?

- Is the Google AdSense code that I inserted into the Ad Manager needed in both places to work properly (Ad Manager and headinclude template areas)?

Thanks
Reply With Quote
  #19  
Old 07-12-2018, 05:34 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No need to worry, even if things break you can easily restore it back to how it used to work.
Just insert the Google Ads script at the bottom of the headinclude template and don't do anything else.
Reply With Quote
  #20  
Old 07-12-2018, 05:43 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok...gonna give it a shot.

--------------- Added [DATE]1531424927[/DATE] at [TIME]1531424927[/TIME] ---------------

Hey hey hey...it worked!!! Yeyyy!

Thanks Super-Dave!

--------------- Added [DATE]1531425015[/DATE] at [TIME]1531425015[/TIME] ---------------

If I wanted to get more ads working on my site...what files do I need to insert the Google Adsense code into?

For example:

- footer
- header
- sub-forums
- within threads
- etc.


Thanks

--------------- Added [DATE]1531426204[/DATE] at [TIME]1531426204[/TIME] ---------------

As an example of where else to place ads. If I click on "Add New Ad"...I get the "Ad Selector" window. There's a drop down menu at the center top...with selection choices of (Global, Thread, Forum, Board).

If I wanted to get ads operating in these area's...do I need to add the Google AdSense code to different templates to get the ads working in these areas?

Thanks

--------------- Added [DATE]1531488833[/DATE] at [TIME]1531488833[/TIME] ---------------

Hey all. Dave helped me with getting my AdSense ads working in the header area of my website (mostly the home page)...still no luck getting ads working in other positions and other areas.

Would like to get adds working in the:

- Footer
- Right margin
- Other positions too.

Also would like to get adds working on other pages/areas of website subpages such as :

- sub-forum groups
- indivdual sub-forums
- individual threads

Also in the header, footer, and right margin areas.

Thanks
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 06:11 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.07096 seconds
  • Memory Usage 2,279KB
  • Queries Executed 12 (?)
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
  • (2)postbit_attachment
  • (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_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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete