This topic has 24 replies, 3 voices, and was last updated 7 years by migued.

  • Author

    Tagged: 

  • #83694
     Oscar570
    Participant

    Hi,

    First sorry for my english, I’m french…so I’m going to try explain my problem… 🙂

    After congratulations for your job and for this theme “KLEO”, it’s wonderful!

    Now my question :

    I bought COMETCHAT. And I would like to change Icons Profiles… I saw your tutorial but I don’t understand how I can do this : Instead of “icon order” I’d like to put “icon-chat” for asking to a member to chat with him with a popup for an exemple? It’s possible???

    I’d like to have these icons :

    • ACTIVITY: activity-personal-li
    • PROFILE: xprofile-personal-li
    • CHAT : ask-chat-li
    • NOTIFICATIONS: notifications-personal-li
    • MESSAGES: messages-personal-li
    • MEDIA: media-personal-li (rtMedia plugin)
    • SETTINGS: settings-personal-li

    Could you help me?

    Thanks a lot for your help.

    Best regards

    Nathalie

    #83715
     sharmstr
    Moderator

    We cant help with the pop up code. You’ll have to find someone to code that for you.

    But its important to understand that the icons in the profile are only used to load different profile screens (the section under the profile icons), not to launch things or direct you somewhere else.

    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

    #83716
     sharmstr
    Moderator

    Alternatively, you could possibly use a plugin like this: https://wordpress.org/plugins/buddypress-custom-profile-menu/ and have it load a page with your chat icon if cometchat has a way to create a page with a launch button on it.

    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

    #83724
     Oscar570
    Participant

    ok Thanks a lot Sharmst.

    In case I’d like to keep your menu’style.
    Which file must I change for have :

    ACTIVITY: activity-personal-li
    PROFILE: xprofile-personal-li
    NOTIFICATIONS: notifications-personal-li
    MESSAGES: messages-personal-li
    MEDIA: media-personal-li (rtMedia plugin)
    SETTINGS: settings-personal-li

    Thanks.
    Regards
    NE

    #83727
     sharmstr
    Moderator

    I dont understand your question. Are you asking how to change the order of the icons? https://archived.seventhqueen.com/forums/topic/how-to-left-align-kleo-menu-and-add-logo-to-it#post-51738

    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

    #83845
     Oscar570
    Participant

    I’m going to forget the idea of CHAT.

    But In alternative, I’d like to have :

    Activity I Profil I Medias I Messages I Notifications I Settings I and nothing else.

    Where can I change the code ?
    Thanks.
    Best regards

    Nathalie

    #83866
     Oscar570
    Participant

    Please, Delete my last message please.

    Now I’d like to put “CHAT” instead of “FORUMS”. I contacted COmetchat and they gave me this code for the link :
    Chat with me

    So I just need now to know how I can change the name FORUM for CHAT and put the link.

    Thanks a lot
    Regards
    Nathalie

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

    You cant change forum to chat. As suggested before, try using this plugin to add your new chat section: https://wordpress.org/plugins/buddypress-custom-profile-menu/

    If you cant do it that way, then you’ll need to custom code the addition using buddypress functions: https://codex.buddypress.org/developer/function-examples/core/bp_core_new_nav_item/

    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

    #83985
     Oscar570
    Participant

    I gave up the idea to add a function to my CHAT BuddyPress menu, it seems far too complicated I am not a developer.
    I want simple things yet I can not find the solution.
    If I use BP Custome Profile menu I can just add items but not replace them (please see screenshots ) . I added functions in functions.php in my child themes folder . I ask the media ‘s position as I would like but it does not work.
    What can I do ?????? I ‘m desperate I can not count the number of hours searching trying to test solutions. Again thank you for your help.

    ———-`
    functions.php
    ———–

    // Change Profile menu/tab order

    function my_change_profile_tab_order() {
    global $bp;

    $bp->bp_nav[‘activity’][‘position’] = 10;
    $bp->bp_nav[‘friends’][‘position’] = 50;
    $bp->bp_nav[‘media’][‘position’] = 30;
    $bp->bp_nav[‘messages’][‘position’] = 40;
    $bp->bp_nav[‘profile’][‘position’] = 20;
    $bp->bp_nav[‘notifications’][‘position’] = 60;
    $bp->bp_nav[‘settings’][‘position’] = 70;

    }
    add_action( ‘bp_setup_nav’, ‘my_change_profile_tab_order’, 999 );

    add_action(‘bp_init’,’change_media_tab_position’, 9);
    function change_media_tab_position(){
    global $bp;
    if( isset ($bp->bp_nav[‘media’])){
    $bp->bp_nav[‘media’][‘position’] = 30;
    }
    }
    function my_setup_nav() {
    global $bp;

    $bp->bp_nav[‘orders’] = false;
    $bp->bp_nav[‘forums’] = false;
    }

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

    You can remove “orders” by going to theme options > woocommerce > Manage Account in BP: Off

    The rest of your changes can be done with this function. If you have your child theme enabled, put it in functions.php.

    COPY CODE
    
    function bbg_change_profile_tab_order() {
        global $bp;
        $bp->bp_nav['media']['position'] = 30;
        $bp->bp_nav['messages']['position'] = 40;
        $bp->bp_nav['friends']['position'] = 50;
        $bp->bp_nav['notifications']['position'] = 60;
        $bp->bp_nav['settings']['position'] = 70;
        $bp->bp_nav['groups']['position'] = 80;
        unset($bp->bp_nav['forums']);
    
    }
    add_action('bp_init', 'bbg_change_profile_tab_order', 9999 );
    
    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

    #84335
     Oscar570
    Participant

    Thank you Sharmst. The result is almost what I want . One last idea ?

    Please could you tell me where can I change the subnav tabs under “Activity”. I’d like to delete “citations”…

    Thanks a lot

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

    A google search shows the following…

    COPY CODE
    
    bp_core_remove_subnav_item($bp->activity->slug, 'mentions');
    

    add it to the function I’ve already given you.

    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

    #84422
     Oscar570
    Participant

    Not really the solution, see the screenshot.

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

    You didnt add it to the function. You just added it.

    Put it right after the unset line.

    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

    #84446
     Oscar570
    Participant

    Sorry but your answers are too brief and disjointed . I do not understand what you say.
    I can not stand a botched job!
    I think you might be a little nicer. Compare my questions and your answers.
    In terms of profile icons look at the result … it does not match what I would like .
    So thank you for the great kindness to send me a complete response that works .

    Best regards
    Nathalie

    #84448
     sharmstr
    Moderator

    I’m sorry you dont understand what I’m saying. I thought I was being clear by telling you were to add the line. Your function should look like this now.

    COPY CODE
    
    function bbg_change_profile_tab_order() {
        global $bp;
        $bp->bp_nav['media']['position'] = 30;
        $bp->bp_nav['messages']['position'] = 40;
        $bp->bp_nav['friends']['position'] = 50;
        $bp->bp_nav['notifications']['position'] = 60;
        $bp->bp_nav['settings']['position'] = 70;
        $bp->bp_nav['groups']['position'] = 80;
        unset($bp->bp_nav['forums']);
        bp_core_remove_subnav_item($bp->activity->slug, 'mentions');
    }
    add_action('bp_init', 'bbg_change_profile_tab_order', 9999 );
    

    Once you have that in place, if there is something that’s still not right, please explain and I’ll tweak it for you.

    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

    #84449
     Oscar570
    Participant

    No I do not understand when your answers are disjointed . Thank you very much for your answer. It will , I am sure that more effective! 😉

    #84450
     Oscar570
    Participant

    So now please check the result.
    “Mentions” is remove so THANKS a lot.

    How do I delete the last icons that I crossed on the copy screen?
    Thank you

    Attachments:
    You must be logged in to view attached files.
    #84452
     Oscar570
    Participant

    Last question for this section…
    Where can I find the file to translate MEDIA GALLERY please .
    I need to translate it into FR .
    thank you a lot

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

    I’m not sure where that last icon is coming from. It might be from the ‘groups’ command I put in there. Try this instead and see if the icon disappears

    COPY CODE
    
    function bbg_change_profile_tab_order() {
        global $bp;
        $bp->bp_nav['media']['position'] = 30;
        $bp->bp_nav['messages']['position'] = 40;
        $bp->bp_nav['friends']['position'] = 50;
        $bp->bp_nav['notifications']['position'] = 60;
        $bp->bp_nav['settings']['position'] = 70;
        unset($bp->bp_nav['forums']);
        bp_core_remove_subnav_item($bp->activity->slug, 'mentions');
    }
    add_action('bp_init', 'bbg_change_profile_tab_order', 9999 );
    

    You can translate anything that has to do with “media” by translating rtMedia. http://docs.rtcamp.com/rtmedia/translations.html

    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

    #84532
     Oscar570
    Participant

    Thanks a lot ! Everything is perfect for me.
    ;-))

    Best regards
    Nathalie

    #85895
     Oscar570
    Participant

    Hi Radu,

    I’d like to remove “Settings” from Buddypress Profile’ menu.
    I remove “$bp->bp_nav[‘settings’][‘position’] = 70;” from functions.php files into my kleo-child folder but no change. Have you an idea to remove it ?

    Thanks a lot!
    Cheers

    ——-
    function bbg_change_profile_tab_order() {
    global $bp;
    $bp->bp_nav[‘media’][‘position’] = 30;
    $bp->bp_nav[‘messages’][‘position’] = 40;
    $bp->bp_nav[‘friends’][‘position’] = 50;
    $bp->bp_nav[‘notifications’][‘position’] = 60;
    $bp->bp_nav[‘settings’][‘position’] = 70;
    unset($bp->bp_nav[‘forums’]);
    bp_core_remove_subnav_item($bp->activity->slug, ‘mentions’);
    }
    add_action(‘bp_init’, ‘bbg_change_profile_tab_order’, 9999 );

    #85902
     sharmstr
    Moderator

    Merely removing the code wont remove the icon, you need to use the unset command

    COPY CODE
    
    unset($bp->bp_nav['settings']);
    
    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

    #153336
     migued
    Participant

    Hi Oscar,

    Hope you already solve your issues regarding this post, I would like to ask your opinion about Cometchat, I am considering to buy it, I am also having a look in Arrowchat and both of them say they have integration with Buddypress.

    Cordialement,
    Miguel

    #173589
     migued
    Participant

    Hi Nathalie,

    Could you share your experience using CometChat? I am considering to buy it and your opinion would be highly appreciated.

    Thanks in advance,

    Cheers,
    Miguel

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

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

Log in with your credentials

Forgot your details?