amandablum / mindup

1 stars 0 forks source link

Code news sidebar #104

Closed amandablum closed 8 years ago

amandablum commented 8 years ago

@vitamincee did the CSS work on the news sidebar, but you need to code it out. It can be seen here: http://dev1.dapperdigital.net/repo/ on the left hand side. its in sidebar.php.

chuckreynolds commented 8 years ago

question: how are popular posts calculated?

amandablum commented 8 years ago

popularity by views. in our call you had a suggestion of how to do this, but for lack of better options: https://wordpress.org/plugins/wordpress-popular-posts/

On Fri, Apr 15, 2016 at 2:33 PM, Chuck Reynolds notifications@github.com wrote:

question: how are popular posts calculated?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/amandablum/mindup/issues/104#issuecomment-210655651

chuckreynolds commented 8 years ago

kk. i'll check out that plugin. seems to have decent template functions.

amandablum commented 8 years ago

That was my research before the project suggested. WPBeginner actually has a tabbed widget demo writeup but it uses another plugin. http://www.wpbeginner.com/wp-tutorials/how-to-track-popular-posts-by-views-in-wordpress-without-a-plugin/

On Fri, Apr 15, 2016 at 2:41 PM, Chuck Reynolds notifications@github.com wrote:

kk. i'll check out that plugin. seems to have decent template functions.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/amandablum/mindup/issues/104#issuecomment-210658193

chuckreynolds commented 8 years ago

yeah that's just a simple counter that adds 1 every time the page is requested... including bots or any request. point of a plugin is to have some sort of actual algorithm / intelligence to it to accurately depict popularity as a metric.

amandablum commented 8 years ago

ok. if I need to do some research to find another way, lemme know.

On Fri, Apr 15, 2016 at 2:49 PM, Chuck Reynolds notifications@github.com wrote:

yeah that's just a simple counter that adds 1 every time the page is requested... including bots or any request. point of a plugin is to have some sort of actual algorithm / intelligence to it to accurately depict popularity as a metric.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/amandablum/mindup/issues/104#issuecomment-210660000

amandablum commented 8 years ago

-->https://digwp.com/2016/03/diy-popular-posts/

On Fri, Apr 15, 2016 at 2:50 PM, Amanda Blum - Howling Zoe Productions < amanda@howlingzoe.com> wrote:

ok. if I need to do some research to find another way, lemme know.

On Fri, Apr 15, 2016 at 2:49 PM, Chuck Reynolds notifications@github.com wrote:

yeah that's just a simple counter that adds 1 every time the page is requested... including bots or any request. point of a plugin is to have some sort of actual algorithm / intelligence to it to accurately depict popularity as a metric.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/amandablum/mindup/issues/104#issuecomment-210660000

chuckreynolds commented 8 years ago

okay so you just want a counter of page hits. i'll do that then.

chuckreynolds commented 8 years ago

how's the site traffic size? if this is a big site this will be an expensive query overall

amandablum commented 8 years ago

For now, its nada. But they've got significant funds going into a national PR push in next 6 months. I'd say code it as if it was 100k/mo. If we need to scale it in the future, I can get funding for that.

Unless you feel otherwise, i think hits is a reasonable measure. I'd say choose the path of least resistance.

On Fri, Apr 15, 2016 at 2:54 PM, Chuck Reynolds notifications@github.com wrote:

how's the site traffic size? if this is a big site this will be an expensive query overall

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/amandablum/mindup/issues/104#issuecomment-210661699

chuckreynolds commented 8 years ago

just zipped around on staging to get some data in the popularity cache. that was a bitch to get working right.

amandablum commented 8 years ago

Hey, this looks great, my only caveat is that its supposed to be limited to the news cat. I don't imagine that'll change things dramatically. Going to circle back w client to see how we feel about including all categories. Will get back. Functionality works great.

chuckreynolds commented 8 years ago

Ok I can do that... both Popular and Recent should only return results from category == news?

amandablum commented 8 years ago

hold, waiting for client feedback On Apr 21, 2016 11:47 AM, "Chuck Reynolds" notifications@github.com wrote:

Ok I can do that... both Popular and Recent should only return results from category == news?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/amandablum/mindup/issues/104#issuecomment-213060348

amandablum commented 8 years ago

hey, client approved.