-
Author
-
August 22, 2013 at 18:19 #2008HarvinderParticipant
Hi,
How do I get the profile to display personal information and images next to the avatar like the demo?
Thanks
HarvinderAugust 22, 2013 at 18:19 #1679drweyantParticipantHi,
The profile field info shown to the right of your profile images is not showing on our install. Any ideas?
Thanks in advance.See pics below:
Mine: http://untci.org/wp-content/uploads/2013/08/mine-938×582.jpg
Yours: http://untci.org/wp-content/uploads/2013/08/yours-938×614.jpg
August 23, 2013 at 10:52 #1709SQadminKeymasterHi,
I see you have changed the name of the profile field groups. You need to change what groups should display in that tabs. Please check this topic to see how you can change the displayed tabs: https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-imageCheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 30, 2013 at 11:28 #2014HarvinderParticipantI have fixed this now using information from:
https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image
The problem was i had changed the profile field names and therefore needed to change them in the child themes “fucntions.php” file.
Thanks
HarvinderAugust 30, 2013 at 22:04 #2027SQadminKeymasterYes exactly. Good job
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 31, 2013 at 17:47 #2078drweyantParticipantCan you please post *exactly* what you are changing in the code provided at the link above & where you are getting the info from? I’m replacing the info with what I think is the right info (field name and group name) but NOTHING is happening.
Thank you in advance for any assistance. I am so frustrated.
August 31, 2013 at 18:01 #2080drweyantParticipantI also changed the names of some of the profile field information and cannot get it to display next to the user avatar on the profile pages. I’m curious what you changed in the original code provided at the thread link you referenced above to get yours to show. Clearly I am missing something 🙂 Thanks!
August 31, 2013 at 18:17 #2081HarvinderParticipantYou need to change it in the child themes functions.php.
Use the code below to show the information next to the avatar. But change “Personal Info” to whatever your profile field groups are called.
$bp_tabs[‘Personal Info’] = array(
‘type’ => ‘regular’,
‘name’ => apply_filters(‘kleo_extra_tab1’, __(‘Personal Info’, ‘kleo_framework’)),
‘group’ => apply_filters(‘kleo_extra_tab1’, ‘Personal Info’),
‘class’ => ‘regulartab’
);Hope that helps.
August 31, 2013 at 19:05 #2083drweyantParticipantThanks!
do the ‘name’ & ‘group’ “Personal Info” fields have to match? Am I calling the field name in one and the group name in the other? I think that’s where I’m getting confused.
August 31, 2013 at 19:14 #2084HarvinderParticipantYes both name & group must match, that code is for one whole field group.
August 31, 2013 at 19:40 #2085drweyantParticipantAwesome, thanks so much for taking the time to help!
August 31, 2013 at 19:53 #2087drweyantParticipantThanks for the response. I’ve tried to follow what is provided in the thread above, as well as this thread: https://archived.seventhqueen.com/forums/topic/help-profile-info#reply-2084
Nothing works, and when I make the changes supplied in the latter thread, my site returns a server error.
I’m very frustrated and very lost. Please help me get this going.
August 31, 2013 at 22:10 #2095SQadminKeymasterHi,
‘name’ it is the name you want to appear on the tab name
‘group’ => is the group name you want to show profile fields fromThanks @Harvinder
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 31, 2013 at 22:18 #2096drweyantParticipantStill nothing. I copied the code exactly as above, changed the data to match my group name and still nothing is showing.
August 31, 2013 at 22:31 #2103SQadminKeymasterHi,
So to add the “Personal Info” tab this is the complete code like in the link I first sent:COPY CODEadd_action('after_setup_theme','kleo_my_tab'); function kleo_my_tab() { global $bp_tabs; $bp_tabs[] = array( 'type' => 'regular', 'name' => __('Personal Info', 'kleo_framework'), 'group' => __('Personal Info', 'kleo_framework'), 'class' => 'regulartab' ); }
PS: The name and group are case sensitive.
Make sure you have the child-theme activated
Make sure the user has filled data in that groupHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.