Page 1 of 1

Popular Entries

Posted: Wed Jan 26, 2011 10:15 am
by danst0
Hi,

when is the popular entries sidebar plugin updated? I just adjusted the visit counter in my database (serendiptiy_karma table), since the karma counting is different from the google analytics counting. The counter is still updated, but the entry has not disappeared from the top 5 list...?

Do I have to update some thing else?

Daniel

Update: Related to that question I just tried to use the manage karma function in the backend (which I should have used in the first place), but neither on my test installation nor on the production one does it produce any results (eg. enter entry id -> no entries, enter nothing -> no entries, enter complete entry title -> nothing)...

Re: Popular Entries

Posted: Wed Jan 26, 2011 10:31 am
by garvinhicking
Hi!

Popular entries is dynamic, so it immediately updates. What did you mean with "just adjusted the visit counter"? What exactly did you do?

Regards,
Garvin

Re: Popular Entries

Posted: Wed Jan 26, 2011 10:51 am
by danst0
Hi,

I used phpmyadmin and changed the visits counter there (last column in the screenshot). I looked for the corresponding order ID in the entries table.

Daniel

Re: Popular Entries

Posted: Wed Jan 26, 2011 11:52 am
by garvinhicking
Hi!

Can you give more examples, like where can we see your popular entries listing, which ID the entry has that you try to remove from your top 5 pages, and which values the top 4 entry has an which one the other top 4 and entries have?

Maybe you lowered the value too little, so it's still the top #5 page.

The tool you use to manage karma only applies for VOTES cast on the entry. It has nothing to do with the visitor counting.

Regards,
Garvin

Re: Popular Entries

Posted: Wed Jan 26, 2011 12:23 pm
by danst0
I think I am doing something really wrong here.
Here is another example, for the entry id 8.

Re: Popular Entries

Posted: Wed Jan 26, 2011 12:26 pm
by danst0
and the resulting Top 5 List:

Re: Popular Entries

Posted: Wed Jan 26, 2011 1:03 pm
by garvinhicking
Hi!

I don't understand your screenshots, please explain what they should show, how the entry IDs relate to the titles and what result you would expect, etc.

Regards,
Garvin

Re: Popular Entries

Posted: Wed Jan 26, 2011 1:11 pm
by danst0
Sorry, the headlines are in the wrong order.
The first screenshot shows the current settings of the pop-entries plugin.
The second shows that entryid no. 8 has the title "SC Conferences 2010".
The third scr-shot shows the karma table, sorted by the number of visits, entryid 8 has the most visits (i did not touch that entry).

In the next screenshot the resulting top 5 entries table is shown, but without entryid no 8...

From my point of view no 8 should be shown in the table, since it is the article with the most visits!?

Daniel

Re: Popular Entries

Posted: Wed Jan 26, 2011 1:17 pm
by garvinhicking
Hi!

Maybe entry #8 is an article that is still on your blog's startpage, and thus hidden from the popular entries, as denoted by the configuration setting in your first screenshot ("skip front page items")?

Regards,
Garvin

Re: Popular Entries

Posted: Wed Jan 26, 2011 1:27 pm
by danst0
No, it's kind of old... I had a look at the source code and the only further thing checked is the draft status and the timestamp (if it is in the future).
Here is the link to the entry: http://scrmblog.com/archives/8-Supply-C ... -2010.html

Re: Popular Entries

Posted: Wed Jan 26, 2011 1:38 pm
by garvinhicking
Hi!

Ah, I think I see the error. The "skpi entries on front page" thing actually does something in the code that's not really the proper way. If you have 10 entries on the startpage, the plugin will only show the most popular entries from 10 to 15, instead from 1 to 5.

If you disable the "skip entries on front page" you should get the proper ordering by visits.

I can't really fix this in the plugin right now because it would mean a complete re-code of this "skip" functionality. Maybe someone wants to take a shot at it, meanwhile the plugin option thing should fix the behaviour for you.

Regards,
Garvin

Re: Popular Entries

Posted: Wed Jan 26, 2011 2:01 pm
by danst0
Wow, that worked... Thanks Garvin!

Daniel