Search Results for 'private'
-
AuthorSearch Results
-
August 15, 2010 at 10:20 am #89155
In reply to: only for logged in members
Roger Coathup
ParticipantYou 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.phpThere 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
August 15, 2010 at 1:23 am #89136In reply to: only for logged in members
lorenzo
Memberthanks, 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!
August 14, 2010 at 12:47 pm #89067In reply to: How to make a private community?
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.
August 14, 2010 at 11:00 am #89058In reply to: How to make a private community?
Hugo Ashmore
ParticipantThat 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
August 14, 2010 at 10:47 am #89056In reply to: How to make a private community?
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?
August 14, 2010 at 9:36 am #89054In reply to: How to make a private community?
Hugo Ashmore
ParticipantJenny 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.August 14, 2010 at 8:43 am #89053In reply to: How to make a private community?
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?August 14, 2010 at 8:24 am #89051In reply to: How to make a private community?
Hugo Ashmore
ParticipantTravel_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.
August 14, 2010 at 8:17 am #89050In reply to: How to make a private community?
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!
August 14, 2010 at 7:58 am #89049In reply to: How to make a private community?
Hugo Ashmore
ParticipantJenny a search of the forum turns up this thread, (always worth a quick search to see what’s been covered )
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
August 14, 2010 at 7:44 am #89048In reply to: How to make a private community?
Hugo Ashmore
ParticipantJenny 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?
August 14, 2010 at 3:55 am #89043In reply to: How to make a private community?
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?
August 13, 2010 at 4:50 pm #88987Beck 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!)
August 13, 2010 at 4:28 pm #88986In reply to: Private Groups forum topics
Beck B
ParticipantOops, I should’ve just bumped this thread. Naughty Beck.
August 13, 2010 at 2:31 pm #88977Beck B
ParticipantI think I may’ve posted this in the wrong place. Should it go under suggestions/feedback? Somewhere else?
August 13, 2010 at 7:31 am #88947In reply to: point logged in user to user’s activity page
Hugo Ashmore
ParticipantHave 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
August 13, 2010 at 1:45 am #88930In reply to: Email notification not working
M W
ParticipantI 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
August 13, 2010 at 1:43 am #88929M W
ParticipantI 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
August 12, 2010 at 5:30 pm #88852In reply to: Make Private Groups Visible
amahesh
Memberdoes anyone have any thoughts?
August 10, 2010 at 1:27 am #88596In reply to: Make Private Groups Visible
amahesh
Memberany help with this?
August 9, 2010 at 3:58 am #88511In reply to: How to make a private community?
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.)August 9, 2010 at 3:39 am #88508In reply to: How to make a private community?
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?
August 8, 2010 at 8:52 pm #88472In reply to: How to make a private community?
Lsm_267
ParticipantHi,
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 advanceAugust 7, 2010 at 6:40 am #88319In reply to: Require VIP membership for group creation
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…
August 7, 2010 at 5:17 am #88317In reply to: Remove “Visit” from the admin bar
Beck B
ParticipantI 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.)
-
AuthorSearch Results