• Couldn’t get plugin to work. No documentation either.
    EDIT:

    Developer was Quick to address the fact that due to Strava API changes the plugin was undergoing major overhauls. So far in testing the Alpha I’ve found it to be the BEST strava plugin I’ve seen. Kudos to the Dev!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author jrfoell

    (@jrfoell)

    djkouza,

    We haven’t made any releases since Strava switched to their V3 API (and shutdown V2 & 1 access).

    BUT, I have been working on a 1.0 update that uses the V3 Strava API. Would you be willing to help us test it before we release it in the www.remarpro.com repository?

    Thread Starter djkouza

    (@djkouza)

    I’d be happy to test. I’m on WP 4.0 currently.

    Plugin Author jrfoell

    (@jrfoell)

    Thanks!

    Here’s an alpha version: https://dl.dropboxusercontent.com/u/24864048/wp-strava-1.0a.zip

    Can you tell me how you’d like to use the plugin? Right now it has a shortcode and two widgets, but I’m interested in knowing what other options and uses people would like to see.

    You can read about the shortcode and widgets here: https://github.com/jrfoell/wp-strava/tree/v3-api

    Thread Starter djkouza

    (@djkouza)

    Justin,

    Thanks for the link. I’ve installed the alpha and it looks great.
    Here is my quick feedback.

    1.) The latest ride widget is a great idea. I like that you added a filter to filter out shorter rides, that is a cool idea. I like being able to have the most recent ride “front and center”. The only thing that would make this better would be if it had some more info like the graphic that comes up on the shortcodes, but due to size I can see that might not work so well. (if possible let the site owner pick 2-3 stats to show on it? ie. time/distance/max spd/avg speed)

    2.) The shortcode is really great too. I like the clean and easy to read format, along with the map. Here would be items that might make it even better
    a.) clickable to go to the strava page with full details

    ##########
    As for what else I’d love to see in a strava plugin. I’m not sure how possible these are but here goes.

    1.) Widget that would show how many KOM you have, or how many Segments you have a top X place (maybe user configurable?)

    2.) Ability to have a post/page that would work like the “my rides” widget but pulls in all the info and maps like the short codes. That way it would update automatically.

    That’s all I can really come up with, I think as the plugin sits right now it’s Great and really covers a wide spectrum of needs.

    vlubbers

    (@vlubbers)

    Hi would really like to help testing this. installed the alpha but unable to get it to work…

    Thread Starter djkouza

    (@djkouza)

    @vlubbers Are you getting any errors? One thing you need to ensure you do is setup the Strava API Token if you haven’t, I don’t think the older versions needed that.
    wp-admin/options-general.php?page=wp-strava-options will give you the directions.

    martynch

    (@martynch)

    Hi All, I too would like to test this but I’m getting the following error

    Parse error: syntax error, unexpected T_FUNCTION in /var/www/vhosts/mydomain.co.uk/httpdocs/wp-content/plugins/wp-strava/lib/Strava.class.php on line 25

    I have tried to get to the link:

    wp-admin/options-general.php?page=wp-strava-options

    but I get told I do not have permission even though I’m logged in.

    Can anybody help at all?

    Thanks, Martyn

    Thread Starter djkouza

    (@djkouza)

    From looking at the git repo, there haven’t been any code changes since I installed it. What version of WordPress are you on. Try disabling the Plugin, then deleting the full directory and re-download and enable. Another thing to test would be disabling other plugins temporarily to see if there is a conflict between this and another. ( I had two Strava plugins running w/o issues), but have seen issues before with having certain plugins conflicting with others.

    Reading up on this type of error I found a few different potential causese:
    First one is to check your PHP version from this link unexpected T_FUNCTION error or this one WordPress Error sounds like 5.3 and later may alleviate the issue.

    Also another post where a user’s FTP program was messing up the line breaks of the uploaded files. Do you have shell access to the server where you are working? Check that line 25 should be this:

    add_action( 'widgets_init', function() { return register_widget( 'WPStrava_LatestRidesWidget' ); } );

    Plugin Author jrfoell

    (@jrfoell)

    Martyn,

    If you’re using the github repository, make sure to use this v3-api branch: https://github.com/jrfoell/wp-strava/tree/v3-api

    I want to fix a couple more issues before it gets updated here, but that branch should contain a working plugin.

    Plugin Author jrfoell

    (@jrfoell)

    Martyn,

    I just noticed that your issue may have to do with PHP 5.2 vs. 5.3 compatibility. I just pushed a change so it should be backwards compatible. Can you verify?

    Hey there! Fantastic plug-in!

    I have a quick question.

    When I embed a ride, I get the following error:
    Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method WPStrava_RideShortcode::handler() should not be called statically in /home4/aarond/public_html/wp-includes/shortcodes.php on line 283

    Can I resolve this?

    Other than displaying this message on the top of the ride, it works great. you can see the problem here: onlylifeimportant.com

    Plugin Author jrfoell

    (@jrfoell)

    Yeah, you can just add the word ‘static’ before ‘function handler’ on line 13 of wp-strava/includes/RideShortcode.class.php.

    I’ll add it to the code so it gets fixed in the next release. Thanks for helping out!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Active Developer, great plugin!’ is closed to new replies.