I see when a user comment on a post in wire, the same gets displayed as sepreate item in river listing. I need to remove this by providing a hook to orginal function get_river_items().
I dont know where to put to put the code. Please help.
Thanks,
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.
- DhrupDeScoop@Dhrup2000

DhrupDeScoop - 0 likes
- Manoj Shankar@manojshankar9

Manoj Shankar - 0 likes
-
ajax test
6 minutes ago
-

hello comments
21 hours ago
-

test1 posted to the wire
testin like notification
7 days ago
- Unlike
1 like
-

FrndsAdmin
21 hours ago
-

FrndsAdmin
6 minutes ago
- DhrupDeScoop@Dhrup2000

DhrupDeScoop - 0 likes
- kisssssss4ever@kisssssss

kisssssss4ever - 0 likes
You must log in to post replies.get_river_items() is not the one you need ;-) look for add_to_river() for the comment item.
Sorry your are not getting my point.
Check the below, "testin like notification" is main post on wire and "ajax test" and "hello comments" are added as comments to this main post. But apart from coming and reply comments to main post, the also appear has one river item in list. I want to avoide it.
hello comments
ajax test
" not getting my point " ?? The logic posted *is the correct portion of thewire processing where some appropriate and correct code changes will deliver *exactly what you want to achieve ;-) => comments to thewire are displayed only within the wire's page but not displayed on the river activity page ! is this not what you want ? if you do so - it most probably could be coded in about 10 mins flat.
I have the same problem, if someone posts a comment it shows on the top again twice.
Anyone can find a fix and help us?
Regards