Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress Style Modules – Members Display


  • Venutius
    Moderator

    @venutius

    @hnla

    Hi there, I installed the Members Display module and it works great for simple data types where user names are not too long or when the imformation within each member box is the same length, however on a live site there are often differences in the data held for each member, which means the members grids wil have different heights, in which case the grid falls apart and what started out as an ideal solution quickly turns into a mess.

    Image and video hosting by TinyPic

    I realise this happens with all grid view snippets that I have tried, not just yours, but I wondered if you could think of anyway of preventing this break up of the grid view from happening? I was thinking if only you could set a default size for each grid that was big enough to hold all variations of the data then that might do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m afraid the notion of ‘Boxes’ when combined with variable dynamic content never does work (unless one uses javascript trickery, which has it’s own troubles – Masonry) The best one generally can do is id the troublesome elements and give them increased min-height (try locating the property I used to set min-height and increase) or padding to try and force elements to look lined up and outer boxes equal, I’m afraid to a degree it’s a question of playing around maybe limiting data using excerpt functions.

    Really happy to hear the style modules has been of interest though, hope you can adjust the styles to better suit your data.


    Venutius
    Moderator

    @venutius

    Yep the issue is that if I change the padding then it changes it for all the blocks and so the issue remains unchanged.

    I wrote a review of the BuddyPress Style Modules for my blog, lets hope others support this initiative.
    http://buddyuser.com/installing-buddypress-style-modules


    Hugo Ashmore
    Participant

    @hnla

    @venutius Thanks for the write up, hopefully in time the idea may gain traction, as for a handler for loading those snippets I did have one in use locally but code was rough and ready, so may consider re-doing and making available on github, originally the idea was to add a loader for the snippets to the core buddypress-functions.php file where the main stylesheets are loaded from.

    For now all I can suggest I’m afraid is to play around with the min-height properties where they occur as it really is something that can never be a true one size fits all to create boxes unless we start adding JavaScript into the equation to test for the tallest box and set others to that.


    Hugo Ashmore
    Participant

    @hnla

    @venutius I’ve just updated the repo files, updating the example enqueueing functions as they needed improvement( although I consider that snippet as being a temp provision) and also updated the styles to add min-height and spacing improvements, not sure if that helps your situation but you can further modify those style if needed (just edit the .css version)


    Venutius
    Moderator

    @venutius

    @hnla Thanks for this, that seems to have fixed the issue from what I can see, members directory now looking great!


    Venutius
    Moderator

    @venutius

    Well, it improved it, three pages in and the page started falling apart again.

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