Now this may be a broader stroke than what you want to take out for Age and Sex but it works for what I'm doing. It's easy to test, just add some rem statements around a couple of lines. I've made a bunch of little tweaks here and there and didn't document them great - so I'm starting to forget what impacts what. Try this...
Go to /inc/profiles.inc.php... and rem out the following lines like I did below and then refresh any pages that had the sex and age displaying. Should be gone. I've gone through about every page to see if it broke anything but it looks like no dependencies on these variables other than displaying them on a page.
/*
$ret .= '<div class="li_word">'._t('_Sex').':</div><div class="li_value">' . $prof_sex . '</div>';
$ret .= '<div class="li_word">'._t('_DateOfBirth').':</div><div class="li_value">' . $prof_age . '</div>';
*/
I haven't implemented this yet...but am looking for a way to do it.
Do you know if this works for "Presence"?
Thanks for sharing but you're in the wrong venue .....
From Unity Rules .....
2) Forums are for discussions and collaboration. Post in Forums ONLY in case your issue needs group input.
3) Blogs are for opinions, news, ideas. Post in Blogs ONLY if you have something to tell about the topic.
4) Answers are for asking questions and answering them collaboratively. Post in Answers ONLY if you have a question to ask, or want to answer one.
.
how about if i want to display his/her age in profile.php instead in photo_gallery.ph?
as what i observe, i think in this part:
$oPPV = new BxDolProfilePageView($oProfile, $site, $dir);
$_page_cont[$_ni]['page_main_code'] = $oPPV -> getCode() ;
help me please, thank you.