Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Hacks - Modifications


Please Register to get full access to the forums.
Post New Thread  Reply



#1   12-05-2006, 06:20 AM
joh has a spectacular aura about Join Date: Sep 2006 Posts: 121 Location: NY
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.
Quote   |  



#2   12-05-2006, 06:41 AM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,840 Location: Topeka, KS
Re: Ad space


this is what we use
Randomly positioned ad in between postbits in showthread - vBulletin.org Forum
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums


Stay up to date by installing our Tool Bar
Quote   |  



#3   12-05-2006, 07:54 AM
joh has a spectacular aura about Join Date: Sep 2006 Posts: 121 Location: NY
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 08:10 AM. Reason: Automerged Doublepost
Quote   |  



#4   12-05-2006, 09:21 AM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,840 Location: Topeka, KS
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 / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums


Stay up to date by installing our Tool Bar
Quote   |  



#5   12-05-2006, 10:15 AM
joh has a spectacular aura about Join Date: Sep 2006 Posts: 121 Location: NY
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.
Quote   |  



#6   12-05-2006, 10:49 AM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,840 Location: Topeka, KS
Re: Ad space


Quote:
Originally Posted by joh View Post
the site did not start acting funny.
thats always a good thing
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums


Stay up to date by installing our Tool Bar
Quote   |  



#7   12-06-2006, 11:16 AM
joh has a spectacular aura about Join Date: Sep 2006 Posts: 121 Location: NY
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.
Quote   |  



#8   12-07-2006, 08:15 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,840 Location: Topeka, KS
Re: Ad space


in what links area ?
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums


Stay up to date by installing our Tool Bar
Quote   |  



#9   12-07-2006, 08:30 PM
joh has a spectacular aura about Join Date: Sep 2006 Posts: 121 Location: NY
Re: Ad space


the ads you have here http://forum.vbulletinsetup.com/f42/
Quote   |  



#10   12-08-2006, 10:26 AM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,840 Location: Topeka, KS
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 / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums


Stay up to date by installing our Tool Bar
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Hacks - Modifications


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
Google to broker ad space in newspapers Brandon Search Engine News 0 11-09-2006 08:20 PM
Buy Excellent Myspace Clone Domain www.My-Space-Online.com donna12 Webscripts and Websites 3 11-01-2006 12:37 PM


All times are GMT -6. The time now is 11:54 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory