Search Results for 'private'
-
AuthorSearch Results
-
May 6, 2013 at 8:25 am #163486
Hugo Callens
ParticipantI use a child theme derived from the default team, only changing the visibility of the menu as explained in //https://buddypress.org/support/topic/resolved-hiding-navigation-links-for-buddypress-pages-for-non-registered-users/
When I use the default theme as such, it still doesn’t work.
I also tried to change the user’s role to author; still no luckā¦May 6, 2013 at 1:26 am #163481@mercime
Participant@prettiggeleerd what theme are you using? Have you tried changing to BP Default theme to check if it works?
May 3, 2013 at 9:12 pm #163364In reply to: walled garden and bbpress
bp-help
Participant@valuser
Hey thanks for spotting the bug. I just updated the plugin to 1.4 so read the readme.txt and install it to check and see if the added code takes care of the issue. Thanks!
https://github.com/bphelp/private_community_for_bpMay 3, 2013 at 7:26 pm #163361In reply to: walled garden and bbpress
valuser
ParticipantMay 3, 2013 at 9:22 am #163330Hugo Callens
ParticipantSimilar problem here: WP 3.5.1 multisite + BP 1.7.1
When admin accepts membership requests all works well; new members are added to the group list. But the new member doesn’t actually get access and still gets a message that says “this is a private group, request memberhip”.
I also use the DB Cache Reloaded Fix plugin.May 3, 2013 at 2:58 am #163297In reply to: BuddyPress Activity Privacy Plugin
G
ParticipantNice plugin. Is it easy for you to include function in this plugin to do either of the following:
* Automatically block (or make Private) the listing of posts in Activity from specific blogs on the network.
* Automatically block (or make Private) the listing of posts in Activity from specific users of the network.
I have been trying to do this for a long time but no such plugin or feature is available yet.
Thankyou.
May 2, 2013 at 11:37 pm #163290kraigg
ParticipantI spent a few hours creating a development version and testing, but I still can’t get it to hide private discussions from the activity stream.
Here is what I tried so far:
– Deactivated all plugins except BuddyPress and bbPress, to see whether it is a conflicting plugin issue
– Reverted back to default BuddyPress theme
– Set the group to public, then back to private againThe only strange thing I’ve found so far is when I go into the database. Inside the bp_activity table, the discussions from private groups all have “hide_sitewide” = 0. If I set hide_sitewide for these discussions to 1, the topic no longer appears in activity stream. But where does hide_sitewide originally get set?
May 2, 2013 at 12:57 pm #163241kraigg
ParticipantThanks Hugo, I tested it with all plugins deactivated except for BuddyPress and bbPress, and the problem persists. I’ll need to test it with the default theme as well, and possibly revert back to BuddyPress 1.6 to see if it still happens.
The only change I made recently was update to BuddyPress 1.7 and change from sitewide forums to group forms.
I’ll have another test and see what I can find. Thanks for putting me on the right path
May 2, 2013 at 12:41 pm #163240Hugo Ashmore
ParticipantThis should have dealt with quite a few versions back so something may have crept back in. If you can ensure this isn’t some odd plugin issue and that this definitely wasn’t happening in 1.6 please open a ticket on http://buddypress.trac.wordpress.org using your site credentials.
I will just add though that a quick test on a local install running trunk does NOT show any issue like this, so check carefully it isn’t plugin issue also scan through trac to see if there was a recent ticket and fix put in place.
April 30, 2013 at 8:24 am #163066In reply to: Issues getting Buddypress working,
feeldesign
ParticipantHi
Thanks
I’d already tried that and nothing
Did it again so yo ucan see. The register page link form “create an account” is wrong, the page is http://retiredandkicking.com/index.php/register/ but it’s looking for http://retiredandkicking.com/register/
How do I correct this? Is the register page supposed to have content, as it seems to have none at all
Can I pass login details privately?
JamesApril 29, 2013 at 1:16 am #162971In reply to: Church announcement board
aces
ParticipantApril 28, 2013 at 6:45 am #162902bp-help
ParticipantTry this plugin to see if it fits your requirement just understand it makes all BP pages private but line 24 in private-community-for-bp.php can be edited and commented out the components you don’t wish to protect there is an example built in the plugin for sitewide forums to see how to comment certain components out:
https://github.com/bphelp/private_community_for_bpApril 27, 2013 at 5:30 pm #162886In reply to: Private Message Button in Member List Loop
Henry
Member@shanebpdev
For the life of me I cannot figure out why it doesn’t work for the friends loop. Am I missing something glaringly obvious?
Anyway I thought why not just build the link and throw it directly in the friends template?
echo wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . bp_core_get_username( bp_get_member_user_id() ) );April 27, 2013 at 3:29 pm #162881In reply to: Private Message Button in Member List Loop
shanebp
ModeratorI’m not going to spoon-feed this to you.
But you’re on the right track.
( I should have said ‘ The clue is in your reply…’ )
You’ve found what is the same in those two situations.
So what is different about them ?Sometimes it’s easier to start anew.
For example – instead of ‘how to I change this to do that’, start with ‘how do I do that’.Use echo to confirm the required variables.
Use var_dump to expose all the fields in objects.April 27, 2013 at 2:40 pm #162878In reply to: Private Message Button in Member List Loop
Henry
Member@shanebp you mean the bp_directory_members_item is different? That is the same in both the members directory and the friends list (both use the members loop)…
April 27, 2013 at 2:00 pm #162876In reply to: Private Message Button in Member List Loop
shanebp
Moderator@henrywright-1
What’s different? The answer is in your reply “Thanks for that… ”
@valuser
That usage makes sense and has been mentioned by others.
But it’s not a simple tweak.
And would require an admin screen so you could choose to show / not show the button in loops.
And etc. etc.
I’ll write an article in the next week or so on
PhiloPressApril 27, 2013 at 11:17 am #162868In reply to: Private Message Button in Member List Loop
valuser
ParticipantThanks for function https://gist.github.com/shanebp/5391229
works bp 1.7, wp 3.5.1, bbPress 2.3.1 Theme: Child of bp Befault
Any chance that it might call up your BP Profile Message UX 1.1.3
April 27, 2013 at 10:30 am #162865In reply to: Private Message Button in Member List Loop
Henry
MemberInterestingly I just tried this outside of the members loop. It doesn’t work on the friends list page. What is different about the friends loop and the members loop for this not to work? Humm…
April 27, 2013 at 9:13 am #162863In reply to: Private Message Button in Member List Loop
Henry
MemberThanks for that! I can see now you’ve created a new function display_private_message_button which hooks on to action bp_directory_members_item in the members loop. Sorry for being slow, i got there in the end :}
April 27, 2013 at 2:12 am #162849In reply to: Private Message Button in Member List Loop
shanebp
ModeratorStart with the add_action and follow the function calls.
If you see a function that isn’t defined in the gist, then that function is in the codebase.
Find and study it.The add_action calls a function that calls bp_send_message_button() which creates the button.
Part of creating the button is creating the link.
The link can be filtered – so look for apply_filters in that context.April 26, 2013 at 6:29 pm #162830In reply to: Private Message Button in Member List Loop
April 25, 2013 at 8:09 pm #162731In reply to: Search inside private groups
jawanda0
ParticipantBummmp, I’m curious too. Thanks for any info!
April 23, 2013 at 12:39 am #162399In reply to: Is this hosting plan good for buddypress?
Ben Hansen
Participantgs is a shared environment as such it is not recommended for anything but private buddypress sites (maybe not even then). unlike other shared environments gs will not throttle you but instead they will bill you for overage the thing to really watch for is the GPU. WP+BP will use something like 100x the GPU of a typical static site when i used them on a BP site with about 2000 visitors a day about 2 years ago we were looking at about 200 in overage in the first month alone.
#1 some media temple term that doesn’t mean much just think of it as total bandwidth cause thats probably what it is.
#2 yes.
#3 1
#4 probably not but i’m sure you can buy extras. email accounts are totally separate from wordpress/buddypress accounts.
April 22, 2013 at 8:04 pm #162380David Cavins
KeymasterHi Modemlooper-
My theme is a child theme of Twenty Twelve, so my style.css declares Template: twentytwelve.
I followed your suggestion then took it a step farther and included slightly modified version of the js setup functions from the template pack in my `functions.php` file. I’ll post them here in case somebody else has the same problem I’m having:
`function bp_support_theme_setup() {
global $bp;// Load the default BuddyPress AJAX functions if it isn’t explicitly disabled or if it isn’t already included in a custom theme
if ( ! function_exists( ‘bp_dtheme_ajax_querystring’ ) )
require_once( BP_PLUGIN_DIR . ‘/bp-themes/bp-default/_inc/ajax.php’ );// Let’s tell BP that we support it!
add_theme_support( ‘buddypress’ );if ( ! is_admin() ) {
// Register buttons for the relevant component templates
// Friends button
if ( bp_is_active( ‘friends’ ) )
add_action( ‘bp_member_header_actions’, ‘bp_add_friend_button’ );// Activity button
if ( bp_is_active( ‘activity’ ) )
add_action( ‘bp_member_header_actions’, ‘bp_send_public_message_button’ );// Messages button
if ( bp_is_active( ‘messages’ ) )
add_action( ‘bp_member_header_actions’, ‘bp_send_private_message_button’ );// Group buttons
if ( bp_is_active( ‘groups’ ) ) {
add_action( ‘bp_group_header_actions’, ‘bp_group_join_button’ );
add_action( ‘bp_group_header_actions’, ‘bp_group_new_topic_button’ );
add_action( ‘bp_directory_groups_actions’, ‘bp_group_join_button’ );
}// Blog button
if ( bp_is_active( ‘blogs’ ) )
add_action( ‘bp_directory_blogs_actions’, ‘bp_blogs_visit_blog_button’ );
}
}
add_action( ‘after_setup_theme’, ‘bp_support_theme_setup’, 11 );/**
* Enqueues BuddyPress JS and related AJAX functions
*
* @since 1.2
*/
function bp_support_enqueue_scripts() {// Add words that we need to use in JS to the end of the page so they can be translated and still used.
$params = array(
‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
‘comments’ => __( ‘comments’, ‘buddypress’ ),
‘close’ => __( ‘Close’, ‘buddypress’ )
);// BP 1.5+
if ( version_compare( BP_VERSION, ‘1.3’, ‘>’ ) ) {
// Bump this when changes are made to bust cache
$version = ‘20120412’;$params[‘view’] = __( ‘View’, ‘buddypress’ );
$params[‘mark_as_fav’] = __( ‘Favorite’, ‘buddypress’ );
$params[‘remove_fav’] = __( ‘Remove Favorite’, ‘buddypress’ );
}
// BP 1.2.x
else {
$version = ‘20110729’;if ( bp_displayed_user_id() )
$params[‘mention_explain’] = sprintf( __( “%s is a unique identifier for %s that you can type into any message on this site. %s will be sent a notification and a link to your message any time you use it.”, ‘buddypress’ ), ‘@’ . bp_get_displayed_user_username(), bp_get_user_firstname( bp_get_displayed_user_fullname() ), bp_get_user_firstname( bp_get_displayed_user_fullname() ) );
}// Enqueue the global JS – Ajax will not work without it
wp_enqueue_script( ‘dtheme-ajax-js’, BP_PLUGIN_URL . ‘/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );// Localize the JS strings
wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
}
add_action( ‘wp_enqueue_scripts’, ‘bp_support_enqueue_scripts’ );
`Which is identical to installing the template pack only for the JS, I think. Everything’s working as expected, so I think we can consider this problem resolved. Thanks for your attention, Hugo and Modemlooper.
-David
April 22, 2013 at 6:48 pm #162375In reply to: Login Redirect for BP 1.7
bp-help
Participant@sarathbabu_k
Have you tried this plugin. I tested it with WP 3.5.1 BP 1.7 and various themes. It works with all of my tests. It makes BP private and also redirects visitors trying to access BP pages to register. Read the readme.txt and study the code to change where you want your logged out visitors redirected to.
https://github.com/bphelp/private_community_for_bp -
AuthorSearch Results