Search Results for 'buddypress'
-
Search Results
-
Hi,
I like the idea of having certain fields link to other members with the same selection however, in one of the text fields buddypress seems to have arbitrary selected text to link that makes no sense (see screen capture). Why has it selected those sentences as links? Is there a way to remove that from happening without effecting the other dropdown and selection fields. This field should be pure text without arbitrary links.

Thanks
Hi, I recently started my first WordPress site, on a new WP 4.2.2 install, and with BP 2.2.3.1 plugin installed, but I can’t find anything inside the plugin about the member type feature!?! I have read up on it, but nothing has let me know exactly what to do to get it on my dashboard, or to enable it in any way… Can someone please hold my hand on this? If I need to copy and paste code from here: https://codex.buddypress.org/developer/member-types/ I have no idea of where to do it? I’m ready to start populating profiles, but need the member type feature, and separate member type questions/fields in order for the site to function properly. Please help. My site is GigTrain.com – Thanks.
Hello (sorry for my English, I hope you can understand my problem).
1) Did you install WordPress as a directory or subdomain install? Subdomain
2) Did you upgrade from a previous version of WordPress? No
3) Which version of BP are you running? 2.1.1
4) Did you upgraded from a previous version of BP? No
5) Do you have any plugins other than BuddyPress installed and activated? yes: WooCommerce, WP-PageNavi,The Events Calendar, NextGEN Gallery by Photocrati, myCRED, Another WordPress Classifieds Plugin (AWPCP).
6) Are you using the standard WordPress theme or customized theme? customized.
7) Have you modified the core files in any way? No
8) Do you have any custom functions in bp-custom.php? No
9) Is your server running Windows, or if Linux; Apache, nginx or something else? Linux, ApacheMy problem: I wanna visit the “admin” profile but if a slug post starts with “admin”, for example “admin-of-the-world-is-dead” I can’t visit the “admin” profile, always is showing to me the post.
I hope you can help me with some ideas.
π
Currently, I am supporting a Buddypress site that has the member-directory being sorted by last name, using this solution:
function aps_bp_alphabetize_by_last_name( $bp_user_query) { if ( 'alphabetical' == $bp_user_query->query_vars['type'] ){ $bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)"; } }You can see the result here:
That implementation has a couple of problems.
(1) It doesn’t ignore special characters. I understand this is a MYSQL issue. Going to post-pone addressing it for the moment.
(2) It doesn’t conventionally sort compound last names. I’d like to sort ‘de Rose’ under ‘D’ and ‘Savage Upper’ under ‘S’.
To solve (2), I think I need to sort by wp_user_meta.last_name (or the corresponding xprofile field they have). I have tried both, and my implementations currently break bp_members_pagination_count() and bp_members_pagination_links(). Using the following code**, for example,
function aps_bp_alphabetize_by_last_name( $bp_user_query) { if ( 'alphabetical' == $bp_user_query->query_vars['type'] ){ $bp_user_query->uid_table = 'wp_usermeta'; $bp_user_query->uid_name = 'user_id'; $bp_user_query->uid_clauses['select'] = "SELECT u.{$bp_user_query-> uid_name} as id FROM {$bp_user_query->uid_table} u"; $bp_user_query->uid_clauses['where'] = "WHERE u.meta_key = 'last_name'"; $bp_user_query->uid_clauses['orderby'] = "ORDER BY u.meta_value"; } }generates this: http://printscholars.staging.wpengine.com/member-directory/
** This is meant to be provisional. It’s not, for example, taking into account the include and exclude in the query vars, which I will need to do.
Any insight into what here is breaking those functions and other problems this approach might lead to?
Using WP 4.2.2,Buddypress 2.2.3.1
Topic: Minimum password strength
To my great surprise Buddypress allows such weak passwords such as a single digit letter or number when changing the password from the front-end.
There are several minimum password strength plugins for WordPress, but none seem to work with the frond-end of Buddypress.
How can I enforce users to select passwords with a minimum of 8 digits, including a number?
I found a very helpful snippet that @danbp had posted for @saxisme — I wanted to take it to that next step as @saxisme had mentioned.
I wanted to add that xprofile field data to what looks like the “Activity-Header” where currently it displays:
Username posted an update (or)
Username replied to the topic… etc…I would like to inject the xprofile field created by that snippet so the activity header displays like:
Username – XPROFILE FIELD posted an update (or)
Username – XPROFILE FIELD replied to the topic… (etc…)Which file should I look to add the <?php do_action( ‘showsaxisme’); ?> that @danbp so kindly shared to accomplish this?
Thanks!