• Resolved kit426

    (@kit426)


    I have a some buddy press extra field that I want to display using your short code for the user that is viewing the page, however I can’t seem to get it to work without hard coding a user id. I’ve tried:

    Don’t work
    [bpps_profile_field field=”Company Support Id” tab=”Post Registration Fields” user_id=0]
    [bpps_profile_field field=”Company Support Id” tab=”Post Registration Fields” user_id=”]
    [bpps_profile_field field=”Company Support Id” tab=”Post Registration Fields” user_id=””]
    [bpps_profile_field field=”Company Support Id” tab=”Post Registration Fields”]

    Only One that Works.
    [bpps_profile_field field=”Company Support Id” tab=”Post Registration Fields” user_id=”3″]

    The page I need help with: [log in to see the link]

Viewing 15 replies - 16 through 30 (of 33 total)
  • Plugin Author Venutius

    (@venutius)

    I think I’d like to see if it works for you first, so I’m pushing a new version out with this fix in it, so you can see if that fixes it in your visual tab. If that works I’ll think about adding it as a user selectable option.

    Let me know if that fixes it for you.

    TreeTrail

    (@aprilschmitt27)

    After upgrading, same error in visual tab.

    Plugin Author Venutius

    (@venutius)

    That’s a shame, so it’s similar but not the same issue

    Plugin Author Venutius

    (@venutius)

    Actually I looked a bit deeper into this and I came up with an alternative fix, could you try the latest version and let me know if it works?

    TreeTrail

    (@aprilschmitt27)

    Venutius,

    After latest version update: I tried your [bpps_profile_field …] on 3 different pages, while composing in the “Visual” tab. It worked correctly each time. If I come across an instance where it doesn’t work, I’ll post it back.

    TreeTrail

    (@aprilschmitt27)

    While trying some more of the fields: Although the “tab=” worked in each test, the “field=” failed a couple of times …The field name is invalid. It looks like the same quotation issue.

    • This reply was modified 6 years, 1 month ago by TreeTrail.
    Plugin Author Venutius

    (@venutius)

    Hi April,

    I’ve been getting more reports of issues with the profile field shortcode so what I’ve done is build two different ways of displaying the profile field into the shortcode. the new option – option=”Two” displays the profile field without needing the tab to be specified. For example:

    [bpps_profile_field option=”Two” field=”Name” ] will display the viewing users name.

    If you have further issues you can try this method.

    Non-coder here also. Having same issue. For example (I’m building an Au Pair Community ie. Foreign Nanny). Example code for pulling one of my fields is [bpps_profile_field field=”Age” tab=”AP1”]. I’ve tried renaming tabs to something simple like AP1, Base, base, etc as well as using [bpps_profile_field field=”Name” Option=”Two”], I still have a name field and still get the error.

    I am trying to get field data to show within ProfileGrid’s Custom Tabs plugin. I am assuming everything is working correctly due to the error generated being the same as everyone above. I’ve tried inserting via code or by visual and still get the same results. I’ve even tried your example [bpps_profile_field field=”Name” Option=”Two”] on a page by itself, still get the error.

    So far, even leaving the Base tab by it’s default name I still get the error. What am I missing?

    Thanks in advance!

    • This reply was modified 5 years, 11 months ago by natekolvek.
    Plugin Author Venutius

    (@venutius)

    Hii there,

    [bpps_profile_filed option=”Two” field=”Name”] should work, what error do you get, could it be a conflict with another plugin?

    The tab name is invalid…

    I even put that shortcode on a page by itself to test, same error even with using option=”Two” to pull even the name field from the form.

    Plugin Author Venutius

    (@venutius)

    Tab name is invalid only triggers when you set the tab name, not when you use option-“Two”

    I’d be happy to make you a quick account or post screenshots somewhere of me using option=”Two” and still getting the error.

    For instance, [bpps_profile_field field=”Country of Origin” Option=”Two”] Having a field named and capitalized as you see it still gives the error.

    Code
    https://tinypic.com/r/4t269g/9

    Form
    https://tinypic.com/r/33kyf75/9

    Error
    https://tinypic.com/r/2wp16y0/9

    • This reply was modified 5 years, 11 months ago by natekolvek.
    Plugin Author Venutius

    (@venutius)

    In that case it’s a clue, it’s not recognising that the option=”Two” has been set, on your post try switching to text mode and seeing if there are any hidden characters being added.

    Plugin Author Venutius

    (@venutius)

    Ah, you are spelling option with a capital O it would not recognise that.

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘bpps_profile_field does not display unless user_id is hardcoded’ is closed to new replies.