Search Results for 'buddypress'
-
Search Results
-
Topic: page template for buddypress
I’m using the latest wordpress default block theme. Where can I swap template for buddypress pages? Currently buddypress is using the default “pages” template for all buddypress related pages.
How to apply another page template to buddypress? There is no way to “edit page”.Good evening, is there any way to prevent you from being automatically logged out of one of my Buddypress pages after a short time? Regards, Toni
Hi,
I have a buddypress theme installed that allows to handle WPJM plugin for job and resume registrations. For this latter I need the users to register as candidate or employer to control who can view resumes or post jobs etc.
However the theme dont have this per standard but their support where very kind to give me a suggested custom code to handle this. I cant get this to work and wonder if someone knows what might be missing?
This is what they wrote me for this question:
Create a Profile Field for “Role”: Set options like “Employer” and “Candidate” for users to select during registration.
Use Code to Assign the Role: A code snippet can assign the correct role based on the user’s selection in this profile field.Please let us know if you’d like guidance on the custom code snippet to achieve this or if you’d prefer assistance from a developer.
Here is a code snippet you can use to assign a user role based on the value selected in a custom BuddyPress profile field during registration. This example assumes the profile field is named “Role” and has values such as “Employer” or “Candidate.”
function assign_role_based_on_profile_field($user_id) { // Get the BuddyPress profile data for the registered user if (function_exists('xprofile_get_field_data')) { $role_value = xprofile_get_field_data('Role', $user_id); // Replace 'Role' with the exact name of your profile field // Assign the user role based on the profile field value if ($role_value == 'Employer') { // Assign 'employer' role $user = new WP_User($user_id); $user->set_role('employer'); // Replace 'employer' with the exact role slug } elseif ($role_value == 'Candidate') { // Assign 'candidate' role $user = new WP_User($user_id); $user->set_role('candidate'); // Replace 'candidate' with the exact role slug } else { // Default role if no specific selection is made $user = new WP_User($user_id); $user->set_role('subscriber'); // Or any other default role } } } add_action('bp_core_signup_user', 'assign_role_based_on_profile_field', 10, 1);Make sure the roles employer and candidate are defined in your site.
I want to use the WPJM user roles as standard: employer and candidate. Not sure if the slug meant here is just ’employer’ and ‘candidate’ to be correct?
Best regards,
Flamuren
Hello guys!
I’ve noticed that when I’m on a (private) group’s own activity wall and I wait for a few seconds – it comes up with a button to “Load Newest” activites. When this button is pressed it loads EVERYTHING from the main activity wall and not just the items from that specific group.
The meaning behind the “Load Newest” when within a group, should (I assume) be to load the newest posts/activites within that specific (again private) group. Anything else makes no sense.
Also when page is refreshed all the activites that dosen’t belong in the group is removed.
Is anyone else having the same issue or is this just a third party conflict on my end?
If anyone else is having the same issue, then this should be fixed/looked into in an upcomming update for sure.
If anyone has a solution to this, please let me know! 🙂
Thanks!
Recently, the WordFence plugin has been giving me a “critical” error message of:
The Plugin “BuddyPress Global Search” has been removed from wordpress.org but is still installed on your site.
Type: Vulnerability ScanIs “BuddyPress Global Search” part of the “core” BuddyPress code now? Can I safely remove it?Currently, the site is using global search functionality. If I remove it, the feature might break. How can I fix this issue without causing any disruptions?
Topic: Headers using HTML help!
Hi guys
I love to highlight different forums and topics on the forum list and this can be done using HTML in the title itself. The issue I’m having is that the HTML is being shown where I don’t want it (I know this is within bbPress).
This is how it looks in the forum (how I would like it to look):

This is how it looks in Activity Stream:

This is just an example – and I don’t want the HTML prefix/suffix to be shown in there – only the name/text like it is in the forum/topic itself.
Is it possible to force BuddyPress to “accept” the HTML and showcase it like bbPress does?
Anyone know if this is possible?
Hi
I have a big problem. All my buddypress pages (members archive and other buddypress pages) is having the logged in user call name as heading. Please see image here
https://www.dropbox.com/scl/fi/ifkurq9g1i9ppk8krq4gg/change-menu-title.JPG?rlkey=wyh7rryfffucyk4wac10jkfqk&st=9xrhh9td&dl=0
How to change this?All the best
Michelle
Hello everybody,
we need the buddypress members and single view to use a custom template.
But the Buddypress Content always tale te page.html template.I tried to make a cusotn template “buddypress.html” in the template folder, but the Members page makes no use of it.
Is there a way to adress a custom template-file in the twenty-twenst-four Theme?
Like the buddyvibes-trunk theme is doing it?Thank you a lot
Disclaimer, I am running BP 7.2.1. I have been since its release, basically. My WP version is latest, I keep up to date with that.
My large community, with no extra plugins, seems to be misbehaving, at random intervals. I can’t narrow down why.
Very rarely (but daily) users updates are deleted soon after they are made. Pending friendships are randomly accepted. And comments are applied to the wrong updates. This all started not too long ago, a couple weeks. Otherwise, this community has been running fine for years.
I’m just looking for any ideas or leads, explanations as to why. How could data be getting crossed so randomly, not affecting everything and seemingly with no pattern?
