Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

  • ButlerWeb
    Participant

    @butlerweb

    Also, be careful when copying and pasting code that your quotation marks aren’t fancy quotes. That will mess it up sometimes, I’ve noticed.


    ButlerWeb
    Participant

    @butlerweb

    Looks also like you’re missing an ending div tag (from what you copied&pasted) If that end div tag for the “member_profile” class is there, then that should work… As long as the field name is ‘Category’.

    It just might be because it’s a multi check box, though! If that’s the case, I don’t know if there is a way to pull that information.


    ButlerWeb
    Participant

    @butlerweb

    Where are you putting your code? Directly in the template file or elsewhere?

    And mine were Multiselect boxes, rather than checkboxes, but it should give you the same array output. For those, I had to parse the strings into something a bit more readable.

    Again, I use xprofile fields, but this is what my code looks like:

    <h4><strong>Arts Subcategories:</strong> <?php echo (implode( ', ', (array) xprofile_get_field_data ('Arts Subcategories'))); ?></h4>

    I did not want to edit template files so I used a plugin called ‘Code Snippets’ which allows me to write code without editing the theme’s functions.php file or, like I said, the BP template files. However, to add them to the pages I had to use the “add_action()” hook.


    ButlerWeb
    Participant

    @butlerweb

    Haha I have about 47 different plugins installed into my site and it runs fairly smoothly. The only thing is my geolocation plugin causes my page to refresh the first time you view it.

    Aside from that, I found this article: http://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/

    In step 2 it shows PHP code to grab profile field data. You’ll have to either edit the template you want or create your own tab if you want it on a new page besides one of the pages you already have up on your site.

    As far as adding social icons, I used this tutorial: https://buddypress.org/support/topic/display-users-social-follow-buttons-in-profile/
    But that one requires xprofile fields.

    Hope that helps some! 🙂


    ButlerWeb
    Participant

    @butlerweb

    Possibly! what ‘current profile extension fields’ do you have or are you working with.

    I only recommend xProfile Fields because I know how to use the hooks! Haha 🙂


    ButlerWeb
    Participant

    @butlerweb

    Does the area you want your users to write need to be like many different blog posts? Or just like a single biography section?
    I can help you with code for a biography section. For that you need Xprofile Fields installed.

    For blog posts, the answer I’ve gotten for that is to activate a Multisite network and then get the plugin for front-end blog posting (look for one that is compatible with BuddyPress).


    ButlerWeb
    Participant

    @butlerweb

    Thanks! I’ll back up my site and give it a shot then.


    ButlerWeb
    Participant

    @butlerweb

    I did something similar to you, I made a whole new profile page though, for my users.
    First off, do you have xProfile Fields installed and active? You’ll need that.

    Take a look at the page I’m working on currently: http://ishocase.net/members/chiherah/


    ButlerWeb
    Participant

    @butlerweb

    Anyone set up a multisite network with BP?

Viewing 9 replies - 1 through 9 (of 9 total)
Skip to toolbar