Login     Sign up
How to remove this?
Madushka Dissanayaka (@olee)
Join date: Dec 10th 2010
Community posts: 31
View Profile
Send Message

[b]No need this friend in common[/b]

[img]http://orkutsite.com//uploads/image/untitled(1).jpg[/img]

[b]Please tell how to remove it![/b]

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

in function index of browse.module.php

remove this line

[code]
.$mfslink.'<br/>'
[/code]

and also this you don't need anymore

[code]
if ($member['id'] != $client['id']) {
$mfs = sql_counts(sql_query("SELECT u.* FROM ".tb()."friends as f1 inner join ".tb()."friends as f2 on f1.fid = f2.fid left join ".tb()."accounts as u on f1.fid=u.id where f1.uid={$member['id']} and f2.uid={$client['id']}"));
$mfslink ="";
if ($mfs > 0) {
if ($mfs == 1) {
$mfslink = url('u/'.$member['username'] .'/mutualfriends',$mfs.t(' friend in common'));
}
else {
$mfslink = url('u/'.$member['username'] .'/mutualfriends',$mfs.t(' friends in common'));
}
}
}
[/code]

163 months ago
Madushka Dissanayaka (@olee)
Join date: Dec 10th 2010
Community posts: 31
View Profile
Send Message

Thanks (_)

163 months ago