Previous Thread
Next Thread
Print Thread
Rate Thread
#260041 10/06/2003 12:58 AM
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
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






Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.

Daine #260043 10/06/2003 8:50 AM
Joined: Feb 2002
Posts: 295
Member
Member
Offline
Joined: Feb 2002
Posts: 295
Hi,

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

Sanuk!

Joined: Apr 2002
Posts: 610
Code Monkey
Code Monkey
Joined: Apr 2002
Posts: 610
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.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yes shortbus... I think that's an excellent place for banner placement.

Sponsored Links
Joined: Feb 2002
Posts: 295
Member
Member
Offline
Joined: Feb 2002
Posts: 295
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!

Joined: Sep 2000
Posts: 129
Member
Member
Offline
Joined: Sep 2000
Posts: 129
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.



...... x ......
Using UBBt 6.4.2 + Digg Ajax Mod, Trust Ajax Mod, Captcha Regristation & Login mod, Checkusername Ajax mode.
often #260048 10/07/2003 12:33 AM
Joined: Apr 2002
Posts: 610
Code Monkey
Code Monkey
Joined: Apr 2002
Posts: 610
that's a bit too much IMO Santana

often #260049 10/07/2003 10:01 PM
Joined: Feb 2002
Posts: 295
Member
Member
Offline
Joined: Feb 2002
Posts: 295
Hi,

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

Sanuk!

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
The forum description mod is a great way to add banners and I have done so on my site.

Sponsored Links
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
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>

sdf123 #260052 10/13/2003 11:57 PM
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)