Go Back   vBulletin Setup > vBulletinSetup Information > Troubleshooting vBulletin Problems

Reply 
 
LinkBack Thread Tools Display Modes
Old 12-05-2006, 04:20 AM   #1
joh
vBulletin Owner
 
Join Date: Sep 2006
Location: NY
Posts: 136
joh has a spectacular aura about
Ad space

OK, how do I place ads under the first post. I have GAB from the geek, but i need some other type of code to make it work under the first post.
joh is offline   Reply With Quote

Advertisement [Remove Advertisement]

Old 12-05-2006, 04:41 AM   #2
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,114
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Re: Ad space

this is what we use
Randomly positioned ad in between postbits in showthread - vBulletin.org Forum
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.


Brandon Sheley is offline   Reply With Quote
Old 12-05-2006, 05:54 AM   #3
joh
vBulletin Owner
 
Join Date: Sep 2006
Location: NY
Posts: 136
joh has a spectacular aura about
Re: Ad space

hmm, so how would i know which one of the geek codes to use, so that I may control what ads show up in that area?

I also found this. I just do not know what it means.

Quote:
Originally Posted by The Geek
Here is what I did on one of my sites. Its not perfect though...

Create a new plugin
Title: GAB postbit
hook: postbit_display_start
code:
PHP Code:
global $GAB_ads
--------------------------

Then at the very end of my postbit template, I put:

PHP Code:
<if condition="($post[postcount] % 16 == 0) OR ($post[postcount] == 1) AND THIS_SCRIPT=='showthread'"><div align="center">
$GAB_ads[1]</div>
</if> 
That puts a gab block after every 1st or 16th post (I have 15 posts per page). The only hitch with this is that if there are soft deleted posts, on subsequent pages, the position moves down one. I havent been nothered enough to look into it any further.

HTHs give you an idea
This is what I need. I need to have the ads on every page, in the redirect, in VBA, in the first post of every thread. I also want to control what ad shows up where and when. For each ad and location, I want to control the ads that shows up. any real feed back would me helpful.

Last edited by joh; 12-05-2006 at 06:10 AM. Reason: Automerged Doublepost
joh is offline   Reply With Quote
Old 12-05-2006, 07:21 AM   #4
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,114
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Re: Ad space

on the link I posted, there is a part ( i think, I'm in class so I can't look ) that looks like

<-- google ad here ---->

this is where you'd put $GAB_[1] or w/e the variable is

I'm not that familiar with GAB unfortunately
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.


Brandon Sheley is offline   Reply With Quote
Old 12-05-2006, 08:15 AM   #5
joh
vBulletin Owner
 
Join Date: Sep 2006
Location: NY
Posts: 136
joh has a spectacular aura about
Re: Ad space

Thanks guys, I think i have it working. I did say think. the good thing is, the site did not start acting funny.
joh is offline   Reply With Quote
Old 12-05-2006, 08:49 AM   #6
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,114
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Re: Ad space

Quote:
Originally Posted by joh View Post
the site did not start acting funny.
thats always a good thing
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.


Brandon Sheley is offline   Reply With Quote
Old 12-06-2006, 09:16 AM   #7
joh
vBulletin Owner
 
Join Date: Sep 2006
Location: NY
Posts: 136
joh has a spectacular aura about
Re: Ad space

Brandon, how did you get the ads in the link area. I have the geeks GAR and I would like to place ads in that area. not just random ads, I want to control what that guest can see.
joh is offline   Reply With Quote
Old 12-07-2006, 06:15 PM   #8
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,114
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Re: Ad space

in what links area ?
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.


Brandon Sheley is offline   Reply With Quote
Old 12-07-2006, 06:30 PM   #9
joh
vBulletin Owner
 
Join Date: Sep 2006
Location: NY
Posts: 136
joh has a spectacular aura about
Re: Ad space

the ads you have here http://forum.vbulletinsetup.com/f42/
joh is offline   Reply With Quote
Old 12-08-2006, 08:26 AM   #10
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,114
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Re: Ad space

oh, just a sec, let me get a link

this was the first thing I looked at but it seems like this isn't what I used

Template Module - The vB Geek

I just created a new module in GAR's and assigned a template to it,, then I can move the module and edit the template to show w/e I want.
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.


Brandon Sheley is offline   Reply With Quote
Old 12-08-2006, 09:16 AM   #11
joh
vBulletin Owner
 
Join Date: Sep 2006
Location: NY
Posts: 136
joh has a spectacular aura about
Re: Ad space

OK, that is too advance for me.
joh is offline   Reply With Quote
Old 12-09-2006, 10:17 AM   #12
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,114
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Re: Ad space

I can set it up for you on your site, and I'll let u know the template to edit
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.


Brandon Sheley is offline   Reply With Quote
Old 12-09-2006, 10:43 AM   #13
joh
vBulletin Owner
 
Join Date: Sep 2006
Location: NY
Posts: 136
joh has a spectacular aura about
Re: Ad space

Ty, we have so much other stuff to get done, i just want to do the easy ones.
joh is offline   Reply With Quote
Reply 
vBulletin Setup > vBulletinSetup Information > Troubleshooting vBulletin Problems

Tags
space

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unlimited Web Space Hosting News Webmaster Auctions 0 04-13-2009 01:46 AM
Remove Space in Sub-Forum qstatic PHP Discussions, Tutorials and Help 1 02-25-2008 10:52 AM
Too Much Space Between Quotes CMartucci Troubleshooting vBulletin Problems 7 01-08-2008 02:48 PM
giving space to users Kriza PHP Discussions, Tutorials and Help 1 12-26-2007 11:53 AM
The Space Exploration thread Smiggy General Discussion 7 08-27-2007 07:49 AM


All times are GMT -8. The time now is 08:14 PM.