Search Results for 'profile fields'
-
AuthorSearch Results
-
March 27, 2014 at 7:52 pm #180412
In reply to: field visibility
Leendert van der Ree
Participant@shanebp Thanks. I used the code and put it in the members-loop. No result. I can see the fields in the admin section as well as in the profile. I can change visibility to one of the four possibilities. But none shows up in the members listing. I don’t get it.
March 24, 2014 at 9:51 pm #180251In reply to: Plugin for adding books to a profile
March 14, 2014 at 3:04 pm #179787In reply to: Editing Field error
shanebp
Moderator>I think it occurs because the user can not see the hidden fields.
The field is not hidden.
It doesn’t exist in the form because you skipped it.
But it is included in the hidden input ‘field_ids’, near the bottom of the form.
BP will try to save it, based on the fields ids, but not find it and then throw the error.Instead of skipping, try changing the field type to hidden.
If you don’t want it in the form at all, then skip it AND remove it from the string of included ids.
Use bp_get_the_profile_group_field_ids() and do your removals and then put the new string in the ‘field_ids’ input field.March 13, 2014 at 1:05 pm #179692In reply to: 2.0 top features – ideas
danbp
ParticipantI would like to have a better control over xprofile fields creation.
Specially maxlength and is_numeric declaration avaible on the editor page.Something like:
Add a new field (select field type) > single line textarea
Maxlength ? [] Numeric ? []Filtering bp-get-xprofile-field-data for each custom field is not always pertinent IMO. π
March 11, 2014 at 10:08 am #179603In reply to: Member profiles
Aldwin Jay
ParticipantDid you already created some profile groups and fields in Users > Profile Fields?
March 9, 2014 at 5:04 pm #179511iameverywhere
ParticipantJust a heads up, because I know a lot of people have asked and not gotten anywhere, but you can use this feature + Buddypress Xprofile Custom Fields Type plugin to create a forum badges feature. That was my goal with this and it works. You just need to display:none; the field# class so that users dont see it as an option to edit in their profile. Then you have complete control and can give users badges that show up in the forums π
*flys away*
March 7, 2014 at 7:59 pm #179437In reply to: Is profile fields treated as posts ?
boblebad
ParticipantThanks for your reply Henry π
I can’t find anything that looks like that in the database, and when going through the table names, there isn’t anything that sounds like having something to do with xProfile ?
I need to find the ID of the fields, so i can use them with BuddyPress Profile Progression “bppp_progression_block($user_id)”.
All the best
CarstenMarch 7, 2014 at 1:38 pm #179423In reply to: Is profile fields treated as posts ?
Henry Wright
ModeratorNo, they’re not treated as posts. They are called xProfile fields and form part of the xProfile component. They’re saved in their own table which I do believe is called wp_bp_xprofile_fields
March 6, 2014 at 9:48 pm #179402In reply to: Stop BuddyPress SPAM
BuddyBoss
ParticipantTwo more methods that help. I recently had a crazy spam attack – probably 300 fake signups per day. I implemented these two methods and it dropped to near 0.
1. Change the /register/ slug to something unique. An example would be /create-your-account/, or something of that nature. It just needs to be unique and also make sense in a URL for your user. Spammers targeting BuddyPress look for /register/ as the signup page. It’s all automated so you want to filter them out at the first step.
2. Add this to your functions.php file in your theme or child theme.
It presents a dummy field that humans don’t see. Spambots will fill it out, and if the field captures a value it will reject the signup.
// BuddyPress Honeypot function add_honeypot() { echo ''; } add_action('bp_after_signup_profile_fields','add_honeypot'); function check_honeypot() { if (!empty($_POST['system55'])) { global $bp; wp_redirect(home_url()); exit; } } add_filter('bp_core_validate_user_signup','check_honeypot');Credits for #2 go to:
http://mattts.net/development-stuff/web-development-stuff/wordpress/buddypress/anti-spam-techniques/registration-honeypot/I edited it slightly to remove the required redirect. Add that back from his tutorial if you want to. It requires that you make an extra page to send the spammer to, and I personally think that’s not necessary. I actually want them to have no indication their signup failed.
March 5, 2014 at 7:47 pm #179347In reply to: Change how profile fields are displayed
cyndimarie
ParticipantAfter snooping around I can see that the tables for the profile fields are created in profile-loop.php and bp_the_profile_field_value is defined in bp-xprofile-template.php I’m not sure about editing these files though…
I can’t seem to find the file that directs the items in a profile field to be separated by a comma, however I did find this topic: bp_the_profile_field_value and separating values
Instead of separating the items in the
<td class="data"><?php bp_the_profile_field_value(); ?></td>by commas, I want to make them into an un-ordered list.Any thoughts on how?
February 28, 2014 at 8:05 pm #179091In reply to: More fields and tick off boxes on profile ?
boblebad
ParticipantI appreciate that π
Thank you.
I’ve bin searching a little around, and found that by adding new user roles, and by making the forum “read only”, that’ll clear one of the things i need done.
The adding of more fields can be done from the settings /user/profile fields.
From there the checkboxes is possible too, i just right now don’t know if they are searchable, but i’ll figure that out.
The progression thing i think i got cleared too, i might need to mix something from another plugin to get the style match what i want.
The only thing left is the restriction of conversations between the membership plans.
All the best
CarstenFebruary 28, 2014 at 5:24 pm #179061WIBeditor
ParticipantThis hit me too, but with profile fields set to “only me.”
It’s about as big a potential problem as I can imagine.
February 27, 2014 at 11:53 pm #179023alexfads
ParticipantThanks @shanebp. I had this already written: <?php echo do_shortcode(‘[userpro template=view]’); ?>, but now im just not understanding where to put it, and if im missing something else as far as the “filter” goes. I first attempted to add <?php echo do_shortcode(‘[userpro template=view]’); ?> to the member-header.php file, somewhere right above this: <?php
/***
* If you’d like to show specific profile fields here use:
* bp_member_profile_data( ‘field=About Me’ ); — Pass the name of the field
*/
do_action( ‘bp_profile_header_meta’ );?>
but that didnt work. so then i did some more research and thats where i read that BP doesnt parse shortcodes and i would have to either make a function and add a filter that would allow shortcodes, or add a filter to an already exsisting function (which i was assuming was the bp_profile_header_meta’) that would allow shortcodes. Well, then of course being a newbie, i got lost looking at all of the codex stuff regarding functions parameters and return values, it all kind of went over my head, and couldnt figure out where to start anymore so i gave up. I dont have the means to hire a developer at this point, so ill just have to keep doing research until i figure out this filter function shortcode stuff, lol. Anyway, if you have any other ideas or ways i might be able to figure this out im all ears, otherwise, i genuinely appreciate your help. It’s hard to come across developers that are ok with sharing knowledge and help us newbies, so i thank you
February 24, 2014 at 11:12 pm #178843In reply to: How do i get my profile pages looking like this
BuddyBoss
ParticipantHow can I also make it so that the fields on the profile page are to be filled out when you have signed up and not on the registration page?
The fields added into the primary profile field group, named “Base” by default, will get collected on registration. The ones added to other profile field groups do not get collected on registration and are optionally added by users after register. So just make some profile field groups and put the fields you want to collect on registration into the Base profile field group, and the additional fields into another profile field group(s).
February 24, 2014 at 7:36 pm #178833In reply to: More fields and tick off boxes on profile ?
boblebad
ParticipantThank you you answers, especially you tolusage π
I’ve got a few question.
Is buddypress-xprofile-custom-fields-type necessary, under /users/profile fields in the Dashboard, it is possible to add more fields?
Can’t the membership plans be done with PaidMembershipsPro, i have for an earlier project bin looking at s2members, and found it complicated to configure, so many settings ?
I’ll have a look at bp-better-directories and buddypress-profile-progression π
Thanks again π
All the best
CarstenFebruary 24, 2014 at 12:10 pm #178820In reply to: Buddypress / WP profile syncing
Suzan Jasmin O.
ParticipantThank you @tolusage, it was very helpful, first I installed “buddypress-xprofile-custom-fields-type.1.5.8.4” plugin then “bp-xprofile-wp-user-sync” as you said. Some works now, except the profile page tabs and Signup module. Registration form all ok there are first name and last name boxes there.
1-But on profile page there are about me and Looking for tabs. Ans I see the same data in both tabs. Looking for has the same info as About me. Basically the name, age, height, weight etc all base info appears in looking for tab too except in quotes in Looking for css design.
2-And signup module doesnt show first and last name boxes
As you know on signup box there are these element boxes:
.User name
.Your full name
.Your email
.Desired password
.Confirm password
So I want to get rid off that “Your full name” and put “First name” and “Last name” boxes there. So what file do I need to modify? And how, with what coding?
3-And on admin panel as admin I want to be able to edit user data, at the moment I can edit only the names, email, password. But I want to be able to edit the age, height, weight, country, city thinks like that I have in the main registration form already exist. But on admin panel I cant see them for users to edit. How can I put them in users edit page?
Could you please help out, thanx @tolusageFebruary 23, 2014 at 10:34 pm #178804In reply to: Buddypress / WP profile syncing
tolusage
ParticipantTry the above combination of tips by @henrywright and mine…
Additionally, use the following plugin to create your First Name and Last Name fields as XProfile Fields:
https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/Then use the above plugin to sync them as necessary!
February 23, 2014 at 9:22 pm #178798In reply to: More fields and tick off boxes on profile ?
tolusage
ParticipantWhat you trying to create is a bit interesting and it might take about 3 or 4 plugins to manage fully… So follow the steps below and you’re well on your way:
Foremost, Install this plugin:
https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/
(NB: That is for the More Profile Fields Option)Step 2:
Install this plugin to achieve the “ticking off boxes, and also make them searchable, like vegetarian, vegan, smoking a.s.o. ?” that you asked:
https://wordpress.org/plugins/bp-better-directories/
(Although the plugin is a little old, the author is a BuddyPress core developer – see if you can work something out with him)Step 3:
The 4 Membership Plans Stuff is best handled by the free version of the plugin below,
https://wordpress.org/plugins/s2member/Step 4:
About the Profiles Completion Meter (35% Completed and so forth, but without the quality stamp!)
https://wordpress.org/plugins/buddypress-profile-progression/The quality stamp part is best worked out with the developer of Sweet Date. Just request custom development services from him and you’re good to go.
February 20, 2014 at 2:21 am #178662In reply to: bp-default parent theme missing
deepbevel
ParticipantI added a profile field to the members header.php, it was overwritten when I updated to the latest bp because I forgot to add it to my child theme.
it became the default:
<?php
/***
* If you’d like to show specific profile fields here use:
* bp_member_profile_data( ‘field=About Me’ ); — Pass the name of the field
*/
do_action( ‘bp_profile_header_meta’ );?>
But the field still appears in the members header! how is this possible?
My problem is, I’m trying to recreate the same site again, but I can’t duplicate it, I don’t know how to edit the members header anymore, or why it still works on my demo, but not when I use the same copy of bp as my demo?
Im getting this error in the members header
Warning: Creating default object from empty value in /home/palosverdes1/public_html/wp-content/plugins/buddypress/bp-members/bp-members-template.php on line 662
What’s going on? Please help!
February 20, 2014 at 12:43 am #178657In reply to: Hide profile field
agundabbo
ParticipantHello to everyone. Sorry If I reup this topic.
I try the method @r-a-y suggests in file edit.php (not in /profile-loop.php) and it worked just fine.The problem is that I wanted that normal users cannot edit but admins can.
So I think that the easiest way is with user_id (the alternative would be using wp_meta, the role and wp_capabiliets I think?So I have to put something like that
while ( bp_profile_fields() ) : bp_the_profile_field(); if ( get_current_user_id()=#ADMIN ID OR bp_get_the_profile_field_id() != 'ID # YOU WANT TO SKIP' ) :Am i right?
Thanks for the anwserFebruary 19, 2014 at 2:01 am #178613mrjarbenne
ParticipantYou shouldn’t need to hack the core plugin files in order to do solve the spacing issue. It’s just going to cause heartache when you update the plugin, and have to make the changes all over again. I know you are embarking on a big learning journey with BP, WP, and PHP, but I would suggest it’s time to learn a little CSS now as well. If you use a tool like Mozilla’s Firebug, you can identify the CSS identifier and tweak the CSS in a child theme (https://codex.wordpress.org/Child_Themes)
For example, the profile field by default has a padding: 8px; in the template. If you increase that number, you will increase the spacing between the profile fields.
Regarding adding the profile info in your member directory, this tutorial will walk you through how to pull a file from the plugin and add it to your child theme, so you can update the BP plugin more easily. It explains how to place an item on the Profile, but I’m sure the same thing could be pulled off on the Member Directory with a few tweaks.
http://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/
February 16, 2014 at 7:47 am #178503In reply to: Profile Fields adding html
Richie KS
Participantutilize the use of bp action instead, add this to your functions
if ( !function_exists('add_rules_in_register') ) { function add_rules_in_register() { echo "<a href='hxxp://www.websitehere.com' target='_blank'>Rules</a>"; } add_action('bp_after_signup_profile_fields','add_rules_in_register'); }February 13, 2014 at 3:52 am #178333In reply to: BuddyPress Training or Tutorials
julianprice
Participant@cuisire_ceo It depends but found the following most useful after googling so much to only come up with garbage past dated scraped/syndicated content.
The most important question is what the Purpose for Your BuddyPress Use/Community. The only way I have wrapped my head around it is to work backwards but with that said…
Heres What I consider some of the Best Round Ups and Buddy Pep to Follow:
Tammie Lister @mercime http://wordpress.tv/?s=tammie have some great talks and also have just googled for any slides from the various presentations. If not able to see video.
Also check out her book that only seems most current: https://buddypress.org/2013/11/buddypress-theme-development-by-tammie-lister/
Boone Gorges @boonebgorges http://wordpress.tv/speakers/boone-gorges/ and most notable this presentation: http://wordpress.tv/2013/12/10/boone-gorges-herding-cats-with-the-buddypress-activity-component/
or anything Boone from Youtube via WordPressNYC great example http://www.youtube.com/watch?v=gPpU3ySo5q0 in understanding of GROUPS.Of course John James Jacoby jjj @johnjamesjacoby (sorry jjj: he rambles often:) but found this useful in just using a simple profile I believe this is the session maybe others can reference it “WordPress Profiles” http://wordpress.tv/2013/10/04/john-james-jacoby-everything-you-want-to-know-about-bbpress-and-buddypress/
So you probably thinking Wow but you have not answered anything on installing π Believe me it helps so much to think big picture of your whole community than start working backwards as single page/components to map similarities to constructed it.
This is one of the most useful tutorial of theme I had purchased which the developer went MIA but it was an AHA moment for me. Because Buddypress are Custom Post Types thats Relational Data/Fields
http://www.youtube.com/watch?v=Cc3Er4S4EeQ & http://www.youtube.com/watch?v=s7b9TFw6ZAQ
. I know what you thinking this is not my intent or not relevant. Start watching #2 at 2:16 to think in context of Simalirty.Finally, The only other best other video tutorial that just a setup instruction. I have found online was BuddyBoss (don’t even own the Theme) http://www.youtube.com/playlistlist=PL5kBYJSuuvEj3KqG_lnAa9MxpZumjtTdY
and Mathis on VIMEO. The biggest problem is finding the resources in a central location so I have to track down.
I hope that helps as resources. It really would depend on how you see your community of your people and how its relational in context
February 8, 2014 at 8:32 pm #178150tolusage
ParticipantHi @BuddyBoss,
Try and play with this plugin if you really want to import user data to custom CRM applications (itβs a little old and was developed for another WP plugin):
https://wordpress.org/plugins/simple-crm-buddypress-xprofile/Feel free to download that plugin, study its source, implement whatever customisations you want as per Woopra and test to see if it solves your issue.
P.S. If you end up modifying that plugin to accommodate other important user data fields, donβt forget to rename it to something else and block off ALL its internal call for updates (whenever the parent plugin is pushed for updates, otherwise ALL your changes will disappear should you mistakingly push through with the update).
February 8, 2014 at 8:28 pm #178149In reply to: Buddypress / WP profile syncing
tolusage
ParticipantBefore BP is made fully compatible with WP right out of the box, I am afraid integration such as you want will continue to be a conundrum.
However, in addition to @henrywright’s contribution, why not give this plugin a try:
https://wordpress.org/plugins/bp-xprofile-wp-user-sync/Feel free to download the plugin, study its source, implement whatever customisations you want as per Woopra and test to see if it solves your issue.
P.S. If you end up modifying that plugin to accommodate other important user data fields, don’t forget to rename it to something else and block off ALL its internal call for updates (whenever the parent plugin is pushed for updates, otherwise ALL your changes will disappear should you mistakingly push through with the update).
-
AuthorSearch Results