Version 4.1 - if you click on a members avatar, you go to their Wall, as you should do, BUT if you click on their name, you go to your own wall!
The code seems to have a fault:
When you mouse over the Avatar you get: [url]http://www.domain/u/username[/url]
When you mouse over the user name you get: [url]http://www.domain/username[/url]
Does anybody know where to find the source code that needs rewriting?
as i mentioned before, that is because you removed de '/u' in the code.
But if I put that back, the user names are shown with a '/u' in front of them... so what's the answer to that one?
function stream_display
return part.
original code (fullname)
[code] return ' <div class="user_post_1"> <table width="100%"> <tr> <td class="user_post_left" width="'.$avatar_box_size.'" valign="top">'.avatar($row,$avatar_size).'</td> <td class="user_post_right" valign="top"> <strong>'.url('u/'.$row['username'], $row['fullname']).'</strong> '.$row['message']. $att.' <div class="att_bottom">'.$icon.' '.get_date($row['created']).$likes.'</div> '.$comment_form.$comment_get. '</td> </tr> </table> </div> '; [/code]
code with username
[code] return ' <div class="user_post_1"> <table width="100%"> <tr> <td class="user_post_left" width="'.$avatar_box_size.'" valign="top">'.avatar($row,$avatar_size).'</td> <td class="user_post_right" valign="top"> <strong>'.url('u/'.$row['username'], $row['username']).'</strong> '.$row['message']. $att.' <div class="att_bottom">'.$icon.' '.get_date($row['created']).$likes.'</div> '.$comment_form.$comment_get. '</td> </tr> </table> </div> '; [/code]
works 100% for me
Perfect! Thank you very much - and Happy Birthday for the other day!
you're welcome and thank you