Login     Sign up
other fix in browse
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

when gender is hidden and age not you have something like
,20 (where 20 is the age)

file to modify includes\libs\browse.module.php
function index

code to change

[code]
if (!$member['hide_age']) {

            $age = ', '.get_age($member['birthyear']);

}
[/code]

change into
[code]
if (!$member['hide_age']) {
if ($member['gender'] != 2) {
$age = ', '.get_age($member['birthyear']);
}
else {
$age = get_age($member['birthyear']);
}
}
[/code]

173 months ago
jacky loon (@jack41)
Join date: Nov 9th 2010
Community posts: 87
View Profile
Send Message

there is no file browse.inc.php in 4.2.0

172 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

needs to be browse.module.php, i changed it in the original thread

172 months ago
jacky loon (@jack41)
Join date: Nov 9th 2010
Community posts: 87
View Profile
Send Message

ok thanks

172 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

:) Nice

172 months ago