Hi all,
I wanted to display a vertical ad bar on the right side of the forum list, and a horisontal banner on the bottom. I tried to figure it out through the settings control panel etc, but no luck. But when I finally figured it out, it is really, really simple. Setting up an ad rotator is equally simple.
Here are the steps:
Done!
Morten
EDIT: You won't see the ads if you are logged in as admin. So to see if this works, you have to log out. Thanks for reminding me, Joswalt
I see a GoogleAdSense in the file, but I do not see anywhere in code to where this ad will be placed. Anyone know?
I also cannot get ads to show up in the StandardTop or StandardBottom. You also said to leave the Ad spans to visible=false. Why? Nothing shows up on the site. I have enabled Ads in the System Configuration.
I figured out my problem. I forgot that you don't see the Ads if you are logged in as Admin. Is Ad setup in the wiki? If not, someone who knows more about the ad setup should add it to the wiki.
In our case google adsense ruins the page on internet explorer while it performs ok on opera
http://forum.olympiacos.org/forums
Now i will try to mess with div etc so that it may display properly...
imano wrote: Hi all, I wanted to display a vertical ad bar on the right side of the forum list, and a horisontal banner on the bottom. I tried to figure it out through the settings control panel etc, but no luck. But when I finally figured it out, it is really, really simple. Setting up an ad rotator is equally simple. Here are the steps: Go to Themes/default/Skins and open the file Skin-Ads.ascx Find the ad placement you want to use (you know what I mean when you open the file), and put the following line inside the span tag of your choice: <asp:AdRotator id="adRotator" runat="server" AdvertisementFile="ads.xml" Target="_self" /> Leave the visible as false upload an xml file named ads.xml into the same folder as the Skin-Ads.ascx file, or the folder you specify in the ad-rotator attributes. See MSDN for details on the xml format Go to your CS site and enter the settings area. Here you need to enable ads. Done! Morten EDIT: You won't see the ads if you are logged in as admin. So to see if this works, you have to log out. Thanks for reminding me, Joswalt
I was looking for the Skin-Ads.ascx in the skins folder but I couldn't find it. But my folder has a file name called Skin-Banner.ascx. I put in the AdRotator controls. Also, added a folder of all of the ads and an xml file. I went to the configuration of the forum to look for ads setting to turn it on as you say but there is none. Later, I found out I didn't need to turn any setting on and the ads was working while logging in as an ADMIN. What forum version are you using? Mines is: version 2004.7.1707.
Hello,
I have my website hosted through GoDaddy.com. I just installed the community server feature through GoDaddy. However, I am having trouble posting ads on pages other than the first page that appears on the Community Server. I would like to be able to display ads on the side of my forums and blogs, but I cannot figure out how to do so.
I found one post on here that says that I should go to Themes/default/Skins and open the file Skin-Ads.ascx. My problem is that I cannot find this page. I have tried adding it on to the url, but to no avail. I have also tried signing onto my website through FTP so that I could see all of the files that are uploaded to my site, but it appears that no folder for community server has even been created! Any ideas on how to proceed?
Thanks!
Hi,
I also have my site at GoDaddy. But I had to do my own install of the communityserver, since the install they do for you is a shared one. You don't get access to the individual files.
But no worries, the installation of CS is a breeze. Just follow the easy documentation here and you're up and running in no time.
Thanks for the reply, Morten. I have been trying for the last several hours to get this up and running, but to no avail. I first uploaded the "Web" folder as specified in the web-based installation instructions. However, when I then try to browse to the specified installer file (default.aspx) by putting it into the URL, I get a "Runtime Error" message. I cannot browse to any of the files that I just uploaded. Any ideas of what might be the problem? I am fairly new to CS, and so this is pretty frustrating.
I'm not wanting to use commercial ad banners to genrate revenue. I made my own banners at 486x60 pixels in jpeg format to promote specific pages on our website and for humor.
I finally got access to the lousy GoDaddy installed version of CS by using Wexlite. I made some emoticons and am successfully using those.
I want to rotate the banners I created, but I have tried and tried, and searched and searched, but can't get it to work right. Here's what I did with what Godaddy says is CS 2.1.
Turned on ads at the control panel
Made it that Administrators are not excluded from seeing ads (I log out to verify anyway)
Edited the Skin-Ads.ascx to the following -
NOTE: It doesn't work with the ads.xml in the same directory as the Skin_Ads.ascx and removing the URL from AdvertisementFile either.
<%@ Control Language="C#" %><span id="StandardTop" runat="server" visible="false"><asp:AdRotator id="adRotator" runat="server" AdvertisementFile="http://www.mysite.com/ads.xml" Target="_self" /> </span>
<span id="Square" runat="server" visible="false"></span>
<span id="Skyscraper" runat="server" visible="false"></span>
<span id="StandardBottom" runat="server" visible="false"></span>
<span id="GoogleAdsense" runat="server" visible="false"></span>
<span id="Inline" runat="server" visible="false"></span>
Put the ads.xml at the root of my site. Ads XML looks like this:
<?xml version="1.0" encoding="utf-8" ?><Advertisements> <Ad> <ImageUrl>http://www.mysite.com/correctdirectory/correcad.jpg</ImageUrl> <NavigateUrl>http://www.mysite.com/</NavigateUrl> <AlternateText>Ad Placed Here</AlternateText> <Impressions>50</Impressions> <Keyword>Alderson</Keyword> </Ad> <Ad> <ImageUrl>http://www.mysite.com/correctdirectory/correctad.jpg</ImageUrl> <NavigateUrl>http://www.mysite.com/another_page.htm</NavigateUrl> <AlternateText>Another Ad</AlternateText> <Impressions>50</Impressions> <Keyword>Mutt</Keyword> </Ad></Advertisements>
For the actual site and ads and folders I edited those for this post, but am sure of how I formatted them in the real files.
All I get on the CS site is ad placeholders that I can see as an administrator, but no ads no matter if logged in as admin, regular user, or not logged in. When I double click on the placeholder I can get a static banner by using HTML to do whatever I please, but even putting in the rotator stuff from the Microsoft MSDN site I still get nothing. I'm not sure what I need to do for the the code and its placement to call the ads.
Does anyone have the time to give me a little hand holding through this proces. I am reading and learning but not informed enough yet. I have just a little experience so far with CS, no coding experience, beginner HTML using FrontPage for our website.
Thank you
For the most part I believe that you are pretty much on the verge of implementing rotating banners. I think you need to either remove the CS:AdPart wrapper around the Ads controls or just add in a new CS:Ads control. I am just starting to familiarize myself with the CS 2.1platform... But I am guessing that the CS:AdPart is used as some sort of wrapper around the inline editing capabilities.
<CS:Ads ID="Ads2" Zone="StandardTop" runat="server" />
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com