Hello,
I'm running elgg 1.5 on hostgator. I tested this with 2 different installations and the bug is there.
When I go to some user's profile and post something on their profile messageboard it appears as if it's posted by the profile owner's username! e.g John goes to Alice and posts on her messageboard and the message appears as if Alice posted on her own messageboard. Even on the riverdashboard it says Alice posted on her own messageboard.
That's some serious bug - it's very annoying for the users.
Does anyone have a workaround?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
You running php as CGI. Technically, this is not supported but it seems that 99% of Elgg works with it anyway.
Try this and then report back:
1. edit /mod/messageboard/ajax_endpoint/load.php
2. line 29 should be: if ($user->annotate('messageboard',$message,$user->access_id, $_SESSION['user']->getGUID())) {
3. change this to
if ($user->annotate('messageboard',$message,$user->access_id, $_SESSION['guid'])) {
Thanks Cash, your issue works great !! I had this problem, i fix it but now i have another problem in the river : the two usernames are the same ! How can i fix it? thanks ;)
line 46 change the
add_to_river('river/object/messageboard/create','messageboard',$_SESSION['user']->guid,$user->guid);
TO
add_to_river('river/object/messageboard/create','messageboard',$_SESSION['guid'],$user->guid);
seems to work. Please report back.
hi Panosher,
Messageboard issue has solved but the coments of same user posting on his own messageboard appreading at dashboard remains any suggestions please!!!
worked now thanks a lot for this solution buddy!!!
- Previous
- 1
- 2
- Next
You must log in to post replies.