thanks @mercime tried adding that memory increase to .htaccess didn’t work … i upgraded wordpress to latest …still won’t activate …tried deleting buddypress plugin and uploading new version ….doesn’t activate
the wordpress admin says “Plugin activated.” after it finishes but its still in the inactive section and no buddypress options
is the only next step to delete buddypress database tables?
I would like my members to use activity stream updates as the would blog posts. One big problem is the lack of “title” and “tag” fields.
Here on this forum, there are title and tag fields – has anyone tried adding these to activity stream updates?
can anyone help me with this …. my server was crashing yesterday and when we got it back up i go to one of my buddypress sites and get nothing but a blank white screen … so i deactivated all my plugins on it ..got into the dashboard tried to activate buddypress and it just won’t activate ….. its a multi site config with only 1 blog ….. its on a dedicated server latest version of buddypress with wordpress 3.0.5 …any suggestions would be greatly appreciated trying everything
I also use BWP-recaptcha for my other blogs on the network, so I can access the pub and priv keys from there, like so:
global $bwp_capt;
$publickey = $bwp_capt->options;
and
global $bwp_capt;
$private_key = $bwp_capt->options;
That way the keys are kept in one place.
The only problem I have with this is in Firefox I need to add css to put the div in the right place:
#recaptcha_widget_div {
clear:both;
}
does the trick.
After some fiddling, copying, more fiddling, I think I’ve got a working reCaptcha code. As it is, you just put this code in your theme’s functions.php file (I just made a child theme of the bp-default), edit the code to add a link to the recaptchalib.php file (get it here: http://code.google.com/p/recaptcha/downloads/list?q=label:phplib-Latest ) and your public and private keys, and you’re good to go. Here’s the code:
<?php
require_once(‘/path/to/recaptchalib.php’);
function bpn_add_reg_field() {
global $bp;
$publickey = “”;
echo recaptcha_get_html($publickey);
if ( !empty( $bp->signup->errors)) {
echo $bp->signup->errors;
}
}
function bpn_check_reg_recaptcha($errors)
{
global $bp;
$private_key = “”;
if (function_exists(‘recaptcha_check_answer’))
{
$response = recaptcha_check_answer($private_key, $_SERVER[“REMOTE_ADDR”], $_POST[“recaptcha_challenge_field”], $_POST[“recaptcha_response_field”]);
if (!$response->is_valid)
{
$bp->signup->errors = __( ‘ERROR: Captcha response is either empty or incorrect.’,’buddypress’);
}
}
return ;
}
add_action( ‘bp_before_registration_submit_buttons’, ‘bpn_add_reg_field’ );
add_action(‘bp_signup_validate’, ‘bpn_check_reg_recaptcha’ );
?>
@pinhit Kenny this is what I mentioned on your other thread and is now an example of where there are too many posts revolving around the same question
. This solution (read the whole thread linked to above for full understanding) will work to limit access to directories or in the version above it permits access to specific pages and if not in that list of allowed directs to the signup page. I think this is your best solution rather than to try and restrict drilled down aspects of pages.
I’ll close the other thread as it is redundant now.
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-private-community?topic_page=6&num=15#post-86316
Derived from the above link, I use the following in a bp-custom.php file to exclude users that are not logged in from seeing the activity or members areas.
function sh_walled_garden()
{
global $bp;
if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) )
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' );
In bp-custom.php the above needs to be placed in a plain text file with “ at the end of the file….
Yep, was a disaster. I cannot understand whats happening with buddypress at all. Tried updating and didnt change a thing. Now at least the site is active again. Im getting globalgold to run a backup restore to the 28th. Hopefully I can work from there.
WP 3.1.2 (multisite with subdirectories) + BP 1.2.8. When I try to modify *anything* about the theme of a sub-site (header, menus, widgets etc) I need to turn off BP before, or the whole thing doesn’t work. E.g. if I try to change the header image without turning off BP, the images won’t load and the change won’t happen. Even the example images are not shown on the header admin page. If I try to change widgets, the dashboard shows the *main* site widgets and reports some errors. If I turn off BP, make the changes and reactivate BP, all seems OK.
Is this normal or at least a known problem? May it depend on my themes setup (main site theme: a BuddyPress child theme; sub-site theme: twentyten or other wp standard theme)?
@pinhit the expresion ‘lever advise’ is not a good choice of terms nor is ‘misguided ‘ the support forum is voluntary; people help out where they can, there is no SLa that advise is correct it’s the best that a member might be able to offer.
If you have found your own solutions to problems then that is great and you are on the road to learning – keep it up.
As for the question I’m afraid it is pretty much a repeat it’s in essence the same question as follows: “how can I restrict views of a particular page/element/component”. The code was provided that enables this , there are many conditional template tags that allow for simple logic queries such as “is the user logged in? then allow else send them elsewhre or post a message” you will use the same process for different situations.
However you may benefit from simply blocking logged out users using a small snippet of code that I think was named ‘Walled garden’ or something similar.
@hkcharlie bp-social theme is a premium theme and we’re not privy to the template intracacies of that theme without purchasing one. You should be able to get free support for the paid theme.
@mercime it wasn’t installed at all… now thats confused me!
Go to Admin Dashboard menu Plugins > plugins and you’ll the list of plugins and descriptions. Go to Buddypress and note the version number stated in description.
@pinhit
Umm… this is your 3rd post asking pretty much the same question that was answered here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/members-privacy-how-can-i-hide-members-profiles/ Creating multiple posts on the same topic isn’t going to get you help any faster; it just tends to clutter up the forum.
The conditional code provided in the thread I linked to above will get you what you want. It’s now a matter of learning about Buddypress file/template structure, and educating yourself on how WordPress and Buddypress work to understand how and where to use the code snippet. To help in this regard, links were also provided to the main help sites (codex) for both WP and BP in one of your earlier posts, along with a suggestion by hnla for a site where you can get basic coding help.
Time to hunker down and get your hands a bit dirty! Besides, learning new stuff can be a lot of fun 