Toplist Question Toplist for custom ratings
$importance = ($this->hitsoutpermonth() + $this->numcomments) + 6
$importance = ($this->hitsoutpermonth() + $this->numcomments) + 6$overallscore = ($this->linkrating + $this->linkcustomrating1rating + $this->linkcustomrating2rating + $this->linkcustomrating3rating + $this->linkcustomrating4rating + $this->linkcustomrating5rating + $this->linkcustomrating6rating + $this->linkcustomrating7rating + $this->linkcustomrating8rating + $this->linkcustomrating9rating)
This thread is closed, so you cannot post a reply.
Comments on Toplist Question
Forum Regular
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 32
Total Comments: 114
Paul I was wondering how I would do a toplist with custom ratings. What I am looking for is, I have have 10 custom ratings and wanting add all ten of them together and giving me a top rating from that. How would I do that?
Liz
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Sounds like you need to make a link importance formula (Admin -> Settings -> Links).
Forum Regular
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 32
Total Comments: 114
Paul I'm not sure on what to do here can't seem to get it to work this what I have so far.
That's what was there already and this what I did.
I know I'm doing something wrong here.
Liz
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You want $importance = $this->rating + $this->linkcustomrating1rating + $this->linkcustomrating2rating + $this->linkcustomrating3rating + $this->linkcustomrating4rating + $this->linkcustomrating5rating + $this->linkcustomrating6rating + $this->linkcustomrating7rating + $this->linkcustomrating8rating + $this->linkcustomrating9rating