@aljo1985
WP provides a function for getting users. No need for custom sql.
https://codex.wordpress.org/Function_Reference/get_users
@xidea
Have you tried
bp_has_members( bp_ajax_querystring( 'members' ) . '&type=newest' )
Members Loop
Just do a select query to the wordpress database. and echo the results.
// Query
global $wpdb;
$rows = $wpdb->get_results("
SELECT id, display_name
FROM " . $wpdb->prefix . "users
ORDER BY id DESC LIMIT 20"
);
// Show 'em...
foreach($rows as $row):
echo $row->display_name;
endforeach;
Just change limit, to how many you want to display and DESC to ASC for order.
Enjoy, my last post!
Hi @landwire
This isn’t possible right now, but it’s a great idea. You should open a feature request on Trac to see what the core developers think.
Hi @joenyland
You will need to use validation. Validation is a way of checking what information is received from the user before it’s saved to the database. This can be achieved via a filter such as bp_signup_validate.
For more info on filter hooks in WordPress and BuddyPress, check out this article:
https://codex.wordpress.org/Plugin_API/Hooks
Spam is an endless plague… and there is no radical solution, but only a set of combination for minimizing it, or at least to slow down that phenomenon..
For example, changing the default wp_ table prefix is a good practice which i would recommand to any site owner touched (or not yet) by spammers.
Even if you already use another prefix, but spammers found your site, you have to modify it again. Sounds a bit stupid, but the gain will be effective for a while.
Other tips are avaible on WP Codex.
In some case, you would prefer to use a plugin. See BuddyPress Registration Option.
But in any case, you have to found your own combination.
Hey guys, Im running with Valenti theme by cube, and basically they set it up so that users have everything they need to configure their profile on the front end. Im wondering if there is a way to hide the tool bar for logged IN users? The tool bar allows these users to get to the wordpress dashboard and it kind of takes away from my websites experience. Any help would be appreciated! thanks.
Firefox > View > Page style > No style – does show the Search box and I could search.
So it is a theme and css issue.
Other search box appears fine on that page.
Did you use mcpeanut’s code with success ?
https://wordpress.org/support/topic/seach-box-for-members-does-not-appear-only-the-button?replies=3 – they have said its a BP thing. But they have not said why the BP thing is not being shown by their theme like other themes.
Please post if you solved this. BTW what is the left side bar widget named “Activity” in your site? Its nice. Thanks.
‘
Oh..so anyone vieweing my site will need to sign into wordpress? I wanted the wordpress backend to remain hidden
And what is the problem ? With or without BuddyPress, you login to WordPress. 🙄
Perhaps reading this will help
Register and Activation Pages
On my member page, there is a search button, but no place to click and type the search.
Members
WordPress 4.1.1
BuddyPress 2.2.1
Hueman 2.2.2 Theme
So I’m using BuddyPress with Truemag. I want to just show a simple username, password login form – I don’t want it to be redirected to the WordPress login.
I’ve put the BuddyPress login menu item in my TrueMag menu – but when I click on it, it asks me to log into WordPress right now
As stated by the plugin decription:
The JavaScript file “refresh.js” will send every 10 seconds an ajax request to wp-load.php to get the new activities.
If you still have trouble after 10 seconds, you preferably ask about this on the plugin support.
Note also that the plugin is compatible up to: 3.8 / 1.8.1 so it may no more work today !
SPQR !
Sorry, info as follows:
Wordpress: 4.1.1
Buddypress: 2.1.1
I’m developing it on localhost, so no website link yet.
bp-languages folder doesn’t exist in BP 2.x
If your WP use hungarian language, when you install BP, the BuddyPress translation comes automatically from translate-wordpress.org into wp-content/languages/plugins/, which contains also by default the askimet translation.
Also, php gettext use the compiled mo format to show a translation. The po file is only used to translate.
Much more about translation in this topic.
Hi
I want to show a customized login form instead of the WordPress login, which is what is currently shown when the default Login menu item is used. Please help.
Best regards
Aditya
Hi guys, I just installed the latest version of BuddyPress (2.2.1) and WordPress (4.1.1). I am still developing it in my localhost so don’t have site link
I want to disable profile syncing of WordPress & Buddypress. However, I don’t get that option at all! Please help!
My Settings>BuddyPress>Settings only has:
Toolbar Show the Toolbar for logged out users
Account Deletion Allow registered members to delete their own accounts
Groups Settings
Group Creation Enable group creation for all users
Administrators can always create groups, regardless of this setting.
Profile Photo Uploads Allow registered members to upload avatars
Activity Settings
Blog & Forum Comments Allow activity stream commenting on blog and forum posts
Activity auto-refresh Automatically check for new items while viewing the activity stream
Akismet Allow Akismet to scan for activity stream spam
Ok, I hope someone on here can help. Fresh wordpress and buddy press install. I’m receiving the Unable to find URL/activity for all of my subpages. From my reading this is a problem with either the 1. permalinks, 2. .htaccess file, or 3. apache rewrite module.
I have attempted to solve all three of these issues. Permalinks were enabled to something other than the default. WordPress was unable to create the .htacess file so I created it manually. And finally, I’ve enabled apache rewrite module in the httpd.conf file. But still no luck.
My suspicious is that there is something wrong in my write permissions but I’m not sure where to look.
I’m running centos7 on a VPS that I’ve configured (hence the problems most likely), and the site is http://www.tourfoundry.com. Thanks.
If that be the case, may be the most appropriate thing will be to post your problem here : https://buddypress.trac.wordpress.org/newticket
Mention the WP, BP versions you use, your theme, settings etc
Steps to reproduce your problem
Any site where this problem can be see / tested
Thanks.
PS : Submitting your problem in the above link may or may not generate any corrective response, in that case maybe you have too look more around the net unless some mods/devs here get you the actual help or actual code.
I have this Buddypress settings enabled
Blog & Forum Comments – Allow activity stream commenting on blog and forum posts
Does any of these plugins help ?
wordpress.org/plugins/bwp-recent-comments/
wordpress.org/support/plugin/get-recent-comments
wordpress.org/plugins/get-all-comments-widget/
Thanks
FYI BP_MEMBERS_SLUG is deprecated (read line 38)
and about the member slug in groups read here https://buddypress.trac.wordpress.org/ticket/6001
Be warned that altering core files is not recommended and not best practice, as you will loose your changes at next BP update.
Well what I would like to do is add some content or notice on that same page. So I just thought it was possible to add a shortcode to the wordpress editor along with my custom content
https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/ says “The references to slug Constants are deprecated, this section requires updating.”
I have no idea when that will be updated. Thanks.
PS : If this was an absolute necessity for me maybe I would have tried creating a wordpress page named “fans” or whatever, and inserted the Groups page as an iframe in the content of that page. That way, the url would probably show as desired.