PDA

View Full Version : A Quick Overview of the Ad Locations


MrNase
Mon 17th Dec '07, 12:49pm
Are you tired of time consuming template changes with every update just because you sell ads to finance your server?

If the answer to that question is 'yes', please read further:

vBulletin 3.7 comes with 9 predefined locations for your ads. Placing an add is as easy as editing a template.

The 9 locations are called:
ad_footer_end
ad_footer_start
ad_forumdisplay_afterthreads
ad_forumhome_afterforums
ad_header_end
ad_header_logo
ad_navbar_below
ad_showthread_beforeqr
ad_showthread_firstpost


You can access these template like you normally access the other templates. Login to your AdminCP and go to the Style Manager. Edit your forum's style and look out for the 'Ad Location Templates'.

Just copy and paste the HTML for that ad (it might be a simple image with a link or Google Adsense or something else) to the Ad Location you want and you have the ad on your forums.

If you want to use the Ad Locations, here are the screenshots of where they are placed:

Wayne Luke
Mon 17th Dec '07, 12:52pm
Stuck to be in a prominent location.

Colin F
Mon 17th Dec '07, 12:54pm
ad_showthread_firstpost is actually after the first post, so if you have more than one post you'll see this before the Post Reply button.

MrNase
Mon 17th Dec '07, 12:56pm
Thanks, I updated the screenshot. :)

miner
Mon 17th Dec '07, 2:29pm
Thanks, I updated the screenshot. :)
Thank you...

Reeve of Shinra
Mon 17th Dec '07, 2:35pm
sweet!

ThorstenA
Mon 17th Dec '07, 4:36pm
How can I access these ad locations? Are they variables and do I have to write a product? If, which is the right hook?

If not, where in admincp can I put code for these locations? Thank you.

johnfl68
Mon 17th Dec '07, 4:43pm
They can be found in the Template Editor:

Styles & Templates> Style Manager> Default Style> Edit Templates> Ad Location Templates

John

ThorstenA
Mon 17th Dec '07, 4:45pm
They can be found in the Template Editor:

Styles & Templates> Style Manager> Default Style> Edit Templates> Ad Location Templates

John

that's very great!!! Thank you.

ThorstenA
Mon 17th Dec '07, 5:01pm
Love it. This alone is worth renewing my licence. Makes updates so much easier as I do not have to hassle with updating templates.

chaselafon
Mon 17th Dec '07, 9:21pm
Another surprise! This is swell! :D

Floris
Tue 18th Dec '07, 6:01am
Nase, update the first post with the instruction where to find/edit these ad locations :)

MrNase
Tue 18th Dec '07, 6:03am
I updated the post already. ;)

Floris
Tue 18th Dec '07, 6:05am
Karma++ for being quick :)

Deriel
Tue 18th Dec '07, 7:52am
Are you tired of time consuming template changes with every update just because you sell ads to finance your server?

If the answer to that question is 'yes', please read further:

vBulletin 3.7 comes with 7 predefined locations for your ads. Placing an add it as easy as editing a template.

The 7 locations are called:
ad_footer_end
ad_footer_start
ad_forumdisplay_afterthreads
ad_forumhome_afterforums
ad_header_end
ad_header_logo
ad_navbar_below
ad_showthread_beforeqr
ad_showthread_firstpost


Any locations in the ARCHIVE???

Wayne Luke
Tue 18th Dec '07, 8:54am
Any locations in the ARCHIVE???
The archive does not use templates so these wouldn't work there.

Freezerator
Tue 18th Dec '07, 9:23am
The archive does not use templates so these wouldn't work there.

Is it an solution to have there also 2 locations? It would be really handy.

Floris
Tue 18th Dec '07, 9:26am
I believe there are hooks for the archive, so shouldn't be too hard to have a plugin with custom templates for users who wish to customize their archive

Kerry-Anne
Tue 18th Dec '07, 10:59am
You would need to use php in the archive and not html so it is different although it can be achieved with plugins. You would need to post at vBulletin.org for help doing this though.

Reeve of Shinra
Tue 18th Dec '07, 11:18am
The archive is a good idea but its too much hassle at the moment.

noppid
Tue 18th Dec '07, 11:39am
There has been an archive ad system available for almost two years. EZ Archive Ad System is managable from the ACP and can put ads on top, bottom, left, right and even can add a header image.

Audentio
Tue 18th Dec '07, 3:56pm
Niiiiice! Thanks for this, I would've never known this.

ThorstenA
Tue 18th Dec '07, 3:59pm
Niiiiice! Thanks for this, I would've never known this.

it could be mentioned in a feature announcement, I suggest. It's a great thing and makes adding ads that easy!

John3971
Tue 18th Dec '07, 6:11pm
this is really good :D

GHOwner
Thu 20th Dec '07, 5:31pm
I was wondering about those new hooks! Awesome feature, vB team!

Cowboysfan
Thu 20th Dec '07, 8:01pm
Is anybody having an issue with ads not showing up sometimes? My ads will show up fine or a while, then just quit showing up.

PigsOnTheWing
Sun 23rd Dec '07, 9:26am
Is there a reason why 'ad_showthread_firstpost' doesn't go along with whatever style you're using? In the capture shown below, you can see that rather than having a white background, like the posts do, the gray border has actually become the background, giving the appearance that the ad has shot a hole in the forum's design.

http://www.vbulletin.com/forum/attachment.php?attachmentid=24687&d=1197914187

Floris
Sun 23rd Dec '07, 3:30pm
That's because of vB using $spacer_* so individual posts can break from the page if they're too wide due to an image.

PigsOnTheWing
Sun 23rd Dec '07, 7:09pm
That's because of vB using $spacer_* so individual posts can break from the page if they're too wide due to an image.
Is there some HTML that I can wrap my 'ad_showthread_firstpost' content around that will restore the white background with gray border (assuming default vB style)?

Floris
Sun 23rd Dec '07, 7:49pm
Try to use $spacer_open / close (or the other way around close open) so it continues?

Marcos2
Thu 27th Dec '07, 8:35am
So with this system, does this mean that every time we updated a version of VB, there is going to be a "There are currently x customized template(s) that need to be updated or reverted. Some sections of vBulletin may not function if you do not do this!" message and we are going to have to go and manually update (or allow them as is) each of these templates? If we do, that kind of sucks.

Zachariah B
Fri 28th Dec '07, 12:52pm
I believe there are hooks for the archive, so shouldn't be too hard to have a plugin with custom templates for users who wish to customize their archive

http://www.vbulletin.org/forum/showthread.php?t=166209
^ Amy is a doll

Kerry-Anne
Sat 29th Dec '07, 12:33am
So with this system, does this mean that every time we updated a version of VB, there is going to be a "There are currently x customized template(s) that need to be updated or reverted. Some sections of vBulletin may not function if you do not do this!" message and we are going to have to go and manually update (or allow them as is) each of these templates? If we do, that kind of sucks.The ad templates will not be changed as they are blank templates designed to minimize the number of template changes and therefore will not appear in the customized templates to be reverted/updated list when upgrading.

Marcos2
Sat 29th Dec '07, 7:37am
The ad templates will not be changed as they are blank templates designed to minimize the number of template changes and therefore will not appear in the customized templates to be reverted/updated list when upgrading.


Awesome. Thanks for the info Kerry-Anne!

Slingblade61
Sun 30th Dec '07, 12:23pm
Mine disappeared.

I was looking at them earlier, I uninstalled 2 ad management mods that didn't work anyway....went away for awhile and now I can't find the silly thing.

Ok....I reinstalled the templates and this works GREAT! :)

Is there a way to rotate ads?

Namaless
Sun 30th Dec '07, 11:38pm
Put my thank you :)

cosy
Tue 1st Jan '08, 12:23am
sry but i am a complete noob on this what and where is supposed to be typed on this templates ?ad.JPG (http://www.vbulletin.com/forum/attachment.php?attachmentid=24861&stc=1&d=1199167660)

Floris
Tue 1st Jan '08, 8:03am
Mine disappeared.

I was looking at them earlier, I uninstalled 2 ad management mods that didn't work anyway....went away for awhile and now I can't find the silly thing.

Ok....I reinstalled the templates and this works GREAT! :)

Is there a way to rotate ads?

Contact the author of that plugin that it's having a bug perhaps that causes you to loose your official vb templates. Something we btw can't help you with here. vb 3.7 is beta, we don't recommend to run customizations on it until it's stable.

