Want to add the Banner Bars under your Articles on their pages? You can double-down on your advertising banners by adding in this simple code.
On this site, it doubles down the advertising, if you are using your standard install this will happen... if you modified your advertising to not show on all pages, but only on the front then this is the way to keep ads running throughout the site.
Open cgi-bin/topics.pl find sub viewnews
at the bottom of sub viewnews is these lines here:
code:
~; print_bottom(); exit;
}
add in this code: checkforbanner();
so it looks like this here:
code:
~; checkforbanner(); print_bottom(); exit;
}
Now you have Ad Bars under your articles on their main pages.
Now that is set up to show the Ad Banners Under the Welcome Message and just above the Articles.
You will notice the commented out call to "topblock_block();" this is the call needed if you are using my Top and Bottom Center Block Add-On for Web-App. Uncomment this out if you are using it... its only commented out for those who wish to copy paste. they can delete that line if they dont use it.
Doing this to your Banner Ads will shrink the impact the ads have on your web-app based site, it will pull the site up to the Top Banners giving a clean more "correct" look to the site.
This is one in a number of Banner Placement Possiblities.
Using these two posted so far will give your site a nice clean almost ad-free feel to it, but with the necessary Ads still in place.
If there are any other Banner Ad concepts anyone would like to discuss, drop me a message either here on this forum, or Start a new thread in the Testing Forums.
Jack Deth
BTW, dont forget to comment out the "checkforbanner();" call in your header.pl of your theme to remove the current banners location. Do this by adding a "#" in front of it so it looks likes this: #checkforbanner();
These check for banner placements need a manual file edit to move them around, place them or remove them.
In the block admin(column admin) that Ted did. A checkforbanner code block could be placed in left column and moved up or down and into right column for example. Not a good placement for a wide ad....but as an example it can be moved around easily. If his status was able to be set to more than just on/off and somehow into the user status/rank thing On was doing, it would also be possible to have them on/off with targeted audience types.
But back to moving them around. If it was possible to move those code blocks through an admin like Block Admin over the entire page. So left blocks can go into center block. Any of the three columns able to move code blocks up or down out of the three columns and into a space between three_columns and heador or footer. And even beyond into a logo_block admin/footer_block admin...and beyond above header or below footer.
Anyway, that type of dynamic ability was what I had initially set ut to do; but there seems like a lot more time consuming coding that I'd rather do first. Block Admin with a Style Manager will give me enough control for now.
I think Ted is already building such a dynamic ability in the same manner that will be close enough for me anyway, or almost close enough that a few simple hacks will achieve easy display management.
The only problem with all these "automated" systems is you are introducing more calls into the script to figure itself out.
So everytime someone comes to the site, the script checks and tries to figure out where the ad banner is supposed to be...
In a similar manner the search block is a good example.
As for the idea of block ads like ted was proposing in his experimental block editor, there was a mod a long time ago called the "rotating block ad" mod. All it was missing as an automated admin for its settings. This is a perfect prototype to add the admin settings into and you have an advertising Block. I have had this running on another one of my sites for years now... Just a pain to manually edit the files as it is laid out now... But then again the banners block runs great.
Now back to the original concept of this post. The Banner Ads...
Using a similar switch that the search bar/block uses... the admin could easily flip the locations... but again, each time the site loads its something extra for the script to check.
Have any ideas for a good place to drop the ads bar?
Have any ideas for a good place to drop the ads bar?
A lot of free hosting sites that require an ad bar usually mention in top fold or the very top. So the very top is one good default choice.
The other proper spot...is the spot where a reader is most likely to spot it and take action(click) if they have an interest. Since each web pages content is different....the most relevent ad is different. No sense having a banner ad regarding a tent sale in a page that has content about web hosting reviews. No sense of the web hosting ad being on the page with camping as its main content.
So near the main content is probably the best place. That's why the user went to the page in the first place presumably. That's where the users eyes will be focused and most likely to spot it.
An ad rotator in my opinion should be hooked into the page content. Its a few steps for the server todo, but that's usually fast and would have you placing the most relevent ads in the proper content spaces.
A banner rotator should choose amongst a chosen number of relevent banners and not just a randomized selection of every banner. Placing ads where the ads product/service/idea has no relevence to the content and probably no relevence to the content viewer's demographics is just a waste of space.
Best two choices are: 1.-top fold somewhere and 2.-in the content area that's still in view by the page caller when they finish reading the content they called the page for in the first place.
BensonBear wrote: Have any ideas for a good place to drop the ads bar?
Best two choices are: 1.-top fold somewhere and 2.-in the content area that's still in view by the page caller when they finish reading the content they called the page for in the first place.
The Top-Fold area is always great, but sometimes people want to create an original look at the top of their sites, or centered logos and that means the banners get in the way... also who wants a banner block that goes all the way across the page?
The Banner move I did at the beginning of this thread which places the ad inder the welcome message, is TopFold unless someone makes a HUGE welcome message, and it looks nice and tight int he sites design when used. I did this on a friends site. The need for the second set of ads in different areas is because now that I have removed the top banners and placed it under the welcome message, the ads wont show up anywhere else in the site. So this is why I added them back in under each Article off their main page and plan on adding them into the different areas in different spots, such as Links, Downloads, Forums... and the likes... Thing is to have the banenrs visible but not annoying.
Also the concept of targetting your banners is something you can do manually but is a pain in the butt using a few different versions of the rotating ad banner system, and placing the ad calls in manually somehow ion the page... or even using the article category name as part of the call to the script which would help figure out which set of ads to run. Its a great idea, its on par with the google ads and their system, how to do it automatically? not sure...
closest thing I have in mind is using that articles or forums name as a call on the ads to select the database of ads to call from.
This would probably be more useful to you if you had a copy of the "rotating ads block" to look at.
... also who wants a banner block that goes all the way across the page?
the person using WebAPP on a free hosting site that requires it to do so. A person with little or no knowledge of Perl and little or no hacking experience would definitely need this as at least one choice.
So full width at very top would fulfill alot of TOS agreements for free hosting.
I've already had rotaing ads placed into a site or three that I was playing around with. Turned them off, to try and build a displayable website for the guy I was building site for and transfer it to a server he could redirect his domain name to and have at least a basic site until I finish. But he doesn't seem to be too interested in having a site until next camping season anyway...or at least not too interested in helping me build it too his needs.
But back to the rotator, yeah its something I plan on playing around with, problem is that list keeps getting longer and longer. I'll have to close off writing to that list further until I get what's already there finished or at least closer to finished.
How to best tie ads into content will depend a lot on a few factors. I think your right in your direction somehow. I think that maybe the easiest for me is to tie in the directories in content,forum topics, and news categories with associated ad classifications. Not he easiest to code, but once coded is should be easier to admin and also change up the how and when coding if need be.
Random ads are easy...but pointless if there are many content type areas..as its just hit or miss, most often miss; with a relevent ad.
Todo list closed...estimated completion time 2015.
helping out someone on the web-app site I came up with this solution for their problem.
Placing an Ad Box within the Articles.
Noting that the Category image is on the right side, I figured the best spot would be the left... they wanted the Article to wrap around the advertisement.
Go to: topics.pl sub viewnews
find the first $message there, its on a line that looks like this.
code:
vspace="5" alt="$curcatname"></a>$message</td>
then select in front of the $message and hit Enter, dropping to the next line. There you paste this code here:
Thats it... you should now have the ads from Chitika.net running within your Web-App based Articles on their pages on the left side with the text wrapping around it.
Using this same technique you can drop in just about any Ads system into your web-app articles.
Yeah, the reason I like having it wrapping within the article is because like the beginning of this thread explains to do... I run the Banner ads under the articles here as well.
So a double-banger
Kat wrote: You also have it below your article too.
This web site was made with WebAPP v0.9.9.3.3 , a web portal system written in Perl
All trademarks and copyrights on this page are owned by their
respective owners. Comments are owned by the Poster.