Forum Replies Created
-
In reply to: Trouble with BuddyPress pages
BuddyPress doesn’t use shortcodes.
Instead, it relies on connecting specific WordPress pages to BuddyPress components.
Read this section for more info:
https://codex.buddypress.org/getting-started/configure-components/#settings-buddypress-pagesIf you’re just relying on the basics like username, password and email address, you should be able to look at various WordPress user import plugins:
https://wordpress.org/plugins/search/user+import/And then to modify one of them to fit your current database schema. If you’re able to export your data to CSV, then you could probably use one of the available plugins.
However, for avatars, you would need to write a separate script to import them though.
You mention forums specifically.
If that is the case, you should use bbPress conditional functions.
See this page for more details:
If you have more questions, post on the bbPress forums as BuddyPress is not bbPress:
– BuddyPress = community
– bbPress = forumsIn reply to: BP styles & .js files missingadd_theme_support( 'buddypress' )is for custom BuddyPress themes not relying on theme compatiblity.I would remove that line from your theme’s
functions.phpand then load a BuddyPress page to see if the default BP styles show up as expected.Your developer would need to write an import script to parse your old database tables to match the BuddyPress DB schema.
No way around it, unless you manually create each user and fill in each user’s data one-at-a-time. This would be painful if your existing site is quite large.
You shouldn’t rely on PHP conditionals for CSS targeting.
Use your browser’s developer console and check the various
bodyCSS classes and then target the ones you want to use in your CSS stylesheet.Why not use something like?
body.forums .YOUR-SELECTOR {color:red !important;}If you must use PHP conditionals, use the ones that BuddyPress provides:
https://buddypress.trac.wordpress.org/browser/tags/2.9.1/src/bp-core/bp-core-template.php#L2034View the list of functions in that file for all the ones you can use.
In reply to: Activity that will disappear on my databaseDo you see any debug error messages when you enable
WP_DEBUG?
https://codex.wordpress.org/Debugging_in_WordPressIn
wp-config.php, setWP_DEBUGtotrue,WP_DEBUG_DISPLAYtofalseto prevent error messages showing on your site, andWP_DEBUG_LOGtotrueso error messages are logged towp-content/debug.log.Next, when the activities disappear, check the log and see what it says.
Also, always strip down your install to see if there is a problem with plugins or your theme. For instance, your caching and DB plugins could affect this. Try disabling some plugins to see if the problem persists.
In reply to: is a name obligatory?A username, email address and password is required.
If you activate the Extended Profiles component, then the first field “Name” is also required. A “Surname” field will need to be created by yourself, but once you do, you can set it as required if you want.
If you want to do comparisons, Twitter does not ask for a last name either.
In reply to: Problem: Cropping image doesnt work in profile!What version of BuddyPress are you using?
Can you upload the avatar that you wanted to use somewhere so we can test?
bbPress handles its integration into BuddyPress, not the other way around.
You should look into what it would take in bbPress to alter the slugs for BuddyPress groups. I don’t believe this is possible at the moment from what I remember though.
You might want to check out the bbPress forums as well:
https://bbpress.org/forums/In reply to: Child Theme template changesYou’ll want to see a very similar thread to yours:
You can check the “Users > Pending Accounts” page in the WordPress admin dashboard. Then, you should be able to just delete them from there.
It might be worthwhile for BuddyPress to have a built-in script that removes pending accounts that are older than a month or so.
Also, just to get some clarity, would inactive users be causing BuddyPress to slow down all functions on my website, such as loading a member profile, or the activity page?
Not really.
If you indeed do have a popular website with many users that are concurrently logged in and performing operations, then this will slow down your site. You will need to utilize object caching plugins and the like (I believe WPEngine already has something built in for this). You might also need to consider upgrading your WPEngine plan.
We’re also thinking of doing some performance enhancements in the next version of BuddyPress that will decrease the amount of code that needs to run on non-BuddyPress pages.
In reply to: BuddyPress forums topics not in Activity feedI’m guessing you have disabled Search Engine Visibility in WordPress.
If you have, view the following:
https://github.com/boonebgorges/buddypress-group-email-subscription/wiki#1-bbpress-doesnt-record-its-forum-posts-into-the-group-activity-stream--whyThe problem is with the function used to generate the active member count.
On your site, you have a ton of inactive users, which is causing the SQL query to be very large.
I’m guessing you installed BuddyPress on a really big site recently and your users haven’t logged in yet?I’m guessing your site has a ton of pending users that you haven’t deleted yet?BuddyPress can do better here, but in the meantime,
one way to mitigate this SQL query is to generate a script that will backfill an activity timestamp for all your inactive usersone way to mitigate this query is to delete all your pending users (the ones that haven’t completed registration) like Shane mentioned. This will stop WPEngine from killing the query.In reply to: Users cant create groupsA user can also use the sticky admin bar to access the “Create a Group” link.
Hover over your name in the top-right hand corner, then mouseover “Groups” and you should see the create link.
Your line numbers do not match up with v2.9’s, which is why I recommend re-installing. Not sure how re-installing will cause problems unless you have directly modified core files in the past.
Regarding
bp-custom.php, a quick search on Google would have explained what to do with it. Regardless, here’s the link to find out more:If the code snippet I provided didn’t work in your theme’s
functions.php, it most likely will not work inbp-custom.phpeither.The other potential issue is there might be a plugin conflict.
In reply to: Template modification not shown on websiteWhat would you need specific documentation for?
I would just recommend doing a file search within the /bp-templates/bp-legacy/buddypress/ folder for certain things that you need to modify.
That way, you’ll be able to know what file to edit for template mods.
In reply to: Profile & Group Crop Avatar IssueCannot duplicate this.
You might have a javascript conflict.
Try disabling all plugins except BuddyPress and try again. If it works, then it’s a plugin conflict somewhere. If you’re running a custom theme that has purported BuddyPress support, also switch to a default WordPress theme.
In reply to: Template modification not shown on websiteTry
cover-image-header.phpinstead since a default install will have cover images enabled.What is the “latest buddypress version” for you?
If you were using v2.9.0, then the patch I linked to should apply cleanly. There should be no changes between your copy of
/bp-core/bp-core-avatars.phpand v2.9’s/bp-core/bp-core-avatars.php.If your version is v2.9.0, then I would recommend re-installing BuddyPress from the wordpress.org plugins repository.
What version of BuddyPress are you running?
If you are not on v2.9.0, upgrade or upgrade on a test site if you need to before upgrading on your production site.
In reply to: BuddyPress advanced user Search backend settingsThe video showcases a plugin called BP-AUS, which is a 3rd-party plugin not officially affiliated with BuddyPress.
In reply to: Create Group Link BrokenI cannot duplicate this report.
Can you test and see if this is due to a plugin conflict? Try disabling all plugins except BuddyPress to see if the problem still occurs.
Also try switching your theme.
In reply to: Users cant create groups@eyedraw – Oops, sorry. I misunderstood your problem. Going to reopen your thread.
In reply to: BuddyPress advanced user Search backend settingsYou probably watched a video for a premium plugin.
BuddyPress doesn’t offer this functionality by default.