View Full Version : Modifying the # of popular authors on homepage
SwizzleSkids
08-03-2005, 10:02 PM
Hey -anyone know how to increase the number of "popular authors" shown on the homepage? Right now it only shows 5.
I've looked in the PopularAuthorsPanel and can't find anything that seems to reference it. Is it referenced or set somewhere else?
AL 2005 ASP version
Thanks
Jordie (Interspire Staff)
08-04-2005, 07:10 AM
Hi,
I have very little knowledge about .NET. We have actually stopped support for this product.
But from what I can tell, you can change the number 5 in this line of code from PopularAuthorsPanel.ascx.cs:
CurrentAuthors = (new UserEngine(Config.Current)).GetMostPopularAuthors( 5, true);
Let me know how it goes.
SwizzleSkids
08-04-2005, 03:59 PM
But from what I can tell, you can change the number 5 in this line of code from PopularAuthorsPanel.ascx.cs:
CurrentAuthors = (new UserEngine(Config.Current)).GetMostPopularAuthors( 5, true);
Thanks for the reply Jordie - I changed the value to "10." It didn't cause any discernable change to the number of authors on the homepage. Wouldn't I have to do some kind of re-compiling to make that change visible? I've never edited those files - just the .ascx extension ones.
Jordie (Interspire Staff)
08-05-2005, 07:28 AM
Hi,
Sorry, if that didn't do it then I'm afraid I don't know what else it could be. We don't have any .NET programmers with us anymore (hence why we don't support this version anymore) so we can't really help you. Perhaps someone else in the community knows?
SwizzleSkids
08-05-2005, 11:08 PM
We don't have any .NET programmers with us anymore (hence why we don't support this version anymore) so we can't really help you. Perhaps someone else in the community knows?
Jordie - Thanks, we need to transition to the PHP version as soon as possible. Otherwise we'll just get more and more obsolete :-)
I know we get the PHP version for free, but we need to hire someone to do the transition for us in order to keep all of our customizations. This would include doing 301 redirects for all 70+ of our articles and pages in order to keep as much search engine traffic as possible. Can you reccomend anyone, or anyone at Interspire we could work with?
Jordie (Interspire Staff)
08-08-2005, 07:42 AM
Hi,
If you wanted to stay on the same host you won't be able to use PHP as it doesn't work on Windows systems. The PHP version will have search engine friendly URL's too, and it may be possible to get a .htaccess file to accept your old urls and redirect you appropriately. However we don't do such custom programming. You may be able to find people on www.rentacoder.com.
Let me know if you have any further questions.
SwizzleSkids
08-09-2005, 10:35 PM
Hi,
If you wanted to stay on the same host you won't be able to use PHP as it doesn't work on Windows systems. Let me know if you have any further questions.
Jordie - thanks for your continued help. We have a PHP server we can use to host the PHP version - can you look at the steps below and see if I'm missing anything?
1. Have you install the PHP version on the new server
2. Somehow copy the SQL database over to the new server (what is the best way to do this?)
3. Point our domain name to the new site
4. Re-do all our customizations we've lost in the transition :-(
-Adam
Jordie (Interspire Staff)
08-12-2005, 07:51 AM
Hi,
1. Yes, we do that for free.
2. Transfering the database over might be tricky as the databases may actually be set up differently, you will need someone capable of changing your current database schemas to match the PHP one.
3. Yep
4. Yes, unfortunately you will need to go through and do this, nothing we can do about that I'm sorry!