Search Results for 'private'
-
AuthorSearch Results
-
August 18, 2010 at 5:51 pm #89560
In reply to: Make Private Groups Visible
amahesh
Memberthats only for the forum though…I want to make it so that anyone can see the group, but to join, you must request an invite
August 18, 2010 at 12:36 pm #89511Mack
ParticipantThe function I wrote is as following –
function send_msg($user_id, $title, $message){
$args = “recipients=$user_id&sender_id’=11&subject’=$title&content’=$message”;messages_new_message( $args );
}I pass only recipients id, sender id, subject and content, due to call to wp_parse_args in messages_new_message, which fills message parameters which aren’t sent with default values, I believe. But it doesn’t affect database at all, no new messages are inserted.
—
About inbox, the installation I am working on is quite tweaked, so I don’t know what has been enabled and what disabled
. But if pm’s are disabled, is there an easy way to enable them? Also if pm’s are disabled, will message_new_message function do anything at all?Cheers
MaciejAugust 18, 2010 at 5:25 am #89476In reply to: Make Private Groups Visible
Pisanojm
ParticipantI can’t help, but it looks like you might be able to glean something from the Announcement Plugin where anyone can read, but people can’t post….
August 18, 2010 at 4:51 am #89474In reply to: Make Private Groups Visible
amahesh
Membercan anyone please help with this?
August 17, 2010 at 7:53 pm #89412r-a-y
KeymasterDid you pass parameters into the messages_new_message() function?
All the parameters can be found in the /plugins/buddypress/bp-messages.php file like Boone stated.
—
Private messages are disabled on this website at the moment due to spam. However, on a regular install, simply navigate to the “My Account” menu in the BuddyPress admin bar (located at the top) and navigate to “Messages”.
August 17, 2010 at 7:49 pm #89408Mack
ParticipantThanks for quick respond
. I try to call this function, but it doesn’t seem to be working. Nothing is inserted into the bp_messages tables in wordpress db. BTW, how to open my inbox? I can’t find it even here on buddypress.org, and on the site I am working on it’s also invisible. Should I install some new plugin or what?Cheers,
MaciejAugust 16, 2010 at 5:42 pm #89285Boone Gorges
KeymasterCheck out messages_new_message() in buddypress/bp-messages.php.
August 15, 2010 at 10:20 am #89155In 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
-
AuthorSearch Results