Search Results for 'private'
-
AuthorSearch Results
-
August 28, 2016 at 6:56 pm #258149
In reply to: [Resolved] Create shortcode for link to post author
August 26, 2016 at 9:07 pm #258101In reply to: New Privacy Plugin
danbp
ParticipantWe’re cross-posting ! đ Hope you can follow !
– As non logged visitor, when i’m on a user profile who hasn’t set anything i don’t see Private.
– If i’m on a profile having a friend privacy setting, i see it.
– If on a profile set for “only logged in users”, i’m redirected to register.August 26, 2016 at 9:01 pm #258099In reply to: New Privacy Plugin
Fencer04
ParticipantThank you for the clarification. The “Private” tab should not appear unless you are being blocked. I posted an update that resolves that issue as well as some related to the Friends Component not being activated.
Can you install that and let me know if you still see Private all the time?
August 26, 2016 at 8:38 pm #258098In reply to: New Privacy Plugin
danbp
ParticipantIs it appearing all the time for you?
Yes !
If i see a direct access to a functionality like Add as Friend on the profile header, why would i go to a tab labeled Private to do that ? That’s not very logic imo.
When i go to a profile, i see the header first and (depending whats used on the site) a more or less long buddynav menu. đ
No worry about the notice. I don’t activate wp_debug on a production site.
August 26, 2016 at 7:02 pm #258095In reply to: New Privacy Plugin
Fencer04
ParticipantI really appreciate the review. I’ll look into the error on a fresh install and see what happens. I have a question about the “Private” button.
This should only appear if the person has selected Friends only. Is it appearing all the time for you?
Can you explain this comment further:
â the original BP Add as friend button on profile header or members directory is still there. This means that there is no need to go on Private tab to ask forfriendship.
This is a little confusing !I’m not sure what you mean by this. Why is having the button in two places no good?
I agree with the location of the settings. That is on my list of changes to make shortly.
August 26, 2016 at 6:57 pm #258094In reply to: New Privacy Plugin
danbp
Participanthi @fencer04,
thank for sharing your work. Well done, but it needs some revision (sorry).
At his activation on 2 test sites (one with 4.5.3/bp 2.6.1, other 4.6/bp2.6.2) i got a notice.
Array to string conversion inbuddypress/bp-core/classes/class-bp-core-nav.php on line 279fromsbpp04_privacy_check( ) ..\plugin.php:525 sbpp04_privacy_redirect( ) ..\buddypress-profile-privacy.php:176 bp_core_remove_nav_item( ) ..\buddypress-profile-privacy.php:184 BP_Core_Nav->delete_nav( ) ..\bp-core-buddybar.php:798Another point concerning UI/UX is the Private button appearing on buddybar.
On this tab, a default message says Friends Only.
USERNAME has chosen to limit profile access to friends only.
That’s wrong! Because this appear on each profile, even if the owner hasn’t setup anything about his profile privacy.So far i understand its fonctionality, this plugin let each member decide to show or not his whole profile page to friends or members only or to everyone (bp default).
– imo this tab should show “This profile is private” to anybody who is concerned by a privacy setting and should not appear at all if “Everyone” is set.
– the original BP Add as friend button on profile header or members directory is still there. This means that there is no need to go on Private tab to ask forfriendship.
This is a little confusing !If the plugin is to extend profile settings, it should appear in profile settings only. And as it doesn’t superseed BP, there is no real reason to give him an extra tab on buddybar outside of the settings scope. A template notice could be enough to tell visitors what’s going on on such a profile.
Just my 2 cents.
August 25, 2016 at 5:03 pm #258056In reply to: Custom Profile View
danbp
ParticipantNo that’s not possible.
Only Me is very private and visitors or logged in members can’t see the profile in this case.August 24, 2016 at 4:09 am #257956In reply to: Site-Wide Colored Names
Zimm
ParticipantForums, blog posts, private messages, any comments, etc.
August 21, 2016 at 7:41 pm #257846In reply to: How to import a list of members (link needed)
annikathunberg
ParticipantPrivate list
Probably excel or converted to csvThank you for the link!
Yes, I later found out exactly that – that the users are all in wp. Forgot that. For anyone else new, now this thread might clear up a thing or two!
August 21, 2016 at 5:51 pm #257839In reply to: How to import a list of members (link needed)
danbp
ParticipantWich file format do you use for your list ? Where is this list taken from: wordpress, private list,… ?
Pehaps you could use this plugin if you used CSV ?
For more details, check on WP codex how to achieve this task. BP shares users with WP and is not concerned directly by your question.
August 20, 2016 at 10:40 pm #257833danbp
ParticipantTry this:
function mohammad_remove_private_message_button( $button ) { $user_id = bp_loggedin_user_id(); if ( $user_id == '37' ) // the user ID $button = ''; return $button; } add_filter( 'bp_get_send_message_button', 'mohammad_remove_private_message_button', 1 , 1 );More details here:
August 18, 2016 at 1:52 am #257734In reply to: Group with multiple forums?
mlwilkerson
ParticipantThanks for the suggestion, @earl_d. I had tried it already, but at your suggestion, I tried again. I did find one user error on part that was partially responsible for the fact that it didnât work previously (the root group forum had a visibility of âHiddenâ, which breaks makes the topic inaccessible to non-admin users). But still, your suggestion didnât work for me.
TLDR: I got it working, mostly, though not entirely, and not using the approach you suggested, but your suggestion sent me down a fruitful path that ended up working out. See Scenario 4 below. Posting all of this for the benefit (hopefully) of others that may come along some day trying to work through the same issue.
(BTW, the way I interpreted your suggestion was that I should set the top-level group forum to have type=category instead of type=forum. In any case, here are my resultsâŚ)
Versions
- WordPress: 4.6
- bbPress: 2.5.10
- BuddyPress: 2.6.2
Scenario 1:
(a) Create the BP Group without an associated forum.
(b) Separately, later, create a forum with type=category
(c) Go to the BP Group’s settings to try and associate the Forum to the BP GroupFail: The forum drop-down has the category forum greyed out, probably because it’s type=category.
Scenario 2:
(a) Create the BP Group *with* an associated Forum (which will automatically have type=forum)
(b) Separately, later, go edit that new Forum’s type, setting type=category
(c) Navigate to the forum’s page within the group. Sayâs âthe forum is empty.”
(d) Add a new sub-forum type=forum
(e) Create Topic A in the sub-forum
(f) Navigate to the groupâs forum again (as a non-admin user)Expected: Topic A should appear
Actual: Topic A does not appear(g) How about directly linking to Topic A? Maybe Topic A is accessible to the user, but somehow the template simply isnât outputting it under (f) above?
Expected: Topic A should be accessible
Actual: Topic A is accessibleTherefore: the user can see and interact with Topic, but BuddyPress doesnât know about it as being part of the forum.
In retrospect, what seems to have actually happened here is that the original group of type=forum was regenerated and associated with the BP Group. So our topic is probably not showing up in the Group because itâs parent is the sub-forum of a forum the forum that is no longer associated with the group.
Scenario 3:
I thought: If sub-forums donât work, then maybe multiple sibling forums could work. The Settings page for BuddyPress obviously only allows you to attach one forum, though the data model seems to allow for multiples. However, after slogging through the code, itâs clear that the current version of bbPress thwarts the adding of multiple forums. In at least two places that I saw in the code (like includes/extend/buddypress/groups.php), you have something like this:// No support for multiple forums yet $forum_id = (int) ( is_array( $forum_ids ) ? $forum_ids[0] : $forum_ids );So even if you were to completely bypass the user interface and do a hack of some kind to attach multiple forums to the group, this sort of code would thwart the hack.
Scenario 4:
So what if we go back to Scenario 1, but set up the initial group-associated forum with type=forum, instead of type=category. It would then be selectable in the admin UI, or could just be created automatically upon creation of the group.(a) Create a new private group with an associated forum
(b) Go create a new private forum and set its parent to be that initial group forum
(c) Create a topic in the sub-forum
(d) Navigate to the forum within the group as a non-admin userExpected: The sub-forum should be visible and navigable
Actual: It is! The user can click through, see the topic within the sub-forum, and reply on it.Conclusion: Success! This is the best and most functional scenario thus far.
Key differences from what Iâd tried and failed before:
- All forums involved have to be set to Private visibility. If Hidden, then some aspects of this may success, but others will fail.
- The forum that is associated with the group will have to be type=forum, not type=category. But I wrote a little plugin that disallows creation of new topics within a forum, without having to mark it CLOSED (thereby also disabling comments). So this will functionally turn this top-level group forum into a category/container forum anyway
Caveat: I have noticed that when my admin user replies on the topic within the sub-forum, the BP Activity is created as expected (seen in the admin screen under Activities), but it doesnât show up in the BP news feed of my non-admin test user. The other way works, though: if my non-admin user posts a reply to that topic, then this activity shows up in the news feed of my admin user. I need to debug that.
August 17, 2016 at 6:31 pm #257726In reply to: Group with multiple forums?
mlwilkerson
ParticipantI have the same need/concern.
Unfortunately, I think the suggestion from @openring to use https://wordpress.org/plugins/bbp-private-groups/ won’t work. I’ve looked closely at that plugin. It doesn’t seem to have anything to do with BuddyPress groups. Rather, it seems to have to do with creating it’s own role based access groups. So that’s a way of having more access control over your forums, which is valuable in and of itself, but it doesn’t pertain to BuddyPress.
August 16, 2016 at 8:16 am #257656sharmavishal
Participantperhaps this might help
https://wordpress.org/plugins/bbp-private-groups/screenshots/
July 28, 2016 at 4:52 pm #257095In reply to: Profile Search no working in mobile
juanandrius
ParticipantHi Henry Wright,
I solved my problem. i had to unclick this option:
“Only registered or approved members can view BuddyPress/bbPress pages (Private Network).”
and it was fine.
Thanks!!
July 26, 2016 at 8:41 am #257028In reply to: Public posts
NicolasGruwe
ParticipantNo I don’t want to set them private I want them to be public.
I’ll relook in my theme but I didn’t find anything like that
July 25, 2016 at 10:58 am #257007In reply to: Public posts
buddycore
ParticipantSounds like you’re using a theme that’s stopping this or when you publish a post you have it set to private.
It’s more for WordPress forums given posts are a WordPress feature and not a BuddyPress one.
Look at your theme files, index.php and look for anything that looks like it’s making those posts only accessible to logged in users. Something like
is_user_logged_in().July 22, 2016 at 9:41 pm #256949In reply to: How to make users to moderators-groups
danbp
ParticipantAfter chat disruption and sudden 404 errors on all pages, let’s continue here.
All your groups are listed here: http://thebettinguniversity.org/groups/
Most are private and the 2 i found which are public have only one member: the group admin.
I you’re the site admin, you can access to these groups.
If you’re only a group admin, you can only access the group you’re a member/admin of.
You must be logged-in to get access, whatever your status.For more information about groups, read the codex please.
Seems also that you have no member page.
Go to BP settings and check that there is a page for members, a page for group, a page for register and one for activation.Check here:
July 19, 2016 at 1:04 pm #256797In reply to: Registered Members Only Pages?
shanebp
ModeratorHave you tried this plugin: https://wordpress.org/plugins/bp-simple-private/
July 18, 2016 at 2:46 pm #256761In reply to: common forum
danbp
ParticipantThere is nothing to do ! Private groups are even private. If user 1 is only member of group A and NOT of group B, user 1 can only act with group A forum.
Aside, question related to bbPress should be asked on bbPress forum, not on BuddyPress forum.
July 18, 2016 at 5:35 am #256737In reply to: Buddypress plugin use best practices
sharmavishal
ParticipantPrivate niche social network to give an idea of the kind of features that might be indicated
again as i said before. No idea on what kind of features u would be looking at providing to your users
minimize by replacing any plugins that I can with code
that wont help. code or plugin is mostly the same thing IMO if you looking at speed of ur site
July 17, 2016 at 11:10 pm #256723In reply to: Buddypress plugin use best practices
Earl_D
Participant@sharmavishal thanks for the response. I was just trying to describe the kind of site i.e. Private niche social network to give an idea of the kind of features that might be indicated. And the speed thing was my motivation to ask the question. Currently have media uploads chat room and other community oriented features using plugins. I feel like I have too many plugins and want to minimize by replacing any plugins that I can with code.
For instance I recently as able to replace a login redirect and auto join to group plugins with code. Currently working to get my BBP forums styled the way I’d like without using BBP style pack.
So as I am getting deeper into th custom code snippets and flexibility of BP in that regard I was seeking guidance on the best practices for where I could get the most most benefit from using plugin and where best to use code. What I don’t want to do is invest time tracking down and implementing code when it is better to just use a plugin.
Thanks again for the response and any insightsJuly 17, 2016 at 8:47 am #256700In reply to: Buddypress plugin use best practices
Earl_D
Participant@sharmavishal thanks for the reply. the site is a private (must register and be approved) niche social network with WP BP and BBP. My concern is to find a balance between speed and the use of plugins while delivering the features that make for a good experience for my users.
July 12, 2016 at 7:49 am #256522In reply to: How to hide profile menu items from other users
marcono
ParticipantThx *danbp*
With define( ‘BP_GROUPS_DEFAULT_EXTENSION’, ‘members’ ); the default tab for all groups (private and public) DOES change.
But if the user is not a member of a private group, he cannot see the group’s page to request a membership. However, if the user is already a member of private group, of course everything is OK and the default tab is changed as the same as the public groups.
If I don’t remove ‘home’ tab in the group pages, then everything is fine though!July 12, 2016 at 7:32 am #256520In reply to: How to hide profile menu items from other users
danbp
Participantof course that define works also for private groups ! Has nothing to do with group status.
If it really dosn’t work for you, you have an error somewhere, but current home tab is not related to group privacy. Members access is restricted, not the output.
define( 'BP_GROUPS_DEFAULT_EXTENSION', 'members' ); -
AuthorSearch Results