This topic has 8 replies, 2 voices, and was last updated 9 years by akal.

  • Author
  • #84916
     akal
    Participant

    Hi,

    I’ve some questions about kleo menu :

    1° I’ve tried to add ##member_name##  in the “Kleo – My Account” title Attribute field but still only the avatar appears, no username…

    2° I’ve created a new custom tab in the bp user section (using bp_core_new_nav_item). I’ve add a custom link in the top main menu using ##profile_link##mycustomtab and that works fine. But now, I would like to do more and display the avatar (and username) under this link. how ?

    does that make sense for you ?

    Cheers

    Akal

    #84918
     sharmstr
    Moderator

    1 – I see the username just fine. see attachment.

    2 – This will take custom coding that is beyond the scope of support here. If you’d like to get a quote on this, contact dev@seventhqueen.com.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    #84922
     akal
    Participant

    @sharmstr, thank for your fast reply as usual 😀

    1° – this is crazy, this is what I get (see attachment)… I’ve refreshed cache, tried in private session under last chrome and firefox version… rahhhh
    2° – ok I’ll do it in another way

    Cheers

    Akal

    Attachments:
    You must be logged in to view attached files.
    #84927
     sharmstr
    Moderator

    Is there something different with that account? Does the name show up if you log in with the Kleo account?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #84930
     sharmstr
    Moderator

    Also, not sure if you want to do this, but you can always change the default screen in the profile to your custom screen. That way when someone clicks on the menu avatar it will load your custom screen 🙂 There’s info on how to do this on the buddypress site.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #84935
     akal
    Participant

    right, with your kleo account it’s ok, I see your username… but neither with my admin account nor with S2members accounts… but it’s not realy important 😉
    Yeah in all case, most important for me is to send user to the new tab “activités” when he clics on his avatar in the top menu. Is there a way to do that without heavy coding ?

    #84943
     sharmstr
    Moderator

    As I mentioned, set it as your default screen. Again, info on doing this is on the bp site.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #85074
     akal
    Participant

    ok, I’ll do that

    cheers

    Akal

    #85728
     akal
    Participant

    Done ! for those who are interested by the procedure :

    Create a blank file bp-custom.php in your plugin directory (/wp-content/plugins/bp-custom.php)

    Then, copy/paste this :

    COPY CODE
    <?php
    // hacks and mods will go here
    
    /**
     * Change BuddyPress default Members landing tab.
     */
    define('BP_DEFAULT_COMPONENT', 'profile' );
    ?>

    and remplace ‘profile’ by the slug of your new tab

    Save, it’s done !

    Cheers

    Akal

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?