Search Results for 'private'
-
AuthorSearch Results
-
February 16, 2015 at 5:07 am #234546
In reply to: Private messaging user blocking/ignoring?
majecdad
ParticipantHey,
@shanebp as I understand it, your plugin serves as sort of a ‘blacklist’ where you can block any user in a variety of ways. Have you considered making it the other way around? Whereby ALL other users were blocked from sending a Public or Private Message *unless* the User clicked on a button that added the other user to a ‘whitelist’?If the user B clicked on a ‘Message’ button, they would be precluded from sending a message to User A unless User B had already been whitelisted by the recipient/User A. Maybe with the attempt generating a prompt to User B to submit a whitelist approval request to User A.
Maybe something like this already exists?
Something for consideration. Thoughts?
Thanks.
February 11, 2015 at 4:43 pm #234310In reply to: How to hide member page from logout users?
bp-help
Participant@buddies
If after following Hugo’s advice does not resolve your issue then place the below snippet in bp-custom.phpfunction bphelp_members_page_private_redirect() { if ( bp_is_members_component() ) { if(!is_user_logged_in()) { bp_core_redirect( get_option('home') . '/register' ); } } } add_filter('template_redirect','bphelp_members_page_private_redirect',1);
Good luck!
February 11, 2015 at 4:00 pm #234304In reply to: How to hide member page from logout users?
Hugo Ashmore
ParticipantThis is a question for S2 Member then and you should check it’s extensive documentation on how to block pages, if that proves unsuitable for your purposes then check back here and people can point you in the right direction to write custom functions to make pages private.
February 11, 2015 at 12:17 am #234252In reply to: Me and my friends activity steam?
mcpeanut
Participant@bphelp does this also stop public groups from displaying in your activity stream if you are not a member too?
the reason i ask you this bphelp is because remember the old plugin you was working on (i think it was a fork of some code rich fuller posted a few years ago) which was named “activity-privacy-component” ? you left it on github and described it as a jurrasic plugin because of the new plugin “buddypress activity privacy plugin”.
Well that very same “Jurrasic plugin” still works very well today and is still far far far more superior at keeping your stream private compared to the plugin you said was better.
The only one thing that the old “activity-privacy-component” plugin doesnt do is keep the public groups you are not a member of from out of your private stream.
February 9, 2015 at 11:23 pm #234209mrjarbenne
ParticipantA potential implementation could have each class set up as a Private or Hidden Group. Each teacher attached to the class could be added as either an admin or a moderator of the group, giving them access to these private spaces.
We have used that in our school board with great success.
February 9, 2015 at 7:42 am #234169In reply to: Modify the activity loop
deshmukh
Participant@danbp this is intentionally another reply. Again, this is likely to be lengthy. So, please bear with me.
Consider member1 is a member of private group PGA, and public group GB.
site.com/activity includes updates in GB, and updates by other members.
members/member1/activity/groups/ includes updates in PGA and GB.I wanted to merge the two — without duplicating content from GB. Any way to achieve that? Its perfectly OK if we can get that feed at site.com/activity or some other URL.
On a side note, the advantages are:
An one place, member1 gets to see ALL updates (whether private or public) AND we avoid duplication (GB is displayed both at site.com/activity and members/member1/activity/groups).February 8, 2015 at 6:08 pm #234135In reply to: Error after updating to buddypress 2.2.0
Magic-Komplex
ParticipantTheme: Weaver II
Plugin-list:
Agreeable
amr shortcode any widget
bbp Private Forums Visibility
bbPress
bbPress – Unerwünschte Inhalte melden
bbPress Advanced Capabilities
bbPress Direct Quotes
BbPress Notification
bbP Signature
Beautiful Widget CK
BuddyPress
BuddyPress – Private Aktivitäten
Facebook Like Box
GD bbPress Attachments
GD bbPress Widgets
Google XML Sitemaps
Invite Anyone
Login With Ajax
Page Links To
Page Restrict
PayPal Donations
Privates BuddyPress
Q and A FAQ and Knowledge Base for WordPress
rtMedia for WordPress, BuddyPress and bbPress
Super Socializer
Use Google Libraries
Weaver II Theme Extras
WordPress Backup to Dropbox
wp-MonalisaI know that’s quite a lot of plugins, but how can I reduce them, if I need the functionality? Is it possible that the problem comes from just too many plugins?
February 8, 2015 at 2:36 pm #234127milenushka
ParticipantYes.
If the admin is creating the groups and forums there is no problem (well if he knows this is an issue),
but if the members are creating groups and later want to change groups settings to “private”, they have no control over the forums’ privacy. And that leaves them confused or if sensitive info was shared in the forums, upset too.So, yeah, something needs to be done.
thank you for looking into this @henrywright.
February 8, 2015 at 2:26 pm #234125In reply to: Forum in private groups
milenushka
Participant@melle328 I can confirm this,
see the thread I opened
https://buddypress.org/support/topic/buddypress-private-group-forums-showing-up-in-activity/#post-234122February 8, 2015 at 2:20 pm #234123Henry Wright
ModeratorHi again @milenushka
So you’re saying if a public forum is added to a private group then you’d like that forum to automatically be made private?
February 8, 2015 at 2:17 pm #234122milenushka
ParticipantOk, I can confirm the issue now.
If a group is created as private and a forum is created with it- it will be a private forum and its activity will remain invisible to non group members.
If a private group is created and an existed forum is added to it- this forum need to be changed to private- otherwise the forum will remain public, even though the group attached to it is private- and the activity of the forum will be public.
Same goes for a public group+ forum , that is created together and later group setting are set to private. Forum remains public- forum’s activity -too.
Is there something to be done with the buddypress-bbpress integration to make this work?
Creating a function that will make a forum private too- if the group it was attached to becomes private? @johnjamesjacoby
https://buddypress.org/support/topic/bugs-between-bbpress-and-buddypress/February 8, 2015 at 12:28 pm #234119milenushka
ParticipantHi @henrywright,
I am using buddyboss (child theme), tested it with default wp theme and buddyboss parent.
I also found this thread https://buddypress.org/support/topic/forum-in-private-groups/ started a few weeks ago, and I think @melle328 is right, this happens if the group is first set as public and later changed to private or as in my case- group forum is set to public first and then chosen as the private’s group forum.
So far it seems that if users create a group and a forum and later change their settings- the activity privacy is not updated. I keep testing different options as we speak, so I find something new, I will post it too.
February 8, 2015 at 6:00 am #234110In reply to: Noob recommendations
devbynature
ParticipantThank you for your reply.
I figured that it would be the best place to ask prior to going down the rabbit hole with the BuddyPress documentation and website. It’s been labeled as rather archaic, cryptic, and unreadable by many people that I asked for advice. I contribute to several other open source projects and might jump in on your docs/forum if the platform seems like something that will be handy for me in the future.
As for the project being a copy, it’s really just identical in feature sets but not a literal copy of the site. Design is very different and it’s not dog sitters that are members. This site is for parents and babysitters which is highly similar to dogvacay.com in feature set. Yep, their site is built in Java. ::vomits a little::
The key features that need to be included:
– two member types (parents and babysitters)
– they should be able to message each other privately
– parents can schedule a date for the sitting to happen
– parents can browse babysitters
– custom profiles for each with different sets of information (based on a conditional of type)It appears that I was able to answer my own question over the past few days by utilizing the codex and going through all of the code. BuddyPress looks to be the best option for handling all of this unless I was to custom code a plugin (I am actually a PHP developer NOT a wordpress dev). I was looking at utilizing BuddyPress for cutting down time by using the friend associations and messaging system.
BP might be a little much for this project but I can see value in several features that they might want in the future.
I apologize for posting this in err to this forum if it’s not really a good place for asking whether it’s a good platform for such a situation. All of the documentation/about is written in a fashion that presents it as useful in only one way. It made it rather difficult to decipher how I could rip the plugin apart to do what I need instead of using it as “out-of-the-box.”
Might there be some advance blogs out there where people have written about different ways to use the plugin? Just so that I can dig into the community a little more.
Have a nice day.
February 7, 2015 at 5:00 pm #234070In reply to: Modify the activity loop
danbp
ParticipantGive this a try (functions.phhp or better, bp-custom.php) This will force the chronology of the blog post.
Since recently (1.9 ?), a post published the 5th january is in the SWA at this date. A comment added to it the 26 january is attached to this post and appears under the 5th swa log…. so it’s just impossible to see if you have a long SWA.
This snippet revert the swa to the previous behave.
Posted: 5th -> swa: 5th
Commented: 26th -> 26thfunction bpfr_stream( $qs, $object ) { if ( 'activity' != $object ) { return $qs; } $qs = wp_parse_args( $qs, array() ); $qs['display_comments'] = 'stream'; return $qs; } add_filter( 'bp_ajax_querystring', 'bpfr_stream', 20, 2 );
Private groups activities are not visible on the SWA. They show only on that group, if user is member and logged in.
Hope that helps? 😉
February 6, 2015 at 5:27 am #233908In reply to: Private messaging user blocking/ignoring?
mrjarbenne
ParticipantAnother option might be something like this: https://wordpress.org/plugins/buddypress-private-message-for-friends-only/. I haven’t used it myself, so I’m not positive it still works.
February 5, 2015 at 8:06 pm #233821John James Jacoby
KeymasterI gave the Role bp_moderate but that did not solve the issue. There must be some other check that needs to be passed for these menu items to show up.
You may want to put a late filter on
map_meta_cap
to ensure it’s truly getting added, and not getting stomped or mapped back tomanage_options
.Maybe a compromise could be found and some new functionality for the front end could be introduced that allows you to assign someone as Group Admin. I think i am not the only one that sees value in that Role especially in a big community where you have the need to moderate but do not want to give people access to the backend or higher Administrative privileges.
You’re on the right track. Each component could (and maybe should) come with its own hierarchy of roles. Just because someone can manage users doesn’t mean they can manage groups, if that makes sense?
I also don’t quite understand why a Group admin could not be derived from one of the Forum Roles. A forum Moderator or Keymaster should be able to moderate all Forums incl. the private group ones and could subsequently also be allowed to manage all groups.
Anything is possible, but I’m not sure this approach is a safe assumption for all installations. At least not in its current iteration.
All good ideas. Thanks @ubernaut for the bump.
February 5, 2015 at 4:15 am #233673Topic: Private messaging user blocking/ignoring?
in group forum Requests & Feedbackdonburikun
ParticipantBuddypress 2.2 was just released today with a couple of great new features.
Are there any plans to add user blocking/ignoring (silent block) to private messaging to address spammer and harassment issues? This is really one of the must have missing features for Buddypress.February 4, 2015 at 12:49 pm #233551In reply to: Modify the activity loop
Henry Wright
ModeratorI do not want to ‘add’ new activity. I just want that when one visits example.com/activity, it displays… …all updates in private/ hidden groups where the concerned person is a member (this is NOT displayed currently.) How do I do that?
You have to ‘add’ the new activity.
Regarding the second bullet point, you’d need to modify your activity loop which will be inside your activity template. Try something like this:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&display_comments=stream' ) ) : ?> <?php while ( bp_activities() ) : bp_the_activity(); ?> <?php locate_template( array( 'activity/entry.php' ), true, false ); ?> <?php endwhile; ?> <?php endif; ?>
For more info on the BuddyPress template system and where you find your activity template, please see this article.
February 4, 2015 at 12:31 pm #233547In reply to: How to get user id of activity
Henry Wright
ModeratorIn the case of private messages,
bp_get_the_thread_message_sender_id()
is the function you should be using. The problem might be related to where you’re calling from (i.e. the member’s ID might not be accessible at the point where you are using the function).For example, the
bp_get_the_thread_message_sender_id()
function must be used within a single message thread. Used anywhere else, it will return0
.February 4, 2015 at 9:56 am #233545In reply to: How to get user id of activity
ARCangelGIRL
ParticipantThank you for your answers! Looks like that I did not describe clear what is my problem, because what I tried from you suggestions it did not work.
There is the code that I’m using to generate “Give a point” button”
function one_star_points() { if ( ! function_exists( 'mycred' ) ) return; $current_id = get_current_user_id(); $profile_id = bp_displayed_user_id(); if ( $current_id == $profile_id ) return; echo '<div class="award-star-rating-img">'; echo do_shortcode( '[mycred_send to="' . $profile_id . '" amount="1" ref="tip" log="Tipping"]Give a point[/mycred_send]' ); echo '</div>'; } add_action( 'one_star_points_button', 'one_star_points' );
To give points in user profile I used
$profile_id = bp_displayed_user_id();
To give points in forum I used$profile_user_id = bbp_get_reply_author_id();
But i bumped into a problem when I want to give points to user in activity stream. I placed the button near every activity stream entry, so the user could give a point if the like what other user posted in activity stream. I used this code
$profile_video_id = bp_get_activity_user_id();
There is no error or warning, but it’s not working, not giving points.Also I would like to give a point if I like private message answer that other user send me. I used this
$profile_message_id = bp_get_the_thread_message_sender_id() ;
, but it says that “Missing the recipient for this shortcode.”.Looks like that in the last two cases (activity stream and messages) something is wrong with indicating user id.
Any recommendations on this? I have tried many functions, but still can’t grab user ID in those last two..February 4, 2015 at 9:31 am #233543In reply to: Modify the activity loop
deshmukh
Participant@henrywright I do not want to ‘add’ new activity. I just want that when one visits example.com/activity, it displays all profile updates (these are displayed even now), all updates to public groups (these, too, are displayed currently) AND all updates in private/ hidden groups where the concerned person is a member (this is NOT displayed currently.) How do I do that?
Also, I understood the second part re threads with new comments coming to top. But could you please elaborate a bit? Do I need to add some code to bp-custom.php or mytheme/function.php? In this specific case, what code should I add?
I am sorry if my question appear to be basic. I am a newbie — I like to guess, like many others coming to forums 🙂
February 4, 2015 at 1:31 am #233533In reply to: How to make section of profile private?
screampuff
ParticipantAlso my site is private and can only be accessed when logged in, so I’m wondering if I can edit line line 47 in that same code to include the user check and simply display the “Invalid User ID specified.” If someone tries to view another user’s achievements list. That would be fine with me.
I’m still new to WP/BP and PHP in general if you haven’t noticed 😉
February 3, 2015 at 8:42 pm #233512In reply to: How to make section of profile private?
Henry Wright
ModeratorHi @screampuff
You can make that link private by doing something like this:
function screampuff_hide_achi() { // Bail if the current user is the displayed user. if ( bp_loggedin_user_id() == bp_displayed_user_id() ) return; // Bail if the current user is an admin. if ( current_user_can( 'manage_options' ) ) return; // Bail if not the achievements page. if ( bp_current_action() != 'achievements' ) return; // Redirect. wp_redirect( home_url() ); exit; } add_action( 'template_redirect', 'screampuff_hide_achi' );
Please note I haven’t tested. Also, I’m assuming the current action is ‘achievements’. It may be something else in which case the function will need a minor tweak.
January 31, 2015 at 3:34 pm #233216skyrant
ParticipantJohn, Thank you for the pointers.
I gave the Role bp_moderate but that did not solve the issue. There must be some other check that needs to be passed for these menu items to show up.
Maybe a compromise could be found and some new functionality for the front end could be introduced that allows you to assign someone as Group Admin. I think i am not the only one that sees value in that Role especially in a big community where you have the need to moderate but do not want to give people access to the backend or higher Administrative privileges.
I also don’t quite understand why a Group admin could not be derived from one of the Forum Roles. A forum Moderator or Keymaster should be able to moderate all Forums incl. the private group ones and could subsequently also be allowed to manage all groups.
Just my 2 cents. let me know what you think.
January 26, 2015 at 11:07 pm #232996In reply to: avatar does not show
Alocin82
ParticipantHi,
i tried …and nothing change…
Any idea?
Thanks Nicolaif you think u can help me..we can private and let me know about your prices.
-
AuthorSearch Results