Support » Plugin: BuddyPress Elevator Pitch - Enhanced Member Cards » How to clean up the content of the member cards?

  • After having made some changes to the user fields, deleting and adding, the content and the design is messed up:

    http://prntscr.com/kk9108

    Entering new values does not reset the old values.

    How do I clean up the content of the member cards?

    I would like to add a text element to the member cards, but I do not want to show all the text, but only eg the first five lines, to keep the design of the member cards. So I am looking for an option to handle the overflow as hidden or short text. How do I achieve that?

    Regards
    Carsten

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter Carsten Lund

    (@carsten-lund)

    http://prntscr.com/kk97lo

    The profile text element should be in line and not exeed the hight of the avatar like this:
    http://prntscr.com/kk98gd

    Plugin Author OC2PS

    (@sooskriszta)

    You can use custom CSS in your theme to position the elements on the cards.

    The div class for the whole element is pp-profile-data-field-item,
    for labels and values, there are individual IDs, based on the actual field, so you can really control it at a very granular level.

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi there, and thanks for the ansver

    I manage to achieve some of what I want, except having the text element next to the profile field data items. Can you help me with this?

    http://prntscr.com/kkfrio

    As you can see, the profile fields are disordered. The fields of old profiles are not responding to the new settings. How do I clean up these fields, without deleting the profile starting over again?

    In the profile John, you can see that the profile text is displayed twice?
    http://prntscr.com/kkfth9

    Regards

    Plugin Author OC2PS

    (@sooskriszta)

    It’s hard to give concrete advice based on just screenshots. Are you able to share the URLs of the pages you are talking about?

    Thread Starter Carsten Lund

    (@carsten-lund)

    Yes of course, du you have an email or contact formular where I can share my URL?

    Another issue, the developer of BuddyPress Custom Profile Fields has come up with a new custom field, on my behalf, called ‘From/To values’. This is not supported by Member Cards, as no values are displayed. Any chance you will take a look at that, and make it compatible with BuddyPress Elevator Pitch – Enhanced Member Cards?

    Thanks in advance

    Regards
    Carsten

    Plugin Author OC2PS

    (@sooskriszta)

    You can share with me in a private message on WordPress Slack.

    Thread Starter Carsten Lund

    (@carsten-lund)

    Just to inform you, that your access has been assigned (I gave up on Slack)

    Plugin Author OC2PS

    (@sooskriszta)

    As I mentioned on Slack, I need access to the backend so that I can check the x-profile fields used.

    Plugin Author OC2PS

    (@sooskriszta)

    The profile text is not displayed twice. At least not on your website when I checked.

    For the Profiltekst field, you can try something like

    width: 65%;
    float: right;

    to move the field to the right. If the previous fields will always occupy the same height, then you can move Profiltekst up by setting a negative margin, e.g.
    margin-top: -200px;

    View post on imgur.com

    You may also want to set background: rgba(255,255,255,0); for #pp-xp-profiltekst-data

    Thread Starter Carsten Lund

    (@carsten-lund)

    The profile text is not displayed twice.

    No, the problem is that if you any make back end changes, like changes to the text element, the old text is not deleted but hangs around. The same with other profile field objects.

    Regards

    Thread Starter Carsten Lund

    (@carsten-lund)

    Thank you for your CSS modifications, this is what I was looking for.
    There are two issues as you can see here:

    The old hanging text, which I explained earlier, and the text is not displayed from the start. And the rest of the member cards information has disappeared.

    View post on imgur.com

    Regards

    Thread Starter Carsten Lund

    (@carsten-lund)

    Thanks for your help.

    All my Member cards CSS is messed up, I think I will delete all, and start all over again with your codes.
    Is there a folder in FTP where I can delete the Member Card profile information, so I can reset the cards, without having to delete members also?

    I am using thes two code snippets to change the element

    div.pp-profile-data-field-item {
      	width: 65%;
    		float: right;
    		margin-top: -150px;
    		overflow: auto;
    
    }
    
    

    and the content:

    #pp-xp-profiltekst-data {
       
    	background: rgba(255,255,255,0);
     }

    Are the selectors correct?

    Regards
    Carsten

    Thread Starter Carsten Lund

    (@carsten-lund)

    I tried to look up the BuddyPress Elevator Pitch – Enhanced Member Cards plugin in FTP, to clean the user data, but I could not find any plugin listed under this name, or anything like this, how can that be?

    Plugin Author OC2PS

    (@sooskriszta)

    You will find the extension’s files under wp-content/plugins/bp-group-members-data. But you can simply deactivate/reactive or even uninstall/reinstall from WordPress admin panel since the plugin does not store any specific data.

    Any styling you assign to .pp-profile-data-field-item will apply to ALL x-profile fields.

    To address this field specifically, you should think about using nth child or first/last of type https://css-tricks.com/almanac/selectors/f/first-of-type/ selector.

    #pp-xp-profiltekst-label and #pp-xp-profiltekst-data deal with the field’s label and value respectively.

    If you use some recognizable values in the text fields, rather than “lorem ipsum” for all, then you can find the source of the issue, e.g. in your screenshot, the overlap seems random, but looking at the last user’s text field gives a hint that actually it’s not one messed up field, but rather two overlapping fields as one has identifiable english text and the overlap has “lorem ipsum”

    Thread Starter Carsten Lund

    (@carsten-lund)

    But you can simply deactivate/reactive or even uninstall/reinstall from WordPress admin panel since the plugin does not store any specific data.

    I have done that, but all the old cards are reloaded after reinstallation of the plugin.

    So where are this information stored, and how do I get rid of these messed up members cards? Overwriting the information in the profile does not remove the old card information, but just adds to the old one?

    View post on imgur.com

    View post on imgur.com

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘How to clean up the content of the member cards?’ is closed to new replies.