BuddyDev

Search

Replies

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: Is it possible to split up the item content in the header? #26966

    Hi Brajesh, one question, after I have been looking at the member-header.php content.

    The different items, avatar, activity, actions, and meta all are in their own divs. This makes it possible to change the order of the divs, but since they all are in the same directory file, you cant really separate them, right?

    What I want, first of all is to move my member’s header meta to after my div profile.

    Question, can I just paste this, and which file should I paste it into to display under the profile fields in the profile?

    Thanks in advance

    Carsten

    		 /**
    		  * Fires after the group header actions section.
    		  *
    		  * If you'd like to show specific profile fields here use:
    		  * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
    		  *
    		  * @since 1.2.0
    		  */
    		 do_action( 'bp_profile_header_meta' );
    
    		 ?>
    
    	</div><!-- #item-meta -->
    
    </div><!-- #item-header-content -->
    
    <?php
    
  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: Recent Profile Visitors issue, breaks dynamic link #26960

    Hi again, yes, it most probably is, but its a fact that deactivating the tab is triggering this conflict then.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: Is it possible to split up the item content in the header? #26956

    Hi Brajesh, not comfortable, but I will give it a try. Probably a dum question, but does the system accept two to copies of the member-head.php, I was thinking it could be an option to copy/paste and separate the elements this way 😉

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112

    Hi Brajesh

    1. Yes, that would be fine, the text as it is, is misleading.
    There are now three sections for visibility settings, ‘ Only enabled tabs will be visible.’, ‘ Is this tab visible to site admin only?’ and ‘Tab Visibility’ ( where Administrator is also represented, by the way?)
    It would be much better if these settings is gathered and explained in one section.

    2. In my opinion, this setting should of course be visible to site admin only if marked, no matter which visibility settings are set for other users, otherwise it makes no sense having this option?

    3. Maybe there are a more profound reason for having this option, but I can’t see any difference in the result of having ‘Add this tab for’ marked or not, in the end its a matter of visibility?

    8. I’m not able to recreate the issue, but will return if it occurs again.

    I have a suggestion for having an extra visibility option, ‘Not visible for Profile Owner’ in cases like mine, where I want to move all tabs about users own profile to the primary WP menu, away from the BP tabs.

    Here we have a problem with the media tab, which I want visible on other profiles, but not on users own profile.
    As it is, there are no way of achieving this, to my knowledge, as the class is the same for user profile and own profile?

    Regards
    Carsten

    • This reply was modified 4 years, 11 months ago by calu.
  • Participant
    Level: Yogi
    Posts: 1112

    Hi Brajesh, I see now that my primary need of Tabs Creator Pro is hiding tabs, and maybe this is not what the plugin does best?

    I might just hide the tabs with css instead.

    One challenge though for both solutions, is to have the media tab visible only on other profiles than your own.
    I want users own profile to be in the WP menu only.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112

    Hi Brajesh, I think I found the function I was looking for, the dynamic link is the Menus >Add menu items>Custom Links?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112

    Hi Brajesh, I have been looking up tutorials about creating dynamic links, and as I see it, it’s not a straight out of the box feature of WordPress, but involves defining and adding categories and id’s in the code?

    Could you please describe the procedure for adding BP groups links to the menu?

    Thanks in advance

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112

    Hi Brajesh, that’s good news, I didn’t know the dynamic link feature. I will look into that, thanks!

    Does this mean, that I can completely avoid using the BP tabs menu on the profile page if that is what I want, by adding links to all tabs, also main tabs?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112

    Hi again, I found an old plugin, BP Direct Menus, which apparently has the functionality I’m looking for.

    Unfortunatlly it’s discontinued and hasn’t been updated for six years.

    I guess it’s not a good idea using such an old plugin, would you consider taking over and updating this plugin?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112