We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Newsfeed Oxwall 1.7 Mobile [Solution available] | Forum

Omari
Omari Jul 18 '14
Newsfeed shows only your activity and activity from friends. I would like it to show all site activity. Can I edit this condition in some file so that it shows all site activity? thanks
The Forum post is edited by Alia Jul 23 '14
ross Team
ross Jul 18 '14
This is a custom code modification. Currently mobile version uses dashboard newsfeed.
Omari
Omari Jul 18 '14
i know. but can you tell me which file to edit to get rid of this condition? and maybe the line? thanks
ross Team
ross Jul 18 '14
Topic was moved from General Questions.
Alia Team
Alia Jul 23 '14
File to edit: ow_plugins/newsfeed/mobile/controllers/feed.php

Function to edit:  public function feed()

Original code:

$feed = new NEWSFEED_MCMP_Feed(new NEWSFEED_CLASS_UserDriver(), 'my', OW::getUser()->getId());

Modified code:

$feed = new  NEWSFEED_MCMP_Feed(new NEWSFEED_CLASS_SiteDriver, "site", null);
 

Tested only on Oxwall 1.7.0.
This modification will be erased if you update "Newsfeed" plugin in future. Keep track of what and where you are changing.

Omari
Omari Jul 23 '14
Thanks a million! will try this
Simone
Simone Jan 13 '15
It's possible to have both menu in mobile site?

thank you

matt
matt Jan 13 '15
will the above newsfeed hack, ignore user roles and group & forum permissions?