Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I forgot to mention, during testing make sure you allow views from the author otherwise it will continue to read Popularity unranked

    Here’s the two tables you need to create

    CREATE TABLE wp_ak_popularity (
    post_id int(11) NOT NULL,
    total int(11) NOT NULL,
    feed_views int(11) NOT NULL,
    home_views int(11) NOT NULL,
    archive_views int(11) NOT NULL,
    category_views int(11) NOT NULL,
    tag_views int(11) NOT NULL,
    single_views int(11) NOT NULL,
    searcher_views int(11) NOT NULL,
    comments int(11) NOT NULL,
    pingbacks int(11) NOT NULL,
    trackbacks int(11) NOT NULL,
    last_modified datetime NOT NULL,
    KEY post_id (post_id)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;


    — Dumping data for table wp_ak_popularity

    — Table structure for table wp_ak_popularity_options

    CREATE TABLE wp_ak_popularity_options (
    option_name varchar(50) NOT NULL,
    option_value varchar(50) NOT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

Viewing 2 replies - 1 through 2 (of 2 total)