sry but i am a complete noob on this what and where is supposed to be typed on this templates ?ad.JPG (http://www.vbulletin.com/forum/attachment.php?attachmentid=24861&stc=1&d=1199167660)

What to type in the ad location template is something we can't help you with. If you have a banner you want to put up, type the banner code in there.

cosy
Tue 1st Jan '08, 8:11am
hi
is after first post
the banner show up ok but if u look kinda "break" the forum
that ad dont have a border, so is there any way to put a border ?

Floris
Tue 1st Jan '08, 8:12am
Breaking the forum means you have to adjust your coding. To set a border apply style="border: 1px solid #ddd;" to the tag such as the image or the div or wherever it's inside in.

cosy
Tue 1st Jan '08, 8:34am
i only get there <center><adcode></center>
if i put that code that u give me is showed on front of the banner like text :S

Floris
Tue 1st Jan '08, 8:37am
<div align="center">
Your ad code here
</div>

should be more correct xhtml.

cosy
Tue 1st Jan '08, 11:57am
whit a mod from 3.6 i get that "sponsored link" between first and second post is there any way to make that of "box" on this template ?
ad.JPG (http://www.vbulletin.com/forum/attachment.php?attachmentid=24870&stc=1&d=1199206536)

Floris
Tue 1st Jan '08, 1:17pm
Of course, just put the xhtml code that creates the box in the template, into this template around your ad. It's just a table with class tborder and a alt1 content.

johnfl68
Tue 1st Jan '08, 11:34pm
Cosy:

Go look at this thread - the very last post has the finished code to look at:

http://www.vbulletin.com/forum/showthread.php?t=252663

John

Richard Tafoya
Sat 5th Jan '08, 3:56am
Would it be possible to create logic to achieve the Sitepoint "forum sponsor" effect?

For instance, sponsor 1 wants to sponsor forum 99 and have their sponsor message and branding appear on the board home page above that forum, on that forum's main page and on underlying threads.

And let's say sponsor 2 wants the same arrangement for forum 100.

Can these templates get us there?

ThorstenA
Sat 5th Jan '08, 4:08am
You can do that with notices but also with forum "descriptions" (where you have "show forum descriptions within subforums" turn off in admincp).

t325
Tue 8th Jan '08, 4:08pm
Thanks for posting this, I thought I was going blind when I couldn't find where to edit the ads in the control panel :D

kevinnet
Wed 9th Jan '08, 11:49pm
i insert adsense in the blank template and when viewing the front end, i see the "page not found" error msg in that ads area

if i just enter some sample texts, they appear fine

any ideas?

hirlas
Sat 19th Jan '08, 1:02pm
You can access these template like you normally access the other templates. Login to your AdminCP and go to the Style Manager. Edit your forum's style and look out for the 'Ad Location Templates'.

Just copy and paste the HTML for that ad (it might be a simple image with a link or Google Adsense or something else) to the Ad Location you want and you have the ad on your forums.

If you want to use the Ad Locations, here are the screenshots of where they are placed:

found it.... was looking at it, but not seeing it... (sheesh)

Thanks!

gwerzal
Wed 23rd Jan '08, 12:05pm
Im probably being really thick but i can find the ad placement templates anywhere it the sections you have told me to

EdQ
Sun 10th Feb '08, 8:58pm
Thanks for this!

Pretty much every ad I have placed on my site is where you have the ad_header. :)

Upgrading now. :D

rolando
Sat 16th Feb '08, 3:06am
One thing I noticed, when viewing the forum in Hybrid mode, the ad will not show up, in Linear mode, just fine--this is for "ad_showthread_firstpost" template only. In Hybrid mode all the other ads show up just fine. Any ideas? thanks, rg.

dwh
Fri 29th Feb '08, 4:47pm
Finally.

I asked for something like this a long long time ago and was told it was absolutely not in the plans and shouldn't be the domain of vbulletin to code this...something like that. Glad you guys saw the light since so many of your customers needed it.

antiekeradio
Sun 2nd Mar '08, 9:08am
Im probably being really thick but i can find the ad placement templates anywhere it the sections you have told me to

are you sure you are running version 3.7 (it is still in beta, at the moment!) ??

this functionality is not available on the current stable release.

newtonbm
Sun 2nd Mar '08, 10:06pm
This ad thing is a really good feature. Smart move on VBulletin's part. I like it.

jebs49
Wed 12th Mar '08, 12:03pm
Are these controlls in the CP? I cannot find them this way:

Styles & Templates> Style Manager> Default Style> Edit Templates> Ad Location Templates

I am new to Vbulletin. I am sorry for the trouble.

Jebs

I know why I can't find the answer now. I do not have Vb 3.7, and from what I can see, I am not allowed to test out 3.7.

tscargo
Sun 16th Mar '08, 7:57am
I wish to use php to create the bannercodes for some of these locations.
What is the best way to accomplish this.

I want to be able to control what banners visitiors see, depending on their sex, their age, their location etc. To do this I would need to use php (to query some variables etc).

Any help would be appreciated !

Thanks,

Taco

Steve Machol
Sun 16th Mar '08, 3:11pm
Please see these instructions for including PHP, TXT or HTML in a template:

http://www.vbulletin.com/docs/html/templates_externalfiles
http://www.vbulletin.com/forum/showthread.php?p=1066718#post1066718

seangworld
Sat 22nd Mar '08, 4:38am
omg i wish i was just using this in the first place (now i am tho!).
this is SO much easier.

THANK YOU.

ajo
Sat 22nd Mar '08, 5:00pm
This is a great update :-)
Really nice :-D

