Search Results for 'private'
-
AuthorSearch Results
-
March 7, 2013 at 1:41 pm #155669
In reply to: Create private membership site with BuddyPress
bp-help
ParticipantAdd this to bp-custom.php https://codex.buddypress.org/developer/customizing/bp-custom-php/
and it will prevent non-logged in users from accessing BP pages.
`
/* Block BP Pages For Non-Logged In Visitors */
function bp_block_pages() {
global $bp;
if ( bp_is_activity_component() || bp_is_groups_component() /*|| bbp_is_single_forum()*/ || bp_is_forums_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) ) {
// add components to be blocked to non-logged in visitors
if(!is_user_logged_in()) {
wp_redirect( get_option(‘siteurl’) . ‘/register’ );
} // Change /register to the page you want non-logged in visitors directed to
}
}
add_filter(‘get_header’,’bp_block_pages’,1);
/* End BP Blocked Pages */
/* Remove RSS Feeds */
function bp_remove_feeds() {
remove_action( ‘bp_actions’, ‘bp_activity_action_sitewide_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_personal_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_friends_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_my_groups_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_mentions_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_favorites_feed’, 3 );
remove_action( ‘groups_action_group_feed’, ‘groups_action_group_feed’, 3 );
}
add_action(‘init’, ‘bp_remove_feeds’);
/* End Remove RSS Feeds */
`March 7, 2013 at 1:38 pm #155667In reply to: Create private membership site with BuddyPress
Hugo Ashmore
Participant@billgates82 you should always start a new post rather than tack onto an existing one that may seem to cover the same issue.
As in the post above yours consider looking at the S2 member plugin.
March 7, 2013 at 12:53 pm #155661In reply to: Create private membership site with BuddyPress
billgates82
Participanthi to everybody;
I have a BuddyPress Community that I’m building that’s based around a rather sensitive topic for my users and as such I need to make parts of the community totally private and not accessible by non logged in users.
I would like guests to be redirected to a page/message that requests login/sign-up before proceeding to the following parts of my community:
mysite.com/members
mysite.com/activity
mysite.com/groups/However, I like guests to be able to freely view public blog and public content.
Is there a way to accomplish this?
March 6, 2013 at 9:25 pm #155305imtrevormrose
ParticipantThe private messaging decided to work. But a basic user still can’t send a public message ( mentions ) or comment or favorite mentions. They also can’t accept or add friends.
I’m going through the coding now and I’m not turning anything up that has to do with “permissions” or level of user. I’ve attempted turn error logging on, but if it is on, nothing is being populated into the error_log.php file.
March 5, 2013 at 7:34 am #155127In reply to: Private group members cannot create forum topics
bruce-s
ParticipantI’ve also run into this… it’s not clear from the debugging page if a resolution has been found though?
March 5, 2013 at 1:23 am #155099@mercime
Participant>>users cannot communicate with, see each other, or even know other users exist). Only the admin will have the privilege of viewing profiles or commenting on users’ blog posts.
@bg01 As I see it, you don’t even need BuddyPress especially with the configuration you posted above.
– Just create a network (go multisite)
– allow students to create own blogs or create the blogs yourself and add student/user per blog
– make all sites private (Super Admin can see anything and everything)
– post comment on each student’s blog post.
If you have any issues with your multisite installation, please post at https://wordpress.org/support/forum/multisiteAlternatively, you can have one single WP site. Make it private, no feeds. Set access of all posts in front end and back end to Site Admin and respective post Author in custom WP theme. Only Site Admin can post comment in all posts.
If you have any issues, please post at https://wordpress.org/support/forum/how-to-and-troubleshootingMarch 4, 2013 at 9:41 pm #155082VegasKev88
Participant@mercime Thanks for the assist. Close, but not quite. Apparently I was at 2MB. I’m on a private server, so no worries, upgraded via php.ini and .htaccess Change is visible in wp mediau uploader upload limit.
tested in the wp admin media uploader with a 56kb image (the same test image for all upload tests in this specific post) and all worked…until I did test on profile frontside.
I tried to upload via the buddypress profile page and here is what I got.
- 1. Was able to select an image.
- 2. When I selected ‘upload image’ I got the error below
- 3. Checked in wp-admin media library for potential image upload and none present
ERROR MESSAGE: Upload Failed! Error was: No editor could be selected.
Any thoughts?
February 28, 2013 at 11:17 pm #154755rizingsun
ParticipantThanks @bphelp
But my intent is that the “Friends” tab should not be visible to anyone except the account user (like “Settings” and “Messages” tabs are only visible to an account user).
Even if you’re friends with a user, you should not be able to see his other friends.
Complete privacy.
I would like to make the “Friends” tab a private setting. Is there any way to do that?
February 28, 2013 at 11:02 pm #154753In reply to: Group Notifications
Jon Henwood
ParticipantHi
Can make a plugin for Buddypress so that the forum sends private messages to group users. This will then cause the notification system to pick up the message and show it in the grey WordPress/Buddypress notification bar. Your forum notification problem solved for only £15.
Let me know if you are interested and we will build it
February 27, 2013 at 9:51 pm #154645In reply to: Group Notifications
Jon Henwood
ParticipantI would say sure no prob unfortunately though the role I played was suggesting that when a new topic was posted a private message is sent to the members. The actual implementation was done by my developer…will see if I can get him to post a how to here.
February 27, 2013 at 12:09 am #154578In reply to: Profile fields default is stuck on public
jordas
Participantok, what I just figured out two is that if you do not close the boxes with radiobuttons on the register page. It actually saves your choices correctly. So actually the ‘close’ option on the register page sets it back to the default, public. Still, I would like that default to be private, or better to speak in terms of ‘loggedin’ or ‘friends’…
February 26, 2013 at 11:20 pm #154576Jon Henwood
ParticipantIn case anyone else is looking for an answer and comes across this post, this may help…
We found a solution of a sort.
What you need to do is include an automatic private message send to all group members except the person posting the topic. This private message then gets hooked in to the notification system and lets the user know they have a new message.
February 26, 2013 at 10:23 pm #154574In reply to: Group Notifications
Jon Henwood
ParticipantWe found a solution of a sort.
What you need to do is include an automatic private message send to all group members except the person posting the topic. This private message then gets hooked in to the notification system and lets the user know they have a new message.
February 26, 2013 at 9:16 pm #154561In reply to: Profile fields default is stuck on public
jordas
ParticipantThank you so much for this, especially the conformation I’m not loosing it :p
I will try and see if I can hack the register page of my theme so it has the ‘private’ setting as a default.
February 26, 2013 at 8:13 pm #154556In reply to: Profile fields default is stuck on public
jordas
ParticipantHey Hugo, yes, I have done this. But no matter if user override is set or not. At the registration page everything stays public, even if the admin forces it to private. Is this only me who has this problem? Can you keep me updated on this?
February 26, 2013 at 2:24 pm #154526February 23, 2013 at 9:00 pm #153930In reply to: How to Restrict Pages to Unregistered Members
bp-help
ParticipantFor buddypress specific pages see this thread:
https://buddypress.org/support/topic/private-community-with-public-wordpress/
For post and pages you could try this plugin:
https://wordpress.org/extend/plugins/wp-members/February 23, 2013 at 4:42 pm #153895In reply to: BuddyPress Compatible
Hugo Ashmore
ParticipantThis is a public help forum you shouldn’t really be soliciting private help, all help here is on a volunteer basis.
Have you actually bothered to contact Continuum author yet as has been suggested once or twice now? It has been strongly suggested that it is actually a theme issue so it is down to the theme author to try and help really.
We can try and help but frankly have probably exhausted the limits to which we can.
On the duplication issue, there was another thread in which this was happening so I suspect that there is a common cause involved that is being induced by some themes – an extremely long shot but there have been occasions where members loops duplicated odd members this nearly always resolved down to Caching plugins, you shouldn’t be running any until such time as thought necessary on a production site but in case you are deactivate them.
February 22, 2013 at 9:07 pm #153771In reply to: Video: BuddyPress 1.7 Overview
jimah
Participant@modemlooper I have installed the Buddypress 1.7. Before I installed it, I was having problem with sending Private Message, so I was hoping it will be resolved. However, the problem still persist. When my users and I send a Private Message, it indicate message: No data received…..Unable to load the web page because the server sent no data. Yet the user receives it. I have deactivated all my plugins except buddypress still I encounter the same problem. I change my theme to bp-default theme, yet the problem still persist. I even uploaded a non-buddypress to take advantage of the 1.7 feature but the problem still persist.
I am at my wits’ end here. Please can you help or suggest an approach for me.
Shalom
February 21, 2013 at 9:07 pm #153648bp-help
ParticipantAlso, how can I hide the Activity pages etc. until the user loggs in?
Read my reply in the following thread to accomplish this.
https://buddypress.org/support/topic/private-community-with-public-wordpress/February 21, 2013 at 5:30 pm #153624In reply to: Private Community with Public WordPress
Kevin M. Schafer
Participant@bphelp I do believe I have it now. Yes, my butchered theme that I’m learning on was sending off errors. I enabled the BP-Default Theme and we’re good. I have the BP navigation tabs going to the Sample Page.
I knew you had it right, but I didn’t understand and I didn’t know my theme was causing errors. I use this site for practicing, then I implement the changes that work back to my new site: http://www.gumpolen.com
Thanks,
Kevin
February 21, 2013 at 5:02 pm #153617In reply to: Private Community with Public WordPress
bp-help
ParticipantThat sounds more like your theme is shooting off errors. Try activating the bp-default theme and see what happens. also make sure there is no extra lines before or after the opening and closing php tags in the bp-custom.php
February 21, 2013 at 4:57 pm #153615In reply to: Private Community with Public WordPress
bp-help
Participantdid you add the code to the bp-custom.php you create in yoursite/wp-content/plugins? did you remember to add the code between opening and closing php tags and save the file? I have it working flawless on wp 3.5.1 and bp 1.7 beta 1. for example this line:
wp_redirect( get_option(‘siteurl’) . ‘/register’ );
redirects to register page
you could for example change it to something like this:
wp_redirect( get_option(‘siteurl’) . ‘/sample-page’ );
that would redirect to the sample page.February 21, 2013 at 4:49 pm #153612In reply to: Private Community with Public WordPress
Kevin M. Schafer
Participant@bphelp I missed my greater than sign in starting out the page. Now your code doesn’t show, but when I log out, i get an error across the top of the screen instead:
Warning: Cannot modify header information – headers already sent by (output started at /home/*****/public_html/inlandcoder/wp-content/themes/frisco-for-buddypress/members/index.php:12) in /home/*****/public_html/inlandcoder/wp-includes/pluggable.php on line 876
February 21, 2013 at 4:37 pm #153611In reply to: Private Community with Public WordPress
Kevin M. Schafer
Participant@bphelp I tried this and when I refreshed my site, all of your code appears below the admin bar on my site — above my header.
I created a new page and named it “new page here.”
Here’s your code with my info:
function bp_guest_redirect() {
global $bp; if ( bp_is_activity_component() || bp_is_groups_component() /*|| bbp_is_single_forum()*/ || bp_is_forums_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) ) { // enter the slug or component conditional here if(!is_user_logged_in()) { // not logged in user wp_redirect( get_option(‘siteurl’) . ‘/new-page-here’ ); } // user will be redirect to any link to want } } add_filter(‘get_header’,’bp_guest_redirect’,1);
Am I to insert my URL as well? I tried with and without changing it and that didn’t work either.
Kevin
-
AuthorSearch Results