-
shanebp replied to the topic Did I just loose 10k users? in the forum How-to & Troubleshooting 11 years, 11 months ago
It may be a WP issue.
To confirm, deactivate BP.
If it remains, try deactivating other plugins. -
shanebp replied to the topic Did I just loose 10k users? in the forum How-to & Troubleshooting 11 years, 11 months ago
Based on your screenshots, I’d guess users were added or duplicated.
Try comparing the total number of rows, dev vs. new install, for the users and activity tables.
-
shanebp replied to the topic Did I just loose 10k users? in the forum How-to & Troubleshooting 11 years, 11 months ago
How did you transfer / copy the database?
-
shanebp replied to the topic Did I just loose 10k users? in the forum How-to & Troubleshooting 11 years, 11 months ago
What do you mean by migrated?
Transferred to a new install?
Upgraded to a new version of BP ?
Both?Did you use any of the tools in the new version:
…/wp-admin/tools.php?page=bp-tools -
shanebp replied to the topic importing from Drupal 6 in the forum How-to & Troubleshooting 11 years, 11 months ago
BuddyPress uses bbPress for forums.
So you want to import into bbPress.
Try asking bbpress support. -
shanebp replied to the topic Get E-mail addresses of users without Photos? in the forum How-to & Troubleshooting 11 years, 11 months ago
untested:
function no_photos() {
global $wpdb;$emails = array();
$ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->prefix}users" );
foreach( $ids as $id ) {
$avatar_check = false;
if ( bp_core_fetch_avatar( array( 'item_id' => $id, 'no_grav' => true, 'html'=> false ) ) != bp_core_avatar_default() )
$avatar_check = true;…[Read more] -
shanebp replied to the topic Buddypress members/group map/locations in the forum Third Party Plugins 11 years, 12 months ago
I’ve done several maps:
Wordpress posts, based on editable location field: http://www.newspebbles.com/map/
BuddyPress members, based on signup / profile field: http://www.deeptimejourney.org/members-map/This does markers just for groups: https://github.com/naton/bp-group-location
The issue with a distributed plugin is the time-based…[Read more]
-
shanebp replied to the topic [Resolved] Output "Not Provided" if bp_member_profile_data is empty or null in the forum How-to & Troubleshooting 11 years, 12 months ago
Use
bp_get_member_profile_data( 'field=Hair' ); -
shanebp replied to the topic [Resolved] Output "Not Provided" if bp_member_profile_data is empty or null in the forum How-to & Troubleshooting 11 years, 12 months ago
Try:
$hair = bp_member_profile_data( 'field=Hair' );
if( ! $hair )
echo 'Hair: Not Provided';
else
echo 'Hair: ' . $hair; -
shanebp replied to the topic [Resolved] Timestamps in members timezone in the forum How-to & Troubleshooting 11 years, 12 months ago
@colabsadmin @henrywright-1 @djpaul
Here’s a plugin: https://github.com/shanebp/BP-Timezones
Currently it only uses this filter hook:
‘bp_get_message_thread_last_post_date’Hook suggestions ?
-
shanebp replied to the topic Order members by specific ID set in the forum Creating & Extending 12 years ago
Don’t use both include and user_ids parameters.
Use a service like pastebin to show us your code.
-
shanebp replied to the topic Order members by specific ID set in the forum Creating & Extending 12 years ago
Yes.
To preserve the order, use the ‘user_ids’ parameter.
More info. -
shanebp replied to the topic Unregistered action on Activity admin screen in the forum Creating & Extending 12 years ago
-
shanebp replied to the topic [Resolved] Avatars Loading from Wrong URL in the forum How-to & Troubleshooting 12 years ago
It’s not just avatars, it’s all images that are coming from what I guess is the old site.
How did you move your site?
Did you update the htaccess file?
Did you do a search & replace on the database to change urls?
-
shanebp replied to the topic Trouble with Members Loop in the forum How-to & Troubleshooting 12 years ago
Is your sidebar in a BuddyPress page ?
Take a look at the BP_Core_Members_Widget
-
shanebp replied to the topic Frontend User Search in the forum How-to & Troubleshooting 12 years ago
-
shanebp replied to the topic [Resolved] Custom Display on Members Directory in the forum How-to & Troubleshooting 12 years ago
>As an alternative solution, is it possible to exclude all members in the above list if they had selected ‘N/A’ for Dog Breed?
Yes, there are 2 ways:
1) https://codex.buddypress.org/plugindev/using-bp_parse_args-to-filter-buddypress-template-loops/
2) https://codex.buddypress.org/developer/loops-reference/the-members-loop/#code-examples>Is it…[Read more]
-
shanebp replied to the topic Adding New Profile Tab Content in the forum How-to & Troubleshooting 12 years ago
Add this to bp_core_new_nav_item
'parent_url' => bp_loggedin_user_domain() . '/favourites/',
'parent_slug' => $bp->profile->slug,
'default_subnav_slug' => 'favourites'or this:
'parent_url' => bp_displayed_user_domain() . '/favourites/',[Read more]
'parent_slug' => $bp->profile->slug,
'default_subnav_slug' =>… -
shanebp replied to the topic Adding New Profile Tab Content in the forum How-to & Troubleshooting 12 years ago
Did you try it with just “members/single/plugins” ?
-
shanebp replied to the topic Adding New Profile Tab Content in the forum How-to & Troubleshooting 12 years ago
Try changing this:
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘buddypress/members/single/plugins’ ) );
To this:
bp_core_load_template( 'members/single/plugins' ); - Load More
@shanebp
Active 1 month, 3 weeks ago