choccyclaire
Sun 23rd Mar '08, 11:08am
This is going to be so handy for when I need a bit of extra finance!

CrashPush
Mon 24th Mar '08, 1:22am
What code do I add to show the ads to unregistered members only?

Philosopher
Mon 24th Mar '08, 2:18am
I think these three additions must have to be in future versions:

1. Vertical ad locations,

2. Ad locations viewable only for guests,

3. Ad locations viewable only for members.

I understand that with programming skills it is easy to have in own forum, but for general usage I think it'll be useful for vBulletin to have them:)

Zingu
Tue 1st Apr '08, 4:28am
great!

now... any chance someone can direct me (or post) code to make ads being seen USER GROUP dependent?

eg:
big ads below navbar seen by GUEST
text ads below navbar seen by registered users
no ads below navbar seen for subscribed members


I will love you forever if so (in a non-creepy way. :))

motoyen
Sat 5th Apr '08, 11:45am
Anyone? I'm looking for the same mod.


great!

now... any chance someone can direct me (or post) code to make ads being seen USER GROUP dependent?

eg:
big ads below navbar seen by GUEST
text ads below navbar seen by registered users
no ads below navbar seen for subscribed members


I will love you forever if so (in a non-creepy way. :))

thestaton
Sat 5th Apr '08, 12:02pm
Anyone? I'm looking for the same mod.


Same here!

How can I edit the google adsense code, so that it centers the ad?
edit: <div align="center"> Code </div>

Hawkins
Mon 7th Apr '08, 4:14am
great!

now... any chance someone can direct me (or post) code to make ads being seen USER GROUP dependent?

eg:
big ads below navbar seen by GUEST
text ads below navbar seen by registered users
no ads below navbar seen for subscribed members


I will love you forever if so (in a non-creepy way. :))

Not sure, something like???,

<if condition="$user['usergroupid'] == 1"> <!-- 1 - Guest, unregistered, not logged-in -->
[ad_navbar_below for BIG AD...]
</if>
<if condition="$user['usergroupid'] == 2"> <!-- 2 - Registered users -->
[ad_navbar_below for text...]
</if>
...
...
...


Have yet to try out. :D

Hawkins
Mon 7th Apr '08, 4:27am
Not sure, something like???,

...

Have yet to try out. :D

tried it. It doesn't work out. :mad::(:p

Zingu
Mon 7th Apr '08, 4:49am
Not sure, something like???,

<if condition="$user['usergroupid'] == 1"> <!-- 1 - Guest, unregistered, not logged-in -->
[ad_navbar_below for BIG AD...]
</if>
<if condition="$user['usergroupid'] == 2"> <!-- 2 - Registered users -->
[ad_navbar_below for text...]
</if>
...
...
...
Have yet to try out. :D

thanks!

tried it. It doesn't work out. :mad::(:p


