Forum Replies Created
-
In reply to: where do i get plugins for buddypress
Hi @sarahshaik
Welcome to BuddyPress! You can get BuddyPress plugins from the WordPress repository: https://wordpress.org/plugins/
Take a look here for everything tagged BuddyPress: https://wordpress.org/plugins/tags/buddypress/
In reply to: Default profile picture bugIf I had to take a guess, I’d say something is filtering
avatar_defaults.In reply to: bp_last_activityTry
echo substr( bp_get_last_activity( $user_id ), 7 );where$user_idis the ID of the user you need to fetch last activity for.In reply to: explode function@petervandoorn almost but
bp_member_profile_data()will output. Instead, you’ll need to use a function which returns a value before passing it toexplode(). That’ll bebp_get_member_profile_data()In reply to: registration page stylingTry posting your requirements on the BP Jobs Board. There might be a developer there who’ll help you.
In reply to: registration page stylingThe whole freakin Plugin needs a UI & layout makeover. It’s 2017, looks like crap vs today’s UI/UX standards.
Try to think of BuddyPress as a foundation for your theme to style. If your site looks as bad as you describe then consider switching theme. You mentioned @buddyboss, they build some great themes that might interest you.
In reply to: how to hook after promote and demote userThe best thing to do in this case is take a look through the code:
In reply to: remove buddymobileTry asking this question on the plugin’s support page:
In reply to: bp-custom.php in folder?How are you trying to delete the buddypress folder?
In reply to: bp-custom.php in folder?You shouldn’t modify the original plugin files.
In reply to: bp-custom.php in folder?You can find all of the templates in a buddypress folder here: bp-templates/bp-legacy.
Step 1. Copy the buddypress folder to your theme. You should then have something that looks like this: wp-content/themes/your-theme/buddypress
Step 2. Edit the files inside the buddypress folder.In reply to: bp-custom.php in folder?Which template are you referring to in 1.?
Check out the Template Hierarchy article. The file you’d need to copy and then modify is buddypress/members/members-loop.php.
can both code snippets be placed either in functions.php or bp-custom.php?
2 can but 1 isn’t a code snippet (you’re copying and then modifying a file).
In reply to: bp-custom.php in folder?The file path should be wp-content/plugins/bp-custom.php. If that doesn’t work for you then there’s likely a problem elsewhere.
In reply to: Registration page not working in mobile devicesThis is very likely to be theme-related. I notice you’re using the Niche theme. Try contacting the theme author to let them know there’s an issue.
In reply to: Activity Update IssueCan you show us a screenshot of where you’re seeing this?
In reply to: Why I can’t even remove confirm password?There’s 2 parts to the registration form. The form markup and the processing script. You can’t remove the signup_password_confirm form field because the processing script will be expecting it.
In reply to: registration page stylingYou can edit the layout of the registration page. buddypress/members/index-register.php is the template you’ll need to edit. See the Template Hierarchy article for more information.
In reply to: bp groups loop signs out user?!Try running this using something like Twenty Fifteen with all plugins deactivated. My guess is your code works but something else is conflicting.
In reply to: error after message customization on activate.phpThe following code won’t cause the parse error:
<p><?php printf( __( 'Your account was activated successfully! You can now log in on the sidebar with the username and password you provided when you signed up.', 'your-theme-domain' ), wp_login_url( bp_get_root_domain() ) ); ?></p>Parse error: syntax error, unexpected ‘else’ (T_ELSE) in /home/admin/public_html/wp-content/themes/Divi-Child/buddypress/members/activate.php on line 47
This is referring to an
elsestatement on line 47 of activate.php. What do you have on line 47?In reply to: registration page stylingYou should use your theme’s style.css document. Editing core files isn’t recommended.
You can add items to the activity stream using
bp_activity_add().See here https://codex.buddypress.org/developer/function-examples/bp_activity_add/
In reply to: Disabling ToolbarFound a solution, using BuddyMenu. 4 years without an update but seems to be working fine.
Glad you got this working 🙂
The
screen-reader-textaccessibility class is something that all themes should have I agree. You’ll likely find some RTL styles that are worth keeping also.In reply to: Out Of Office NoticeYou would need to find a plugin that does this because this functionality isn’t available in BP core.
If you change the template markup things could break because the BP JavaScript relies on various classes. However, changing or removing a CSS file will change the look and feel only.