Search Results for 'buddypress'
-
Search Results
-
Topic: Clear a field or check box
I need to clear/uncheck a check box when the “user role” of a user is change (in this case from Author to Subscriber). When the user role is changed, I was able to hide the field using the PlugIn “BuddyPress Conditional Field Groups”. The problem is that the search engine in my site still sees that check-box field because is still checked.
I’m not a programer, but I assume that the logic could go like this:
If User role = Subscriber
Then checkbox(Comunity College).uncheck
End ifThank you!
wp 4.2.4
bp 2.3.2.1I am seeing problems on a when BuddyPress is active we keep getting pages that start to return as 404’s
After a lot of debugging we can reproduce in demand
You need more than 20 users so the profile page is pages
To break the site navigate to the profile and page to another page/set of users and the page does an ajax call to load the view
now try to a normal wp page and it will 404
if you turn off JS / ajax so that pages reloads with query string ?upage=2 it does n’t break
you can fix the site by loading the permalinks in the admin
it seems that the permalinks change
Looking at the permalinks they change when it is broken
Working version ( the part of the array that changes )
["([0-9]{4})/?$"]=> string(26) "index.php?year=$matches[1]" [".?.+?/attachment/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" [".?.+?/attachment/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" [".?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" [".?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" [".?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]" ["(.?.+?)/trackback/?$"]=> string(35) "index.php?pagename=$matches[1]&tb=1" ["(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(47) "index.php?pagename=$matches[1]&feed=$matches[2]" ["(.?.+?)/(feed|rdf|rss|rss2|atom)/?$"]=> string(47) "index.php?pagename=$matches[1]&feed=$matches[2]" ["(.?.+?)/page/?([0-9]{1,})/?$"]=> string(48) "index.php?pagename=$matches[1]&paged=$matches[2]" ["(.?.+?)/comment-page-([0-9]{1,})/?$"]=> string(48) "index.php?pagename=$matches[1]&cpage=$matches[2]" ["(.?.+?)(/[0-9]+)?/?$"]=> string(47) "index.php?pagename=$matches[1]&page=$matches[2]" ["[^/]+/attachment/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" ["[^/]+/attachment/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" ["[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" ["[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" ["[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]" ["([^/]+)/trackback/?$"]=> string(31) "index.php?name=$matches[1]&tb=1" ["([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(43) "index.php?name=$matches[1]&feed=$matches[2]" ["([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(43) "index.php?name=$matches[1]&feed=$matches[2]" ["([^/]+)/page/?([0-9]{1,})/?$"]=> string(44) "index.php?name=$matches[1]&paged=$matches[2]" ["([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(44) "index.php?name=$matches[1]&cpage=$matches[2]" ["([^/]+)(/[0-9]+)?/?$"]=> string(43) "index.php?name=$matches[1]&page=$matches[2]" ["[^/]+/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" ["[^/]+/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" ["[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" ["[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" ["[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]"Broken. the content block after the first rule is now at the bottom (added space to show where rules where moved)
["([0-9]{4})/?$"]=> string(26) "index.php?year=$matches[1]" ["[^/]+/attachment/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" ["[^/]+/attachment/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" ["[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" ["[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" ["[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]" ["([^/]+)/trackback/?$"]=> string(31) "index.php?name=$matches[1]&tb=1" ["([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(43) "index.php?name=$matches[1]&feed=$matches[2]" ["([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(43) "index.php?name=$matches[1]&feed=$matches[2]" ["([^/]+)/page/?([0-9]{1,})/?$"]=> string(44) "index.php?name=$matches[1]&paged=$matches[2]" ["([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(44) "index.php?name=$matches[1]&cpage=$matches[2]" ["([^/]+)(/[0-9]+)?/?$"]=> string(43) "index.php?name=$matches[1]&page=$matches[2]" ["[^/]+/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" ["[^/]+/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" ["[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" ["[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" ["[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]" [".?.+?/attachment/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" [".?.+?/attachment/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" [".?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" [".?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" [".?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]" ["(.?.+?)/trackback/?$"]=> string(35) "index.php?pagename=$matches[1]&tb=1" ["(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(47) "index.php?pagename=$matches[1]&feed=$matches[2]" ["(.?.+?)/(feed|rdf|rss|rss2|atom)/?$"]=> string(47) "index.php?pagename=$matches[1]&feed=$matches[2]" ["(.?.+?)/page/?([0-9]{1,})/?$"]=> string(48) "index.php?pagename=$matches[1]&paged=$matches[2]" ["(.?.+?)/comment-page-([0-9]{1,})/?$"]=> string(48) "index.php?pagename=$matches[1]&cpage=$matches[2]" ["(.?.+?)(/[0-9]+)?/?$"]=> string(47) "index.php?pagename=$matches[1]&page=$matches[2]" }why is an ajax call changing the permalinks
Yes we do have lot of other plugins running so it could well be other code
Any Thoughts on fixing / debugging?
Paul
Hi,
I’ve created a series of profile field groups for different user types. There is one for a rider (Base), event organizer and finally a business user.
Currently im using the ‘BuddyPress Conditional Field Groups’ plugin to hide and show the event organizer and business groups based on the user but the Rider(Base) panel is there for all 3 user types.
Is there anyway to to hide the base panel based on the user either through coding or through the above plugin. Alternatively is there another plugin we could use?
Topic: Batch create group pages
A quick, but probably no so simple question: Has anyone ever tried to batch create group pages in BuddyPress and also populate them with descriptive metadata from a csv file or similar?
My intention is to create about 400 groups for a project, each with a group name, and some fixed descriptive information relating to the group to sit in custom fields. I don’t have any need to automatically assign members to a group, just descriptive info about the group itself, privacy settings, forum enabled etc. I also have geo data for the location of each group so might look into whether I can incorporate this as well using something like GEO my WP.
Ive looked around for plugins without success, and at the moment I’m trying to decide over whether to just do this all manually, or spend time on writing a script…
Any help or suggestions much appreciated.
Tom
Hi Guys
I am totally new to Buddypress but am loving every moment of it. I am in the process of planning for a website which will be an aviation social networks of sorts which will have the groups acting as a business directory. For now the site will serve only in my country, which is where my question comes in…
When selecting either a city or a province. The activity stream should only contain the posts/listings etc relevant to that city or province.
Many thanks in advance.
I’m looking for feature to allow non-registered visitors post in acivity.
Assigning non-registered visitors post to one user would be also ok. After hours of research i found this post https://buddypress.org/support/topic/allowing-non-registered-users-to-post-to-activity-stream/ wich would be perfect for me but it doesn’t work in new version of BP as this post is old.
Maybe someone can help with modifying this code ?
Any suggestios ?
Big thanks for any answers.
Hello everybody,
I wish you’re doing the summer great !
There is my problem : When a user change is email in the setting page, he’ll not receive the validation mail in the old adress. (I tried to search in the support page but i didn’t find a post about that). I’m using a plugin to send mail with SMTP (POSTMAN SMTP) and the validation mail when register works.
So i don’t understand why it doesn’t work for the email changing ?
Thanks for your help 🙂
There is the function in bp-setting-action.php used for that (nothing wrong second me):
if ( !empty( $_POST['email'] ) ) { // What is missing from the profile page vs signup - // let's double check the goodies $user_email = sanitize_email( esc_html( trim( $_POST['email'] ) ) ); $old_user_email = $bp->displayed_user->userdata->user_email; // User is changing email address if ( $old_user_email != $user_email ) { // Run some tests on the email address $email_checks = bp_core_validate_email_address( $user_email ); if ( true !== $email_checks ) { if ( isset( $email_checks['invalid'] ) ) { $email_error = 'invalid'; } if ( isset( $email_checks['domain_banned'] ) || isset( $email_checks['domain_not_allowed'] ) ) { $email_error = 'blocked'; } if ( isset( $email_checks['in_use'] ) ) { $email_error = 'taken'; } } // Store a hash to enable email validation if ( false === $email_error ) { $hash = wp_hash( $_POST['email'] ); $pending_email = array( 'hash' => $hash, 'newemail' => $user_email, ); bp_update_user_meta( bp_displayed_user_id(), 'pending_email_change', $pending_email ); $email_text = sprintf( __( 'Dear %1$s, You recently changed the email address associated with your account on %2$s. If this is correct, please click on the following link to complete the change: %3$s You can safely ignore and delete this email if you do not want to take this action or if you have received this email in error. This email has been sent to %4$s. Regards, %5$s %6$s', 'buddypress' ), bp_core_get_user_displayname( bp_displayed_user_id() ), bp_get_site_name(), esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?verify_email_change=' . $hash ), $user_email, bp_get_site_name(), bp_get_root_domain() ); /** * Filter the email text sent when a user changes emails. * * @since BuddyPress (2.1.0) * * @param string $email_text Text of the email. * @param string $new_user_email New user email that the * current user has changed to. * @param string $old_user_email Existing email address * for the current user. * @param WP_User $update_user Userdata object for the current user. */ $content = apply_filters( 'bp_new_user_email_content', $email_text, $user_email, $old_user_email, $update_user ); // Send the verification email wp_mail( $user_email, sprintf( __( '[%s] Verify your new email address', 'buddypress' ), wp_specialchars_decode( bp_get_site_name() ) ), $content ); // We mark that the change has taken place so as to ensure a // success message, even though verification is still required $_POST['email'] = $update_user->user_email; $email_changed = true; } // No change } else { $email_error = false; } // Email address cannot be empty } else { $email_error = 'empty'; }Topic: page dashboard goe away
I have a conceren where, once I upload and extract buddypress, my dashboard disappears, I cannot access the dashboard or the admin panel thorugh mydomain.com/wp-admin
anybody with assistance please?
Hi everyone, I installed a wordpress theme then installed buddypress. Now BP pages are not displaying properly: the menu items are next to each other with no space at all. I know this maybe because the BP pages didn’t load the theme css file but I don’t know how to fix this. I’m using a child theme for my wordpress theme.
My website is http://www.seeyou.us/bookings, thank you in advance! You can see the problem when you click Message or Register menu.
Topic: Group Invitation Buttons
Hi,
It seems there is still a bug in groups requests. If I create a buddypress.php in my theme every thing works but group request buttons (Accept/Reject) does not visible.
Can you please check it.
Thanks
Hi BuddyPress Community,
Anyone use Optimize Press 2 as a theme and their live editor pages. The pages look great, but there’s a disconnect with comments and the BuddyPress Activity Stream. This is unfortunate, because all my lessons are on these page templates.
Anyone know a work around for this?
Thanks,
Justin