doh!! me too :(

Hawkins
Mon 7th Apr '08, 5:29am
thanks!




doh!! me too :(

Ok, I guess I m quite close to it. :D


<if condition="$vbulletin->userinfo['usergroupid'] < 2">

[ad_ code for Guest]

</if>
<if condition="$vbulletin->userinfo['usergroupid'] == 2">

[ad_ code for Registered]

</if>

<if condition="$vbulletin->userinfo['usergroupid'] == 6">

[ad_ code for Admin]

</if>

...
...
...


Should work.:p

pokesph
Mon 7th Apr '08, 11:25am
Are there any plans to add a ACP section to manage your ads?
i.e. ad code(s), usergroups, template/styles, etc.
It would go a long way to solve these little problems and so on.

Please tell me it's planned.


If not, anyone seen any good plugins that may do this? (3.7.0rc2)

Toucan42
Wed 16th Apr '08, 8:56am
Ok, I guess I m quite close to it. :D


<if condition="$vbulletin->userinfo['usergroupid'] < 2">

[ad_ code for Guest]

</if>
<if condition="$vbulletin->userinfo['usergroupid'] == 2">

[ad_ code for Registered]

</if>

<if condition="$vbulletin->userinfo['usergroupid'] == 6">

[ad_ code for Admin]

</if>

...
...
...
Should work.:p


Excellent thanks! Was just looking for this - this and forum-level controls. Some forum subjects (jokes, games, etc) just yield bad ads - want to keep them in the topical forums (business, tech, etc) where the ads are worthwhile

fluentdesigns
Wed 16th Apr '08, 5:09pm
Are there any plans to add a ACP section to manage your ads?
i.e. ad code(s), usergroups, template/styles, etc.
It would go a long way to solve these little problems and so on.

Please tell me it's planned.


If not, anyone seen any good plugins that may do this? (3.7.0rc2)

http://www.vbulletin.org/forum/showthread.php?t=165901

mooncreek
Wed 16th Apr '08, 11:42pm
Can someone explain this to me please? I have adsense in "ad_header_end" and it is showing up on all pages as expected except these that I've noticed:

search.php?searchid=xxxxx
groups.php
private.php?do=showpm&pmid=xxxxx
private.php?do=newpm
sendmessage.php
blog.php?u=xxxx
blog_post.php?do=newblog

mooncreek
Thu 17th Apr '08, 8:04pm
nm - looks like adsense takes awhile to kick in to all the pages.

johnbmtl
Tue 29th Apr '08, 10:43pm
I've been looking for over an hour and can't find the Ad_location templates.

I had installed an ad management product, could that have dleted these templates?

johnfl68
Wed 30th Apr '08, 10:48pm
I would not think that anything else would be able to delete them.

They should be located here:

Styles & Templets> Style Manager
Then click on> All Style Options
and select> Edit Templates

Then the list should look like this:

--Default Style Templates--
activateform
activate_requestemail
Ad Location Templates >>
Album Templates >>

Double Click on Ad Location Templates to expand the list, and then double click on the ad template you want to change.

Hope this helps.

John

johnbmtl
Thu 1st May '08, 4:47am
For some reason the templates hadn't installed properly.

I re-ran update.php and they appeared.

Thanks!

John

deepak7
Fri 2nd May '08, 8:09am
If I add a banner (468x60) in ad_navbar_below the forum width is screwed (wider).
What html tags should I put so it won't affect the design?

Cheers

Carlos 360
Sat 3rd May '08, 8:17pm
Does vb3.7.0 have ad location for horizontal banners to be placed on the left side of the vb template?

Steve Machol
Sat 3rd May '08, 8:39pm
Does vb3.7.0 have ad location for horizontal banners to be placed on the left side of the vb template?
No, sorry.

Francis K
Sun 4th May '08, 1:49pm
Can anyone help with center aligning the ads?

markbolyard
Mon 5th May '08, 11:59am
Sure, just use this code:


<div align="center">
YOUR AD CODE
</div>


Also, you can pad that DIV to put space around the ad if it looks to crowded by using similar code to this:


<div align="center" style="padding: 10px;">
YOUR AD CODE
</div>


Change the 10px to whatever value looks best for your situation.

Rizzo
Sun 11th May '08, 5:00am
I have a custom template and the ad isn't showing there (it is showing in the default template) i've tried putting it where i want it in the custom template, but it's not showing - i must be doing something wrong, what is the code i need to put in (i'm wanting to do the logo one) as i said it is showing in the default template.

colorssky
Fri 16th May '08, 4:04pm
where I can find this features to use it? :S the ads

sorry dummy Q

Philosopher
Sat 17th May '08, 2:03am
Admin CP > Styles and Templates > Style Manager > Edit Templates > Ad Location Templates.

dssart
Sun 18th May '08, 7:49am
I agree, more fine-tuning needs to be brought to this excellent idea. PLEASE tell me that at a minimum, some sort of CP will be included in 3.7.1 that at a minimum will allow usergroup by usergroup ad display. I'd suggest that the VBulletin team take a serious look at some of the mods (alas, now seemingly unsupported) over at VB.org..great ideas need not re-invent themselves :)

DEFINITELY needs to implement usergroup filtering. My donating members aren't happy having to see ads now with the rest of the forum folk.



great!

now... any chance someone can direct me (or post) code to make ads being seen USER GROUP dependent?

eg:
big ads below navbar seen by GUEST
text ads below navbar seen by registered users
no ads below navbar seen for subscribed members


I will love you forever if so (in a non-creepy way. :))

dssart
Sun 18th May '08, 7:33pm
I've monkeyed around with this and through some tinkering came up with the following for my ad_showthread_firstpost:

