Error with user's profile box |
| |||
Hello I am having an issue resulting in my users now not being able to add or follow other members of the site. The only thing they can do is write a message to the user. It seems as though the add friend and follow disappeared and the only thing left is 'message' and it shows the last login information
|
| |||
Error looks like the following: [img]http://www.tb-creations.com/jcowpage/errorinpage.jpg[/img]
|
| |||
why you want to add another member if he already is your friend ?
|
| |||
but it have 2 show follow?
|
| |||
but it have 2 show follow?
|
| |||
u.module.php change [code] to [code]
1
|
| |||
Thanks, yes this is what I intended to say. Once you follow someone I notice that unfollow appears if they have been followed,which is great. I was wondering if there could be something similar to this for add a friend where once you have added a friend "Remove from friends" can appear?
|
| |||
add [code]<td><img src="'.uhome().'/files/icons/add_friend.gif" /></td><td align="left"><a href="'.url('friends/delete/'.$owner['id']).'">'.t('remove from friends list').'</a></td></tr>[/code] after [code]<td align="right"><img src="'.uhome().'/files/icons/message.gif" /></td><td align="left"><a href="'.url('message/compose/u'.$owner['id']).'">'.t('Message').'</a></td></tr>[/code]
1
|
| |||
it think there is a <tr> missing: now you will get 3 icons with links (follow/unfollow, message,remove friend) in a row instead of 2, and you will have one </tr> to much.
|
| |||
Thanks, it worked!
|