UBB.Dev
Posted By: oceanwest Inline Advertising - 10/06/2003 7:58 AM
My sugguesiton is to use other "engines" for generating ads or the mod on this site by Josh (i think) what I would like to do is be able to have ads show up say in the Main Index between categories. thus providing more exposure to my advertisers.

Example
Category 1
Forum 1
Forum 2
Advertisement
Category 2
Forum 3
Forum 4

In addition perhaps the ability to display an ad after the the first post in the show flat view: show threaded.

Original Topic
Advertisement
Reply 1
Reply 2
Reply 3

This then this would allow me to provide advertisement to "basic" level users. And "power" users who have upgraded their account can avoid the inline advertisement. Either way we receive revenue from membership and advertisement.

Is this possible





Posted By: JoshPet Re: Inline Advertising - 10/06/2003 8:12 AM
I've been working on something like this for a client, but have not completed it yet as the project got put on hold.

If and when it gets completed, I'll write it up and share. I had it so that an ad would appear between every X number of ads on the postlist screen, and inline (like upper right corner) of every X number of posts in showflat.

It was just a system to include their existing ad system. So it didnt' handle the ads itself. Just included the code to insert them.
Posted By: ksanuk Re: Inline Advertising - 10/06/2003 3:50 PM
Hi,

Sounds like something I would be interested in as well.
Always looking for better ways to make money

Sanuk!
Posted By: shortbus Re: Inline Advertising - 10/07/2003 1:07 AM
what about putting banners in using the forum description mod? Not much of a better place if you want your ads exposed. Might be annoying though.

I'm getting ready to do it with 120x60 banners, aligning them to the right, with a snippet of text centered in a seperate table to the left of it. From my testing, it doesn't bother me really, but I'm still debating if it's worth it or not for my site.
Posted By: JoshPet Re: Inline Advertising - 10/07/2003 6:07 AM
Yes shortbus... I think that's an excellent place for banner placement.
Posted By: ksanuk Re: Inline Advertising - 10/07/2003 6:17 AM
Hi,

Interesting idea. We do already have a text link in the description for forums that are sponsored, like this: -forum description- (Sponsorded by ...)

Sanuk!
Posted By: santana Re: Inline Advertising - 10/07/2003 6:29 AM
You meant something like this?

http://forums.devshed.com/archive/17/2000/09/4/9550

If you put your cursor on the "Apache" or "Server" in those posts, they will show you somekind of text ads.

Posted By: shortbus Re: Inline Advertising - 10/07/2003 7:33 AM
that's a bit too much IMO Santana
Posted By: ksanuk Re: Inline Advertising - 10/08/2003 5:01 AM
Hi,

Not sure what you meant. I did not see anything popping up at all (using Firebird).

Sanuk!
Posted By: omegatron Re: Inline Advertising - 10/08/2003 4:30 PM
The forum description mod is a great way to add banners and I have done so on my site.
Posted By: oceanwest Re: Inline Advertising - 10/12/2003 2:55 AM
I have been looking at the ubbthreads.tmpl

and would it be possible to define a new tbopen tbclose?
and define this in the corresponding script...

In the template file. Do a if statement at the begining category loop

If $category = 2 then you would print using

$xxopen
-category loop
$xxclose

else
$tbopen
-category loop
$tbclose

This would result in a different table wrapper which would allow you to insert inline Advertising.
I just don't know enough yet. I looked at main.inc.php and found the section where it defines the table wrappers. And also in ubbthreads.php/tmpl

I am not sure how I am affecting th loop.

Here is the section of main.inc.php

// #####################################################################
// Grab the table wrappers
// #####################################################################
function table_wrapper() {

global $thispath,$tempstyle,$theme,$debug;

if (!$debug) {
include("$thispath/templates/$tempstyle/tbopen.tmpl");
include("$thispath/templates/$tempstyle/tbclose.tmpl");
include("$thispath/templates/$tempstyle/xxxopen.tmpl");
}
$tbwrapper['0'] = $tbopen;
$tbwrapper['1'] = $tbclose;
$tbwrapper['WHAT GOES HERE?'] = $xxxopen;

return $tbwrapper;

}


<schratching my head>
Posted By: coloradok5 Re: Inline Advertising - 10/14/2003 6:57 AM
Great ideas, I just did it the simple poor mans way and offered advertisers a "Sponsored by link" in the description on the main index page for now anyway.

http://coloradok5.com/forums/ubbthreads.php
© UBB.Developers