<if condition=" ! is_member_of($bbuserinfo,array(6,15))">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" align="left">Sponsored Links</td>
</tr>
<tr>
<td class="alt1" align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-1212121212121";
//728x90, created 1/1/08
google_ad_slot = "1212121212";
google_ad_width = 728;
google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
</div>
$spacer_close
</if>The result is shown in the attachment.

I'm certainly no coder, so if you guys can take a look at it and critique it and improve where necessary I think we might have part of a good solution. Any concerns here as far as security or overtaxing the server load with this? The conditional at the top is where you plug in the forum ID for groups you DO NOT want to display ads to. In my case, my usergroup ID (admin) and my subscribers usergroup ID.

Which gives the below result:

dssart
Mon 19th May '08, 6:08pm
Anyone?

IncubuRs
Tue 20th May '08, 4:11am
nice overview .. thanks


dss .. you can use an if condition

like this

<if condition="is_member_of($bbuserinfo,x,x)">
<td class="ad_navbar">
</if>


x will be the allowed usergroups to see the ads

dssart
Tue 20th May '08, 5:08pm
Actually I used the other method because I have many many more groups I want to display, than not to display..just me being lazy and not wanting to enter all those usergroups I guess :p

chapsrulez
Wed 21st May '08, 1:19am
COOL
works great.

now quick reply works fine with google after last post :D

dssart
Fri 23rd May '08, 11:20am
If someone could work into the code something that will stop the code from being displayed in certain forums that would be great. Trying but not having much luck and I don't like the ads in my admins section.

geovadim
Tue 27th May '08, 9:36am
Is it posible, using templates, to show a banner after the last post from threads?

TravelSite
Tue 27th May '08, 2:59pm
Hi,

Trying to place 2 Google ads 336x280 Large Rectrangle with the template ad_navbar_below:

Can sombody please post the code for a simple tabel that will have 1 row and 2 colums so that we can post the Google Ad code in each cell?

Murphy
Tue 27th May '08, 11:05pm
I must be missing something somewhere. Is there something else I need to do other than putting the code in the templates? I've put the code in but the ads don't show.

I'm using 3.7.0

Lee Wallace
Wed 28th May '08, 7:43pm
How about adding a banner in a specific child-forum? My sponsors don't want their banners in misc. places. Thanx!

Noctavia
Tue 3rd Jun '08, 8:44am
I must be missing something somewhere. Is there something else I need to do other than putting the code in the templates? I've put the code in but the ads don't show.

I'm using 3.7.0

I must be missing something too. I cute and pasted the exact code I have in my header template into the ad_header_end template and no ads showed. Cut and pasted it back to the header template and it shows again.

Using 3.7.1

The_Gismo_Man
Sun 8th Jun '08, 4:49am
This is a great option, however, i have a dark background forum and the text is black and is very hard to read, except for the ad_footer_end section which defaults to my small font colours (silver).
Any ideas how i can change the text colour for the other areas to make it easier to read text?

TrIn@dOr
Sun 8th Jun '08, 9:56pm
Sorry but in my vb 3.7.1 i have only 4 templates;

ad_forumdisplay_afterthreads
ad_forumdisplay_afterforums
ad_showthread_beforeqr
ad_showthread_firstpost

Where are the other 3s?

Thanks in advance.

Timan
Thu 12th Jun '08, 7:16am
Where is ad_showthread_firstpost located in the templates? I'm not referring to the ad_showthread_firstpost template it self, but where it is called to. All of the other ad locations show up in navbar,forumdisplay,showthread,etc... I just can not seem to find this one.

Reason I ask, I'm doing a skin, and so far I've been using

<if condition="$ad_location[ad_showthread_x]">
<html here>
$ad_location[ad_showthread_x]
</html here>
</if>

This way, when someone else uses my skin, all they have to do is put in their adcode into the proper template, rather then tweaking how it'll look in the page itself.

Any help would be appreciated, I've checked postbit, postbit_legacy, postbit_wrapper and didn't see it in there.

KerryAnn
Fri 13th Jun '08, 5:31pm
I have a rotating banners plugin that I'd like to put into one of these spots. Is that possible?

I put the code "<center>$random_banner[$random_number]</center><br>" into the ad template called ad_navbar_below, but I don't know what hook location to list to get it to work.

Marcello9
Sat 14th Jun '08, 7:49am
im trying to get it there but im having problems

http://img138.imageshack.us/img138/7933/helpov2.th.jpg (http://img138.imageshack.us/my.php?image=helpov2.jpg)

Loco.M
Tue 17th Jun '08, 9:32pm
oh, I was just looking for a thread like this

thanks, bookmarked it :D

RBG_7
Sat 21st Jun '08, 8:24am
Thanks,

whiteblue1942
Sun 22nd Jun '08, 11:29am
can someone please tell me how to get the link unit ads like they have on forums.digitalpoint.com? i am using the ad_showthread_firstpost space but i dont know how digital point puts them in the box. mine appear to be outside the box, here is a sample of what i want, look at googles link unit after the first thread, someone please tell me how to do this?

example:

http://forums.digitalpoint.com/showthread.php?t=896741

Nick
Sun 29th Jun '08, 1:25am
I'm confused.

The first post says there are 7 locations, yet the poster lists 9:

The 7 locations are called:
ad_footer_end 1
ad_footer_start 2
ad_forumdisplay_afterthreads 3
ad_forumhome_afterforums 4
ad_header_end 5
ad_header_logo 6
ad_navbar_below 7
ad_showthread_beforeqr 8
ad_showthread_firstpost 9and there are only 6 screenshots.

Weird... :cool:

So 7, 9, or 6??? What's the reality?

Toxic
Sun 29th Jun '08, 6:02pm
I'm confused.

The first post says there are 7 locations, yet the poster lists 9:

and there are only 6 screenshots.

Weird... :cool:

So 7, 9, or 6??? What's the reality?
If you look at this screen shot you can see there is two locations in one screen shot. And that is two different templates.
http://www.vbulletin.com/forum/attachment.php?attachmentid=24681&d=1197913752

ElizeF
Tue 15th Jul '08, 8:14am
This is a great feature and quite easy for anyone to use.Thanks

shohin
Tue 15th Jul '08, 10:06am
Much appreciated. Just what I was looking for!

~Phil

lovely_vin
Tue 15th Jul '08, 5:21pm
One of the bestest features in vb 3.7 after notices ! made ads placement tooo easy now

shohin
Fri 18th Jul '08, 11:49am
I have two sites. One has been running since Dec. of '07 and the other is new and not yet open as I'm still working on it.

When I place an ad in ad_header_logo whether it be an Adsense image or just text nothing appears! This happens on both of my sites. Am I possibly doing something wrong?

~Phil :confused:

holwebs
Tue 29th Jul '08, 11:34am
I've now had a play with this & am using it after the first post in ad_showthread_firstpost template (for all users at the moment) but I have managed to use a conditional to include different adverts for different forums as my forums are travel related & I have different affiliate adverts. I've used phpadsnew to rotate those adverts within each forum.

Sample code:

$spacer_open
<div style="padding: $stylevar[cellpadding]px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]"
cellspacing="$stylevar[cellspacing]" border="0" width="100%"
align="center">
<tr>
<td class="thead" align="left">Sponsored Links</td>
</tr>
<tr>
<td class="alt1" align="center">

<!-- Forum 21 - Transport -->

<if condition="$foruminfo[forumid]==21">
[Code for Forum 21 goes here - I used phpadsnew invocation code]
<else />
[Code for other forums goes here - I used Google Adsense code]


</if>
</td>
</tr>
</table>
</div>
$spacer_close


Hope this is of interest. :)

MrNase
Fri 1st Aug '08, 9:16am
So 7, 9, or 6??? What's the reality?

9 different locations but I made 6 screenshots with 2 screenshots showing 2 locations each so there are basically 7 different pages where the ads are displayed. ;)

Nick
Fri 1st Aug '08, 11:09pm
Lol Now I realize how dumb I was when I posted that :D

chris/olp
Mon 11th Aug '08, 8:24pm
Are you tired of time consuming template changes with every update just because you sell ads to finance your server?

If the answer to that question is 'yes', please read further:

vBulletin 3.7 comes with 9 predefined locations for your ads. Placing an add is as easy as editing a template.

The 9 locations are called:
ad_footer_end
ad_footer_start
ad_forumdisplay_afterthreads
ad_forumhome_afterforums
ad_header_end
ad_header_logo
ad_navbar_below
ad_showthread_beforeqr
ad_showthread_firstpost


You can access these template like you normally access the other templates. Login to your AdminCP and go to the Style Manager. Edit your forum's style and look out for the 'Ad Location Templates'.

Just copy and paste the HTML for that ad (it might be a simple image with a link or Google Adsense or something else) to the Ad Location you want and you have the ad on your forums.

If you want to use the Ad Locations, here are the screenshots of where they are placed:

