Search Results for 'private'
-
AuthorSearch Results
-
April 11, 2013 at 8:58 pm #161361
In reply to: [Resolved] hide profile from non-logged-in users
bp-help
Participant@scotm
Strange, it works perfect for me. Maybe its a plugin interfering because on my install I only have BP, BBPress, and Private Community activated. If I log out it redirects me to the registration. If I click the forum nav button it redirects me to registration as well. Do you have other plugins installed besides the ones I listed?April 8, 2013 at 10:59 pm #160409azchipka
ParticipantOk so I managed to find a backwards way of doing it because I needed to be able to do the same thing. Your going to need two plugins.
1. Your Preferred Role Management Plugin. I like Capacity Manager Enhanced
2. Buddypress xProfiles ACLSTEPS
1. Use your role manager to create some new roles. Name them what ever you want.
2. Go into the Users -> Profile Fields
3. Create a Field Group for your Restricted Items (not the primary one).
4. Go to the Settings -> xProfile ACL
5. Put your Field Group that you only want the Admin to be able to edit for the admin only.
6. Now this is important you need to modify the xProfile ACL php file (yes I know this makes it a hack, if xProfile ACL is updated you will lose this setting.)
6a. Go to line 240 of the buddypress-xprofiles-acl.php file. Comment out lines 240 – 249, the code you are commenting out is:`
function filter_xprofile_groups_with_acl() {
global $bp, $profile_template, $current_user;
get_currentuserinfo();
foreach($profile_template->groups as $key => $profile_group) {
if( ! in_array($profile_group->id, $this->user_allowed_xprofile_groups) ) {
unset($profile_template->groups[$key]);
}
}
}
`6b. Below the code you just commented out add:
` function filter_xprofile_groups_with_acl() {}`7. Save your changes to the buddypress-xprofiles-acl.php file.
8. Now when ever you need to modify the fields log in with your admin account navigate to the user profile in buddy press and select Edit Member Profile from the tool bar. You will see the fields from the private group. Users will see the fields but when they select edit they will not be displayed.
Hope this helps.
April 8, 2013 at 8:35 am #160277In reply to: Subject field in private messages
Henry
MemberIt might also be worth removing both the subject column from members/single/messages/messages-loop.php and the h1 heading from members/single/messages/single.php
Users won’t then see “private message” for every message they get sent.
April 6, 2013 at 10:22 pm #160151In reply to: Filter on activity stream content.
antonchanning
ParticipantAlso I found the other hook I was looking for, so I can apply the shortcodes to private messages. It turned out I can use `bp_get_the_thread_message_content` for that.
April 6, 2013 at 9:23 am #160067In reply to: Filter on activity stream content.
antonchanning
ParticipantIn addition, a filter on displaying private messages in a similar manner would also be useful…
April 2, 2013 at 1:34 pm #159679In reply to: Show private groups in forum directory.
b1gft
ParticipantI want it as a teaser, so people will join the site to read the forum posts. They show private groups on the activity page, is that silly?
Thanks for the links
April 2, 2013 at 12:24 pm #159670In reply to: Show private groups in forum directory.
danbpfr
Participantthe silly answer would be: make them public !
Private is private. Even group discussions.
A tech answer probably sit here: https://buddypress.trac.wordpress.org/ticket/2576
And at least, the codex: https://codex.buddypress.org/user/setting-up-a-new-installation/group-settings-and-roles/March 31, 2013 at 2:23 am #159239In reply to: [Resolved] hide profile from non-logged-in users
bp-help
Participant@aldereteka
Try this:
https://github.com/bphelp/private_community_for_bp
edit it to meet your requirement.March 30, 2013 at 4:58 am #159213In reply to: Sending private messages to non-friends
bp-help
Participant@jrgiblette
Yes, as far as I know sending private messages with folk your not friends with is still out of the box, you would need custom code or a plugin to prevent it. Unless the core developers integrated it with the core in BP 1.7rc1 which I have not tested extensively yet then most likely you will need custom code if you decide to prevent it. If your fine with non-friends sending non-friends messages then that is default behavior.March 29, 2013 at 5:52 pm #159195In reply to: [Resolved] hide profile from non-logged-in users
aldereteka
ParticipantHey @Chouf1
Can your code be modified for private messaging? I’m trying to make the private message button on profiles visible when someone is logged out, but redirected to log in/register when a logged out/unregistered user attempts to contact someone. Can anyone point me in a general direction?
Thanks.
March 29, 2013 at 2:58 pm #159085In reply to: How to make a private community?
Hugo Ashmore
Participant@mr_yoshimura ‘heads up’ ? how is this helpful or informative? what doesn’t work? What, if anything, have you done to try and narrow down the problem, do you need any help from the community to try and get it working or see what your issue is with it?
March 29, 2013 at 2:09 pm #159084In reply to: How to make a private community?
mr_yoshimura
ParticipantHeads up! The plugin doesn’t work for my site: http://www.bobyorke.com
March 29, 2013 at 11:27 am #159079In reply to: How to make a private community?
Gargoyle297
ParticipantGreat Job Boris!
A bit late but… thanksMarch 27, 2013 at 7:28 pm #158775In reply to: Create private membership site with BuddyPress
bp-help
Participant@studiomgr Have you tried this one yet:
https://github.com/bphelp/private_community_for_bp
It is only designed to block buddypress pages, I use it and it works good for me.March 27, 2013 at 6:36 pm #158771In reply to: Create private membership site with BuddyPress
studiomgr
ParticipantI have the same problem with all my pages being visible, even though I blocked them through wp-members settings. I tried installing this plugin, but I still have all pages visible – but now they have error messages. I have tried several plugins to no avail – wp-members was supposed to block pages, but that doesn’t work. I also used BP-registration options, but it doesn’t work well. I am looking at possibly trying the bp-custom.php fix suggested here: https://codex.buddypress.org/developer/customizing/bp-custom-php/. I am not a pro – just looking for the simplest way to create a membership site and block pages from users who are not members and logged in. Would appreciate any guidance! Thanks!
March 25, 2013 at 6:38 pm #158044bp-help
ParticipantMaybe this is also covered by #1 but I think @shanebp ‘s blocking a member would be awesome as well as @r-a-y ‘s plugin to keep non-friends from sending private message’s, I also liked @modemloopers extended settings plugin when it was free. Overall I really would like to see privacy features taken to the next level. Me being a novice at coding though, all I can do is make suggestions and hope the real coders take the idea and make it a reality! Thanks!
March 24, 2013 at 4:08 am #157589In reply to: New Private Community Plugin For BP
bp-help
ParticipantI updated this so if your using an older version download, upload, and activate it. It fixes a bug but I don’t feel my skills or the plugin is polished enough yet to submit it to the WP Repo. Still works decent though.
https://github.com/bphelp/private_community_for_bpMarch 24, 2013 at 4:02 am #157588In reply to: New Private Community Plugin For BP
bp-help
Participant@halfdan87 I think your issue would be better suited by starting a new thread. I am fairly new at this myself and being that your issue seems to be more of a custom theme issue than to do with the plugin then it isn’t appropriate for this thread. In general I just think you would get more help by opening your own thread to see if more experienced folk can help sort your issue.
March 22, 2013 at 8:17 pm #157508In reply to: Group Join Password
@mercime
Participant@brashell61 as posted in WP Forums, You’d have to make the group private. Then you would need a custom plugin created for joining a group via password.
March 22, 2013 at 8:08 am #157471In reply to: New Private Community Plugin For BP
Halfdan87
ParticipantGood morning @bphelp,
thanks four your reply :). I checked if there is some white-space (you mean in the design.php am I right?). Here is the code of the design.php – I think the problem is, that the design.php starts with the following code:
<!doctype html>
<?php global $theLayout, $theHeader, $themePath, $theFooter, $body_color, $header_color, $footer_color;?>
<!–[if lt IE 7 ]> <html lang=”en” class=”no-js ie6″> <![endif]–>
<!–[if IE 7 ]> <html lang=”en” class=”no-js ie7″> <![endif]–>
<!–[if IE 8 ]> <html lang=”en” class=”no-js ie8″> <![endif]–>
<!–[if IE 9 ]> <html lang=”en” class=”no-js ie9″> <![endif]–>
<!–[if (gt IE 9)|!(IE)]><!–> <html class=”no-js” <?php language_attributes(); ?>> <!–<![endif]–>
<head>
<?php get_header(‘default’);?>
</head>Do you think that’s the problem? If yes, do I have an chance to get a workaround with this?
Thank you
March 21, 2013 at 11:20 pm #157444In reply to: New Private Community Plugin For BP
bp-help
Participant@halfdan87 Sounds like you may have introduced some white-space when you copied the code. Make sure there is no white-space lines before or after the opening and closing PHP tags.
March 21, 2013 at 11:07 pm #157442In reply to: New Private Community Plugin For BP
Halfdan87
ParticipantHi @bphelp,
first I want to thank you for your plugin :).
I have one problem with it and I think it belongs to my theme and my not existing php-skills :). Perhaps you can help me? I was searching for a solution the last two days, but without success. So I will try my luck here.
I tried to activate the plugin over wordpress and in a second step I copied the needed code to my child themes functions.php, but I always get the following error:
Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/themes/theme/design.php:2) in …/wp-includes/pluggable.php on line 876
I found some solutions for such errors, but nothing works for me.
Many thanks in advance
Greetings
March 20, 2013 at 4:55 am #156841In reply to: accessing private groups
John James Jacoby
KeymasterSince your site was compromised, and you are the resident expert with your configuration, we rely on you to fill in any gaps that you can.
If you get to the point where you’ve identified a clear and repeatable security issue with WordPress, BuddyPress, bbPress, or any other plugin, let is know by checking out the following page:
https://codex.wordpress.org/FAQ_Security
Thanks, and good luck.
March 19, 2013 at 11:38 pm #156826In reply to: accessing private groups
douglance
ParticipantI believe the person was using a program to access the content, as I have access to a cropped screen grab of the content from them and it doesn’t look like my site.
March 19, 2013 at 11:35 pm #156825In reply to: accessing private groups
douglance
ParticipantCan we figure this out? There must be a method for third parties to gain access to private groups, as it has occurred on my site.
I running the latest versions of WP and BP.
I use a modified version of ElegantTheme eStore.
I use WP eMember to protect content.
I don’t believe any other plugins could conceivably conflict with this issue.
-
AuthorSearch Results