09 Sep 2010 
Support Center » Knowledgebase » K-Search FAQ » I would like to rank the positions with different point scales. Can this be done ?
 I would like to rank the positions with different point scales. Can this be done ?
Solution I suppose it could be done, but it would require some customizing. In engine module file you could define a point multiplier, like:

$sites['google']['multi'] = 1.5;


Next in /includes/do_search.php you can change this block:

//add points

$out[$s['site']] += ($options['limit']+1-$r);


with:


//add points

if (!isset($sites[$key]['multi'])) $sites[$key]['multi'] = 1;

$out[$s['site']] += ($options['limit']+1-$r) * $sites[$key]['multi'];




Article Details
Article ID: 92
Created On: 22 Dec 2008 10:49 AM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | Troubleshooter | News | Downloads
Language:

Help Desk Software By Kayako eSupport v3.40.01