Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'how to hide pages'

Viewing 25 results - 101 through 125 (of 290 total)
  • Author
    Search Results
  • mcpeanut
    Participant

    @izzyian, I believe if you use the code above it will also remove the Whats new form from your main activity stream too! If you want to hide it from just the profile pages i suggest trying this code.

    div#item-body form#whats-new-form {
    display: none;
    }

    Hope this helps

    #215432
    mahdiar
    Participant

    Thanks .
    I read those pages before . The first one is about 9 month ago and it is closed to new replies . I can’t find any solution there .
    The second one is about how to hide comments completely in activity stream but it’s nice to see them just by one click on the activities .

    Chris Liu-Beers
    Participant

    I’d like to hide the entire BP menu (Profile, Notifications, etc.) and just show the BP content on a couple BP pages (such as Followers and Following). Is this possible? Thanks.

    #203565
    Ahle
    Participant

    Hi,
    I want to create a public homepage with an area for logged-in users. Ideally, anyone viewing the site will see nothing but the LogIn Widget.

    I’ve at least managed to set things so the forum page and group page are visible in the menu but don’t display any content as long as you’re not logged in.
    The Members page, however, is allways accessible so that absolutely anyone can see the user names of all the members.

    I have tried menu settings and obviously WP visibility options, but Buddypress seems to ignore both.

    >How can I hide user’s pages from the menu and how can I password-protect the list of members?

    I cannot really code (I basically just copy&paste), so best would be if you could recommend a widget.

    Please don’t diss the dummy, and thank you for your help!

    #197257
    danbp
    Moderator

    @mcpeanut,

    The problem is with the hiding of activity comments

    How did you hide activities comment ?
    Default wp/bp install let you add 5 (nested) comments only. And all comments are shown on SWA. If you have 100 you have to scroll them, yes.
    I’m unable to reproduce your issue.

    Try this bp settings:
    check profile syncing
    check activity stream commenting for blog and forum
    check automatically check for new items

    wp discussion settings
    uncheck Enable threaded (nested) comments
    uncheck Break comments into pages

    #193476
    danbp
    Moderator

    @jessicana,

    The field NAME in the field group BASE is required. This group is used for the registration page to work. As you already know, it’s also this group who allows you to show custom fields on the registration page.
    The NAME field in BuddyPress is intended to receive first and last name and replace the two original fields (first name, last name) coming with WordPress.

    That said, you can hide this field to users, but you can’t give them the choice to show/hide it.

    The above snippet will hide the field NAME to all visitors/members, but not to site admin and the concerned profile.

    function bpfr_make_name_members_only( $retval ) {	
    	//hold all of our info
    	global $bp;
    	
    	// is xprofile component active ?	
    	if ( bp_is_active( 'xprofile' ) )
    	
        // The user ID of the currently logged in user
        $current_user_id = (int) trim($bp->loggedin_user->id);
    	
        // The author that we are currently viewing
        $author_id  = (int) trim($bp->displayed_user->id);
    	
    	// user can see only his name && admin can see everyone 
    	if ($current_user_id !== $author_id && !current_user_can('delete_others_pages') ) {
    		$retval['exclude_fields'] = '1';	
    	}
    	return $retval;	
    }
    add_filter( 'bp_after_has_profile_parse_args', 'bpfr_make_name_members_only' );

    Add this to your child-theme functions.php or to bp-custom.php

    dmccuiston
    Participant

    Is it possible to hide the profile navigation links from non-friends?

    Essentially, I would like to only display a member’s profile header to non-connected users. Once users are connected, the navigation bar (and its resulting linked pages) would be available to view.

    Thanks for any assistance here!

    #186374
    shanebp
    Moderator

    Take a look at the post by henrywright on this page.

    Dhyana
    Participant

    Hi,
    I checked to see if these pages are hidden behind the membership, and they are not.
    People can just type up mywebsite.com/members and they can see all my members. Not at all what I am trying to do.

    Where can I hide the MEMBERS page, the GROUPS page, the ACTIVITY page, and all the other (except for the REGISTER) pages, behind the membership options?

    Every one of these pages have the REQUIRE MEMBERSHIP enabled to view (and all my membership levels are checked), yet they are visible to the general public.

    And this is a VERY BIG PROBLEM.

    PLEASE HELP!
    THANK YOU!

    #185851
    pstidsen
    Participant

    Hi danbp

    I have now inserted all of your code in functinos.php, but the only place the admin user disappear is at the “All users”-page. The admin user still shows up at the group members pages and the front page where I have listed all members with the Bowe code plugin.

    I need to hide the admin from the entire site.

    #185464
    jejemo
    Participant

    Thanks for you help !

    Actually I hide the admin bar on my pages. That’s the reason why I’m trying to build the exact same menu on another navigation bar.

    I feel like it is a bug because here, it says that :

    $bp->bp_nav “is the array used to render each component navigation menu item for the logged in user”

    and

    $bp->bp_options_nav “is the array used to render all of the sub navigation items for the $bp->bp_nav array”.

    Actually I feel like I’m having the result of $bp->bp_users_nav.
    Because it “is the array used to render each component navigation menu item for the displayed user (when you view a user that is not you).”

    What do you guys think ?

    #185334
    wolfang8
    Participant

    Hello.
    I am using BuddyPress and made activiy stream is shown on front page. And it even shows the locked (paid) pages. People even can download files which are protected by s2members plugin. How can I hide the locked pages on activity stream?

    foresme
    Participant

    @bphelp

    Hello! I’m using the Membership plugin by WPMU.

    Will the private bp pages plugin hide member activity from Google listings?

    Thank you 🙂

    Cat Man
    Participant

    Hi,
    My site runs on WordPress latest version + buddypress + bbpress.

    I am trying to set up forums for main site -support purpose and group forums. The issue is,how can I separate them? I want to display them individually on separate pages.

    Also,I dnt knw what happen to permalink structure. All forums are listed here= http://bloggerindustry.com/forums/ But I wanted to display only suport forum and hide group forum on this link.

    Then take a look here,
    When I click an topic on the link mentioned above the link structure shows up is

    http://bloggerindustry.com/forums/forum/billing/

    I dnt know how to remove that /forum/ in between.

    Please help me to set up Support forum and Group forum separately.

    joeyaberle
    Participant

    We created a “dummy” account that is the creator of all of the pages, but that account shows up on the All Members page with a profile. Is there a way to disable or remove this account from the All Members page, but still have it so that we can create pages with it?

    Thanks.

    #183167
    Tbarnes37
    Participant

    Hi @soran7

    I’ve narrowed the problem down further and found a hack that works for me. If you look in buddypress-functions.php, there’s a function at line 739 called bp_legacy_theme_new_activity_comment. At line 770 is the process of inserting the new comment into the activity stream.

    It begins by checking if $activities_template->activities[0] is set. I’ve tested this function on an actual group page and found that this returns true, so it’s able to handle the activities effectively. However, on my custom template, this returns false; thus, the new comment data is never inserted. Of course this is separate from the process of saving the new comment to the database, so it makes sense that the comments still show up after refresh.

    I’m still hoping to find a less hacky way to do this, because my current solution messes up other activity stream pages, but I’ve managed to get my custom template working by copying buddypress-functions.php into my theme folder and modifying line 768 to have a ‘groups’ scope.

    So change line 768 from this:
    bp_has_activities( 'display_comments=stream&hide_spam=false&include=' . $comment_id );

    to this:
    bp_has_activities( 'scope=groups&display_comments=stream&hide_spam=false&include=' . $comment_id );

    Hope that helps! And if you’re able to find a better, less damaging way, please let me know. My hangup currently is that even if I manually set $bp->current_action to ‘groups’ in my template, it gets over-written at some point after page load, due to a url check that finds my template to not be at a group home url.

    solhuebner
    Participant

    In short: “The basic reason why this isn;t working is because BuddyPress seems to run only on publicly accessible pages and with the proper urls. Since Draft posts have ?page_id=123 like urls, BuddyPress does not set the global variables. Similarly, when Courses are marked private, BuddyPress again does not initialize the global variables.”

    What can be done to resolve this?

    Here is the discussion:

    http://vibethemes.com/forums/forum/wordpress-html-css/wordpress-themes/wplms/12127-hide-or-locking-a-course

    Kind regards

    PS: Thank you for BuddyPress (and v2)!

    #179186
    acid2k1
    Participant

    Hello,

    Okay I have spent couple of hours trying to find the file to delete or hide favourites & My favourites from the profile and activity pages.

    Any help would be so appreciated

    regards.

    GinnyBee
    Participant

    I need to hide the members page (being called Browse experts on my site) from public view. I have accomplished this on all of the other pages using a membership plugin however it is not working on this page as I have to put “private” tags around the content on the edit page in WP. As this page is auto generating by BuddyPress there is no content on the page . There for i have been told by the support team of the membership plugin that…..

    If there’s no content, it means the page won’t read the the_content() function

    Is there another way to hide just this page from public?

    It’s this page here http://findaukexpert.com/browse-expert-listings-2/

    Thanks

    Jen
    Participant

    Hi I’m wanting to just hide member profile pages, but keep all other BuddyPress pages public. I tried this code in my bp-custom.php, but it doesn’t work. Any ideas?

    /* Prevent logged out users from accessing bp profile pages */
    function nonreg_visitor_redirect() {
    global $bp;
    if ( bp_is_profile_component() {
    if(!is_user_logged_in()) { //just a visitor and not logged in
    wp_redirect( get_option('siteurl') . '/register' );
    }
    }
    }
    add_filter('get_header','nonreg_visitor_redirect',1);
    #175992

    In reply to: Group Fun and Games

    bowoolley
    Participant

    I’m all for fun and for personalising group activities! I’m thinking of adding polls and quizzes, but I don’t like adding tabs to the group page – I have actually been trying to avoid sending users (many of whom are somewhat grouchy about technology) to the default group pages (which look sort of 1999, even in my estimation.) So I’m playing with ways to hide the default group page and create a separate “space” for each group (without going MU.) I’ll follow this thread with interest, and post if I find something useful!

    #174704
    mattg123
    Participant

    @pjbursnall yeah that code replicates the notification element only (the only part that is somewhat confusing to replicate) you place the code in the plugins directory in bp-custom.php you may have to create the file yourself.

    http://stackoverflow.com/questions/9953482/how-to-make-a-pure-css-based-dropdown-menu – shows you how to create a drop down menu, https://codex.wordpress.org/Function_Reference/get_currentuserinfo get the current users info so you can create links to their profile pages, etc.

    Just a note, to add the notifcations to your custom bar your code will look something like <li><?php bp_notification_badge(); ?></li>

    #173237
    mizzinc
    Participant

    Simple styling options. Show/Hide page title, breadcrumbs, feature image?

    Hmm, after reading your extended response, perhaps I am approaching this from the wrong angle.

    dta_madrid
    Participant

    Hi,
    I’m a complete novice at Buddypress and I have spent a long time on these forums and the codex pages trying to figure out if this is possible…

    (excuse me if this has been repeated elsewhere – please point me in the right direction if it has)

    I’m trying to create a buddypress network for 2 different types of users (volunteers and hosts), each with their own different xprofile fields. I would only like the volunteers to view and contact the hosts and the hosts to view and contact the volunteers.
    I understand there is a great plugin to help part way with this ( buddypress user account type pro).
    This plugin can display different user types (in a filtered member’s directory) in a menu but It cannot hide the volunteer’s member’s directory from a logged-in volunteer and vice versa for the host.

    Does anyone have any other ideas or plugins that may be able to help? Is it possible to set up two different buddypress networks on two different installations / multi-network but be able to view each other’s profiles and message each other once logged in?

    I have very limited knowledge of php. So if it’s a case of changing something here, please can someone point me in the right direction.

    Thank you for your help.

    #172349
    robotnjik
    Participant

    I have similar request. We would like to exclude admins from groups. We set that only admins can create groups and now all groups have admin for a member. It is ok to have admin activity listed but we would like to hide admins from member listings on group pages. Is this code or part of code work on BP 1.8.1.?

Viewing 25 results - 101 through 125 (of 290 total)
Skip to toolbar