Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 2,576 through 2,600 (of 3,450 total)
  • Author
    Search Results
  • #89155
    Roger Coathup
    Participant

    @psycolor

    You could look at using functions like:

    groups_is_user_member( $user_id, $group_id )
    To test if the user is in a specific group, and only show the page if they are in the appropriate group. This is defined in bp-groups.php.

    bp_is_member()
    To simply check whether the current user is a member (and logged in). This is defined in bp-core-templatetags.php

    There is also a group blogs plugin: https://buddypress.org/community/groups/bp-groupblog/

    I don’t know if this can be adapted to implement the private pages for your group members.

    Cheers, Roger

    #89136
    lorenzo
    Member

    thanks, this is quite useful to address the issue to block out everything. what i was after is a little more fine-grained. for example there are out there a few plugins which use wordpress roles to limit access to posts or even categories. can anyone suggest a way of using a buddypress group or a field from the extended profile to limit access to posts/pages (rather than activities like forum posts etc?

    i understand that if one is not member of a private group they cannot see the group activities in the stream, but how to make certain pages only accessible based on buddypress group membership?

    many thanks!

    #89067
    imjscn
    Participant

    @hnla, I said “Click it” because it’s on the blog’s main navigation menu. If a visitor click this menu, it will go to the Introduction page.

    What you said is exactly what I want— “simply have the text/content you want with a simple link to the registration page and also a simple login, registered users will login and be directed to their profile pag”, but the plugin you mentioned does not perform like this. It works on the action of a user log in(click the log in page) and then redirect.

    #89058
    Hugo Ashmore
    Participant

    That sounds like you actually need a custom front page, but what do mean by ‘click it’ that’s a rather loose term click what?

    Why does that page not simply have the text/content you want with a simple link to the registration page and also a simple login, registered users will login and be directed to their profile page by the plugin mentioned earlier. What you do with the main site home link is another question, suppose it’s possible to have that custom frontpage display your intro page to all logged out users and once logged in if a member navigates back to that page it will display ? activity loop / main site blog posts

    #89056
    imjscn
    Participant

    @hnla, let me try if my understanding about the codes are correct or not:
    BP Redirect to Profile = force user to go profile page on log in. It’s not what I want to achive;
    Travel-Junkie’s code = Make all BP communit not accessable for outsiders, they can only access blog page. It’s not what I want;

    This is what I want: I have an Introduction page for outsiders. I name is “MySpace”. When logged in user click it, it goes to his/her profile. When outsiders click it, it shows the Introduction page and suggest him/her to signup.

    Now I see the “Redirects” not working because I need a dynamic URL(depends on user status) as the target URL.

    What to do?

    #89054
    Hugo Ashmore
    Participant

    Jenny that plugin you found ‘redirects’ is this a BP plugin? if not then use the one I linked to which is custom coded to work for BP (can’t vouch whether it’s currently compatible with latest releases)

    At the end of the day I think you are looking for one plugin to cover two different jobs which may prove problematical.
    Possibly you need to use your ‘redirects’ if that works satisfactorily with BP AND the other plugin to provide the actual logged in redirect to profile pages.

    #89053
    imjscn
    Participant

    @hnla, logically, I can see his code leads to several posibilities, but coding is really an alien’s job for me :-)
    Since I got the plugin, I still need you help me figure out one critical answer– What’s the URL for a logged in user’s Profile?

    #89051
    Hugo Ashmore
    Participant

    Travel_junkies code redirects logged out users to the main sign up page which is what I thought you were asking for, it can easily be configured to allow main directory pages to be viewed, but nothing deeper, or I guess to redirect to another page of choice, it’s not a plugin per se it’s the core function and would run from a file such as bp-custom.php it could be turned into a plugin quite easily though as a plugin at basic level is simply a convenient on/off switch. If ‘Redirects’ works for then that’s fine, iot’s not one I’ve run across before.

    #89050
    imjscn
    Participant

    @hnla, thanks for helping! This plugin doesn’t provide the function of redirecting to a welcom page for outsiders, but following the path, I found another plugin “Redirects” which allow for pointing a target page for outsider users. Many thanks!

    #89049
    Hugo Ashmore
    Participant

    Jenny a search of the forum turns up this thread, (always worth a quick search to see what’s been covered )

    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/being-re-directed-to-your-profile-page-after-login/

    Give the plugin listed in the last post a go and see if it works for you, and just acknowledge back whether it worked for you

    #89048
    Hugo Ashmore
    Participant

    Jenny that’s what Travel_junkies code does (at least the first part of your request); have you tried it? Are you having specific issues with it?

    #89043
    imjscn
    Participant

    @Travel-Junkie, I’m totally new to this but I want a page to show signup page for outsidders and show user’s bp-profile page for logged in users. How to do this, please?

    Beck B
    Participant

    @nuprn1, reviving this old thread. I’m going to have to give that a try (digging around in your code, that is) and get back to you….. (Also, thank you for making something to actually use the forum tags!)

    #88986
    Beck B
    Participant

    Oops, I should’ve just bumped this thread. Naughty Beck.

    #88977
    Beck B
    Participant

    I think I may’ve posted this in the wrong place. Should it go under suggestions/feedback? Somewhere else?

    #88947
    Hugo Ashmore
    Participant

    Have a read through this post with particular reference to travel_junkies code which you should be able to modify to prevent access to certain pages/areas if user not registered/loggedout

    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-private-community/?topic_page=2&num=15#post-44616

    #88930
    M W
    Participant

    I have a problem with the mail-from plugin- it fixed the email confirmation problem but now whenever someone sends a Private Message it comes “from” the address set by the mail-from (which in our case is my email address- now I am getting all kinds of replies to people’s private messages because they hit Reply without noticing where it was going- this would not happen before because it came from no-reply @domainname.com

    #88929
    M W
    Participant

    I have a problem with the mail-from plugin- whenever someone sends a Private Message it comes from the address set by the mail-from (which in our case is my address- now I am getting replies to people’s private messages because they hit Reply without noticing where it was going- this would not happen before because it came from no-reply @domainname.com

    #88852
    amahesh
    Member

    does anyone have any thoughts?

    #88596
    amahesh
    Member

    any help with this?

    #88511
    Beck B
    Participant

    @meetsos, if you haven’t solved the problem yet:
    I believe you should be able to create a functions.php file in the Randy Candy theme. (Or go one better and create your own child theme based on Randy Candy, so you can benefit from published updates without losing your modifications.)

    #88508
    marioe
    Member

    @travel-junkie Method worked for me with 2.9.2, I just upgraded to 3.0.1 and now is not working. anyone experiencing the same?

    #88472
    Lsm_267
    Participant

    Hi,
    I modified my functions.php as @Travel-Junkie said. It works perfectly on my WP 3.0.1. but I want to go a little further.
    I want the member home page only to be visible for the admin and for the registered member, not the others members of the BP.
    for exemple, the http://mysite.com/members/angora/ should be visible only for the logged in user named angora
    I’ve heard about bp_is_home, but no idea how to deal with…
    Any idea would be helpfull ; thanks in advance

    #88319
    Beck B
    Participant

    @jmarino:
    Well, there’s a plugin to restrict group creation. I’d start there: https://wordpress.org/extend/plugins/buddypress-restrict-group-creation/

    In the settings, you can auto-demote group creators to mods, so that’s good for what you mention. You can also separately determine who can make a public, private or hidden group. It doesn’t have a setting to restrict somebody who meets the threshold from creating more than one group, though. You’d have to work around that. Also, it has settings like minimum number of days as a member (of your BP site in general) before qualifying to create a group, but nothing built in that’d handle maximum number of days as a mod and then demote automatically.

    Honestly? You’re looking for very specific and limited functionality. Since you already plan to manually add any additional mods, I’d consider just getting the necessary info from the user when s/he signs up for VIP membership, manually creating the group in the first place (use the Restrict plugin to keep anybody but a site admin from being able to do so), inviting the VIP member to join, and then setting him/her (and any friends) as mod.

    As for the 1 year demotion, I’d just use a good calendar and set up an electronic reminder.

    Low tech and not very automated, but that really seems like the route you’ll end up needing to go, unless you (or someone else) wants to create a fair bit of custom code–something you probably won’t find people offering to do for free.

    Not to be a total downer, but I’m having a bit of trouble imagining what enticement mod status would offer. Maybe I just haven’t toyed with it enough to see its utility in managing forums, but it doesn’t seem to provide much control over the group, at least…

    #88317
    Beck B
    Participant

    I was going to do the remove thing, too–so thank you all for the tips–but then I decided I might as well just hide the admin bar from logged out users, as that was my bigger concern with the random visit.anyway. (I don’t think it’ll be especially useful, and our groups are mainly private, but I don’t have any other plans for the top right portion of the screen, so…might as well leave it for now.)

Viewing 25 results - 2,576 through 2,600 (of 3,450 total)
Skip to toolbar