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 03-22-2012, 02:40 AM
Steve038 Steve038 is offline
 
Join Date: Apr 2011
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How To Add Ads

I know this is probably really simple, but I'm yet to figure it out on my own. I want to create an advertising space below the Navigation Bar that appears on each page of my forum. I want to then add advertisers logos into each space, that link through to their websites. I want the ads to appear randomly, so different ads can appear on the same thread at different times, if that makes sense? Ie, if you go into a thread, one advertisers logo will appear, but if you return to the same thread at another time, a different advertisers logo will appear.

I see within my Admin Control Panel, there is a section that shows the standard advertising space options, and there is an option for "Below Navbar" within the "Global" option when I click on "Advertising>Ad New Ad"

But how do I get from here to actually learn what the size dimensions are for creating the correct sized ad logo, and how do I then ad the logo and link into this space?

Sorry, I know this is probably basic stuff, but I've searched and can't find out how to do this. The vbulletin manual tells me what the different options are for, but doesn't seem to tell me how to do what I've listed above: https://www.vbulletin.com/docs/html/...rtising_ad_new

Many thanks
Reply With Quote
  #2  
Old 03-22-2012, 02:51 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This comes standard with vbulletin now, you will have to edit "ad_navbar_below" template to show an ad below navbar. There are other ad templates to show ads throughout your board & its simple to add more. As for sizes, thats up to you, you will have to add your code to the ad template & view it then change it if you don't like it.

The ad template I mentioned is from 3.8, though I don't think the ad template changed in 4.0.

I don't use 4.0 series.
Reply With Quote
  #3  
Old 03-22-2012, 03:38 AM
Steve038 Steve038 is offline
 
Join Date: Apr 2011
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey thanks for your help. Yeah I'm sure you're right, pretty sure this is as standard in my version of vb. I'm just wanting to know how I go about putting ads in that space. Here is a good example of what I want, just like on this site with the ad beneath the navbar: http://www.pro-touring.com/showthrea...-you-want-next

From what I can tell, vb.4 has this ad positioning as standard. How do I put my ads in there though?
Reply With Quote
  #4  
Old 03-22-2012, 03:47 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the ad teplate or Ad section in your acp add ad below navbar.


This is from the link you posted source code.

Add the following (Edit with your info)

Code:
<div style="width:468px; margin-left:auto; margin-right:auto; margin-bottom:5px; margin-top:-5px;"><div style="padding: 1px; border: none;"><a href="http://www.bbclassicsinc.com/" target="_New"><img src="./images/advertising/style2/295.jpg" alt="B&B Classics Inc." border="0" /></a></div></div>
Edit it to you liking or add your own info all together.
Reply With Quote
  #5  
Old 03-23-2012, 03:31 AM
Steve038 Steve038 is offline
 
Join Date: Apr 2011
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that, but its the basics I'm struggling with, eg, when I go:

Control Panel>Manage Ads>Edit>then click on the "Below Navbar" option in Ad Selector, how do I then achieve what I want from the options available to me? Within this page are:

Title
Ad Location
Ad HTML
Display Order

The title and Ad location I've got sorted, but what info do I place in AD HTML?

How do I go about adding my logo into the "Below Navbar" space I've selected, then allow it to link through to my advertisers website when someone clicks on it?

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

Quote:
Originally Posted by blind-eddie View Post
In the ad teplate or Ad section in your acp add ad below navbar.


This is from the link you posted source code.

Add the following (Edit with your info)

Code:
<div style="width:468px; margin-left:auto; margin-right:auto; margin-bottom:5px; margin-top:-5px;"><div style="padding: 1px; border: none;"><a href="http://www.bbclassicsinc.com/" target="_New"><img src="./images/advertising/style2/295.jpg" alt="B&B Classics Inc." border="0" /></a></div></div>
Edit it to you liking or add your own info all together.
Hey blind-eddie, many thanks, this worked! I got a small part of my replacement code wrong, so it wouldn't work until I'd figured that out, but now its all sorted. Thanks heaps for all your help, I really appreciate it.

Just out of interest, you couldn't also tell me what the code is for all those small ads they have running down the right side of their page could you: http://www.pro-touring.com/forum.php

Thanks again

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

Now I have another question. I want to have multiple ads in the same location just beneath the Navbar. But I don't want them to cascade down the page, I want to make it so that when a page is visited, one advertising banner appears, and when that same page is visited at another time, a different banner appears, so they rotate in the same spot, if that makes sense? I thought maybe I could achieve this by changing the numbers in "Display Order" in Manage Ads in my Control Panel, but all this does is cascades them down the page.

Here is my website: www.theroaringseason.com

One other question, is it possible for the ads to not appear on the Home page? I only want them appearing on my forum pages, but its on my home page also.

Thanks again
Reply With Quote
  #6  
Old 01-10-2014, 05:01 AM
bp323 bp323 is offline
 
Join Date: May 2006
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you ever resolve how to get the ads in rotation??
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:42 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.07400 seconds
  • Memory Usage 2,214KB
  • 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_code
  • (1)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