Finding your way around the code

All the topics other than the two goes here.
  • Ads

Finding your way around the code

Postby JacquesPrevert » Mon Jan 18, 2010 2:45 pm

Hi all

I don't ask members for their date of birth when they register. I still have two places where the age is (wrongly) displayed 1) When I click on "Profile's Photos" and 2) when I read a member's email.

I would like to know how I go about to finding the php file where to make the changes.

For example, when I click on Profile's Photos - the browser tells me I am /photos_gallery.php?ID=347. So, where do I go from there?

Thanks
JacquesPrevert
Global Moderator
Global Moderator
 
Posts: 53
Joined: Sun Apr 26, 2009 3:42 pm

Re: Finding your way around the code

Postby Administrator » Sun Jan 24, 2010 9:03 am

Open the file inc/profiles.inc.php

Find and remove:

Code: Select all
$ret .= '<div class="li_word">'._t('_DateOfBirth').':</div><div class="li_value">' . $prof_age . '</div>';
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 992
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: Finding your way around the code

Postby JacquesPrevert » Thu Jan 28, 2010 5:28 am

Thanks Praveen!
JacquesPrevert
Global Moderator
Global Moderator
 
Posts: 53
Joined: Sun Apr 26, 2009 3:42 pm

  • Ads

Return to Dolphin General Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron