Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 18 replies - 1 through 18 (of 18 total)
  • @fernon

    Participant

    @shanebp Oh sorry never mind, it works perfectly now. I think it didn’t save properly trough the ftp before. Thanks a lot!

    @fernon

    Participant

    @shanebp Thanks mate! I pasted the code but I cant access wp-admin anymore now. Even when I delete the code and use the original file again I’m not able to access the admin panel. Btw my timezone is GMT, I live in amsterdam.

    @fernon

    Participant

    @chouf1 Where should I start en end this code exactly? Because when I end the code with the ) );
    endif; The line seems to be corrupt.

    I started the whole function with:

    if (bp_is_my_profile( $userid )):
    bp_core_new_nav_item(array(

    “the whole piece of code you gave me”

    ) );
    endif;

    Is this correct?

    @fernon

    Participant

    @chouf1 I noticed something. The settings link is visible on every profile page.

    So if you’re logged in as user 1, you’re able to see the settings link on user 2 his account. Is it possible to show it only on your own account and hide it on other people their account? User 2 is not allowed to see the settings link on user 1 his profile page. Only on his own profile page.

    @fernon

    Participant

    Ok thanks for all the help

    @fernon

    Participant

    @chouf1 I’m sorry, I totally understand what you mean. Sometimes I’m in such a hurry that I forget to explain everything properly and clear :P.

    Anyway the plugin I use is CodeStyling Localization.

    Like I said, I also tried to edit the po file of wordpress and buddypress with notepad++ and when I update the old file in the ftp nothing changes unfortunately.

    @fernon

    Participant

    @chouf1 internationalization plug and I tried to edit it manually. When I translate wordpress and the theme by itself it works, but when I want to translate the dutch buddypress nothing happens.

    @fernon

    Participant

    Hi @chouf1 @shanebp, I already did all of that and the dutch version works fine. The weird thing though is that when I edit the translation, nothing happens :(.

    @fernon

    Participant

    ah thats why. Thank you!

    @fernon

    Participant

    @Chouf1 Sorry, last question. I can’t figure out where the css ID is coming from. I tried to look it up with firebug but the given ID there doesn’t seem to work. Where is the ID created? Not in the function right? (Since I already tried that)

    Thanks

    @fernon

    Participant

    Ok thanks mate!

    @fernon

    Participant

    @Chouf1 Yes it works! Where do I change the css? When I give it another ID in the php it doesn’t work. Example: Your code says css_id= “notif” And in my css I put in #notif, but that doesn’t seem to work.

    @fernon

    Participant

    @Chouf1 Im so sorry mate! I ment in the general navigation menu. A new item called settings.

    @fernon

    Participant

    @chouf1 It works! Thanks for the effort, I really appreciate it. How can I also add the link to the profile buddypress navigation? It only shows up in the toolbar now.

    @fernon

    Participant

    Hi @chouf1 Thanks!!!!! Ill wait for your response about the notifications link.

    @fernon

    Participant

    @Chouf1 Sure! I put this in my functions.php

    //Remove Settings->Notifications SubMenu
    function remove_general_subnav(){
    global $bp;
    if ( $bp->current_component == $bp->settings->slug ) {
    bp_core_remove_subnav_item($bp->settings->slug, ‘general’);
    }
    }
    add_action( ‘wp’, ‘remove_general_subnav’, 2 );

    @fernon

    Participant

    @Chouf1 Haha sorry mate. What i mean is that I want the settings tab in the profile navigation to be linked to /notifications instead of /general. Thats because I disabled the general tab where people can edit their email and change their passwords.

    If you click on the settings tab a 404 error page shows up, because the page doesn’t exist. So I thought lets link that page to the notifications straight away.(since that is still possible)

    Hope its clear enough.

    THanks!

    @fernon

    Participant

    @Chouf1 thanks a lot!! Is it possible to change it to notifications? I want to link that menu item to the notifications

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