Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Why Banners module will stop rotating bannersWhy Banners module will stop rotating banners
Previous
 
Next
New Post
1/1/2009 5:19 PM
 

Jonathan, could you comment on DNN-9089 as well as there are two fronts here.

Thanks



Alex Shirley


 
New Post
2/8/2009 4:57 AM
 

Hi

Since my VS2005 doesn't work, I cannot build a new project.

Can U please send me the fixed DLL? Or upload it here?

I can't understand why this issue is not yet been fixed.

 
New Post
2/8/2009 2:21 PM
 

 OK

I managed do fix that.

It really works good now! Thanx a lot...

But!

It seems to work only with the banner module. The skins embeded modules still do not rotate...

Any suggestion?

 
New Post
2/8/2009 2:24 PM
 

I am talking to myself in this thread, but it's ok :)

I found another file where we should change the code, so the skin-banners will also rotate right.

Go to admin>Skins>Banners.ascx.vb

Copy both the function as mentioned in jsheely's post above (LoadBanners and IsBannerActive) into this file also.

 

 

Find (In: Page_Load) -
Dim arrBanners As ArrayList = objBanners.LoadBanners(intPortalId, Null.NullInteger, Integer.Parse(BannerTypeId), GroupName, Integer.Parse(BannerCount))
Replace with
Dim arrBanners As ArrayList = LoadBanners(intPortalId, Null.NullInteger, Integer.Parse(BannerTypeId), GroupName, Integer.Parse(BannerCount))

 

Find (In: LoadBanners) -
intLastBannerIndex = RandomGenerator.Next(0, arrBanners.Count -1)
Replace with:
intLastBannerIndex = RandomGenerator.Next(0, arrBanners.Count)

 

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Why Banners module will stop rotating bannersWhy Banners module will stop rotating banners


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out