Skip to:
Content
Pages
Categories
Search
Top
Bottom

[bsp-profile] not Working for me

  • @uksentinel

    Participant

    Ok, So using BBPRESS and I have hit an issue when I use the BBP STYLE PACK shortcode [bsp-profile] to allow registered users to edit their profiles, the shortcode does not work.

    I believe it is because I have installed WordPress in a directory called /WP,

    So [bsp-profile] creates the hyperlink https://uktechhub.com/wp/forums/users/xxxxx

    but profiles are located at https://uktechhub.com/forums/users/xxxx/

    Is there any way to change how the shortcode [bsp-profile] points to the profiles without the /wp attribute added ?

    Thanks

Viewing 25 replies - 1 through 25 (of 28 total)
  • @robin-w

    Moderator

    what is in

    dashboard>settings>general>site Address (URL)?

    @uksentinel

    Participant

    WordPress Address (URL) https://uktechhub.com/wp

    Site Address (URL) https://uktechhub.com

    @robin-w

    Moderator

    my code calls site_url() as a function which weirdly gets the wordpress url, whereas home_url() gets the site url !!

    I’ll amend the code and release a new version tomorrow

    @uksentinel

    Participant

    That is great news, thank you as always.

    I am surprised I am the only one whom has installed WP in a sub directory (must be my old Server days) and old habits die hard πŸ˜‰

    Thanks again

    @robin-w

    Moderator

    surprised me as well πŸ™‚

    @robin-w

    Moderator

    should be fixed in 4.7.5 just released – would be great if you could confirm πŸ™‚

    @uksentinel

    Participant

    Hi Robin

    I updated BBP Style Pack and placed the shortcode [bsp-profile] both into a page and into a shortcode option for the menu

    The shortcode in the page does not work and the shortcode in the menu creates the following Hyperlink in which UK Sentinel is replaced by UK%20Sentinel and does not work – it should be uksentinel

    https://uktechhub.com/forums/users/UK%20Sentinel

    I am just going to create a new user with a single name,

    @uksentinel

    Participant

    I just created another user called bob and the shortcode in the menu works well and shows profile for bob πŸ˜‰

    It is just an issue with two worded usernames like UK Sentinel ?

    Hope that helps and this is so much better than previous πŸ˜‰

    @uksentinel

    Participant

    Just making sure my last post did not get missed

    SO the [bsp-profile] shortcode works for usernames when they do not have a space between them such as ‘billibob’ but fails when there is a space e.g. UK Sentinel ?

    @robin-w

    Moderator

    sorry, not ignoring you – will try and get to this tomorrow

    @uksentinel

    Participant

    Thank you

    @robin-w

    Moderator

    I’ve just released version 4.7.6 of bsp-style-pack that should fix this – please come back and confirm

    @uksentinel

    Participant

    Thanks Robin.

    Just installed and tested, shortcode [bsp-profile] creates https://uktechhub.com/forums/users/

    No username at end ?

    I tried three different browsers and cleared cache etc

    @uksentinel

    Participant

    FYI – the shortcode produces the title My Profile which disappears when user logs out of account (which is great) and this new firmware seems to sit much better in my Top Menu, before it kept going to the Far Left and looked a little odd

    πŸ˜‰ nearly there

    @robin-w

    Moderator

    sorry, I’d left a line of test code in which caused the user not to be selected, fixed in 4.7.7

    I have also corrected the shortcode to do what it said in the documentation – so the default is ‘my profile’

    so

    [bsp-profile] will show ‘My Profile’ in a clickable link to the profile

    [Profile label=’This is the label’] will show ‘This is the label’ in a clickable link to the profile

    [Profile label=’Edit My Profile’ edit=’y’] will show ‘Edit My Profile’ in a clickable link to the edit section of profile

    @uksentinel

    Participant

    No problem and any time you spend with this is great news for us all.

    The [bsp-profile] now works perfectly for both single names and double spaced names and for myself, job done.

    I did try the other two shortcodes and alas for myself they do not work at all, when either is placed in the menu or onto a page as a shortcode, then the shortcode is shown in menu, not the result of the shortcode,

    please see image link for clarity and I assumed the remaining two shortcodes would work the same as [bsp-profile] i.e, just add and it works?

    forum layout

    [Profile label=’Edit My Profile’ edit=’y’]

    @robin-w

    Moderator

    there are 6 shortcodes in style pack, can you clarify which 2 you mean?

    Image didn’t help me πŸ™

    @uksentinel

    Participant

    Sorry

    The two shortcodes are, I assume they can work independently so does not need to work in conjunction with[bsp-profile] ?

    [Profile label=’This is the label’]

    [Profile label=’This is the label’]

    @robin-w

    Moderator

    well that’s embarassing, I hadn’t spotted that the shortcode is wrong.

    It is one shortcode with parameters so should read

    bsp Profile

    [bsp-profile] will show ‘My Profile’ in a clickable link to the profile

    [bsp-profile label=’This is the label’] will show ‘This is the label’ in a clickable link to the profile

    [bsp-profile label=’Edit My Profile’ edit=’y’] will show ‘Edit My Profile’ in a clickable link to the edit section of profile

    so you can have anything as the label eg label=’hello mother’

    @robin-w

    Moderator

    I’ll not release yet another version, but will correct the documentation in the next release

    @uksentinel

    Participant

    Perfect πŸ˜‰

    @robin-w

    Moderator

    got there πŸ™‚

    @uksentinel

    Participant

    Take the rest of the night off, you have earn’t it πŸ˜‰

    @www_marieke

    Participant

    Is there a shortcode that show the profile instead of linking to the profile?
    A shortcode that I can add to a page, so viewers can go to that page and view their profile?

    I added [bsp-profile label=’Bekijk mijn profiel’] to this page but I would like to just show the profile on this page because the url/shortcode looks kinda hidden.

    Forum dashboard

    (I googled a lot to fix this but this topic was the best I could find so far.)

    @uksentinel

    Participant

    Does the [bsp-profile] shortcode not work if placed upon a page and is already logged in ?

    I am using the [bsp-profile] shortcode via a menu option, as simpler for users to see and use and can be hidden if user is not logged in etc ?

Viewing 25 replies - 1 through 25 (of 28 total)
  • You must be logged in to reply to this topic.
Skip to toolbar