Thanks. It’s working now. I wouldn’t have thought of looking under that as it’s not in the BuddyPress settings.
wp_insert_post() takes an array as its first param. post_date is set to the current time by default so something is setting it to 0000-00-00 00:00:00.
If you’re talking about BuddyPress activity items (not WordPress posts) then recorded_time also defaults to the current time. Again, in this case there must be something in your plugin that is setting it to 0000-00-00 00:00:00.
Ref: https://codex.buddypress.org/developer/function-examples/bp_activity_add/
Hi r083r7-
Within the same site, you could write a short code that would render the profile. Outputting profile data is pretty straightforward: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/
One another site, I’m less sure. You’d need BP API or similar, which we’re just now writing.
Check our Bowe Codes for some other useful short codes and examples for your own: https://wordpress.org/plugins/bowe-codes/screenshots/
I really have no idea, but checking the code base, that error is thrown when a field type supports options (like a dropdown or checkbox set) and the data posted at save is unpopulated or is not an array. If you’re familiar with the developer tools in Firefox or Chrome, visit that page and submit the form, then see what the $_POST payload looks like.
Code reference: https://buddypress.trac.wordpress.org/browser/trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php#L1074
I can’t see what moving hosts would change here, but the internet is a fragile thing. 🙂
Since it’s theme specific, your best choice is to create a child theme and override that template part when you don’t want to see the image. (There are lots of conditional you can use, like is_buddypress() which returns true on a BP page.)
It’s extremely unlikely that there will be a plugin that changes one aspect of a specific theme.
Child themes: https://codex.wordpress.org/Child_Themes
Which plugin did you use for the 2nd register page ?
WP need for any user, a username, an email and a password. That’s mandatory even if you have 2 or 50 register page.
If you use only BP’s default register page and add a select box where you can choose Teacher or Student, you can afterwards give teachers a role of editor. That’s do able with built-in member_type
Also, depending the role with help of conditionnal field plugin, you can show fields for teachers only, for students only or both.
Another solution would be to add manually the teachers directly from within the admin. Usually, a school has less teachers as students. This shouldn’t be to difficult to add 10 or 20 teachers. This can also be handy as you can give them a lower capability (ie author) and attribute “editor” to only one or two of them, which will be in charge of students registering and dispatching. So in fact, only students have to register from front-end.
Another alternative would be to use what’s described here.
Hi !
BPB was made for BuddyPress, not to fit all existing membership plugins, especilly for premium plugins whose code is not public. If you need a feature related to paid membership pro, you have to ask this plugin author how to do this. I’m the author of BPB, but can’t help you for this. Sorry !
Hey there,
Regarding profile fields (Users>Profile Fields), I have several hundred of one type that’s a drop down select. I moved web hosts two days ago and ever since moving hosts I have been unable to add new options to this one profile field. When I try to add a new option I get an error message at the top that reads “These field options are invalid.”
If I change the field type to check box, then it works but then I can not change the field type back to drop box, unless I do so in the database. I contacted the host company and they said it’s not a server-side error.
Any ideas?
I’m using WordPress 4.6, BuddyPress 2.6.2 and it happens with Twenty Sixteen.
Hello, I use the 2.6.1.1 version of BuddyPress, WordPress version 4.5.3
I installed Buddy Progress Bar, to encourage to complete the profile, I realized that if active the plugin when I go to users, I do not see more to belong level (although already belonging to a level).
Is there a way to also show the level of belonging and let Buddy Active Progress Bar?
The problem is not visible from the site, but from the administrative part.
Thank you!
Hi,
this question is not related to BuddyPress as it seems you use Events Manager to let your members add events. Accordingly to plugin’s demo, you’ll probably have such a page.
From what i see on demo, the visual editor is the one used by WordPress. Read on WP Codex how to customize TinyMCE and use wp-editor function.
Maybe you could use this plugin to your advantage ?
I just diactivated all plugins, then installed BP again, still no save button.
Using chrome to inspect elements for BuddyPress Settings page:
http://www.site.com/main/wp-content/themes/music/musicband/events/css/jquery-ui-timepicker-addon.css Failed to load resource: the server responded with a status of 404 (Not Found)
load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=4.6:9 JQMIGRATE: Migrate is installed, version 1.4.1
http://www.site.com/main/wp-content/themes/music/musicband/events/css/jquery-ui-timepicker-addon.css Failed to load resource: the server responded with a status of 404 (Not Found)
Hi,
On your Toolbar you have the correct link to the correct register page !
http://www.nyfertility.org/register/ (which is not blank at all !) 😉
Note that WP/BP use mostly php files. Searching for file-name.html brings generally nothing else as blank pages.
When you create a page or use one of BP pages, edit the page and get the permalink (underneath the page title), so you be sure to have the correct path to it.
Other advice ? 🙂 Hum… read the documentation!
Hi,
i would use a cleaner code like what is indicated here.
WP function references
wp_mail_from
wp_mail_from_name
BP function references
bp_core_email_from_name_filter
bp_core_email_from_address_filter
NB: please use the code button when you insert code on this forum.
After installing buddypress and assigning the registration page, the registration fields do not appear on the registration page. Essentially the page is blank.
See Issue URL: http://www.nyfertility.org/register.html
Here is what I have done so far:
– I checked and disabled various plugins
– using wordpress Version 4.6
– registration page is assigned properly to existing page under buddypress settings
– enabled membership to be active – anyone can register (default as subscriber)
– removed buddypress plugin and – reinstalled – BuddyPress 2.6.2
– checked your forums for possible solutions – found nothing related
– deleted registration page, and created a new one with same url, and again with a different url – still no content appears
Any other advice would be greatly appreciated. I’m lost!
Hi !
I’m experiencing issue whith my registration page. After filling every fields, when I try to validate the form the page reload and nothing happen.
After the loading of the page, almost every fields are still complete. The only empty field is the password.
Version of WordPress : 4.6
Buddypress : 2.6.2
Xprofile activated
Theme : Kleo
Database version : MySQL 5.5
(some other plugins like Geodirectory, Geo WP are installed)
Thanks for your patience 🙂 Hope you will be able to help me !
I changed the theme as suggested. Nothing to do. If I create a discussion (bbpress), it is shown in buddypress activity. If I delete the discussion from the forum, it is still present in activity, but oviously clicking on it it shows 404 error page not found.
Any Idea?
Hi @shughesd,
for clarification, the first topic author mentionned Trying to find where to edit the text above the fields.
Are you looking for the exact same thing ?
Is register.php in the right folder ? /child/buddypress/members/register.php ?
The only text above the fields when registration is allowed is
Registering for this site is easy. Just fill in the fields below, and we\’ll get a new account set up for you in no time.
You have 2 options to edit/modify this string:
– using the language file if you only want to change the text.
– modify it in register.php if you want to change the HTML tag (by default it’s <p>)
Other text above fields is the field title.
This can be changed in fields admin. Dashboard > Users > Profile Fields. Edit the field and change the title to your need.
And finally, which doesn’t need any alteration of a template or language file, you can use one of the 30 action hooks existing in register.php
You can write a function and hook it to the placeholder of your choice. To do this, you add the below functions to bp-custom.php
Example
Add a welcome message at the top of the registration page, above Registering for this site.
And another one below it.
function my_custom_register_msg_title() {
echo '<h2>Welcome on my site !</h2>';
}
add_action( 'bp_before_register_page', 'my_custom_register_msg_title' );
function my_custom_register_message() {
echo '<p>Thank you for registering.</p>';
}
add_action( 'bp_before_account_details_fields', 'my_custom_register_message' );
In hope it helps you to understand the principle of operation on templates.
@danbp thanks for your reply. I am not so expert, so it’s good that somebody helps.
I use Dynamic News Pro (the theme), now I checked all the repair in FORUM and also Buddypress, but this doesn’t work. In my activity I still have a discussion that was deleted, and if I click on the activity – obviously – it gets the error 404 page not found.
Do you think I have to change the theme? Or something else to suggest?
Is there a way to display BuddyPress pages, specifically the profile page on multiple pages. What about on multiple pages of different WP Multisites?
If there were shortcodes this could probably be done but as far as I’m aware BP doesn’t have shortcodes.
Hello,
I have the same query and did as instructed- created a buddypress folder in my child them, pasted the registration.php file, and made the changes there. However the changes do not render.
Do I have to do something else with the original register.php page in order for this to work?
Thank you!
Hi community,
I’m a little confused with the BuddyPress multisite installation options.
I’m following instructions on this page:
I would like users of all my sites on the WP Network to have access to BuddyPress.
Can someone go over these options:
Network-wide
A. BuddyPress root blog in Main Site
B. BuddyPress root blog in Secondary Site
What’s the difference between these two?
One more thing…
Is there a way to display BuddyPress on different sites in the Network?
So if you go to one or the other sites there will be a BuddyPress page and have the same info across the sites.
Hi,
usually it is because you haven’t established any friendship. Go on a profile or Members Directory, click on Add as Friend.
Back to the group and see if this profile appears on the Invite tab.
Friends → Friendships
If you are in a BP dicovery phase, i recommand you to use BP Default Data plugin. Once activated you will have fake content in all BP active components (users, groups, friendships and so on). So you can see where and who see what.
Thank you for clarification. The screenshot you linked to shows the Followers item with an ID of
members-following-personal-li This belongs to a follower plugin or to a built-in addon of your theme.
As explained, on profile pages it will end with “-personal-li” and on group pages it will end with “-groups-li”. The notification component add “notification”, so you have notifications-personal-li.
The question now is: do you want to change the CSS rule or something in the html (ie. change li to div) ?
If it is the css rule, you do that in your child theme file style.css
#notifications-personal-li {
// do something
}
If it is the html, you have to work on the notification template, also from within the child.
And if it is a core functionnality – like moving or renaming the item: it’s explained on Codex:
Template overload
Navigation API