Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1086760

    yahya92
    Participant

    Hello there,
    I need to show a list of members filtered by xprofile fields
    I managed to get them using custom php code, the problem is how can I show them using buddypress template?
    or can you guide me to a better way to show members directory according to xprofile field?

    #1086931

    Rupok
    Member

    Hey there,

    Thanks for writing in! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

    #1087545

    yahya92
    Participant

    ok I understand, thank you
    all I need is how to use the template buddypress is using to view members, if that is out of the kind of support you offer, then can you tell me what file from your theme should I copy and put my code into if I want a page with right sidebar

    #1088058

    Lely
    Moderator

    Hi There,

    You’re welcome.
    If you want to create a custom template with right sidebar, you can always duplicate template-layout-content-sidebar.php.

    Regarding buddypress templates, this link might help:https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/

    Cheers!

    #1088679

    yahya92
    Participant

    when I duplicate template-layout-content-sidebar.php and add my php code below it my code is not executed in the resulted page

    #1089421

    Rad
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials
    – The code you’re trying to add

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!