-
David Cavins replied to the topic Mobile friendly registration? in the forum How-to & Troubleshooting 8 years, 2 months ago
CSS.Something like this will fix up the default form:
@media (max-width: 600px) {
#buddypress .standard-form #profile-details-section,
#buddypress .standard-form #basic-details-section {
float: left;
width: 100%;
}
}
-
David Cavins replied to the topic Buttons Turn Grey when Hovering in the forum How-to & Troubleshooting 8 years, 2 months ago
Hi, it looks like this rule is what’s active when hovering on your registration form, so I suspect it’s what you’ll need to override:
https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-templates/bp-legacy/css/buddypress.css#L956 -
marcus ersa's profile was updated 8 years, 2 months ago
-
The Wedding Specialist's profile was updated 8 years, 2 months ago
-
doniel Smith's profile was updated 8 years, 2 months ago
-
Glamei's profile was updated 8 years, 2 months ago
-
David Cavins replied to the topic Display email in frontend in the forum How-to & Troubleshooting 8 years, 2 months ago
The user can edit his or her email address via their profile > settings tab. You could add a link to that page like you’re doing above, with a link like “Change your Email Address” or similar.
I’m not sure what you mean about radio buttons. They should look like this:
• Option One
• Option Two
• Option ThreeAnd those items are called “optio…[Read more]
-
David Cavins replied to the topic Post Update in groups sometimes hangs in the forum How-to & Troubleshooting 8 years, 2 months ago
If you’re using BuddyPress Group Email Subscriptions, posting updates can take a long time because the plugin has to do a bunch of work to create the email notifications for all the group members. The devs are working to resolve the issue, but my crystal ball says that’s what you problem is, lacking more information.
-
's profile was updated 8 years, 2 months ago
-
Henry Wright replied to the topic Plugin Fatal error: Call to undefined function bp_is_active() in the forum How-to & Troubleshooting 8 years, 2 months ago
“bp_loaded” will also get the job done. You just need to find a hook that’s appropriate. A function needs to be defined before you call it so always worth keeping track of the load order in both WordPress and BuddyPress.
-
David Cavins replied to the topic deny access to subscriber profile in the forum How-to & Troubleshooting 8 years, 2 months ago
Ha,
bp_is_profile()isn’t a function. This works:
https://gist.github.com/dcavins/c5bb41691846b809c30c72230c3c5adf -
Janusz Mastalski's profile was updated 8 years, 2 months ago
-
Henry Wright replied to the topic Plugin Fatal error: Call to undefined function bp_is_active() in the forum How-to & Troubleshooting 8 years, 2 months ago
Try wrapping your call to
bp_is_active()in a function hooked to something likewp.For example:
add_action( 'wp', function() {
// Call bp_is_active() here
} );You need to do this because it’s likely your plugin is loaded before BuddyPress, hence the
bp_is_active()function isn’t defined at that point. -
Nik replied to the topic Cannot update cover image in the forum How-to & Troubleshooting 8 years, 2 months ago
I can’t personally answer that as it’s obviously down to the Buddypress development team(!) but as mentioned above, the fix which can be found here – https://buddypress.trac.wordpress.org/attachment/ticket/7674/7674.01.patch works perfectly well in the meantime…
-
David Cavins replied to the topic New user Activation email is not received in the forum How-to & Troubleshooting 8 years, 2 months ago
Hi there-
There’s a known issue with outlook/hotmail emails being rejected:
https://buddypress.trac.wordpress.org/ticket/7697#comment:7A fix is forthcoming (but there’s no timetable for that update).
-
David Cavins replied to the topic deny access to subscriber profile in the forum How-to & Troubleshooting 8 years, 2 months ago
Ha, that’s because there was an extra semi-colon. Try this:
add_action( 'wp', function() {
if ( bp_is_profile() ) {
$user_meta = get_userdata( bp_displayed_user_id() );if ( in_array( 'subscriber', $user_meta->roles ) ) {
wp_redirect( home_url() );
exit;
}
}
}, 1 );
What I was saying about roles is that WordPress handles roles.…[Read more]
-
EuricanaCiara's profile was updated 8 years, 2 months ago
-
johnson quotes's profile was updated 8 years, 2 months ago
-
Admin's profile was updated 8 years, 2 months ago
-
David Cavins replied to the topic Prevent group forums to show up in root forum update stream in the forum How-to & Troubleshooting 8 years, 2 months ago
Make sure you’re seeing what your subscriber users see. As a site admin, you can see everything. As a limited user, private forums don’t show up, unless the user has access to it.
- Load More