WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Our Progress] Incomplete? (10 posts)

  1. jossi
    Member
    Posted 5 years ago #

    The plugin download is missing the css and the images used by the plugin....

    http://wordpress.org/extend/plugins/fundraising-thermometer-plugin-for-wordpress/

  2. Bernard Bos
    Member
    Posted 5 years ago #

    It's not missing, the plugin file searches in the wrong map. Just change these lines:

    $path = "../wp-content/plugins/ourprogress/images/"; (line 93)

    with

    $path = "../wp-content/plugins/fundraising-thermometer-plugin-for-wordpress/images/";

    and

    echo '<link type="text/css" rel="stylesheet" href="'. get_bloginfo('wpurl').'/wp-content/plugins/ourprogress/images/'.$theme.'/style.css" />' . "\n"; (line 169

    with

    echo '<link type="text/css" rel="stylesheet" href="'. get_bloginfo('wpurl').'/wp-content/plugins/fundraising-thermometer-plugin-for-wordpress/images/'.$theme.'/style.css" />' . "\n";

    That will do the trick.

  3. christopherross
    Member
    Posted 5 years ago #

    Hi guys, sorry about that. It was completely my fault, I had uploaded the repair to WP a month ago but hadn't updated the SVN properly so it wasn't fixed.

    The new download (0.2.9) has the new path functioning properly.

  4. relish1227
    Member
    Posted 4 years ago #

    I have this on a site here -- http://macyswim.com/donations/ -- and it keeps on reverting to 0. I have changed it a number of times and it seem to work temporarily -- then later on something happens and it goes back to 0. Have any of you seen this or know what could be interfering here?

    Thanks.

  5. angryblackwoman
    Member
    Posted 4 years ago #

    Having the same problem as relish. I'm on 2.7.1

  6. peachorama
    Member
    Posted 4 years ago #

    same problem here on 2.7.1!

    keeps reverting back to zero and the default theme.

    also, the mercury bar doesn't quite line up to the amount its supposed to.

    please help!!!

  7. dataplus
    Member
    Posted 4 years ago #

    Anyone figured out how to get the thermometer and the lines to add up correctly?

  8. arkitekt
    Member
    Posted 4 years ago #

    I also have this issue, and can't seem to figure it out -- I will post back if we fix it.

  9. arkitekt
    Member
    Posted 4 years ago #

    I have figured out a workaround for anyone else interested --- I didn't want to toy with things too much, so I just went into the Plugin Editor and changed the default numbers to my fundraising goal and current progress... and where it said "default" for the theme (in two places) -- I update this to default-green and it's now working great as a workaround. Not the easy, GUI interface I would have preferred but at least I can make it live today and figure out the issue later.

    If you need help sorting that out let me know --- here's the code you are looking for:

    function show_ourprogress_graphic() {
    
    	if(get_option("ourprogressmax")) 		{$max = get_option("ourprogressmax");} else {$max = "100";}
    	if(get_option("ourprogressprogress")) 	{$current = get_option("ourprogressprogress");} else {$current = 0;}
    	if(get_option("ourprogressformat")) 	{$format = get_option("ourprogressformat");} else {$format = "$%(#10n";}
    	if(get_option("ourprogresstheme")) 		{$theme = get_option("ourprogresstheme");} else {$theme = "default";}
    "

    and one more location for default:

    function addHeaderCode() {
    	if(get_option("ourprogresstheme")) 		{$theme = get_option("ourprogresstheme");} else {$theme = "default";}

    Hope this helps, it's definitely a workaround until someone can look at the code in more detail

  10. stevemaclean
    Member
    Posted 4 years ago #

    Is there anyway to make the image smaller?

Topic Closed

This topic has been closed to new replies.

About this Topic