Search Results for 'profile fields'
-
AuthorSearch Results
-
September 4, 2016 at 2:17 pm #258363
David Cavins
KeymasterHi 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/
September 2, 2016 at 3:17 pm #258313In reply to: How to edit the text in registration page
danbp
ParticipantHi @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.phpExample
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.
September 1, 2016 at 9:24 pm #258295In reply to: Custom profile fields on registration page
buddycore
ParticipantYou could put all your fields as xProfile and group them in sections.
On top of that you could write some jQuery.
I struggle going into BuddyPress code but I’m sure you could target this with client side validation via jQuery.
It’s not perfect but it could be done.
September 1, 2016 at 8:03 pm #258278In reply to: Terms & Conditions Checkbox
danbp
Participanti can’t replicate your issue. My snippet works as expected and when TOS box is not checked, the registration is aborded.
You can test the error messages appearing for required fields by going to register page. Don’t fill any field and click on regiter. Does this work ?Also do you use any kind of plugin on registration page or for xprofile fileds ? Or other custom code ?
The description field is stripped by default. But you should be able to add an href by using single cotes. But that’s all. If you insert a target to href, it will be removed.
August 31, 2016 at 11:54 pm #258230In reply to: Custom profile fields on registration page
bcanr2d2
ParticipantHave you checked out Buddypress Conditional Profile Fields ?
August 26, 2016 at 4:16 pm #258092danbp
ParticipantAugust 25, 2016 at 12:32 pm #258046danbp
ParticipantThat’s a Firebug question, but not important anyway. Also, there is no need to use all rules, as they are handled by the original CSS. You declare only the part you want to modify for
.labelOpen /child-theme/style.css and add only this: (#xyz123 is the color hex you want to use)
#buddypress table.profile-fields tr td.label,{ background-color: #xyz123!important; color: #xyz123!important; }August 25, 2016 at 8:07 am #258036In reply to: [Resolved] Auto Generated Link in User Profiles
danbp
ParticipantHi,
this feature is currently handled field by field when you’re on the field creation page.
dashboard > Users > Profile Fields
Edit an existing field and see in the right column the box named Autolink. From there you can choose to enable/disable it.For more details about the concerned fields and autolinking, read comments in bp-xprofile/bp-xprofile-filters.php:322
August 24, 2016 at 8:42 pm #258025In reply to: [Resolved] Changing Profile Field LABEL html?
ekko848
ParticipantWell, I was able to do this by going into
wp_bp_xprofile_fieldsin phpmyadmin, finding my Profile Field Label… and changing the value to include the HTML.Also it seems, for some, since there is a 150 character limit, I may have to increase the character limit size to meet my html length.
Thing is, I’m not sure if this is the best way to do something like this?
Editing straight from the database seems a little iffy, I don’t want to potentially break anything.Any comments? Re-assurance?
August 22, 2016 at 5:25 pm #257891idichoo
ParticipantAugust 22, 2016 at 5:25 pm #257890idichoo
ParticipantHi,
WEll.. i have the same problem as this person posted.
i have a similar problem as the above link.
i tired to understand install child theme but it does not work.
Thru this link
But i have quite complicated is there any video you can provide me.
Btw I am not using FTP, I am using cloudways to bulid the site.August 19, 2016 at 10:44 pm #257812In reply to: Register LABEL
danbp
ParticipantHi,
have you done this ?– create a new field
– enter Birthday as title
– give a description
– Under Type section, select date selector
– saveWhen you’re on a profile’s edit page, you should see
– title
– date selector (day, mounth, year)
– This field can be seen by:….
– the field descriptionIf you highlight the whole and check his source code, you would see something like:
<fieldset class="datebox"> <legend>Birthday</legend> <div class="input-options datebox-selects"> <label for="field_xx_day" class="bp-screen-reader-text">Select day</label> <select id="field_xx_day" name="field_xx_day"> <option value="">----</option> <label for="field_xx_month" class="bp-screen-reader-text">Select month</label> <select id="field_xx_month" name="field_xx_month"> <option value="">----</option> <label for="field_xx_year" class="bp-screen-reader-text">Select year</label> <select id="field_xx_year" name="field_xx_year"> <option value="">----</option> </div> </fieldset>If you can read this code but don’t see it’s ouput on your theme, you have to find which CSS rule is handling the labels.
Could be a simple contrast issue or something omitted somewhere.
To get sure of this, try first with one of Twenty’s theme.And if possible, answer the questions you already received from Paul and give some details about your install: used theme and plugins at least.
August 19, 2016 at 9:22 pm #257809In reply to: Register LABEL
junglejim620
ParticipantHi Paul,
The field is for BIRTHDAY.
From the admin where the Users (menu), click the PROFILE FIELDS to create just like any other fields. just this particular label is not showing but every label are all good? Freaky Freaky!
I try not to use extra plugin which I already using 30. Is there’s some kind of file that I can go download and overwrite it?
Please advise, thanks
August 19, 2016 at 9:11 am #257772In reply to: Register LABEL
Paul Wong-Gibbs
KeymasterAh, what’s the profile field type for that? Is it a date field type or a “Birthday” field type?
Are you using the https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ plugin ?
August 19, 2016 at 8:44 am #257766In reply to: first_name & last_name automatically altered
Paul Wong-Gibbs
KeymasterBuddyPress will try to sync the value of a user’s “Name” field to the First and Last Name fields in their wp-admin user profile.
To disable this, go to wp-admin Settings > BuddyPress, and disable Profile Syncing.
August 18, 2016 at 5:18 pm #257753In reply to: first_name & last_name automatically altered
danbp
Participant@mugwumpman,
first and last_name fields don’t belong to BuddyPress, but to WP profiles.BP use only a field called Name at first install. User can enter their first AND last name in that field. Is this what you’re talking about ?
After reading your topic on wp.org, it seems that you use those fields to enter datas which are not first and last names, but more for company and company activity or such.
As you use BP, i would suggest you use the power of xprofile and offer to your user a much better experience by adding a field for a company and another for company activity (or something like that). So you can forget WP’s profile fields and use BP’s xprofile fields.
WP’s profile field used when BP is activated are: username, email and password.
And BP adds his mandatory Name field, which can be first, lastname, username or whatever other unique name belonging to a subscriber (which can be a human, a pet, a company….).And yo can as many fields you want to the registery or for later on profiles.
The other problem related to font case is a mistery so far. Can be related to many things such as plugins or theme or custom function. This can be determined by debuging and using one of WP’s default theme and all plugins deactivated.
No matter to know if you fill a wp or a bp field for this. Both use a textarea, so it’s probably more a css thing somewhere.
August 16, 2016 at 8:11 am #257653In reply to: Creating User Class Systems Out/Inside Buddypress
sharmavishal
Participant“WP was finding it difficult to distinguish users on our current system with users of Buddypress”
correct cause bp adds additional profile fields…xprofile fields like name for example. rest gets stored in the wp_users database.
maybe u can try setting up different subdomains…bp on community.yoursite.com and forums on forums.yoursite.com
August 14, 2016 at 1:52 pm #257608anonymousse2
ParticipantActually @danbp I knew that there was a difference between an site admin and an average user. To be certain of it, I have just created an account specially to test the plugin but that does not still work. I can always modify the at will profile fields. What’s to be done?
August 14, 2016 at 12:08 pm #257603danbp
ParticipantUse this:
August 14, 2016 at 11:44 am #257601anonymousse2
ParticipantThank you very much @danbp.
I shall have another small question for you if him you are willing:
Do you know how can prevent the users from modifying one profile fields of type “Dropdown selector” ? That is they can fill this field while their registration, and then that it is not modifiable any more, but that he remains at least shown on the profile.Thank you in advance for your help
August 13, 2016 at 6:42 am #257581In reply to: Xprofile custom fields – image
danbp
Participant@earl_d, this “issue” is mentionned in plugin’s FAQ. Have you done the recommended changes ?
August 11, 2016 at 11:19 pm #257544jbboro3
ParticipantHello,
It’s be great if someone can suggest me how to get custom text before outputting the xprofile field contents. For eg., I’d want to output like “Lives in ($Loction)”, “Studied at ($school)” etc.. How do I output those custom text as “Lives in” “studied at” before the actual content output of fields. The reason being I’m using this on the sidebar widget.. Though I tried with something like:
<?php echo ‘Lives in’, xprofile_get_field_data( ‘Location’, bp_displayed_user_id(), $multi_format = ‘comma’ ) ?>
It outputs the “Lives in” custom text irrespective of whether the field is empty or filled.. I want to show both custom text and field content only when the field is filled..
Thank you.
August 8, 2016 at 3:22 am #257330In reply to: [Resolved] Profile Fields Error!
r-a-y
KeymasterThere was no change to the Extended Profiles component in BP 2.6.2.
Also i created about 11 profile groups but when i checked extended profile for my users from the admin panel i found all the created profile groups plus one more group with no content to it called “Social” which i didn’t create and i can’t even find it under Profile fields tab.
Sounds like a plugin conflict. Did you also install or upgrade some BuddyPress plugins during your BP 2.6.2 upgrade? If so, deactivate those plugins and try to replicate your issue again. Also, try a different theme like twentysixteen since some themes try to add some of their own BuddyPress customizations, which may not work properly.
August 6, 2016 at 4:55 pm #257294shanebp
ModeratorYou should set up a test site so that you can do a proper evaluation.
Answers:
1. The reg form will include any profile fields you place in the ‘Base’ profile group.
2. Each member has a page that includes profile editing.
3. All active members are shown on the ‘Members’ page. That page can include profile details.
August 1, 2016 at 2:30 pm #257154Topic: Image not saving in xprofile textarea field
in forum How-to & Troubleshootingjbboro3
ParticipantHello,
I’ve been trying to remove the strips on images on xprofile textarea fields (as I set the add media button on tinymce editor). I can upload, position and everything but it simply doesn’t save it.. There must be somewhere it’s not allowing to save images and other scripts for security purposes. But I need this feature must as for my current project..
If someone can point me the core files where I can look for that is not allowing to save images or stripping the images and other tags, that would be very much helpful.. I totally want to remove the entire strip tags that will support all the tags including image and iframes etc.,
Somewhat tried with: remove_filter( ‘xprofile_get_field_data’, ‘wp_filter_kses’, 1 );
but still it’s not saving the data.. can someone help me to better implement the above code?
I’m in desperate need of solution as possibly as I could get.
Thanks
-
AuthorSearch Results