Using Browse.php without the Age Fields

moe78z posted 22nd of May 2008 in Community Voice. 3 comments.

I have created my profiles without the need for the "Date of Birth" field. However, whenever anyone wants to view members, they will end up at browse.php. The default configuration has the fields:

  • Sex
  • Age
  • with photos only
  • Online

Due to the fact that I don't use "Date of Birth" as a field in my profiles, clicking on the "Show" button will give me "No result found" no matter what options I choose.

I tried to remove the "Age" field from browse.php but it still gives out the same result.

How do I remove the code for browse.php so that I can search without "Age"?

 
Comments
·Oldest
·Top
Please login to post a comment.
LHAdmin
This is what I did...

In Browse.php, in Row 118, find _DateOfBirth and change it to a new blank langage key (such as "_no_text" and removed the : (colon) that is directly before ‘</div>. Also comment out (//) the row that goes _t(“‘from)… (Row 120), which removes the age range fields.

The box is still size to include those fields, but your age info will not be displayed.
AndreyP
Yes, browse.php is old file .. and age here was hardcoded .. so you can just edit this directly
moe78z
Thanks for the advice. However, browse.php still does not work. I believe its the coding that has to be modified. Hiding the boxes and text will not change the fact that the variables for age will still be used for browsing right?

I'm looking at how to remove the coding for that. Do you know how its done? I've never learnt php, but I did learn C some time ago.

I tried to comment out some lines here and there, but it still didn't work. Is there anyone who could help out with this?

Basically see more I just need browse.php to work without the need for it to take in the Age fields.

Any help would be greatly appreciated. Thanks!
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.062730073928833