Webmastersite.net
Register Log In

Toplists counting wrong
problem

Comments on Toplists counting wrong

isto
Member

Usergroup: Customer
Joined: Jul 02, 2003

Total Topics: 7
Total Comments: 17
isto
Posted Aug 23, 2006 - 8:52 AM:

I have a costume template with 2 toplists on it.

1 is for Top 10 clicks

and

1 for Top 10 Ratings

<h4>Top Links({LANG_GENERAL_RATING}) </h4><br>
<table>
<tr><th>No.</th><th>{LANG_GENERAL_TITLE}</th><th>{LANG_GENERAL_RATING}</th><th>{LANG_GENERAL_CATEGORY}</th><th>Clicks</th></tr>
<!-- BEGIN TOPLIST 6 -->
<CONFIG>links,rating,10,descending,,1,5,0,0,0,0</CONFIG>
<tr>
<td>{NUMBER}.</td><td>
<a href="{TRACKLINKURL}">{LINKTITLE}</a></td><td>{LINKSTARS}</td><td><a href="index.php?action=displaycat&catid={LINKCATID}" class="categoryname">{LINKCATNAME}</a></td><td>{LINKHITS}</td></tr>
<!-- END TOPLIST 6 -->
</table><br>
<br>
<br>
<br>
<h4>Top Links (Clicks)</h4><br>
<table>
<tr><th>No.</th><th>{LANG_GENERAL_TITLE}</th><th>{LANG_GENERAL_RATING}</th><th>{LANG_GENERAL_CATEGORY}</th><th>Clicks</th></tr>
<!-- BEGIN TOPLIST 7 -->
<CONFIG>links,hits,10,descending,,1,5,0,0,0,0</CONFIG>
<tr>
<td>{NUMBER}.</td>
<td>
{LINKTITLE}</td><td>{LINKSTARS}</td><td>{LINKCATNAME}</td><td>{LINKHITS}</td>
</tr>
<!-- END TOPLIST 7 -->
</table>


When I visit the page it shows me in toplist 1 the rist link with the highest rating and the click counter 15.

In toplist 2 it shows this link not in the toplist althought it is the link with the most clicks, too.
Instead of this link it shows a link with 7 clicks at all.


Where is the error?

Everything else works fine.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 24, 2006 - 5:15 AM:

Looks like you've filled in the "Which result number do you wish to begin at?" option telling it to skip to result #1, meaning result #0 doesn't show. If you don't want to prevent things from showing you should be ignoring that box.
isto
Member

Usergroup: Customer
Joined: Jul 02, 2003

Total Topics: 7
Total Comments: 17
isto
Posted Aug 28, 2006 - 11:37 AM:

Now it works (after I changed what you said)

Thank you so much!!!!!!!!!!!!!!!!
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.