Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Anonymous User 8418620
    Inactive

    @anonymized-8418620

    … and this code if is not for current logged user, is for displayed user. Thanks!!!


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @rogercoathup and @djpaul can you help me with this my reply: ” I do not use any plugin for user levels and permissions. I only gave examples of levels. I’d like an If with an elseif and else to levels. If you are an administrator, a text appears: “Administrator” or is Editor, a text appears: “Editor” and if is a subscriber, you may see “Member” or simply any message.”


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @rogercoathup I do not use any plugin for user levels and permissions. I only gave examples of levels. I’d like an If with an elseif and else to levels. If you are an administrator, a text appears: “Administrator” or is Editor, a text appears: “Editor” and if is a subscriber, you may see “Member” or simply any message.


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    Thanks staff, all codes operate without problems. I like this team! @modemlooper Sorry if I left you angry, it was not my intention. @rogercoathup I changed one part of your code to work with anyone user and not just one:

    echo date(“M Y”, strtotime(get_userdata(bp_displayed_user_id( ))->user_registered));

    Bye, hugs!!


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    Thanks guys, thanks to help me! Still have not tested the codes, but when I try, I will come back here and give my positive feedback. From what I saw, the code works without problems. I love this team! Hugs!


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @modemlooper Hello, I really appreciate your work and your plugins, I use almost all, are very good, congratulations. But his answer sounded gross. I googled but not found. I can have researched the wrong terms, I don’t know. If you found, pass the link to me. The big problem that I am beginner in php and can’t do anything that I know are thinking. Could you help me? Thank you! Hugs guy!


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @djpaul I tested now Buddypress 1.6. Great job!! How I can give to you suggestions??


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    I saw now how to test, XD, link to all: https://buddypress.org/2012/06/buddypress-1-6-beta-1/


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @djpaul Thanks to reply me, I’m very happy!! How can I download and test the BP 1.6 Beta?? It would be great to test a system that I use with pride and share my opinion of the Beta with you and the team!!! Thanks again! =D


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    I saw that this plugin is only compatible with multisite installations and is Premium. I would like to make it work with a normal WP installations and free. Do you know any? Thanks for helping me!


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    Oh, nice plugin. Thanks to help me!


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @ChrisClayton Hey man, are you fine? Do you know a plugin or a code to do this above??? Thanks to help me in everything here, thanks and hugs!


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @ChrisClayton I tested the code pages, as you said, WordPress does not allow navigation on pages other than WordPress, but ok! But the code: bp_core_sort_subnav_items () did not work, could you give me the complete code on how to change the subnav position form a tab to another tab? Thanks!!!


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @ChrisClayton Could you help me with these two post up??


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @ChrisClayton Another thing about loop posts you gave to me and that only now I saw: I tested, everything worked out, but it appears only a certain amount of posts made that author, correct. But there is a link to show more of that author’s posts, in the tab?


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @ChrisClayton Thank you very much, worked perfectly! =D Do you have any mail for us to talk about programming (gtalk)?
    Since we are speaking of tabs, how do I change places, for example: the subnav Edit from Profile tab to the Settings tab?


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @ChrisClayton Thank you so much! It worked perfectly, thank you really. One last thing (to stop to being boring with you!! I’m??):
    I’m wanting to make a new tab and a new subnav to show posts in the profile of each user in BuddyPress. Ex.:
    If I made x posts, that will appear in that subnav my posts. I did this, it worked, but one thing: when you access a profile of another person, this tab will appear my posts, but the posts that should appear is of the person I’m visiting the profile. Why is this happens?

    Code that I used is the same loop of author.php themes:

    https://codex.wordpress.org/Author_Templates


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @ChrisClayton I tested with it and still seems an error page. Can you give the complete code?


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @ChrisClayton Ok, don’t worry.
    I entered in that link that you posted, and i put the code in functions.php. The tab “test” was created, but when I click on the “Home” tab or create a new tab and I click it, enter into an error page. How do I run the pages subnavs?


    Anonymous User 8418620
    Inactive

    @anonymized-8418620


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    I’m using this code:

    `function my_test_setup_nav() {
    global $bp;
    bp_core_new_nav_item( array( ‘name’ => __( ‘test’ ), ‘slug’ => ‘test’, ‘parent_url’ => $bp->loggedin_user->domain . $bp->slug . ‘/’, ‘parent_slug’ => $bp->slug, ‘screen_function’ => ‘my_profile_page_function_to_show_screen’, ‘position’ => 40 ) );

    bp_core_new_subnav_item( array( ‘name’ => __( ‘Home’ ), ‘slug’ => ‘test_sub’, ‘parent_url’ => $bp->loggedin_user->domain . $bp->slug . ‘/’, ‘parent_slug’ => $bp->slug, ‘parent_slug’ => $bp->slug, ‘screen_function’ => ‘my_profile_page_function_to_show_screen’, ‘position’ => 20, ‘item_css_id’ => ‘test_activity’ ) );

    function my_profile_page_function_to_show_screen() {

    //add title and content here – last is to call the members plugin.php template
    add_action( ‘bp_template_title’, ‘my_profile_page_function_to_show_screen_title’ );
    add_action( ‘bp_template_content’, ‘my_profile_page_function_to_show_screen_content’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
    }
    function my_profile_page_function_to_show_screen_title() {
    echo ‘something’;
    }
    function my_profile_page_function_to_show_screen_content() {

    echo ‘weee content’;

    }
    }
    add_action( ‘bp_setup_nav’, ‘my_test_setup_nav’ );`

    But active only a new tab in profiles, but don’t active a subnav… Can you help me?


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @djpaul Sorry, I didn’t know about…


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    @ChrisClayton Sorry to post here, but can you help with this old question that I made and nobody replied me?: https://buddypress.org/community/groups/creating-extending/forum/topic/creating-a-page-with-nav-tab-subnav-for-buddypress-profiles/


    Anonymous User 8418620
    Inactive

    @anonymized-8418620


    Anonymous User 8418620
    Inactive

    @anonymized-8418620

    Thanks, in this page, i picked-up a plugin to do it this: http://code.google.com/p/l10n-ru/downloads/list?can=2&q=allow

    I tested this plugin, now it’s ok. Example: I made a registration with the name “MyUsEr”. Now the bp will accept the username, but in the profile page, the username won’t be “MyUsEr”, will be “myuser”. Why this happen?

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