Search Results for 'private'
-
AuthorSearch Results
-
July 9, 2010 at 2:41 pm #84936
In reply to: How to make a private community?
Valentin Kukov
ParticipantPS. This only seemed to work for me using ftp to upload my theme with the above script inserted into the functions.php file already.
NB watch out when you copy the code from this forum as it can alter the script in places
July 9, 2010 at 11:31 am #84922In reply to: How to make a private community?
Valentin Kukov
ParticipantPlease ignore my last post.
@Travel-Junkie It works a treat. Thanks very much. Just added the code below within the php tags in my active theme’s functions.php file (…/wp-content/themes/XXXXXX/functions.php) and that was all I had to do. Very nice indeed. Now the site is only visible to logged in users (except for blog posts which are visible to everyone)
function sh_walled_garden()
{
global $bp;if( bp_is_register_page() || bp_is_activation_page() )
return;if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( $bp->root_domain .’/’. BP_REGISTER_SLUG );
}
add_action( ‘get_header’, ‘sh_walled_garden’ );July 8, 2010 at 7:55 pm #84819In reply to: How to make a private community?
Valentin Kukov
Participanthi everyone, sorry to be a pain in the a** but I was wondering whether anyone could write a summary post stating the cleanest simplest way to achieve a private network (including where to paste the statements and in which files). Sounds like @Travel-Junkie has the winning ticket but a lot of amendments/improvements have been made. Can anyone help? TX
July 8, 2010 at 6:10 pm #84801In reply to: Where are all my blogs?
kbeatt
ParticipantI do not have any privacy plugins on my site. I changed the privacy setting on a site that is not one of the 39 blogs listed in the directory to “visible to everyone” and it does not get listed in the directory. I also changed a site that was listed in the directory to be private, but it is still listed in the directory.
July 8, 2010 at 5:39 pm #84799In reply to: Where are all my blogs?
Nahum
Participantright have you tried disabling the blog component in the settings and then enabling again. and check the privacy settings per blog, I know sometimes I get blogs assigned private for some reason or another when messing around with upgrades, plugins, and tinkering.
July 8, 2010 at 9:26 am #84735webgyrl
MemberBTW, here are my site specifications.
Specs
1. Which version of WPMU are you running?
I am using regular WP 3.0
2. Did you install WPMU as a directory or subdomain install?
Root directory
3. If a directory install, is it in root or in a subdirectory?
Root
4. Did you upgraded from a previous version of WPMU? If so, from which version?
Was a previous version install via Fantastico on cPanel, upgraded to 3.0 before BuddyPress was installed
5. Was WPMU functioning properly before installing/upgrading BuddyPress?
Not sure
6. Which version of BuddyPress (BP) are you running?
Version 1.2.5.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?
Yes:
Welcome Pack Version 2.1
Twitter Goodies Version 3.9.0
Tweetstream Version 1.4
oEmbed for BuddyPress Version 0.52
Invite Anyone Version 0.6.4
Import from Ning Version 1.1
Facestream Version 1.1
Contact Form 7 Version 2.2.1
BuddyPress Usernames Only Version 0.58
BuddyPress Profile Privacy Version 0.2
BuddyPress Private Messages for Followers Only Version 1.0
BuddyPress Like Version 0.0.7
BuddyPress Group Tags Version 1.2.2
BuddyPress Group Email Subscription Version 2.5
BuddyPress Forum Topic Mover Version 1.0.0
BuddyPress Follow Version 1.0
BuddyPress Album+ Version 0.1.7
BP Profile Search Version 1.0
BP Group Management Version 0.4
BP-NotificationWidget Version 1.4
9. Are you using the standard BuddyPress themes or customized themes?
Standard BP Theme BuddyPress Default 1.2.5.2
10. Have you modified the core files in any way?
No
11. Do you have any custom functions in bp-custom.php?
I do not think so.
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
I ran the bbPress installer that came with BuddyPress
13. Please provide a list of any errors in your server’s log files.
DELETED logs….
I moved files in site to root…..
Hosting company:
Total Choice HostingJuly 8, 2010 at 9:24 am #84734In reply to: Cannot post new topic on forum
webgyrl
MemberI am having this exact same problem on a brand new WP/BP site.
Specs
1. Which version of WPMU are you running?
I am using regular WP 3.0
2. Did you install WPMU as a directory or subdomain install?
Root directory
3. If a directory install, is it in root or in a subdirectory?
Root
4. Did you upgraded from a previous version of WPMU? If so, from which version?
Was a previous version install via Fantastico on cPanel, upgraded to 3.0 before BuddyPress was installed
5. Was WPMU functioning properly before installing/upgrading BuddyPress?
Not sure
6. Which version of BuddyPress (BP) are you running?
Version 1.2.5.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?
Yes:
Welcome Pack Version 2.1
Twitter Goodies Version 3.9.0
Tweetstream Version 1.4
oEmbed for BuddyPress Version 0.52
Invite Anyone Version 0.6.4
Import from Ning Version 1.1
Facestream Version 1.1
Contact Form 7 Version 2.2.1
BuddyPress Usernames Only Version 0.58
BuddyPress Profile Privacy Version 0.2
BuddyPress Private Messages for Followers Only Version 1.0
BuddyPress Like Version 0.0.7
BuddyPress Group Tags Version 1.2.2
BuddyPress Group Email Subscription Version 2.5
BuddyPress Forum Topic Mover Version 1.0.0
BuddyPress Follow Version 1.0
BuddyPress Album+ Version 0.1.7
BP Profile Search Version 1.0
BP Group Management Version 0.4
BP-NotificationWidget Version 1.4
9. Are you using the standard BuddyPress themes or customized themes?
Standard BP Theme BuddyPress Default 1.2.5.2
10. Have you modified the core files in any way?
No
11. Do you have any custom functions in bp-custom.php?
I do not think so.
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
I ran the bbPress installer that came with BuddyPress
13. Please provide a list of any errors in your server’s log files.
[Thu Jul 08 01:43:12 2010] [error] [client 99.232.211.136] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/wwwnatf/public_html/site/wp-admin/includes/misc.php:133) in /home/wwwnatf/public_html/site/wp-includes/pluggable.php on line 890, referer: http://natfriends.com/site/wp-admin/options-general.php
[Thu Jul 08 01:43:12 2010] [error] [client 99.232.211.136] PHP Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/wwwnatf:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/wwwnatf/public_html/site/wp-admin/includes/misc.php on line 133, referer: http://natfriends.com/site/wp-admin/options-general.php
[Wed Jul 07 23:53:55 2010] [error] [client 99.232.211.136] PHP Warning: Invalid argument supplied for foreach() in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 38, referer: http://natfriends.com/site/
[Wed Jul 07 23:53:55 2010] [error] [client 99.232.211.136] PHP Warning: file_put_contents(history/20100707) [function.file-put-contents]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 23, referer: http://natfriends.com/site/
[Wed Jul 07 23:53:52 2010] [error] [client 99.232.211.136] PHP Warning: Invalid argument supplied for foreach() in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 38, referer: http://natfriends.com/site/
[Wed Jul 07 23:53:52 2010] [error] [client 99.232.211.136] PHP Warning: file_put_contents(history/20100707) [function.file-put-contents]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 23, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: chmod() [function.chmod]: Operation not permitted in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 180, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: copy(/home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/../data/public/themes/zilveer/smileys/emoticon_unhappy.png) [function.copy]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 179, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: chmod() [function.chmod]: Operation not permitted in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 180, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: copy(/home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/../data/public/themes/zilveer/smileys/eusa_whistle.gif) [function.copy]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 179, referer: http://natfriends.com/site/
I moved files in site to root…..
Hosting company:
Total Choice HostingJuly 7, 2010 at 11:04 pm #84680rich! @ etiviti
Participantsomething like: (just taken from bp-core.php line 397)
is_null( $bp->displayed_user->id ) && $bp->current_component == BP_MEMBERS_SLUG && $bp->is_directory
July 7, 2010 at 10:08 pm #84675foodin65
ParticipantAnother note. This code is in my bp_custom.php file. I’d like to keep it there.
July 7, 2010 at 4:32 pm #84627rich! @ etiviti
Participantcorrect trac ticket (one listed above was for activity time_since)
https://trac.buddypress.org/ticket/2504July 7, 2010 at 4:16 pm #84625rich! @ etiviti
Participantconfirmed – i have the same issue now (7 hours ago)
messages_new_messageuses ‘date_sent’ => time() instead of gmdate since the templatetag uses bp_core_time_sinceactually a few other oddities where notices use time() as well. (but that actually calls bp_format_time in the templatetag)
July 7, 2010 at 3:10 pm #84615Mark
Participant@Pisanojm @paulhastings0 I’m getting the same thing. Wp 3.0 BP 1.2.5
July 7, 2010 at 11:48 am #84580In reply to: Disable private messaging/friends lists
Paul Wong-Gibbs
KeymasterIt is – in the admin backend, you can choose whether or not each component is enabled.
July 7, 2010 at 3:47 am #84548Pisanojm
Participant@paulhastings0 I added annother of my experiences to this trac ticket after trying the diff. patch code on 1.2.5.2 WP 3.0 ….
https://trac.buddypress.org/ticket/2203July 7, 2010 at 3:41 am #84547paulhastings0
Participant@pisanojm, Yes, since upgrading to WP 3.0 the 5 hour time-lag issue reappeared. Since that time we’ve also upgraded BP to 1.2.5 and we still have the issue.
July 7, 2010 at 1:07 am #84537Pisanojm
Participant@rossgrant
Since the update, I’m not getting the sometime ago… it now says 0 seconds ago when I post are you using WP 3.0 and 1.2.5.2?
July 6, 2010 at 7:56 pm #84497Pisanojm
Participant@rossagrant There was a trac. supposed to be fixed for this…
https://trac.buddypress.org/ticket/2405If it’s still not working maybe others can confirm and the Ticket should be re-opened… Anyone else getting either of these two problems?
July 6, 2010 at 7:21 pm #84492rossagrant
Participant@pisanojm I have just updated to BP 1.2.5.2 and although I don’t get a 4 or 5 hours issue I do get a general, ‘sent sometime ago’ time on PM’s that I have only just sent. The time stamp is correct on my inbox page but when i open the message it just states, ‘sent sometime ago’.
Anyone else getting this?
July 6, 2010 at 12:17 pm #84425In reply to: Where are the forums located?
Boone Gorges
KeymasterDepending on whether you’ve turned on the components at Dashboard > BuddyPress > Component Setup, BP provides extended user profiles, an interactive activity stream, private messaging, user-creatable groups (with integrated activity streams, forums, and other functionality available via plugins), blog tracking, friend connections, and member/group directories. The toolbar at the top of the screen is one of the methods built into the UI for accessing these features. If you’re using a BP-compatible theme like the bundled bp-default, then you should also see tabs for Members, Groups, Forums etc near the top of your screen.
testbp.org is one place to see BP being used (for test purposes, obviously, but you can get a sense of the organization).
July 6, 2010 at 6:37 am #84402In reply to: How to make a private community?
r-a-y
Keymasteris_feed() is what you’re looking for. However, I would use travel-junkie’s code as it’s cleaner:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-private-community/?topic_page=2&num=15#post-44616Modify this line:
if( bp_is_register_page() || bp_is_activation_page() )with:
if( bp_is_register_page() || bp_is_activation_page() || is_feed() )July 6, 2010 at 3:57 am #84392In reply to: How to make a private community?
Pisanojm
ParticipantSeems like I could have added some kind of IF ~whatever the FEED function~ RETURN to the Registered Users Only 2 plugin and achieved the same thing… but I don’t know what the “whatever the FEED function” is to add… @r-a-y
July 6, 2010 at 3:54 am #84391In reply to: How to make a private community?
Pisanojm
Participant@r-a-y I used your code suggestion and some that I found in Restrict User 2 With Viper’s original Restrict User Plugin
Found here http://www.viper007bond.com/wordpress-plugins/registered-users-only/
because I wanted the site to be restricted to registered users only… still allow access to the login/activiate page and ALSO allow access to the feeds…I ended up with this.
// Depending on conditions, run an authentication check
function MaybeRedirect() {
// If the user is logged in, then abort
if ( current_user_can(‘read’) ) return;$settings = get_option( ‘registered-users-only’ );
// Feeds
if ( 1 == $settings && is_feed() ) return;// This is a base array of pages that will be EXCLUDED from being blocked
if ($bp&&($bp->current_component == BP_REGISTER_SLUG ))//buddypress
return;if ( bp_is_register_page() || bp_is_activation_page() || is_page(‘welcome’) ) //buddypress
return;$this->exclusions = array(
‘wp-login.php’,
‘wp-signup.php’,
‘wp-register.php’,
‘wp-activate.php’,
‘wp-cron.php’, // Just incase
‘wp-trackback.php’,
‘wp-app.php’,
‘xmlrpc.php’,
);
It appears to be working… Do you have any thoughts on the above? Thanks
July 5, 2010 at 7:58 pm #84302Jeff Sayre
ParticipantAll forum postings — except those from private groups, are displayed in the site wide forum stream. So, your posting was visible for awhile. It just gets pushed down if there are no replies. I suggest keeping your discussions within that group’s forum.
July 5, 2010 at 2:52 pm #84288In reply to: Individual Privacy settings for group areas
rich! @ etiviti
Participantjust look at the core files bp-groups.php and the function
groups_setup_nav()from there you’ll see how bp sets the current access for most subnav items
look for this line -> // If this is a private or hidden group, does the user have access?which is referenced on line 206/7 for the Forums subnav. What you can do is remove the subnav (
bp_core_remove_subnav_item) then re-add with the paramuser_has_accesscalling some function to determine the access level for your given requirements. (hook your remove/re-add on the actiongroups_setup_nav)July 3, 2010 at 5:48 pm #84127@mercime
Participant“You can only update the groups you’re a member of.”
That’s the idea, one way to prevent spammers from messing with your group.Do you mean you want to allow anyone to post status updates even in private (by invitation only) groups or only in public groups?
-
AuthorSearch Results