HomeUnityBlogs
 
 
moe78z

Using Browse.php without the Age Fields

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"?

bad
0
good
 
 

Comments

LHAdmin
LHAdmin 105 days agocomment permalink
 
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.
 
bad
0
good
 
 
AndreyP
AndreyP 105 days agocomment permalink
 
Yes, browse.php is old file .. and age here was hardcoded .. so you can just edit this directly
 
bad
0
good
 
 
moe78z
moe78z 104 days agocomment permalink
 
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 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!
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
moe78z Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.446613073349