Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author CrappyCodingGuy

    (@crappycodingguy)

    So sorry I didn’t see your message before now – not sure why I never received an email when you posted.

    I’m assuming you’re on a single user version of WordPress…

    – In the page where you want to display the log, add this, and nothing else (once you get it working, it should be no problem to add other content):

    [wrs_walking_log view=”main”]

    – While still in the page editor, click the “Screen Options” button in the upper right of the page to display the screen options settings. Make sure the Custom Fields option is checked.

    1. At the bottom of the screen, click the “Enter New” link to enter a new custom field.
    2. Type in wrs_walking_log for the name, and 1 for the value.
    3. Save the page and view it. The walking log should display on the page.
    ClarissaConstantine

    (@clarissaconstantine)

    Is there a way that I can aggregate multiple users’ activities into a single log on a main page, and then have individual users’ logs on their own pages, too?

    Also, what’s the best way to narrow the display, and move it down on the page?

    Thanks!

    Clarissa

    https://www.constantmotionfitness.com/sd-chorus-walk-sing/

    Plugin Author CrappyCodingGuy

    (@crappycodingguy)

    Hi Clarissa,

    There currently isn’t a way to combine users into a single log without doing your own custom coding. This shouldn’t be too bad for me to add though, and I’ll add it to my todo list.

    How do you envision it working? I’m thinking it would be a new short code, where the view parameter would be something like “combine” or “all” instead of “main”, or something similar. This would be a view only thing, nobody would be able to edit their logs that way since it would add a lot of complexity.

    For the spacing, I’m not sure why adding text or spacing above the short code is always showing up after the short code, so adding spacing to the top of the page itself doesn’t work at this time. As a workaround, follow these steps:

    1. Go to plugins menu in WordPress admin
    2. Find the Walking Log plugin and click the Edit link
    3. On the right side of the page, click on the walking_log.css file, it should show up in the editor.
    4. Right underneath the copyright message, after the */, add this:

      #wrswl-month-select { margin-top: 100px; }

    5. Change 100px to whatever margin you prefer – e.g. 50px. Make sure you keep the “px” text right after the number.
    6. Click the “Update File” button at the bottom.

    This should allow you to control the vertical spacing.

    Plugin Author CrappyCodingGuy

    (@crappycodingguy)

    I did find the reason adding text or spacing above the short code wasn’t working. In fact any text that appeared before the short code in the editor was showing up after the short code when viewing the page. This has been fixed in version 1.3.

    This opens up a number of possibilities for adding some spacing before the log. One of the simplest would be this:

    1. Edit the post or page that contains the short code
    2. Make sure you’re on the “Text” tab instead of “Visual”
    3. Add <p> </p> on a line before the short code.

    This will give you some space above the short code when viewing the page. If you want specific control over the spacing you can add styling:

    <p style=”height:100px”> </p>

    Just change the 100 to however many pixels of spacing you want.

    Hey there,

    Thanks for the support! This project has been on the back burner for the last month, and it’s once again on the front burner. In short, a group I’m involved in is starting a ‘Walk2Win’ program, wherein each member is encouraged to walk/run/jog/swim/zumba/whatever about 2 miles per day. I’ve set it up so each member has her own log in on my website, and her own log. In a perfect world, I’d love to be able to show an aggregate count of total miles ‘moved.’

    For your viewing pleasure, here’s the link to the page I’ve set up on my business website to facilitate the program.

    I’m not super good with coding yet – still quite the novice in this whole web development thing. But if you have any suggestions about how to make this work, that would be great! Ultimately we expect to have 60+ participants, and as you can imagine, going in to track each person’s mileage would be time-consuming.

    Thanks for your help!

    Clarissa

    Plugin Author CrappyCodingGuy

    (@crappycodingguy)

    The latest version of the plugin has support for stats and ranking views. There’s also a new Help menu in the admin panel that gives a detailed description and samples on how to configure these views. I’ll give a very brief overview here…

    The stats and ranking views use short codes, just like the main log view. There are a number of parameters you can use to configure what sort of stats or ranking is displayed. To see overall distance statistics aggregated for all users you can add this to a page or post:

    [wrs_walking_log view=”stats” by=”distance” period=”overall” user=”all”]

    And make sure you set up the custom field as discussed in the setup instructions.

    Hope this helps!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Walking Log] It works?’ is closed to new replies.