Search Results for 'profile fields'
-
AuthorSearch Results
-
July 16, 2012 at 8:18 pm #137398
In reply to: DOB Problem on Registration form.
Paul Wong-Gibbs
KeymasterThis is really not easy to change. The options for the date field are generated deep inside the bp_get_the_profile_field_options() function, right near the bottom of it:
`for ( $i = 2037; $i > 1901; $i– )`
I would suggest you use the ‘bp_get_the_profile_field_datebox’ filter and manually strip out the OPTION fields that you don’t want.
July 16, 2012 at 4:11 pm #137387In reply to: Custom Profile Fields not shown on members profiles
abbersbolton
Participant@RogerCoathup Thanks for that I will look in to it- it didn’t happen to me when I built first edition on local server. It may be one of a number of plugins, I will test each one to see if they cause problem and then try another theme. Shouldn’t be the theme because custom community theme is supposed to be compatible with BP but hey ho you never know.
@cj-kruger Yes I think I am, BP Klout and BP Twitter. I’ll look to see how it goes but at the moment the two plugins seem to be fine together unless of course they are causing the problem.
I will test this week and report back. Thanks all.
July 15, 2012 at 10:32 pm #137359In reply to: Custom Profile Fields not shown on members profiles
CJ Kruger
ParticipantIm guessing from what you have said you are using my twitter and klout plugins, what I could do is build a custom plugin for you – having all your requested features in one interface..
It will not be free though it wont cost a arm and a leg, if you are interested contact me at nit3watch@gmail.com
July 15, 2012 at 10:04 pm #137358In reply to: Custom Profile Fields not shown on members profiles
Roger Coathup
ParticipantBuddyPress profile fields do show by default when you visit a profile. So, it sounds like either your theme, or a plugin is causing the problem.
Did you create your profile fields from the BuddyPress menus in wp-admin?
The most likely candidate for the problem sounds like the plugin you are using to add buttons and maps to the user profiles.
Try deactivating that plugin – do the profile fields show?
Try switching to bp-default theme – do the profile fields show?
If they are still not showing — deactivate all your plugins except BuddyPress, use the default theme, and go to the Profile Fields section in wp-admin … are they definitely set up correctly in there? Are privacy settings correct? Do the profile fields show now in the front end?
By breaking your search down for a solution step by step like this, you’ll be able to determine what is causing the problem (your theme or one of your plugins).
July 15, 2012 at 6:57 pm #137343In reply to: Custom Profile Fields not shown on members profiles
abbersbolton
ParticipantWell (I’m sorry I don’t have a clue how to insert a pic like you have) I’d like them to show up on the member’s profile page, i.e. when they click on your name. I want it to be in the header I suppose, or just somehow accessible. At the moment, when I click on a member, there is no “public profile” tab or anything like there is on my own, so all you see is the activity module.with activity, groups, forums etc.
I just want other people to be able to access this info even if it means an “info” tab a la Facebook!To briefly explain, I have a similar set up to yours – Twitter button and klout score and a user location map so these things are in the header already, but other info like for example, Facebook page url, web address – I want these custom fields to also show and not just serve as input for plugins etc.
Thanks
July 15, 2012 at 3:56 pm #137336In reply to: Custom Profile Fields not shown on members profiles
CJ Kruger
ParticipantThey will be there under Profile>Public
Where is it you would like them to show up?
For example these are custom fields being called in the group header, same thing can be done with the members header
July 15, 2012 at 12:38 am #137326stoi2m1
ParticipantSo I have managed to list all of the profile fields by including the edit.php file from my buddypress theme.
I have then tried to trick the $bp object into looking like its setup for the profile component and edit action by setting the follow items like so:
`$bp->current_action = ‘edit’;
$bp->current_component = ‘profile’;
$bp->displayed_user->ID = $user_id;
$bp->displayed_user->userdata = $bp->loggedin_user->userdata;`How do I get the fields to populate with the current users data?
July 9, 2012 at 8:51 pm #137032In reply to: Private profile fields
valuser
ParticipantIn 1.6 beta 2 https://buddypress.org/2012/07/buddypress-1-6-beta-2/ there is a facility to restrict visibility of profile fields to —-> Anyone, Logged In Users or My Friends.
In addition there is https://wordpress.org/extend/plugins/buddypress-profile-privacy/ for earlier versions of buddypress. This can restrict visibility of profile fields to —-> Everyone, My Friends, or Only Me
July 9, 2012 at 7:45 pm #137026In reply to: Private profile fields
interglobalmedia
ParticipantI’m interested too. Some users might want that.
July 7, 2012 at 9:55 pm #136925Roger Coathup
ParticipantIt’s possible – but not via the extended profile fields.
The best solution probably involves developing a custom BP profile component to handle the images, and then some front end manipulation to make it appear ‘in position’ in profile edits / views.
July 6, 2012 at 8:16 am #136867In reply to: Really need help on privacy. Complete noob here
valuser
ParticipantSee and test https://buddypress.org/community/groups/miscellaneous/forum/topic/buddypress-1-6-beta-2-is-ready-to-test/
SOME privacy issues have been addressed. But not to the extent of being able to (out of the box) hiding members profile, groups, pages from visitors.
Just, now, visibility of individual profile fields can be allowed to be toggled/or fixed by admin between
> Anyone, Logged In Users or My FriendsJuly 4, 2012 at 7:49 am #136770In reply to: SOLVED: Limit Members Loop by Profile Fields
valuser
Participantbear with the ignorance !
`` What do I replace this with ?
July 3, 2012 at 1:11 am #136721In reply to: Hide/Delete Base Profile Username
ed
ParticipantSo I found the css solution:
I just added the following into my themes css:
.display-name h4 { display: none !important; }
.display-name table { display: none !important; }This will not show the base profile fields in the public view but will still allow the member to change username.
Hope this helps.
July 2, 2012 at 4:21 pm #136701In reply to: Hide/Delete Base Profile Username
valuser
ParticipantMany thanks for the tip. I presume adding the line to the functions.php of a child theme would have the same effect.
Crazily enough the plugin still works perfectly. Haven’t tried the linking to social networking bit yet. But otherwise all good. Separate words can be links with square brackets, and you can exclude fields altogether.
July 1, 2012 at 7:16 pm #136672Tammie Lister
ModeratorI’d suggest you look at wp_mail as the starting point https://codex.wordpress.org/Function_Reference/wp_mail. You can hook into the profile fields (with some custom coding) and send using that I think.
I would say looking at a plugin would be a good point to see code if not a direct solution for you.
July 1, 2012 at 12:07 pm #136657Kookidooki
ParticipantThank you Roger et al.
You / we can close this topic.
Best regards,
Kookidooki.
July 1, 2012 at 11:58 am #136655Roger Coathup
ParticipantYes, you need to echo the value returned by bp_get_member_profile_data(), or just use bp_profile_field_data() as you’ve done
July 1, 2012 at 11:54 am #136654Kookidooki
ParticipantHello Roger,
I’ve used your code bp_get_member_profile_data, but it failed and found out that his code is the solution:
`<a href="”>Url:`
I know what you’re thinking: what a weird code …. but anyway it’s working.
July 1, 2012 at 11:16 am #136652In reply to: Show custom profile fields in buddyPress?
Pinhead149
Member@RogerCoathup – email is sent
July 1, 2012 at 8:33 am #136644Roger Coathup
ParticipantTo make the URL clickable, add an anchor tag and use bp_get_member_profile_data() to get the value for the href attribute.
June 30, 2012 at 11:58 pm #136635In reply to: BuddyPress 1.6 Beta 1 is ready to test
valuser
ParticipantPresume this is the best place for feedback. if not let me know and i’ll do a separate topic.
Bp 1.6 Beta 1 and up to trunk 6154 and wp 3.4.1 local install
on a single site with bp default theme and on a multisite with child of bp default.
Changes to Profile fields visibility don’t seem to be sticking
Hobbies – not a required field Who can see this field ? Anyone (default)
Change Anyone to Logged in Users and Press Save Changes.
Green Box arrives on top of page —-> Changes Saved
But the changes are NOT saved. Everything stays the same !
Refresh page/Empty cache —> No help,
Same for non-admin user as for admin.
I have a good few plugins active and that possibly could be the cause.
Will disable these tomorrow to check.
In the meantime it would be great to have this confirmed or refuted.
June 30, 2012 at 10:44 pm #136633Hugo Ashmore
ParticipantGlad it’s working, wasn’t that hard in the end
thanks for posting your example.i’ve opened a ticket to see if the comment text in the file can be amended with new example.
June 30, 2012 at 10:05 pm #136632Kookidooki
ParticipantI’ve made a summary for others and as a reminder:
This is the code you must add around line 30 in wp-content/plugins/buddypress/bp-themes/bp-default/members/single/member-header.php:
`Location:Hobbies:<a href="”>Url:`
And how do I make the url clickable?
June 30, 2012 at 9:51 pm #136631Kookidooki
ParticipantHello guys,
It works!!!
I’ve replaced in /single/members-header.php the code bp_profile_field_data() by bp_member_profile_data() and it works great!Thank you guys!!
June 30, 2012 at 9:35 pm #136630Hugo Ashmore
ParticipantWhy are you looking in bp core files? Dont!
Please read through the thread again all the answers are there – you need to be working in /single/members-header.php -
AuthorSearch Results
