WordPress.org

Support

Support » Plugins and Hacks » Olimometer Bugs and Feature Requests

Olimometer Bugs and Feature Requests

Viewing 5 replies - 1 through 5 (of 5 total)
  • fprietoster
    Member

    @fprietoster

    Hi. I want to know if current amount can be automatically takes the number of post value instead of an input number. We want to make a support campaing through sending sms and we want to visualize the number of messages posted in our blog.

    Thanks in advance

    Plugin Author oshingler
    Member

    @oshingler

    @fprietoster currently this is not an easy option. It would require me to create an API of some sorts in to the plugin.

    When you say post value, do you mean a WordPress post, or an HTML form POST? If you can give me a few more details on how you would imagine it would work from your perspective then that’ll give me something to start with. Would you plan on writing your own code to integrate with the thermometer plugin in order to supply it with data or are you thinking that the plugin could automatically pick up the values from somewhere?

    Oli

    fprietoster
    Member

    @fprietoster

    thanks oli

    I’ve been reading the code from Statbadge plugin. It shows the number of posts as a number using this function (im not a programmer)

    function GetPosts()
    {
    if(function_exists('wp_count_posts')) {
    $info = wp_count_posts( 'post' );

    return( intval( $info->publish ) );
    }
    return '-';
    }

    So i think what i want to take as the progress value is the number of post in the blog.

    By the way i began to design the interface at http://meto2.net/ibague

    thanks for your help

    Plugin Author oshingler
    Member

    @oshingler

    @fprietoster that sounds very possible, however because it’s such a specialised request I don’t want to include it in the main Olimometer development trunk. I reckon I could do it as a separate bolt-on plugin which would automatically update the stored progress value of the main Olimometer plugin everytime a new post is added.

    That way we could provide far more options such as monitoring just a single category of posts, or only posts which match a certain critera. I won’t be able to do this for a few weeks due to holiday but I’ll certainly start work on it. I’ll drop a note on this forum when I get back and see if you still need this.

    Oli

    fprietoster
    Member

    @fprietoster

    You are right. I will continue asking and let you know what i find. Thank you very much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Olimometer Bugs and Feature Requests’ is closed to new replies.