Posting your workouts from Jefit

Keep a diary of your workouts here! Please say something about yourself in your first post ... your training history, experience, goals etc.jefit enabled
Post Reply
User avatar
John
da Boss
Posts: 498
Joined: Saturday, 21 Apr 2007 5:21 pm
Location: Lower Hutt, NZ
Contact:

Posting your workouts from Jefit

Post by John » Tuesday, 2 Feb 2016 1:37 pm

I've been using Jefit on my smart phone to record my workouts for the past few years. It's got some bugs but the potential to be the best of its breed. Development is on-going and there's a core group of active and encouraging users.

I've added a function to the forum to make it easy for a Jefit user to transfer workouts they've logged in Jefit into their training diary.

Here's how to do it:
  • Workouts logged in your Jefit app must be sync'ed to the Jefit web site, or you can log them directly to the web site.
    (Most regular Jefit users probably do this already.)
  • Make sure your Jefit privacy settings allow Everyone to view your training logs.
  • Find your Jefit user ID and save it in your forum profile (see below).
  • Now, when you create or edit a post in your training diary, you'll see a 'Jefit' button below the edit area.
  • Click the button to show a calendar, with the dates of your recent Jefit workouts highlighted.
  • Clicking on a workout date in the calendar will insert a special token into your post - just like when you add a smilie. Your workout will then be fetched from the Jefit web site and the token replaced with a neatly formatted workout summary!
You'll also see options for altering the way your workout sets are listed. These apply to things such as whether or not you want the weight unit to be included, whether you want sets to show as reps x weight or weight x reps and how/if you want successive sets grouped together. The options are applied when the token is replaced with the workout details, so if you want to change them after the workout summary has been generated, you'll have to delete the details and start again.

Your Jefit user ID
Log on to the Jefit web site and select "My Jefit" from the main menu. You'll find your Jefit ID in the top-right corner of the page. Here's mine:
Capture1.PNG
Capture1.PNG (7.7 KiB) Viewed 1598 times
Put this number into the Jefit ID field near the bottom of your forum Edit Profile screen and save it.
Capture.PNG
Capture.PNG (4.62 KiB) Viewed 1529 times
The Jefit workout feature is only available in certain forums. Essentially this means your workout diaries.

Changing the Format String - (requires understanding of how to use BBCodes)
If you don't like the default heading or the colours I've set in the workout format, you can change the BBCodes and/or text used.

To do this you need to go to the View Forum page of a forum which is configured for Jefit (e.g. Training Diaries). You'll find a 'Jefit Format' button beside the 'NewTopic' button. Click this to open the format editor, where you can change the default options for units, set order, etc. and the text and BBCodes used for formatting workouts.

Just follow the instructions in the editor, which can be toggled on and off with the 'Help +/-' button. The editor presents a sample workout so you can preview the effect of your format changes. You can control five elements of the format: the heading, the type of list (if you want a list), the list items (lines in the list), the exercise name and the exercise details. You do this by changing the text and/or code that you put after each of the five elements, which will appear in the editor something like this:

Heading: [b];l, ;j ;F ;Y[/b]
List: [list=1] XXXXX [/list]
List Item: [*] XXXXX
Exercise: [b][color=#0066aa] XXXXX :[/color][/b]
Detail: XXXXX


Surround the blocks of X's with the BBcodes or text that you want surrounding each of the elements except the heading.

The heading isn't represented by X's ... you just enter the text or code that you want there. The heading can also include special codes to represent various forms of the day, month and year of the workout. You use a letter as a date code immediately preceded by a semi-colon. The letters you can use are listed here. So, for example, putting ;j ;F in the heading will cause the day and month of the workout to be displayed.

Once you have the format you want, click the 'Save format' button to store it in your profile.

You can save two formats: One for when BBCodes are enabled and another for when they're disabled.

User avatar
John
da Boss
Posts: 498
Joined: Saturday, 21 Apr 2007 5:21 pm
Location: Lower Hutt, NZ
Contact:

Method 2 - Jefit Logs Not Public

Post by John » Monday, 8 Feb 2016 7:16 pm

If your Jefit logs are not set for public viewing, there's still a way to transfer your workouts into your training diary. It's just a little more involved!

Here's what you do
  • As in the first method, your workouts must be sync'ed to the Jefit web site, or logged directly to the web site.
  • Find your Jefit user ID and save it in your forum profile as described in the previous post.
  • Click the Jefit button on the posting page of your training diary. You won't see your calendar because it's not public but you should still see and be able to select the options for showing unit, set order and grouping.
  • In a separate browser window or tab, log into the Jefit web site and navigate to the workout page you want to transfer.
  • Select the entire workout screen (usually Ctrl+A) and copy it to your clipboard (Ctrl+C).
  • Go back to the open posting page and, making sure there's nothing else in the posting text area, paste your workout screen there (Ctrl+V).
  • Without adding or changing any of the pasted text, click Preview and your workout will be formatted in the post.
  • Once the workout has been formatted you can, of course, add or alter any text before submitting your post.
All the stuff about personalising your BBCodes applies to this method as it does for the first method.

The reliability of this function is browser dependent. It's only been tested with Internet Explorer and Chrome browsers. If you strike a problem, please take a note of the workout date and message me.

Inevitably, when Jefit make changes to their web site, things may start acting weirdly and I'll need to make changes to my program to accommodate them.

Post Reply