Author Ranking
Posted: 16 February 2008 12:50 AM   [ Ignore ]
Newbie
Rank
Total Posts:  18
Joined  2006-01-15

Just set up the favorites module on my group site the other day and so far, so good.  Or I should say, so far, so great.  Very nice.

One thing that might be nice is if the favorites:author_rank tags had a way of excluding a person’s own entries from the count.  Naturally, some of my own entries on my site end up being some of my favorites, and are selected with the module.  But when it comes time to generate the list of authors and their rankings, it seems like it might be more accurate, at least on a group site like mine, if an author’s own entries were omitted from the overall count.  Does that make sense?

Probably not a workable idea, but I just thought I’d throw it out there.

Profile
 
 
Posted: 16 February 2008 08:33 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

What about using the member_id or username parameters?

{exp:favorites:author_rank member_id = "not 5|7|20"}

or

{exp:favorites:author_rank username = "not zeus|charlie"}

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 16 February 2008 09:19 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  18
Joined  2006-01-15

I knew I wasn’t explaining it clearly enough.  I haven’t tried it, but doesn’t your suggestion exclude a member altogether from the list?  I wouldn’t want to exclude a member altogether, but only those results where the member_id matches the author of the entry that has been chosen as a favorite.

Let’s say I have chosen 10 favorites.  4 of them are entries written by me, with the other 6 by other members.  What I’d be looking for then is some way for the author_rank to return a total for me of 6, rather than 10.  The same would apply to the other members, where their results would be reduced in all instances where they chose their own entry as a favorite.

The more I say it, the more impossible it seems like this would be to accomplish.

Profile
 
 
Posted: 16 February 2008 09:25 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Ok, I see now… smile

So basically, have an option for the List to NOT show Favorites that are the own authors entries, which were added as favorites by the author himself? :D

I’ll submit this as a feature request smile

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 16 February 2008 09:30 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  18
Joined  2006-01-15

Yes, that’s it.  How you said it in one sentence I’ll never know.

Thanks.

Profile
 
 
Posted: 16 February 2008 09:41 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Haha, I struggled :D

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 16 February 2008 09:50 AM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  18
Joined  2006-01-15

The site I’m trying to use it for has a rule that every entry must be only one sentence long, so I can appreciate the struggle all the more.

Profile