Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'how to hide pages'

Viewing 25 results - 1 through 25 (of 238 total)
  • Author
    Search Results
  • #185464
    Avatar of jejemo
    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
    Avatar of wolfang8
    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?

    #185279
    Avatar of foresme
    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 :)

    Avatar of AATHITHYAN
    AATHITHYAN
    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.

    Avatar of joeyaberle
    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
    Avatar of Tbarnes37
    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.

    Avatar of solhuebner
    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
    Avatar of acid2k1
    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.

    Avatar of GinnyBee
    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

    #178386
    Avatar of brightestspark
    brightestspark
    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

    Avatar of bowoolley
    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
    Avatar of mattg123
    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, http://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
    Avatar of mizzinc
    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.

    Avatar of dta_madrid
    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
    Avatar of robotnjix
    robotnjix
    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.?

    #171701
    Avatar of mbraam
    mbraam
    Participant

    Hello!

    I have almost everything ready, but now I am stuck at the most important part.
    The /members and /members/user and /group and /group/name-group must be hiding for the guests.

    I have it done for the other pages with:
    - Wishlist plugin
    - Member Access

    If I set it like all the other pages it still will show the member list content.
    Is there something that I can block it for the guests?

    Regards,
    Michael

    #171379
    Avatar of mayabi
    mayabi
    Participant

    Hi everyone,

    i’m using Buddypress as an alumni where the username is the person’s ID number. The problem is that i don’t want ANYONE but the administrator to see someone’s ID (username).

    Is there a way to hide this information from members? The username is showing on the profile pages (i managed to remove it from the display, but it stays at the permalink).

    I thought about adding a field to the users form called “id number” but the problem is that i want to register everyone upfront with their ID’s so they don’t have to register, just login with their ID and password, which means the username would have to be the id number…

    Any suggestions would be much appreciated!

    Thank you,
    Maya.

    Avatar of danbp
    danbp
    Participant

    hi @valuser,

    the bp_is_blog_page function is missing to hide the calendar when on BP pages.

    The place with the weird output contains an overcomplicated method to show a title. IMHO there is no need to use so many conditionnals to show a post title…. So I replaced it by the h1 stuff used in Twenty Thirteen.

    You will probably need some adjustment into CSS too. So far i can see there is no other trouble with BP. Nice theme !

    remove/replace the following into /partials/part_article_header.php

        <?php
        // Article calendar
        if ( bp_is_blog_page() ) :  //  if it returns true, it's not a BP page.
    	
        if (!is_page() && !is_search()) : ?>
    	<div class="calendar event_date">
    		<span class="month"><?php echo strtoupper(get_the_date('M')); ?></span>
    		<span class="day"><?php echo get_the_date('d'); ?></span>
    		<span class="year"><?php echo get_the_date('Y'); ?></span>
    	</div>
        <?php endif; 
               endif; // ending bp_is_blog_page ?>
    
        <h1 class="entry-title">
            <?php if ( is_single() ) :  ?>
                <?php the_title(); ?>
            <?php else : ?>
                <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    			 <?php endif; ?>
        </h1>
    #170681

    In reply to: Hide members page

    Avatar of bp-help
    bp-help
    Participant

    @kenstansmith
    A quick search provided all of these related threads. You should be able to find something in one of them that will point you in the right direction.

    http://buddypress.org/support/search/how+to+hide+pages/

    Avatar of wickedbl0ke
    wickedbl0ke
    Participant

    I love buddypress. I love it so much that i want to take it behind my school and make it pregnant. But i have an issue now.

    I want to find a way which I can hide the groups, activity and members list page from all non members by redirecting them to another page.

    I used to use member-access for all my other sites but this time, I cant seem to get that plugin to work with buddypress. It just does not work at all.

    Can someone help me in laymans terms find a solution to this?

    PS: I have other pages on this site that I do not want to hide from non members. I have also tried that restrict pages plugin and that does not work either.

    Avatar of artabria
    artabria
    Participant

    I’m trying to do that… redirect /member/username/ to /member/username/profile/ or member/username/groups/

    I’ve just hide the activity nav item but username in all pages links to this activity url… I have to redirect this username to /username/profile/ or another URL

    I’m using a buddypress-default chid theme and working only on my own functions.php

    thanks in advance!

    #167714
    Avatar of RiGoRmOrTiS_UK
    RiGoRmOrTiS_UK
    Participant

    I’m happy to forget filtering members by last activity date.

    So to simplify it; can someone can tell me how to filter members from the member’s directory if their WordPress role is set to “no role on this site” (or the blocked role from bbpress). Also when hiding such members the pagination count in the members directory would also need to be correct; as the previous ideas remove the member but not the count; thus you get empty pages saying “showing members X – X” but nothing there.

    I’m a totally inept when it comes to coding in PHP so any help really is appreciated.

    Avatar of joanicegreen
    joanicegreen
    Participant

    Redirects are leading to a blank page (header and sidebar’s are there but the actual activity is not displayed)

    During an email notification of an activity, the link provided in the email is:

    http://www.itsartmag.com/features/activity-2/p/1234

    When you click the link it goes to

    http://www.itsartmag.com/features/members-2/user/activity/1234/

    When it gets to this page the page is blank, it will have the header and sidebar and content space, but nothing appears in the content space.

    An example of this is as follows:

    The email gives this link:

    http://www.itsartmag.com/features/activity-2/p/816/

    The site redirects you to:
    http://www.itsartmag.com/features/members-2/cgartist/activity/816/

    And the activity entry does not show at all

    Is there a way to have the link redirect to just the activity page or how is this handled in the core

    We have tried to update the .htaccess but the redirect is actually pretty ugly.

    This is similar to the following posts (opened over a year ago, so I am just referencing them, since I am not sure if it was ever resolved)

    http://buddypress.org/support/topic/why-does-buddypress-use-redirection-links-in-activities/

    http://buddypress.org/support/topic/view-single-activity-infinite-redirect/

    http://buddypress.org/support/topic/buddypress-activity-stream-permalinks/

    1. Which version of WordPress are you running? Version 3.5.2

    2. Did you install WordPress as a directory or subdomain install?
    It is installed on the following path from the web root:
    features/itsart

    3. If a directory install, is it in root or in a subdirectory?
    It is in a subdirectory:

    httpdocs/features/itsart

    4. Did you upgrade from a previous version of WordPress? If so, from which version?

    Not recently

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes

    6. Which version of BP are you running?
    1.7.2

    7. Did you upgraded from a previous version of BP? If so, from which version?
    No

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Yes:

    AddThis Follow Widget
    AddThis Social Bookmarking Widget
    AdRotate Professional
    Akismet
    BP Activity Autoloader
    BP Friends Suggestions Widget
    BP Group Organizer
    BP Members With Uploaded Avatars Widget
    BP reshare
    BP Resume Page
    BuddyMenu
    BuddyPress
    BuddyPress AddThis LS
    BuddyPress Follow
    BuddyPress Live Notification
    BuddyPress login redirect
    BuddyPress Media
    Buddypress Sitewide activity widget
    BuddyPress Template Pack
    Chartbeat
    Clean up wp_head
    Clobber spam users
    Community Activity On profile
    Conditional Widgets
    Contact Form 7
    Core Control
    Disqus Comment System
    DRP WordPress User Management
    DZS Video Gallery
    Events +
    Export Users to CSV
    Facebook Friends Inviter
    Facebook Like Activity Stream For BuddyPress
    Google Analytics for WordPress
    If Menu
    iframe
    Jetpack by WordPress.com
    JW Player 6 Plugin for WordPress
    Login Logo
    Magic Members
    Manual Control for Jetpack
    Newsletters
    Prevent Password Reset
    PunchTab for WordPress
    Really Simple CAPTCHA
    Slide-In
    Social Articles
    SSH SFTP Updater Support
    TS Widget Pack
    Use Google Libraries
    Video SEO for WordPress SEO by Yoast
    Viper’s Video Quicktags
    Welcome Pack
    White Label CMS
    Widgetize pages Light
    WordPress SEO
    WP-Memory-Usage
    WP Hide Dashboard
    WPMU DEV Dashboard
    WP Status Notifier
    WPtouch Pro

    9. Are you using the standard BuddyPress themes or customized themes?

    Customized theme wpzoom’s magazinium with buddypress template pack installed

    10. Have you modified the core files in any way?
    No

    11. Do you have any custom functions in bp-custom.php?
    No

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    Not Running

    13. Please provide a list of any errors in your server’s log files.
    None that I can see in relation to this, no 404′s etc

    14. Which company provides your hosting?
    Self Hosted

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    LAMP

    #166676
    Avatar of RiGoRmOrTiS_UK
    RiGoRmOrTiS_UK
    Participant

    @henrywright-1

    Hi, Thanks for that.. I’ve just tested the code. It certainly removes members who haven’t logged in for 60 days; however it doesn’t reduce the “member count” on the page; so you end up with empty pages where it says its showing members 80-88 but no-one is listed.

    Is there anyway to get the member count to reduce so I don’t have empty pages with invisible members? :)

    also the role exclusion doesn’t appear to work; I’ve tried replacing it with ‘subscriber’ to see if it was because “blocked” wasn’t the right role phrase; however subscribers were still displayed; so I assume its a code error?

    #165629
    Avatar of @mercime
    @mercime
    Keymaster

    Members page is not visible in the top menu bar

    @waterfiend check out http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/ or have a look at different solutions posted for a private BP site at http://buddypress.org/support/topic/protecting-buddypress-pages-from-non-logged-in-users/

Viewing 25 results - 1 through 25 (of 238 total)