Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 88 total)
  • Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    @marcella1981

    You’ve really done great work so far. After using Mesocolumn-Theme for the last few months and finally bought a commercial one that seemed to fit my needs I ended up on trying to work on your theme. It’s a pitty that you won’t continue as I’d be very interested in helping you out – mainly on css-issues. Maybe you start over again…

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    @webauthor
    You are looking for similiar features like I did. I understand your frustration, but finally, there’s nearly nothing that can’t be done with buddypress – if you have the right skills.

    I found a solution concerning different registration/profile fields or types: give it a try

    Also, I know there’s a plugin for conditional fields, but I’m not sure if it works: check it out

    Support isn’t always that fast – that’s right. But finally most of my questions could be answered in the past.

    Good luck!

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Me too, I don’t like the way rtmedia presents the display of media. So I tried to manage a kind of playlist for mp3 by using BP xProfile Custom Fields Type.

    I wrote a short tutorial on how I did it: take a look right here

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Hi @adcurtisshawca,

    are you running a wordpress multisite/network?

    I see posts that say this is set in SETTINGS – BLOGS but I do not see such an option in my installation.

    I think this refers to a multisite installation.
    If you run a single site, maybe there’s some bug in the Theme My Login plugin. Disable it an try again. There are other plugins with similar functions.

    Merry x-mas!

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Sprichst du Deutsch?
    Ich hab mir das Oxygen-Theme installiert und alles läuft wie es sollte. Welche Plugins hast du installiert?

    Do you speak german?
    I installed Oxygen theme and everything seems to work as it should.
    Maybe you can send a list of used plugins?

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Hi @koendb,

    I thought about that option from time to time. The (your) idea is nice, but I don’t like the groups component an its possibilies. But maybe I should try again.

    Thank you!

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Thank you @henrywright-1

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    OK, now this topic can be marked as resolved as I finally found a the working solution.

    I made a tutorial in this thread: different profile types, different user roles

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Hi again, @henrywright-1

    just wanted to let you know, that I’ve requested some help from the developer of BP Custom xprofile Fields – donmik

    I asked him, if it is possible, to use a custom xprofile field (selectbox) to choose the user role and pass it over to wordpress. He gave me this function or – you can say – hint:

    function custom_bp_core_signup_user($user_id) {
        $user_role = strtolower(xprofile_get_field_data('NAME OF THE XPROFILE FIELD', $user_id));
        switch($user_role) {
            case "role 1":
                $new_role = 'Contributor';
                break;
            case "role 2":
                $new_role = 'Author';
                break;
            default:
            case "role 3":
                $new_role = 'Suscriber';
                break;
        }
        wp_update_user(array(
            'ID' => $user_id,
            'role' => $new_role
        ));
    }
    add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);

    I put this code in my bp-custom.php, but it does not work. I think there’s something missing. Maybe you have an idea, or @modemlooper?

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Hey @3×7

    you say

    I managed to separate members listing by role,

    can you please tell me, how you did it?

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Hi @henrywright-1 again,

    your logic is right, but I wanted to avoid editing templates. That’s the reason why I use Buddypress xprofiles acl plugin. This makes it possible to choose which role can see and use the different profile tabs. For the music embed I use BP Profile Widgets, the needed input fields are only visible to members with the userrole “band”, all other members can only see the output of the widget – music.
    Your last post makes me think about other things that could be done beside those plugins I use, but that goes too far at the moment. As I tried to explain before, the really important thing about passing over the roles to xprofile-fields would be the possibility to show the roles for each member in a searchable and clickable way that always leads the user to the right member-directory.
    Maybe you have more ideas, however, thanks for your ideas and help.

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Hi @henrywright-1

    if it was that easy I’ve already done it that way. As I said before: I need different user_roles, as bands for example will be able to embed music into their profile, but fans will not, etc.
    If I just make a xprofile field I loose those possibility. I need a custom function.
    Do you understand, what I mean?

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    btw: with “selected field” I meant selected user_role (in my previous reply above)

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    It was another post I wrote: Link

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Thank you @henrywright-1,

    this would be a nice alternative to my own approach, but what about my original idea? Remember you asked the same question in another thread few weeks ago.

    If there would be a way to pass over the different user-roles to xprofile-fields there would be no need to create templates. You could output the field in the member-loop and make it searchable. This would be the simplest way. What do you think about it?

    As an example: a user registers on my site as “band” (which is a wordpress user role). The selected field would be inserted into a (maybe) hidden xprofile-field also called “profiletype”. This field could be echoed everywhere inside buddypress (clickable, searchable). I know this could be done with only xprofile-fields too, but without the possiblity to use bp-xprofile-acl an the advantage of different user capabilities. Am I clear?

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Thanks @henrywright-1
    as you probably noticed, I use page-templates (for which I copied members-loop.php and modified it) for the directories “band” and “fan”. So, the code you wrote should also go there or can I use it everywhere I want?

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    @henrywright-1
    this would be one of the possibilities. most important thing is to show the roles in different places in my theme – and make them searchable.
    Generally I have to user roles – band, fan. Beside the “normal” members directory I would like to show them in two separate lists. Whenever users are shown in a list, I want to show their role – similar to the author role, where you can link all the posts of an author I wanna show eg. all bands.
    You understand, what I mean?
    First approaches can be seen here: band profile – if you click on “BAND” you’ll be brought to the band directory.

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    No ideas? Every hint would help.

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    To show it in your members-list maybe you have to echo with <?php echo pc_get_userrole(bp_current_user_id()); ?>

    Not sure

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    @dtabraham
    I’m looking for the same functionality and would prefer, to pass the user role over to a custom xprofile field to integrate it in buddypress search.
    Meanwhile I show the user roles with a function I found in the forums:

    bp-custom.php:

    function pc_get_userrole ($user_id) {
    
    $user = new WP_User($user_id);
    
    $userclean = $user->roles[0];
    
    return $userclean;
    
    }
    
    function get_user_role( $user_id ){
    
      $user_data = get_userdata( $user_id );
    
      if(!empty( $user_data->roles ))
          return $user_data->roles[0];
    
      return false; 
    
    }

    and then echo where you want (in my case I did it in member-header.php):

    <?php echo get_user_role(bp_displayed_user_id()); ?>

    You can take a look here: link to a profile on my site

    greetings

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    If your members should only be able to embed music you can use BP Profile Widgets. If you need the possibility to let them uploud music too, there’s rtmedia. Both plugins are available at wordpress.org

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    hi chobson,

    could you please provide a url?

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    hi snsturki,

    I had the same problem. In my case – and also in yours, I logged into your site and found the setting that is responsible for the wrong display of the sidebar – I found the “bug”:

    if you go to Events Manager Setting -> Styling Options, I turned off the “Event/Location admin pages”. Although it says “this options have no effect….” they have. Now your sidebar shows how it should.

    Greetings

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Now, that your code makes it possible to show icons in my profile header, is there a way to hide the profile group that helds my input fields? Main reason is, that my youtube and twitter links won’t show in the fieldgroup as a result of the use of a snippet to use oembed-code in my profiles.

    Avatar of noizeburger
    noizeburger
    Participant

    @noizeburger

    Btw: I put this code in my bp-custom.php (leaving the opening <?php and the closing ?> away) and choose a path for the pictures in my rootpath. So I can use it with another theme too.

Viewing 25 replies - 1 through 25 (of 88 total)