Forum Replies Created
-
I figured out my issue with it not displaying and wanted to put my solution here in case others have the same issue.
I have the Conditional Profile Fields for BuddyPress plugin by BuddyDev activated. For some reason, for this field only, I had to change the visibility condition to “”Show” current field If ” and saved that. It will revert back to “”NA” current field If” but it made the biography field show in the user’s profile when you go to view it as a site visitor.
Regarding the edits not saving, maybe you need to purge the cache?
My issue is that the biography field doesn’t appear when viewing the profile at all.
Follow up question:
Is there a way to change the code to display an excerpt from some other profile field type other than the “WordPress Fields” -> “Biography”? Specifically I am after displaying whatever is in the “Multi-Line text area” field type.Thank you in advance to anyone who can help
Hey @activadorr thanks for your message. How silly of me, I know about the curly quote issue and didn’t check this. I’ve changed all the quotes to straight quotes and works now. Thank you so much!
Hello @imranmd, this solution no longer works and I get an error saying line 13 has a “Syntax error, unexpected token “>”.” (the line that says echo ‘<br>’;)
Can you help?
I forgot to mention, I am using BuddyX which is the official theme, but it is good to know I can try this if I use another theme.
For some reason it seemed to have resolved itself: maybe because I added the Kirki Customizer Framework or the BP Classic and it took awhile to take effect. In any case, thank you very much.
We’re talking about Profile -> Messages -> Compose, right?
Yes, this is exactly what I am talking about.
@emaralive
Thank you for this suggestion and interesting insight. I am not a developer so I have no idea how to write a script that does this, but I found this code here. Would you/does anyone know if this is the right thing to use, and if so, how I can modify it to apply only to the “compose a message” page? And I am guessing I need to put it in the bp-custom.php file?Thank you
@carinacodes Thank you for posting this! I was also using keyboard search to look for this line that says “Registering for this site is easy.” but I couldn’t find it, thanks for revealing where it is.
@imranmd Thank you so much for this, it works perfectly for me on the child theme’s functions.php file of the latest version (4.6.8) of BuddyX theme.
How can we hide ourselves in the BuddyX theme (the suggested answer is for Gwangi theme).
Could you tell us what you did to disable the profile page? Perhaps you can use Pastebin if you can’t post here directly?
Hello ThinLizzie
I tried your suggestion and I can only edit the email body and subject line, not the “to” field. This is what my options look like: https://ibb.co/br5fsVrFrom what I can see in my dashboard, users marked as Spam still show up in the All users section. Unfortunately there seems to be no way to sort them so you might have to individually set each back to “Not spam”.
Hi, you can disable the function of adding a cover image for the individual user profile. I don’t use groups so I don’t know if you can disable the cover image for groups.
To disable the cover image for individuals, go to settings -> BuddyPress -> Options -> Then uncheck “Allow registered members to upload cover images”. Then the cover image will disappear completely in the profile front end.
Did you allow registration in your wordpress dashboard? In the Settings – General, have you checked the option that says “Anyone can register”?
BuddyX is the free theme that was specifically developed for BuddyPress.
To install this, log in to your WordPress dashboard, go to Appearance – Themes – Add new – use the search bar to look for “BuddyX”, then install, and activate.
–SOLVED–
Update: I have discovered a work-around and would like to post it here in case it is useful to anyone else.
I installed both BuddyPress for its membership functions (eg profiles, directory) and also “User Registration” plugin (https://wordpress.org/plugins/user-registration/) for the registration form. User Registration plugin allows you to have more than one user registration forms and you can set what role you want each registration form to automatically assign to the user that signs up with that form. For example, you can create a form for teachers, and a separate form for students, and have the forms assign the respective roles to registrants of the form. Of course you need to create the roles first: t do this, use some sort of plugin that lets you manage user roles. I used “Members” (https://wordpress.org/plugins/members/). You can then create restrictions using this plugin and control the pages that each user role can and cannot have access to.
Update clarification:
Apparently member types is front end and visitors to the site sees something like “User1 is an student” and “User2 is a teacher” where student and teachers are the member types, but user roles is back end and can be used to create conditions in wordpress.What I’d like is something that allows people to register as different roles/types that can then allow them to be automatically (as opposed to the site admin having to manually assign each user after they sign up) restricted or redirected to different pages. For example, people who want to register as students use Form1 which automatically registers them as role/type “student”, and people who want to register as teachers use Form2 which automatically registers them as role/type “teachers”. Then all teachers get access to quizzes and quiz answers page, but students only get access to quizzes page.
I am only testing so I would like a free alternative, I don’t mind using several plugins to work together. I saw an old post on Stackexchange recommending a plugin called “Buddypress User Account Type” but this plugin is not available anymore.
Is there anyone who knows of an alternative?
Hi Thinlizie,
Thanks for the suggestion. I can confirm that the code in the original link I posted works using Code Snippet.
However, I prefer to have as few plugins as necessary. I know how to access the control panel of my site, so I prefer to add the code directly to the php file. However, there is no “functions.php” file in my control panel – not in the wp-contents, not in plugins nor buddypress folder. Do you know where I can access the correct folder for the correct php file to add the code to?Many thanks
Hi ThinLizzie,
Oh I see, not a developer so didn’t know it is PHP code.
Could you tell me which PHP file to add it to? I assume it has to be in the plugin folder (ie Buddypress) in the wordpress “wp-content” -> “plugins”-> “buddypress” folder in the back end files? But i don’t know which php file it should go in.
I’ve tried adding it to the end of a “bp-loader.php” and a “class-buddypress.php” but neither seemed to work.
Thank you
Thanks for this but it had no affect at all.
I can’t edit my previous comment so I will post an update here:
I just discovered that I do have Buddypress Nouveau. I did try the custom CSS but it didn’t work for me.