Search Results for 'profile fields'
-
AuthorSearch Results
-
August 28, 2010 at 8:21 pm #90752
In reply to: BuddyPress Spam
Ted Mann
Participant@pcwriter It’s weird. I tried a proxy server, and was still able to get to the signup page by typing in the url, which leads me to believe the htaccess change isn’t taking right. Is there anything that could be interfering?
I had another anti-spam idea: Would there be a way to require a user to have an avatar? What I’ve noticed is that all the spam signups have no avatars. Wondering if making that essentially the same as required profile fields would help.
August 28, 2010 at 3:40 pm #90715In reply to: Groups vs Roles vs Custom Profile Fields
@mercime
Participant@nettantra thank you. Will be checking it out.
August 27, 2010 at 10:10 am #90547In reply to: Groups vs Roles vs Custom Profile Fields
NetTantra
MemberHi,
You can check this plugin which I recently develop to provide ACL BuddyPress Extended Profiles:
https://wordpress.org/extend/plugins/buddypress-xprofiles-acl/
Hope you find it useful.
Regards,
NetTantraAugust 26, 2010 at 1:14 pm #90456In reply to: BuddyPress Spam
Ted Mann
ParticipantI’m using a custom child theme, so the footer copy has been changed. At the risk of inviting more spam, here’s my signup page: http://injersey.com/join-injersey
I’ve got si-captcha, Humanity, alternate slug, htaccess tweak, and 2 required profile fields. At this point it’s just getting kind of absurd. There must be some kind of backdoor that’s letting them in. Like Matt ( @footybible ), every single one of these spam signups is registering for a sub-blog. Unlike Matt, I offer the ability to register for a town via the Group Registration Options plugin ( https://buddypress.org/community/groups/bp-registration-options/ ) developed by @Messenlehner. Worked pretty well until 2 weeks ago, when we started getting slammed every day at about 2am with spam signups and posts.August 25, 2010 at 3:19 pm #90340jvoss
ParticipantSuccess! It turns out I was much closer than I thought. I had done some extensive rearranging and adding of divs to the editfield divs, and didn’t have the do_action( ‘bp_custom_profile_edit_fields’ ) in the correct place. I also used some code from @sbrajesh that he posted at http://bpdev.pastebin.com/RLreXE7X that was intended for displaying all profile fields on the profile page.
To see (and understand) what I was trying to do, you can see it at http://phrstudents.org/register/. For anyone interested in the complete code for my registration page, with all the appropriate php tags, I’ve posted it at http://pastebin.com/XA0Uii3A. Because of the multiple loops and divs I added for styling, it’s pretty long.
Essentially, for each profile field group I want to display I start each loop with:
php if ( function_exists( ‘bp_has_profile’ ) ) : if ( bp_has_profile( ‘profile_group_id=1’ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group();I change “( ‘profile_group_id=1’ )” to “( ‘profile_group_id=3’ )” or “( ‘profile_group_id=4’ )”, etc.
I end each loop with:
php endwhile;
php $fields_ids[]= bp_get_the_profile_group_field_ids();
php endwhile; endif; endif;
input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids” value=”php echo implode(“,”,$fields_ids); “And somehow, it all works!
August 25, 2010 at 1:31 am #90270jvoss
ParticipantActually, I’ve already added the fields to the database. And I can code the registration page myself, with a little direction. What I tried already (and this looked great, it just didn’t work) was something along the following line:
After php do_action( ‘bp_after_account_details_fields’ ) and before php do_action( ‘bp_after_signup_profile_fields’ ) :
[ I tried pasting the code, but it didn’t display. I’ve put it in a postbin at http://pastebin.com/bQxzDtc8 ]
It all looked great, was styled beautifully, and all the fields were displayed under their group. However after submitting the form, none of the entered info made it into the database. I’d post the whole register.php page code, but it is very long.
August 25, 2010 at 12:52 am #90267In reply to: Introducing JobBoardr
rossagrant
Participant@travel-junkie I would 100% go with option 2. I have many clients who would love for people to be able to attach their CV to their profile. I do a lot of sites for actors and models and this is absolutely perfect if the actors/ models can post their CV’s to their profiles for people to download as a PDF.
One project I am working on this minute would be made SO much better with just the CV option.
I for one wouldn’t mind at all in buying 2 seperate plugins – 1 for CV’s and one for job board if at a later stage it was necessary.
If you were looking at the full job board experience as a 100 Euro plugin then why not sell just the CV component for fraction of that and then promote the full jobboard add on as a premium upgrade.
You could even give away the CV component as a taster of what can be done with job board. that way it gets hundrerds of sites using it, becoming aware of it and a good percentage of those will no doubt want to expand and buy the full jobboard as a result.
Splitting the 2 components could well be a canny marketing ploy.
People will use the CV component and then realise they soon need the upgrade.What do you think?
I for one would love the CV component whether it’s free or a paid plugin. How easy would it be for you to create the CV component as a standalone? If you can add in the customisation we spoke about before in terms of editing fields and meta data on the CV I’ll put my name down for it now!August 25, 2010 at 12:34 am #90265govpatel
ParticipantYou will need someone to code the form and add fields in database as that is where all data is saved.
August 24, 2010 at 11:18 pm #90254In reply to: Introducing JobBoardr
rossagrant
Participant@travel-junkie Just looked at the CV creator and you know, this could be phenomenal!
The only thing I would need extra really is the ability to change the fields that appear in the CV (in the same way you can add profile fields etc in BP) That would be absolutely superb. Also the avatar doesn’t appear when you download the CV as a PDF. Is that supposed to happen? It would be great to get the avatar also.Cheers!
If you can make the plugin customisable in terms of the CV profile fields I’ll definitely be buying a copy of this off you!
August 24, 2010 at 10:52 pm #90250In reply to: Introducing JobBoardr
Anonymous User 96400
InactiveI am aware that CVs have different formats from one country to the next, so future versions will provide a way to completely customize any aspect of a CV.
This will be loosly based on the new way of generating and sorting profile fields in the BP trunk and on CV templates provided by users of JobBoardr.
Once you signed up to the test site, you can set up your own CV already and then generate a PDF file from it. The user-avatar gets automatically included as of now. The project that sidetracked me from finishing the first stable version of JobBoardr doesn’t actually need all the CV extravaganza, so a CV-rewrite will come with version 1.1.
Saying that, if you know a bit of PHP and OOP it’ll be easy to adjust the function responsible for outputting the PDF file. You’d also need to adjust the theme template for the CV, but that can be copied over to a child theme and does not involve any core-JobBoardr modifications.
What you get out of the box right now is basically an English CV (the one I used when I lived there). I am German, so I’ll provide a German CV as well. Other than that any other templates will have to be provided by users of JobBoardr.
August 22, 2010 at 11:13 pm #89997In reply to: Profile Field Search Boxes
rossagrant
Participant@gregfielding https://buddypress.org/community/groups/bp-profile-search/activity/
Check it out mate, it’s exactly what we need!
Just need a way of hiding the form through ajax as the search form can be BIG when you have a lot of profile fields to search from.
You know like the ‘new topic’ form is hidden in the forums directory etc?We just need this hidden in the members directory and it’s perfect. Lets you search with one or more fields selected.
Let me know what you think!August 22, 2010 at 8:57 pm #89992In reply to: Profile Field Search Boxes
rossagrant
Participant@gregfielding Totally agree there! To be able to find members by searching across multiple profile fields is really a feature that I’m sure most would love on BP. Does anyone have anything in the works?
August 22, 2010 at 6:12 pm #89977In reply to: Allow Users to add fields
Roger Coathup
ParticipantAugust 22, 2010 at 5:51 pm #89975In reply to: Allow Users to add fields
Hugo Ashmore
ParticipantWith difficulty. I would suggest best approach is to create a new field group add a series of text fields the user ‘could’ use, ensure they are optional, user fills in what they wish and you only display those fields that return a value i.e have been completed. note: a new field group will only be editable from the user profile and would not appear on sign up page by default, if required on sign up page then add new fields to the base group.
August 21, 2010 at 11:49 pm #89936In reply to: Profile Field Search Boxes
rossagrant
Participant@r-a-y Not sure if you’ll know this r-a-y but does this plugin allow me to search by multiple fields? e.g. Can I search for ‘females’ with ‘blonde’ hair etc?
I am starting work on a site where models will have profiles set up on attributes such as hair colour, eye colour, height etc and really need clients to be able to search for members matching more than one field.
Cheers.August 20, 2010 at 10:32 pm #89873Roger Coathup
Participant@drwebstein – this thread might might help you: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/adding-more-fields-to-groups/
August 15, 2010 at 7:21 pm #89206In reply to: Need to check if bp_profile_field_data() has data
Roger Coathup
ParticipantI’m not really sure what you are trying to do with your code. Whereabouts are you trying to hide fields with no data? In the default theme profile-loop.php, fields without values are already not displayed.
As for quick fixes: You’ll need to replace ‘your-field-id’ with a variable that’s got the field id in it. You’ll also need to write valid PHP e.g. closing the PHP code before beginning your html. I’d steer clear of inline style definitions as well; the default BuddyPress theme comes with a comprehensive set of CSS files, and you’d be better augmenting these with style definitions.
Unfortunately, this forum isn’t really the appropriate place for PHP coding tutorials – You might be better reading up on PHP before attempting to modify the theme templates in any depth.
August 15, 2010 at 2:45 pm #89176In reply to: Need to check if bp_profile_field_data() has data
Roger Coathup
Participantin your child theme, wherever you want to hide fields that have no data, you can put a simple if statement, something like:
if (bp_get_profile_field_data(‘field=your-field-id’) === “”) :
// don’t display code
else:
// display code
endif;Which file to edit, all depends where it is you are wanting to display / hide the profile field. The most likely file for displaying profile fields is profile-loop.php in members/single/profile, but that already skips blank fields (using a call to bp_field_has_data(); that function has to be used inside the profile field loop).
August 14, 2010 at 5:34 am #89046In reply to: Using user fields for tags
pcwriter
ParticipantHere’s an option:
https://buddypress.org/community/groups/custom-profile-filters-for-buddypress/It turns any profile field into a clickable search term that brings up directory of all profiles matching that term. Could be useful… depends on how you want to use it.
August 13, 2010 at 6:24 pm #89001In reply to: Hide profile field
nickmy
ParticipantAugust 13, 2010 at 6:08 pm #88998In reply to: Hide profile field
r-a-y
KeymasterTested just now, works for me.
You need to use the profile id #.Go to your profile field setup and check the ID by putting your mouse over the “Edit” field. The ID # is field_id.
For example, “Name” is 1.Either that or go to your DB and manually look up the profile field id in the wp_bp_xprofile_fields table.
You can also use any profile template tag and do your conditional.
If you wanted to use the profile name, use bp_get_the_profile_field_name() instead.
August 12, 2010 at 6:31 pm #88868In reply to: Hide profile field
r-a-y
KeymasterYou have to ask 1000 and 1 times!

You have to modify the profile loop (/members/single/profile/profile-loop.php)
Change this line:
while ( bp_profile_fields() ) : bp_the_profile_field();to:
while ( bp_profile_fields() ) : bp_the_profile_field(); if ( bp_get_the_profile_field_id() != 'ID # YOU WANT TO SKIP' ) :then change the corresponding endwhile; line to:
endif; endwhile;—
That’s one way of doing it.
August 12, 2010 at 3:10 pm #88840In reply to: Hide profile field
nickmy
ParticipantAugust 12, 2010 at 1:54 pm #88834In reply to: dynamically create new sets of profile fields
Roger Coathup
Participant@arxpoetica – we haven’t implemented any code yet, as we may now be moving all profile field handling out of BuddyPress on this client project.
If we do end up cutting BP code this, I’ll remember to post a snippet.
August 9, 2010 at 8:57 pm #88580In reply to: User Pages?
nickmy
Participantyeah but maybe you want to have somethink like nickpage
….and it would be cool if you could show fields/categories in a new tab on profile homepage
-
AuthorSearch Results
no answer