Search Results for 'buddypress'
-
AuthorSearch Results
-
December 3, 2017 at 11:55 am #269381
In reply to: Delete a notice to all users
Gunu
ParticipantAnother update.
I found the “code” link in the following file: plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/notices-loop.php
I changed the following code:
<a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" aria-label="<?php esc_attr_e( "Delete Message", 'buddypress' ); ?>">x</a>In this:
<a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>">x</a>Now the “delete message” link is visible, however if I click on it I get an WP error message.
“Are you sure you want to do this?” – No Yes or No button but a link back to the messages with the text “try it again”
December 3, 2017 at 12:50 am #269376In reply to: New user welcome email
madebyhuddy
ParticipantI have the same problem. Every plugins except Buddypress successfully send mails. ( woocommerce, WPForms… ) I tried disabling all plugins, default theme, tried default wp mail, tried smtp trough WP Mail SMTP, Postman…
Anyways. I’ll follow this thread too.
December 2, 2017 at 3:34 pm #269360In reply to: Register page editor
Boone Gorges
KeymasterBuddyPress’s Register page is a special kind of page that cannot be edited via the Dashboard. That’s why it’s blank when you view it in the normal way.
To add additional fields to the registration process, go to Dashboard > Users > Profile Fields. Add one for Address and one for Phone Number. Make them required and/or private, if you’d like. As long as they are part of the ‘Base’ profile field group, they will appear as part of the registration process.
December 2, 2017 at 3:28 pm #269357In reply to: registration in nav menu when logged in
Boone Gorges
KeymasterWhen you add BuddyPress’s Register item to your nav menu, it will only show up for logged-out users. If you’d like it to show for *all* users, remove the BuddyPress item, and instead find Register under Pages and add it from there. https://i.imgur.com/Ny7Wj1L.png
December 2, 2017 at 9:57 am #269350In reply to: Users based on location
stunomatic
ParticipantHi Shane,
Even if I check condition it still shows all members.
<?php <?php if ( !empty(bp_has_members( my_custom_ids( 'country', 'usa' ) ) ) ) : ?> <ul> <?php while ( bp_members() ) : bp_the_member(); ?> <li> <div class="item-avatar"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a> </div> <div class="item"> <div class="item-title"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a> </div> </li> <?php endwhile; ?> </ul> <?php else: ?> <div id="message" class="info"> <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p> </div> <?php endif; ?> </div>December 1, 2017 at 11:52 pm #269333In reply to: [Fixed] I can’t create groups page keeps reloading
Arize Nnonyelu
Participant[RESOLVED] I went to BuddyPress options in WP Dash and the disabled User Groups Component and reenabled it then I was able to pass the first step and created a group. It works fine and normal now.
But I don’t know if you understand why it did that and why what I did fix the issue. If you do, could you explain to me? Thanks
December 1, 2017 at 7:30 pm #269324Boone Gorges
KeymasterThat string is not present in BuddyPress itself. It must be coming from the plugin described here: https://buddydev.com/buddypress/force-buddypress-users-to-upload-profile-photo/
Be sure to check for
wp-content/plugins/bp-force-profile-photoin your filesystem, and the Plugins screen on both the Dashboard and the Network Admin (assuming you’re running Multisite).December 1, 2017 at 7:21 pm #269321In reply to: How to hide tabs on the Sitewide Activity page
Boone Gorges
KeymasterThese tabs are hardcoded into the theme template. So you have two options:
1. Override the theme template in your own theme (copy
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.phpto/wp-content/themes/[your-theme]/buddypress/activity/index.php, open the copied template, and remove the tabs you don’t want.2. Hide with CSS. Eg
body.activity.directory #activity-friends { display: none; }December 1, 2017 at 3:42 pm #269311In reply to: Organic Square theme
peter-hamilton
ParticipantThanks again, I do work better when sometimes tapped on the back, and there is such a need to improve on the available themes for BBPress/Buddypress, I feel they should not even be a separate thing… think they come from the same group of people!?.
I aim to produce a usable skeleton theme in the next few months, to be honest now trying to learn how to create a customization page in the dashoard.
December 1, 2017 at 1:38 pm #269310In reply to: Organic Square theme
johnagreene
ParticipantSeriously amazing work @peter-hamilton! It looks better than any premium Buddypress/bbPress theme I’ve seen. Great job and can’t wait to see the finished product!
November 30, 2017 at 8:17 pm #269286Boone Gorges
KeymasterHm. I have never seen a problem like this before. It sounds like the problem is not really with BuddyPress per se, but instead some sort of database corruption.
Are you able to run mysqlcheck? http://www.thegeekstuff.com/2011/12/mysqlcheck/ A total guess, but it could be that this will clear up some of the problems.
November 30, 2017 at 3:48 pm #269280playdiune
ParticipantTry this great article:
November 30, 2017 at 3:27 pm #269279In reply to: Need some help figuring out a template problem
Boone Gorges
KeymasterIf the users of the site don’t care too much about what it looks like, then I would suggest switching to a theme like Twenty Sixteen. This will move you over to a “template pack” that is more modern and well-supported by the BuddyPress team.
Otherwise, there’s no danger in sticking with the existing theme, as long as it’s working for you. It’s outdated in the sense that it won’t receive any more feature updates from the BP team, but if you’re not using most BP features, this probably won’t bother you or your users 🙂
> Now the problems I see is that when creating a new thread, the thread is created and shown but only the title, the content posted when creating the thread is hidden. All subsequent replies show just fine.
If this is a CSS issue, it’s easily fixed. Look at the page source to see if the content is there. If so, it is probably being hidden by a rogue style, which you could override. If not, it’s a deeper problem that may require some PHP skills to debug.
November 30, 2017 at 3:23 pm #269276In reply to: Profile Image Widget Question
Boone Gorges
KeymasterOy, this is not a good piece of advice from the Avada support folks. You cannot put PHP into a text widget. I gave you a snippet of PHP with the understanding that it’d have to be added through code somehow.
If you haven’t got the resources to build a proper custom widget (no worries if not, it is a bit cumbersome to do), you may try a plugin like https://wordpress.org/plugins/php-code-widget/. You should be able to paste the text in question into one of those widgets and have it work.
Widget-friendly shortcodes for BP content is a good idea for a future enhancement. I’ve added a comment to an existing ticket we have to track a related idea. https://buddypress.trac.wordpress.org/ticket/7159#comment:2
November 30, 2017 at 3:15 pm #269274In reply to: Activity stream comments and reply display order.
Boone Gorges
KeymasterVery interesting question.
It’s not currently possible to do this through the regular activity API. We’ve hardcoded
ASCinto the comment query: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-activity/classes/class-bp-activity-activity.php?marks=1510#L1509I think that it would be a good enhancement request to add something to the query API that allows for these items to be reversed. If you’re interested, I encourage you to open a ticket at https://buddypress.trac.wordpress.org.
In the meantime, here’s a clunky workaround:
add_filter( 'bp_has_activities', function( $has ) { global $activities_template; foreach ( $activities_template->activities as &$a ) { $a->children = array_reverse( $a->children ); } return $has; } );This will only affect top-level comments; you’d need something recursive to do deeper levels. And you may want to limit this to front-end queries, or in the main activity directory, or something like that. But it’s a basic technique that should give you a sense of how to solve this in the short term.
November 30, 2017 at 2:56 pm #269272naomibuch
ParticipantBTW: I am using Newspaper – Theme version: 8.1
WP version 4.8.3
Buddypress Version 2.9.2November 30, 2017 at 10:08 am #269267In reply to: Need some help figuring out a template problem
ovizii
ParticipantHi @boonebgoges and thanks for replying.
I get what you are saying, its just that I am maintaining this site for a bunch of friends for their forum. basically no other feature of buddypress is used. I try and keep my efforts at a minimmum as its an unpaid favor I am doing them. So for the last few years all I did was keep WP and themes + plugins up to date.What I am looking for is the solution with the least effort 🙁
Still, do you have some pointers where to start? Some links I could read up or tips what to do and check?
What to do about this budypress message about the outdated template pack? I googled those terms and found some old posts from a few years back, mentioning some BP template pack plugin but that seems outdated information.
Say I can solve this outdated template pack, can I then keep using the buddypress default theme? I did improve it by adding some css but that is the only change I made to it.
November 29, 2017 at 11:09 pm #269260In reply to: How NOT to redirect users after login.
Boone Gorges
KeymasterThanks. I’ve just installed the combination of rename-wp-login and lh-private-buddypress, and I’m unable to reproduce the problem – after logging in, I’m being redirected to the originally-requested page. It may still be worth a test on your end; if temporarily disabling rename-wp-login fixes the problem, it would at least narrow down what’s going on.
If it were my site, the next thing I’d do is to debug the redirection chain, but I’m unsure how familiar/comfortable you are with debugging PHP functions. Try adding the following settings to your wp-config.php:
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', true );After a few pageloads, WP should have created a file at wp-content/debug.log. Once you’ve confirmed this, drop the following into a bp-custom.php file, and then run through the login redirect process. It’ll dump some info into your debug.log file, which we can use for further debugging.
add_filter( 'wp_redirect', function( $redirect ) { error_log( print_r( debug_backtrace(), true ) ); return $redirect; } );November 29, 2017 at 8:01 pm #269253In reply to: Locked out of my buddypress site
Boone Gorges
KeymasterHi @plumbingsuperstore – Oof, sorry to hear about the problems, but glad your hosting provider had a way to roll back.
BuddyPress doesn’t touch user credentials, so it’s highly unlikely that BuddyPress itself would be the cause of your admin creds not working after BP was installed. I’m guessing that either there’s some user error here, or there’s another plugin interfering with the process. To reiterate, logging into WP should be exactly the same before or after the activation of BP.
Regarding the 404 error when activating your account: When you install BuddyPress, it should create pages called Register and Activate. It sounds like this worked for Register (since you were able to register a new account), but didn’t for Activate. If you try this again, take careful note of the URLs you see in your browser when registering, the URL that appears in the activation email, and the URL you see in the browser after clicking the activation link. There could be a clue here.
One final tip: You can stay logged in as an admin in your browser and still test as another user. Open a private browsing window: Firefox https://support.mozilla.org/en-US/kb/private-browsing-use-firefox-without-history, Chrome https://support.google.com/chrome/answer/95464?co=GENIE.Platform%3DDesktop&hl=en, Safari https://www.macworld.com/article/1133941/software-web/safariprivate.html
November 29, 2017 at 6:57 pm #269252In reply to: Locked out of my buddypress site
plumbingsuperstore
ParticipantBoone howzit bud! 🙂 Thanks for the reply! Much appreciated!!!
I went into my cpanel, fortunately these guys I’m hosting with have auto saves on and I could restore my site to a previous time. WHOOOOHOOOO!!!!! So happy I chose them as my host provider!!!!
There is the fear though that this might occur again!… so running the neglected back up on my side will occur before every plugin installed or major settings change…. discipline is the way forward!
Ok prevention is better than cure right!?
So here goes the story as good as I can explain in my no programmer/developer language…
I was in wordpress… Installing Buddypress… I opened a second browser tab so I can view all the changes etc. that I made tweaking and installing Buddyp. (..aaand gloating cause I actually followed instructions to the letter and it all worked out just peachy!) Buddypress installed even downloaded the fake content plugin to see the end result in all it’s glory.. 🙂
I had to take it just one step further to satisfy this little voice in my head!
To test Buddyp. as a potential new register.
I logged out as admin….
Unknowingly
all Sh*t broke loose just then….I created a new account as a new user… completed in the registration form with a fresh email account… Buddyp. sent me the verify link to my email account.
Clicking on the verify email account link… gave me a – page not found – and re-directed be back to the login up page, once there telling me in red highlight – there is no account with those details…
Frantically entering the new registration details just kept me in the same loop…
Then deciding ok… to use my admin credentials to get back into either Buddyp. or my site backend…
To no avail… admin credentials did not do the trick… I was locked out completely…!
My std WordPress email credentials meant squat!
My main concern is, I need to to fix this…
I a new user register with my site the same think will occur to them…Being redirected back to the login and password block after clicking and confirming their email address….
I am not sure how to fix this!
I hope this makes sense… ?
Once again… thank you for the response to help out… would you know how to fix said issue?
Regards
W
November 29, 2017 at 4:55 pm #269246In reply to: Need some help figuring out a template problem
Boone Gorges
KeymasterHi @ovizii – Changing to a separate theme just because of a single styling issue is a pretty big step. If you’re generally happy with the way your site looks and works, it may be worth putting a bit of time into solving the specific issue, rather than looking for a larger switch.
If you do want to change, BuddyPress now supports a feature called “theme compatibility”, which means that it works well in most WordPress themes – whether or not they have specific support for BuddyPress. A nice place to start is the WP default themes (Twenty Sixteen, etc), some of which are particularly well suited to running a BuddyPress site.
November 29, 2017 at 3:39 pm #269242In reply to: Ordered list tag creates weird results
Boone Gorges
KeymasterGroup descriptions are filtered at the time of saving, via
wp_filter_kses(), and at the time of display usingbp_groups_filter_kses(). https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-groups/bp-groups-filters.php#L35It seems like a bug that we do different things at the time of save vs the time of display, but there you have it.
I’d suggest removing the
groups_group_description_before_savefilter, replacing withbp_groups_filter_kses, and then filteringbp_groups_filter_ksesto add allowed tags (as @r-a-y describes above). https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-groups/bp-groups-filters.php?marks=117#L87November 29, 2017 at 2:07 pm #269237naomibuch
ParticipantBTW: I am running:
WP version 4.8.3
Newspaper theme 8.1
BuddyPress Version 2.9.2November 29, 2017 at 11:28 am #269227Scribit
ParticipantHere the piece of page on which there is the element with “selected” class (HOME button).
Home button is a standard Buddypress element. I don’t add it for myself.Removing the selected class from Developer tools, and submitting the search form, it works but don’t use the “ajax mode”: It reloads the page adding search term as GET parameter (?members_search=test&members_search_submit=Cerca) and retrieving the correct results.
November 29, 2017 at 9:07 am #269225In reply to: Need some help figuring out a template problem
ovizii
ParticipantI just checked the tempalte’s css file and it says:
/**
* Theme Name: BuddyPress Default
* Theme URI: https://buddypress.org/extend/themes/
* Description: [NOTE: except for security issues, BuddyPress Default is no longer being actively maintained by the BuddyPress team.]so is there another default theme available?
-
AuthorSearch Results