I cant seem to find the directions for "Making Side Bars" that run down the whole rightside of the foums So I can place buttons ad's there????

Kerry-Anne
Tue 12th Aug '08, 2:01am
There are many set of instructions for side bars at www.vbulletin.org

MoveForward
Tue 12th Aug '08, 7:57am
Hi,
Is there a way to create new Ad locations within the thread.

I currently have ad placements after the first, forth, eighth and last posts - which is currently implemented via the postbit.

Regards
Bob

RBG_7
Fri 15th Aug '08, 8:25am
think uuuuu

matt2133
Sun 17th Aug '08, 10:47am
Hi,
Is there a way to create new Ad locations within the thread.

I currently have ad placements after the first, forth, eighth and last posts - which is currently implemented via the postbit.

Regards
Bob

May I ask how you implemented multiple ad placements? As I'm trying to work out how to do that one!

Thanks
Matt

CarterMarkham
Tue 26th Aug '08, 10:07pm
How about and updated one, with the 3.7.3 locations? I want to see how they look.

Simon Lloyd
Thu 28th Aug '08, 5:04pm
How do i make the adsense column appear to the left of the forums in all forums?

Regards,
Simon

chaz7979
Mon 1st Sep '08, 11:25pm
How about a feature which allows these new ad placements to be shown to users based on their number of posts? For example you could display ads and a message to users with less than 10 posts which said "stop lurking, all you have to do is make 10 quality contributions and all of these ads will go away."

Just an idea... registering should not be enough to make the ads go away if the person never contributes. Might anyone know what code like that might look like?

shohin
Tue 2nd Sep '08, 12:00pm
How about a feature which allows these new ad placements to be shown to users based on their number of posts? For example you could display ads and a message to users with less than 10 posts which said "stop lurking, all you have to do is make 10 quality contributions and all of these ads will go away."

Just an idea... registering should not be enough to make the ads go away if the person never contributes. Might anyone know what code like that might look like?

Well if you had a large forum with say 1,000 members or more how would you, as an administrator, be able to keep track of which is a "quality" post and which is not? Secondly, why have the ad's there if not to be hopefully clicked on regardless if the member is contributing to the site or not?

~Phil

Zingu
Tue 2nd Sep '08, 12:25pm
How about a feature which allows these new ad placements to be shown to users based on their number of posts? For example you could display ads and a message to users with less than 10 posts which said "stop lurking, all you have to do is make 10 quality contributions and all of these ads will go away."

Just an idea... registering should not be enough to make the ads go away if the person never contributes. Might anyone know what code like that might look like?

wouldn't just making it usergroup based based solve that and (most) other issues?

esp given promotions etc can be set to post counts (AND other factors).


so...

Guest see more and invasive ads
registered users. less/"normal" amount
subscription users: no ads.

etc

chaz7979
Tue 2nd Sep '08, 7:15pm
Well if you had a large forum with say 1,000 members or more how would you, as an administrator, be able to keep track of which is a "quality" post and which is not? Secondly, why have the ad's there if not to be hopefully clicked on regardless if the member is contributing to the site or not?

~Phil

I would not have to track a million quality posts... I would just have to weed out the crappy ones ;)

Why shouldn't loyal members be rewarded for participating? I would rather have the users which create actual content for ads to be placed on for other users be rewarded for doing so. You have to weight it out. If I give people an incentive to get active then in the end I will have more content for ads to be placed on rather than less content with more people seeing the ads.

I didn't know you could make users fall into usergroups based on number of posts. If that is true then that would solve my idea but I dont see how that is possible??? Do mean that I should manually move users to new groups? That seems like a whole lot of work for something that could be made automated or simply queried. IE... if user has < 10 posts then display add block.

Nick
Sat 6th Sep '08, 8:33pm
I would not have to track a million quality posts... I would just have to weed out the crappy ones ;)

Why shouldn't loyal members be rewarded for participating? I would rather have the users which create actual content for ads to be placed on for other users be rewarded for doing so. You have to weight it out. If I give people an incentive to get active then in the end I will have more content for ads to be placed on rather than less content with more people seeing the ads.

I didn't know you could make users fall into usergroups based on number of posts. If that is true then that would solve my idea but I dont see how that is possible??? Do mean that I should manually move users to new groups? That seems like a whole lot of work for something that could be made automated or simply queried. IE... if user has < 10 posts then display add block.
What you are wanting to do certainly is possible and very easy to do.

Just start a new thread in the support forum for your vBulletin version and we would be glad to explain and help ;)