Forum Replies Created
-
In reply to: Spam destroyer plugin & Buddypress
Not sure why it’s not working.
For alternative spam plugins/solutions, there’s another more active thread going on here:
https://buddypress.org/support/topic/stop-buddypress-spam/In reply to: Stop BuddyPress SPAMTwo more methods that help. I recently had a crazy spam attack – probably 300 fake signups per day. I implemented these two methods and it dropped to near 0.
1. Change the /register/ slug to something unique. An example would be /create-your-account/, or something of that nature. It just needs to be unique and also make sense in a URL for your user. Spammers targeting BuddyPress look for /register/ as the signup page. It’s all automated so you want to filter them out at the first step.
2. Add this to your functions.php file in your theme or child theme.
It presents a dummy field that humans don’t see. Spambots will fill it out, and if the field captures a value it will reject the signup.
// BuddyPress Honeypot function add_honeypot() { echo ''; } add_action('bp_after_signup_profile_fields','add_honeypot'); function check_honeypot() { if (!empty($_POST['system55'])) { global $bp; wp_redirect(home_url()); exit; } } add_filter('bp_core_validate_user_signup','check_honeypot');Credits for #2 go to:
http://mattts.net/development-stuff/web-development-stuff/wordpress/buddypress/anti-spam-techniques/registration-honeypot/I edited it slightly to remove the required redirect. Add that back from his tutorial if you want to. It requires that you make an extra page to send the spammer to, and I personally think that’s not necessary. I actually want them to have no indication their signup failed.
In reply to: [Resolved] BuddyPress Toolbar everywhere?Glad we were able to help you out!
In reply to: Only show one type of member on members page@ginnybee This plugin should do the trick: https://wordpress.org/plugins/buddypress-user-account-type-lite/
In reply to: Error: Missing argument for bp_modify_page_title()First suggestion is to switch themes just for a moment, to know for sure that your Elegant Themes update did indeed cause the problem. If that’s not it, deactivate all plugins and see what happens, then reactivate one by one. Your first line of attack is just to find the culprit at a big picture level, and then you can investigate what code in that theme/plugin is at the root of the problem.
In reply to: [Resolved] BuddyPress Toolbar everywhere?@bbindikator Are you referring not to the admin bar / Toolbar but instead to the links below the avatar as seen on a user’s profile?
In reply to: Disable the BP registrationThis resource might help: http://premium.wpmudev.org/blog/force-user-registrations-to-your-own-buddypress-registration-page/
In reply to: 500 Error when Notifications Turned OnYeah a 500 error is not just because the user is logged out. It’s a server error. Unfortunately a 500 is sort of a catch all error and doesn’t tell you much.
Some possible problems:
• PHP version is not high enough on server
• incorrectly configured rewrite rules in your .htaccess file (hidden file at root)
• some code errorDo you have access to server logs? They should tell you where the error is coming from. You can try this:
Go to wp-config.php in the root of your website and temporarily add two lines:
define(‘WP_DEBUG’, true);
@ini_set(‘display_errors’, 1);Then reproduce the problem and check the error messages. They should contain a path to specific files/line numbers indicating where the error is coming from.
In reply to: Search and Twenty Fourteen themeYep, no problem.
In reply to: Buddypress Like Back End ErrorsSounds like javascript is not loading properly in your admin.
BuddyPress is pretty thoroughly tested and doesn’t normally cause that kind of error. So I would have to assume BuddyPress Like is the cause. Especially if you only get the error with that plugin activated. I would ask the developer of BuddyPress Like directly.
You can deregister the admin bar CSS and then load your own CSS.
Something like this:
function custom_remove_adminbar_inline_styles() { if ( !is_admin() ) { remove_action( 'wp_head', 'wp_admin_bar_header' ); remove_action( 'wp_head', '_admin_bar_bump_cb' ); wp_enqueue_style( 'wp-adminbar-custom', get_template_directory_uri().'/css/adminbar.css', false, '1.0', 'all' ); } } add_action( 'wp_head', 'custom_remove_adminbar_inline_styles', 9 );Then in your theme you would add /css/adminbar.css and make it look however you want. You can copy the adminbar from WordPress as a starting point.
In reply to: Photography Camera ClubI replied to your other post as well.
The BuddyBoss theme includes Photo uploading to profiles and groups out of the box (mobile uploading as well):
http://www.buddyboss.com/demo/members/guest/pictures/
In reply to: Profile fields pushedIt would help if you post a URL so people can inspect the code in a browser. Probably CSS issues with your theme.
Self promotion here, our BuddyBoss theme includes Photo uploading to profiles and groups out of the box (mobile too):
http://www.buddyboss.com/demo/members/guest/pictures/You would need to set up some other system for voting up the photos though. BuddyBoss also comes with a system to “Like” content, and shows who liked it. You could change “Like” to “Up Vote” or whatever and then create a custom built section showing the most liked activity posts, limiting it to the ones with photos uploaded. You’d need to edit some code for that.
In reply to: Stop BuddyPress SPAMI have used Bad Behavior. It’s ok.
I found the best solution so far has been BuddyPress Security Check.
https://wordpress.org/plugins/bp-security-check/It knocked out the majority of spam for me, and I’ve tested many spam plugins. You’ll still get some spammers, but hopefully less.
Most spammers leave links in forums. BuddyPress could really use a method to block new users who post links pending approval.
This plugin puts users in moderation on signup:
https://wordpress.org/plugins/bp-registration-options/But that still requires you to manually activate everyone…
In reply to: Embedding in buddypressNot sure why that doesn’t work. You might want to download this plugin (which supposedly works with BuddyPress) and investigate their code to see how they’re doing it.
In reply to: Conditional profile fields?There actually is a plugin that accomplishes this (the initial request) to some extent. See:
https://wordpress.org/plugins/buddypress-user-account-type-lite/This would be a really great core feature. It would allow you to have member types with different profile data collected based on the first condition.
Some examples:
- teacher/student
- employer/applicant
- man/woman
- manager/employee
- etc.
In reply to: Where is the group’s directory page?Right, and to anyone else reading this, you also have to install bbPress first and make sure to adjust your forum settings to allow BuddyPress groups to have forums.
In reply to: Automatically create BP userA membership plugin is generally used to determine user roles and capabilities (and to charge users for access). All WordPress users should be automatically also BuddyPress users. One hiccup is if they have not ever logged in they may not display on the front end in the main BuddyPress members directory. I believe it only shows users if they have some activity, such as a login or register. If they predate BuddyPress activation they MAY need to do something before they appear in the Members directory, but rest assured they do have BuddyPress profiles that they can access with their existing WordPress login credentials.
In reply to: Search and Twenty Fourteen themeThis will be the case with all themes. BuddyPress content is not included in the default WordPress search. It is a common request for people to ask for a “unified” BuddyPress search but that does not exist out of the box at this moment in time.
To get you in the right direction:
BuddyPress Global/Sitewide Unified search update for BuddyPress 1.5+
In reply to: Buddypress Profile – Replace DisplayNameThe PHP file producing most of the member header stuff (avatar, timestamp, etc) is located at:
/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php
You’ll notice it does not output the member displayname however. That is actually just fed into the the_title, which is in your theme template. It’s probably in page.php, or buddypress.php if your theme has that. BuddyPress is feeding content into your page template.
Not sure how to get the_title to display something else off hand, but that should help guide you in the right direction at least.
In reply to: Clicking comment to open text fieldYes I know how this works. I am assuming you are referring to the post input on profiles, for adding activity posts. This is a feature and not a bug.
There is some CSS setting the height of the comment box. When you click into it, some Javascript recognizes that you have clicked into the box and then makes the box taller. You can override all of this via CSS, by just setting a fixed height to the box.
Here is the CSS to add:
#buddypress form#whats-new-form textarea { height: 50px; }Instead of 50px, use the height you want it to be. If that does not work, try adding an !important declaration like this:
#buddypress form#whats-new-form textarea { height: 50px !important; }In reply to: Facebook like on activity streamDid you try this plugin?
In reply to: Embedding in buddypressWordPress uses “oembed” for automatically converting pasted links into embeddable content. It does not support those two sites.
You can see the full list of supported sites here:
https://codex.wordpress.org/EmbedsThe simple answer is you will need to use their full embed code. Example:
http://verold.com/blog/2013/1/14/tutorial-embedding-your-project-on-the-web#.UwvSRvRdUTsYou would have to embed the full iframe code.
In reply to: Checking Profile Fields during registrationI’m pretty sure you’ll need to do a database lookup to check if someone else already filled out that value. Not sure on the specific technique to do it off hand.