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

Mobile Version's Newsfeed | Forum

Ric Trunks
Ric Trunks Jan 10 '14
Mobile's newsfeed and desktop's newsfeed are different. Desktop's newsfeed shows everything. But mobile one's showing only friend's and following people's content. I want to see everything on mobile's newsfeed, just like as desktop. Is this possible? If it costs something, or if it's possible with a plugin, I can pay for that.
Daniele
Daniele Jan 11 '14
I have the same problem...Someone have a solution?
Sathiyendran
Sathiyendran Jan 13 '14
Having the same problem. solution please
Samu
Samu Jan 14 '14
I also have this Problem, mobile Newsfeed is like the Newsfeed of the Desktop-Dashboard-Page. But for my site the complete Newsfeed (like on Desktop-Index-Page) would be much better to have. I hope there will be an update at some time.
Edxecutive.com
Edxecutive.com Jan 14 '14
Same issue...would like the mobile newsfeed to show all newsfeed posts or at least have the option
Ric Trunks
Ric Trunks Jan 15 '14
This is sadness.
ross Team
ross Jan 20 '14
Mobile newsfeed shows activity of your friends only. Like one in the Dashboard. 

To do what you're trying to achieve is considered as a custom code modification. 

The Forum post is edited by ross Jan 20 '14
ross Team
ross Jan 20 '14
Topic was moved from General Questions.
Samu
Samu Feb 1 '14

I think I found a solution.

You have to edit feed.php in ow_plugins/newsfeed/mobile/controllers/

Make the following change:


Replace


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


with


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


and upload it. I don't use friends plugin, so I don't konw if it also works if you have installed it. But mobile Newsfeed should now also show things from people you don't follow and look like the Newsfeed on Index/Main page. Maybe you should test it on a local server first. I hope this also works on your oxwall sites.


Samu

The Forum post is edited by Samu Feb 1 '14
Ric Trunks
Ric Trunks Feb 1 '14
^ Can someone from the developer team confirm this is the best solution to fix mobile's newsfeed?
Ric Trunks
Ric Trunks Feb 2 '14
I think it didn't work for me. I have replaced the code. And update the plugin. But it doesn't make any change. Is it just me?
Samu
Samu Feb 2 '14
This is a custom code modification, so if you update the plugin every plugin-file will be overwritten. To change the code, should not cause an update request. So download the actual feed.php again, change it, and upload it, now it should work (you just have to refresh the mobile Newsfeed in your Browser).

Note: You have to change code again, after the next update of the Newsfeed plugin.

For more information read the box on this site: http://docs.oxwall.org/install:update?s[]=custom&s[]=code
The Forum post is edited by Samu Feb 2 '14
Daisy Team
Daisy Mar 10 '14
Guys, we strongly recommend not to modify the core files since it will lead to the changes loss if you decide to update your core files.

The mobile Newsfeed was designed from the Dashboard Newsfeed component and we believe that this is not a good idea to change this functionality since this is quite complicated modification which will affect a lot of functionality and you will not be able to perform the core updates anymore.
Also, we cannot guarantee that all the feed items will show up correctly on both Desktop and mobile versions.

The best solution in this case is to create an additional plugin, which will add the newsfeed component from the Index page to the mobile version, like it works for the Dashboard newsfeed.
Ric Trunks
Ric Trunks Mar 10 '14
If there was a plugin for this, i could pay for it but no one has made it.
Daisy Team
Daisy Mar 10 '14
Ric, you can find a developer who can help you with this plugin development. Please visit our Oxwall Market (http://www.oxwall.org/market/specialists).