• I am currently using a “Percentage” mod which shows you how popular each of your blog posts are.

    Here is the link to the plugin:

    http://wordpress.org/extend/plugins/popularity-contest/

    I am running it on: http://www.ps3-themez.com

    I’d like to know how I can increase the total maximum % of a post as mine go up to 100% too quickly. Is there anyway I can change the maximum popularity number to something say 1000?

    Please take a quick look through the code as it’s not an option to change the max value in the plugin on wordpress I think it’s gonna be done by code but I can’t do it.

    Thanks for any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter p0werrr

    (@p0werrr)

    BUMP

    After a quick look at popularity-contest.php, I would think all you have to do is edit these values to something different.

    );
    		$this->feed_value = 1;
    		$this->home_value = 2;
    		$this->archive_value = 4;
    		$this->category_value = 6;
    		$this->single_value = 10;
    		$this->comment_value = 20;
    		$this->pingback_value = 50;
    		$this->trackback_value = 80;
    		$this->logged = 0;
    		$this->top_ranked = array();
    		$this->current_posts = array();
    	}

    Looks like five comments gives you 100%, so just lower things down to the desired effect.

    Just a guess.

    From the author:

    “The values assigned to each view and feedback type are editable and can be changed at any time. When you change any of these values, the ‘popularity score’ for all posts are updated immediately to reflect the new values.”

    So it looks like the changes will be immediate, so you should be able to tweak to your desire pretty easily.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I change this slightly? PLEASE READ :D’ is closed to new replies.