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 06-12-2012, 01:02 PM
Budget101 Budget101 is offline
 
Join Date: Jul 2008
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Specify Ad Loading Order

Is there a way to specify the loading order of ads in vbulletin? To be more specific, Are there template or div tag changes that can be made to force ads in the middle of the page to load before ads located at the Top of the page?

Thank you in advance for any assistance you can provide!
Reply With Quote
  #2  
Old 07-06-2012, 12:33 AM
Jonathan81 Jonathan81 is offline
 
Join Date: May 2007
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to know the answer to this too!

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

This is direct from Google...but can anyone explain how this can be done on VB?

Make sure that the best performing ad unit (highest CTR) is the first in your HTML code to improve your revenue.

First, you will need to place a DIV tag right below the BODY tag in order to let the browsers know which ad unit goes first in the source code HTML. Note that it doesn't mean that this ad unit will show up first on the page. Here is the code:

<div id=”ad1″>
Insert your ad code here
</div>

Next, insert the CSS code below into the style sheet of your website. Since all sites are different, we recommend that you test attributes (left, right, top, bottom) in order to place your ad unit correctly. Make sure to adjust height/width depending on the ad format.

#ad1 {
width’ : ‘468px;
height: 60px;
position: absolute;
left: 140px;
right: 0px;
bottom: 0px;
top: 350px;
}

If you don't use style sheets, you will need to insert the above code into DIV tags between the HEAD tags in the HTML source code.

<style type=”text/css”>
Insert above css code here
</style>
Reply With Quote
  #3  
Old 07-08-2012, 10:08 AM
Jonathan81 Jonathan81 is offline
 
Join Date: May 2007
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #4  
Old 07-08-2012, 10:48 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To make that work, you'd have to determine the absolute positions of your ad locations, then put them in the CSS as shown in the example. I don't know how you do that in general, but you could probably estimate the positions then fine tune them just by looking at the result. Also, you'd have to put your ad code in divs somewhere else in the document (some template other than the ad locations).

I'm not an expert on these things, but I'm not sure what it would accomplish. My understanding is that a browser loads the html, then makes requests for anything else that has to be loaded (javascript, images, etc), but makes a bunch of those requests in parallel. So even if you were to use the above method to control the order in which the ads were requested, I don't think you'd be controlling the order in which they displayed, because the one that loaded the fastest would still show up first.
Reply With Quote
  #5  
Old 07-12-2012, 09:30 PM
Jonathan81 Jonathan81 is offline
 
Join Date: May 2007
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I'm not an expert on these things, but I'm not sure what it would accomplish. My understanding is that a browser loads the html, then makes requests for anything else that has to be loaded (javascript, images, etc), but makes a bunch of those requests in parallel. So even if you were to use the above method to control the order in which the ads were requested, I don't think you'd be controlling the order in which they displayed, because the one that loaded the fastest would still show up first.
Thanks for that. According to Google it will make a difference but can anyone else shed more light on the matter? Don't want to go to the trouble of trying to sort this if it's not going to be worth it?
Reply With Quote
  #6  
Old 07-12-2012, 11:42 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ral.ly View Post
Thanks for that. According to Google it will make a difference but can anyone else shed more light on the matter? Don't want to go to the trouble of trying to sort this if it's not going to be worth it?
Well, now that I read it again it does say this somehow improves your revenue and not that it makes them load any faster or anything. That could be true - I don't know anything about how ad revenue is determined.
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 08:49 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.03658 seconds
  • Memory Usage 2,204KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete