Forum Replies Created
-
In reply to: Mentions autosuggest not working on group home page
Thanks.
No need to be sparse with the ticket description and your fix.
I’ve amended the ticket.In reply to: New tab + it’s content from a wp page ..?It can be rather complex.
And you don’t want to call a whole WP page into that area.
You only want part of that page, probably the_content.
The easiest way is to simply put your markup up in a function…function my_invitation_template() { add_action( 'bp_template_content', 'my_invitation_template_content' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function my_invitation_template_content() { echo "put content here"; }To call a custom template, do a search for bp_get_template_part.
More info:
https://codex.buddypress.org/plugindev/how-to-enjoy-bp-theme-compat-in-plugins/In reply to: Mentions autosuggest not working on group home pageConfirmed.
Might be a bug.
Please create a ticket on trac.In reply to: Help: User limitAt 3M users the issue is the configuration of your servers.
So, yes, BP can handle it IF you know how to setup and manage an array of servers.
Management and setup of such an array requires good server administrator skills.
And is way beyond the scope of this forum.>the expected database size
There is no way to give you a number.
Here’s an adjective: Big.
The biggest table would be the activity table.In reply to: Custom info near usernamePlease use pastebin to show us your function.
In reply to: [Resolved] Buddypress update broke my site>Buddypress update broke my site
iow. there are some compatibility issues with a couple of other plugins
Did you try using a standard theme like WP 2012 to see if any of the issues are caused by your theme?
Did you ask the creators BuddyPress Activity Plus about your issue re that plugin?
BP ( and WP for that matter ) don’t take other plugins into account when they create an update.
These issues are not infrequent.
A decent developer can solve them.You might be happier staying with the version of BP that you were happy with.
In reply to: Custom info near usernameBecause that’s ‘where’ the hook is.
Take a look at
buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.phpUse one of the do_action hooks or create a template overload of that page and put your code in it.
In reply to: Can I turn off groups but create my own?Go to yoursite… /wp-admin/admin.php?page=bp-settings
And adjust ‘Groups Settings’
Look at
class BP_Notifications_Notification
function save
in
buddypress\bp-notifications\bp-notifications-classes.phpThere are 2 hooks you can use to add_action
bp_notification_before_save or bp_notification_after_saveIn reply to: How to add pictures/logos etc to group descriptionsYou might be interested in one of our premium plugins:
You have to find the hooks in ‘other plugins’ for triggering an add notification.
In reply to: Change Avatar programatically?You could set the xprofile field and then use the stackexchange.com example to swap in that url on a per user basis.
In reply to: Change Avatar programatically?In reply to: WP – BP profile fields syncI believe it only runs when a profile is updated.
Try doing a ‘save’ on a BP profile – edit screen.If it works, at least you know the sync is working going forward.
That doesn’t address your real issue re all your existing users.
You’ll probably need to write some code that loops thru your users and creates xprofile fields for them.Take a look at
function xprofile_set_field_datain
bp-xprofile/bp-xprofile-functions.phpIn reply to: WP – BP profile fields syncHave you enabled ‘Profile Syncing’ on this page: …/wp-admin/admin.php?page=bp-settings ?
In reply to: Buddy Press and Plugin AdviceYou don’t need BP for what you describe.
Try searching for a WP plugin that handles subscriptions to posts.
You’ll probably need to write some custom code too.Try adding this just above the endwhile
<?php endif; ?>btw – this isn’t the proper forum for basic php coding questions.
In reply to: Individual Groups Not Redirectingalso – your links point to:
<a href="http://www.JenniferMFitness.com/groups/new-year-new-you/">New Year, New You</a>Note the capitals in the href.
You might want to try changing them to lower case in wp-admin/options-general.php
in the WordPress Address (URL) and Site Address (URL) fields.In reply to: Individual Groups Not RedirectingThen it’s probably something in your server setup.
I would ask your hosting provider for help with a redirect loop.In reply to: Individual Groups Not RedirectingThen it may be your .htaccess file.
It should look like this:# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressIn reply to: Individual Groups Not RedirectingYou have a redirect loop.
This is probably due to a function in your theme or some other plugin.
To narrow down the issue, try switching to a standard WP theme like 2013.
Try deactivating plugins one at a time.You also have an issue re profiles.
For example, your profile link is
http://www.jennifermfitness.com/profile/JennMFitness/
which is 404 (not found)The ‘correct’ BP url is:
http://www.jennifermfitness.com/members/jennmfitness/
And that also causes a redirect loop.In reply to: about the speed of the site>because it’s integrated in vibe theme
BP doesn’t need to be integrated into a theme.
Install BP separately and test with a standard WP theme.
Then you’ll get more info re whether the bottleneck is your server or BP or…In reply to: about the speed of the siteIn addition to the above suggestions – you can switch to a WP theme like 2013 and see if the site loads quicker. If so, then you know the main bottleneck is the vibe theme.
This will get you started re filter:
function ericreynolds007_filter_ajax_querystring( $querystring = '', $object = '' ) { if( $object != 'members' ) return $querystring; $defaults = array( 'type' => 'active', 'action' => 'active', 'scope' => 'all', 'page' => 1, 'user_id' => 0, 'search_terms' => '', 'exclude' => false, ); $dtj_querystring = wp_parse_args( $querystring, $defaults ); if( $dtj_querystring['type'] == 'alphabetical' ) { $users = get_users('role=editor'); $users_str = ''; foreach ( $users as $user ) { $users_str .= $user->ID . ','; } $users_str = rtrim($users_str, ","); $dtj_querystring['include'] = $users_str; return $dtj_querystring; } else return $querystring; } add_filter( 'bp_ajax_querystring', 'ericreynolds007_filter_ajax_querystring', 20, 2 );The key parts are the ‘include’ which restricts the query to those users.
This example gathers all users with role=editor.
You’ll have to figure out how to collect the ids of the board members.
You might try using the ‘type’ field in the bp_activity table.
SELECT user_id FROM .... WHERE type = 'last_activity'Is it only alphabetical that does that?
‘Last Active’ shouldn’t.
What about ‘Newest Registered’ ?Alphabetical sorts against the display_name field in the wp_users table, so you might have to write a filter.
How many BP users do you have?