Search Results for 'buddypress'
-
Search Results
-
Topic: Hide Group Creation Dates
Hello All,
Would someone kindly tell me how I can either hide or reset the creation dates for groups? Preferably using bp-custom.php file.I have been intermittently working on a site for the past 12 months and stupidly created a lot of groups when I first installed BuddyPress.
Best regards,
MikeMy proto website is at https://ecohydraulics.org/. I am running WordPress 5.1 and I use Easy Hide Login 1.0.6. I have installed BuddyPress 4.2 and set it up as instructed. The problem I need help with is that the “Login” top menu item that is added by BuddyPress wants to go to the wp-login.php, but this is expressly blocked by the plugin Easy Hide Login. I need to set the Login hypertext URL to go to the slug I have specified in the Easy Hide Login plugin. Please advise me how to do that or where I can find the answer.
I have searched the BuddyPress documentation and support forum extensively as well as the internet for MANY hours. I have not found an explicit instruction how to do this, but I get the hint that I probably have to edit one or more .php files. I just don’t want to do that without being sure what to do, so it is not pure trial and error. Ideally, I would just specify the slug somewhere, but I’ll do whatever is advised. I apologize in advance if this is already answered somewhere, so I will gladly take a link to such a place, but my searches have not yielded the answer, so I am asking for help now after many days of struggle. Thanks.
Topic: Load More Repeating Content
Hi,
I’ve deleted and then updated the buddypress plugin and the load more button still repeats the last 15 posts in the activity feed. Would anyone have some suggestions on what some possible reasons may be?
Thanks in advance for your help!
Topic: Buddypress nouveau
In the basic buddypress theme, when users on my site post, there is a drop down that lists the groups they have joined, and they can choose which they would like to post to. In nouveau theme, the box asks them to type the group name in order to choose it. Is there a way to get the nouveau theme to actually list their groups instead of needing to type the specific group?
Topic: Theme Incompatibility Issue
Long-time lurker on forums of every kind, I think this is my first time posting ever in my time on the internet, so you can tell that I’ve really run out of options :)! To be clear, the most important fact is that I found out that buddypress works with the twenty seventeen theme, but not mine (I did a preview with that theme, and that was when I knew I was in trouble).
As you can see, I added a top menu for people to register at: http://www.toledonaturalist.org/forums/
But there is no content on the page. I’ve thought of all sorts of fixes, the most promising of which is either making the twenty seventeen theme just for the forum pages (which is messy) or switching themes entirely. However, I am in grad school and pretty much every hour of my day is spoken for, so I don’t have time to switch themes. Does anyone have any recommendations on how I can make this work for my website? We are a nonprofit, and really looking forward to building an online community.
Also, I’ve only set up the registration page (i.e., linked it to buddypress in the buddypress pages tab), so the login page definitely won’t work if you click on that.
1. Which version of WordPress are you running?
5.1
2. Did you install WordPress as a directory or subdomain install?
Directly
3. If a directory install, is it in root or in a subdirectory?
Not sure!
4. Did you upgrade from a previous version of WordPress? If so, from which version?
Not sure!
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
No, it has never worked with my website.
6. Which version of BP are you running?
Version 4.2.0
7. Did you upgraded from a previous version of BP? If so, from which version?
No
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Yes, but I’ve deactivated them all and it still does not work.
9. Are you using a standard WordPress theme or customized theme?
Standard
10. Which theme do you use ?
Gaea: https://themeforest.net/item/gaea-environmental-wordpress-theme/9383580
11. Have you modified the core files in any way?
No
12. Do you have any custom functions in bp-custom.php?
No
13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
Version 2.5.14
14. Please provide a list of any errors in your server’s log files.
Sorry, I’m not at this level!
15. Which company provides your hosting?
Host Gator
16. Is your server running Windows, or if Linux; Apache, nginx or something else?
Not sure!
17. Which BP Theme are you using?
Basic?
18. Have you overloaded any BuddyPress template files.
No
19. Any other site customisations that might have a bearing on the issue?
NoHi everyone! does anyone here experience the same thing when you compose a message then you view the thread you will notice the text above the subject like this (Conversation between you and Deleted User and you.) it has a redundant (you) how to fix this? does anyone experience the same thing? i am using buddypress Version: 4.2.0 and wordpress 5.1 thank you guys..
Hello,
I’ve searched the internet and this forum in particular for a couple of hours but could not find a proper workaround for this issue:
As you know, BuddyPress setup works by creating two blank pages – members and groups. If I type in a meta description in Yoast for both and preview the pages, the description text is added to the page header and gets properly displayed in the page source text.
But as soon as I assign the two pages to the BuddyPress plugin, the description gets stripped completely. In the page source appears an author note that a description needs to be added.
I could live with that, but I urgently need to make my members page and all its related members profile content invisible to search engines. The severe problem is, that the Yoast settings „noindex, nofollow“ are stripped too.
The BBpress Forum page is not affected by this issue. Yoast can apply a meta description and the „noindex, nofollow“ command, which is a good thing.
Can someone please help me out with a solution?
Thanks in advance,
MartinI saw in a post/discussion from 2 years ago that BuddyPress was being enhanced to meet WCAG 2.0 requirements. I am wondering if it is still compliant. We are using it and need to ensure it is WCAG compliant. Do I need to go through an entire WCAG evaluation of all the page templates or do I just need to focus on our content and CSS code.
Topic: Bypass Email Requirement
This is a subject that’s been talked about off and on in Buddypress history. We all know that it’s handy to have a user’s email address for many reasons, but in general, people prefer to be asked less questions when signing up at a new website.
I hired someone for help with this a couple years ago, and the code they gave me still works (only with the legacy template pack though!) Here’s the code:
/** * Generate Random, unused email from the username * * @param string $username * * @return string random email */ function hello_generate_random_email( $username ) { $domain = '@metalheadswebsite.com'; $username = sanitize_user( $username ); $email = $username . $domain; while( email_exists( $email ) ) { //try another random email by appending some digit $email = $username . random_int( 1, 99999 ) . $domain;// there is vary low chance of having 100K users with same name anyway } return $email; } function hello_updatre_email() { // If the username is not given, let us not worry much if ( empty( $_POST['signup_username'] ) ) { return ; } //Also, if an email is already given by the user, do not generate one if ( ! empty( $_POST['signup_email'] ) ) { return ; } //now generate a random email and save it $email = hello_generate_random_email( $_POST['signup_username'] ); $_POST['signup_email'] = $email; } add_action( 'bp_signup_pre_validate', 'hello_updatre_email' );This code works perfectly with the legacy template pack. The user signs up, and the function takes the given username & appends @metalheadswebsite.com to it, and submits it with the form. I’ve been using this code since 2017.
My problem is that now I want to switch to the Nouveau template pack, but this code does not work with it; it fails; users are prompted for the email address after hitting “Submit.”
I don’t understand how the nouveau registration works; the markup in that file is harder for me to understand than the one in legacy. Is it something simple that I need to do? Does anything stand out based on the code I provided?
PS) As I mentioned, I know this has been talked about in the past. I’ve read the suggestions people have given, but those suggestions are dusty now; the plugin called “Optional Email” does not work with Buddypress (Nouveau), at least not as of today.
The person who created the custom code for me is no longer doing this type of work. 🙁
Topic: No Activation Emails
So I’m having an issue where all emails except the registration email are going out from Buddypress. I’ve been digging through thread after thread looking for a solution with no dice. I have the latest version of buddypress installed as well WP Mail SMTP plugin installed configured appropriately with mailgun. Test emails work, password reset works etc. I’ve tried making a new template as well.
If someone could assist I would appreciate it,
thank you, SophiaTopic: AJAX Request Spinner
Hello,
I’m trying to add a spinner gif to the webpage whenever someone clicks a button that uses AJAX to show them that their request is being worked on. I wish to use the Nouveau theme.
I’m running WordPress 5.1 and BuddyPress 4.2.0
There hasn’t been much on this topic except for here (which is now 4.75yrs old): Feature Request AJAX Loading Spinner
To start, I’m trying to get things to work with the messaging section.
I added
<img class='ajax-gif' src='http://localhost:8080/WEBSITE/wp-content/themes/THEME/classicloader30px.gif'/>to a file I made in my theme file for the messages template:
wp-content/themes/THEME/buddypress/common/js-templates/messages/index.phpIt was added underneath each input type=button and input type=submit.
Next I added this css:
.ajax-gif{ display:none; } .loading + .ajax-gif, .loading > .ajax-gif{ display:block; }My only problem now is that these buttons do not apply the “loading” class to the buttons anymore (like they do in Legacy).
I found that you can add and remove the classes during the function that is triggered on the click by going to /wp-content/plugins/buddypress/bp-templates/bp-nouveau/js/buddypress-messages.js.
Unfortunately, I don’t believe this is a file meant to be able to be changed in custom files.I added:
$('#bp-messages-send').addClass('loading');to sendMessage: function(),
$( '#send_reply_button' ).addClass( 'loading' );to sendReply: function(),
and$( '#send_reply_button' ).removeClass( 'loading' );to replySent and replyError.Any help in figuring out how to make this not be lost on a new BuddyPress update would be extremely helpful.
I’m also trying to figure out how to target any other BuddyPress AJAX events. I’m sure I can do the same thing with the Members Directory, but will probably need to do the same thing with figuring out what function is called when someone requests a friendship/cancel a friendship etc.