• Resolved isaact1994

    (@isaact1994)


    Hello,

    I’m having an issue with the [bpps_group_members] shortcode. When I click on the images, it sends me to a broken link: (profilename/image). I want it to send me to (members/profilename). Where would I need to go to make this change?

    Also, I was wondering if it was possible to display profile names under the pictures on the avatar grid.

    Thanks in advance,

    Isaac

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

    (@venutius)

    Hi there, thanks for reporting this, there was an issue with the code causing that incorrect link and I’ve not fixed it.

    Regarding your ask relating to the avatar-grid, have you considered adding css to create that affect using the avatar-list option?

    .bpse-group-members {
    display: flex;
    }

    .bpse-group-members li {
    display: grid;
    text-align: center;
    }

    Thread Starter isaact1994

    (@isaact1994)

    Hey Venutius,

    I really appreciate your quickness in fixing that issue with the links.

    I’ve tried putting those lines into my Child theme’s CSS but it didn’t really seem to do anything to the avatar-list. Where should I put this to get it working?

    Also, would it be possible for me to add one of my other profile fields to this?

    Plugin Author Venutius

    (@venutius)

    I’m really sorry, I made a typo in the code, try this:

    #bpse-group-members {
    display: flex;
    }

    #bpse-group-members li {
    display: grid;
    text-align: center;
    margin: auto;
    }

    I added margin: auto; to provide equal spacing between the avatars, you might want to play with this.

    Regarding adding additional optional fields that contain other profile field data for the user. That’s not a feature built in currently, I’ll see if I can add it, how many profile fields would you like to add? I think I’d have to build in a fixed number of additional fields, also I’m not sure the solution I have in mind works ??

    Thread Starter isaact1994

    (@isaact1994)

    Hey Venutius,

    It works like a charm now!

    I’ll have to mess around with the margins a bit but it’s showing up as it’s supposed to. I was wondering if I could put the user’s phone extensions under their names. It is a custom field that I created under users–>Profile Fields.

    Plugin Author Venutius

    (@venutius)

    ok I’ve added that feature, now you should be able to add content_1_field, content_2_field and content_3_field which add additional fields to the avatar-list option. Each field accepts the named profile field of your choice

    you should be able to do something like this:

    [bpps_group_members group_id="2" content_1_field="Interests"]

    Thread Starter isaact1994

    (@isaact1994)

    Amazing!

    Thanks for all the help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Profile Links for group members shortcode and displaying member names’ is closed to new replies.