1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Strava 1.1

strava bb code

  1. MattW
    Compatible XF Versions:
    • 1.3
    • 1.4
    • 1.5
    Visible Branding:
    No
    upload_2014-8-5_15-9-13.png

    Download and upload the Strava.php file to the library/MediaSites/ folder on your XenForo installation.

    Media Site ID: strava
    Site Title: Strava
    Site URL: https://www.strava.com/
    Match URLs:
    Code:
    #https://www\.strava\.com/activities/(?P<id>[0-9]+/embed/[a-z0-9]+)$#siU
    Embed HTML: <see callback>

    Advanced Options
    Regular Expression Matching: check
    URL Match Callback: MediaSites_Strava::extractParams
    Embed HTML Callback: MediaSites_Strava::buildEmbed

    On Strava, choose to share the run / cycle

    upload_2014-8-5_15-12-32.png

    Get the embed on blog code

    upload_2014-8-5_15-12-58.png

    Grab the src URL from there, as that is what you want to use for the Media site

    eg
    https://www.strava.com/activities/175747749/embed/417196849660173951c4f4444e0c57930f8127a2

    upload_2014-8-5_15-14-12.png

Recent Updates

  1. Added Athlete Share

Recent Reviews

  1. adwade
    adwade
    5/5,
    Version: 1.1
    While I wish there was some way to automatically convert the native Strava Blog Embed code into the required syntax somehow, I am SO THANKFUL for this add-on! It allows our users to post maps of their bike rides within their posts on the board. So for now, this being the only method to do so, kudos on a job well done.
  2. CyclingTribe
    CyclingTribe
    5/5,
    Version: 1.1
    Thanks Matt - simple but very useful BB Code Media Site set-up for embedding Strava activities. Our Strava cyclists should love this :)