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

Increase newsfeed count from default | Forum

Saiju43
Saiju43 Apr 8 '14
Hi Guys,

I am facing some problem in newsfeed area, anybody please help me to solve.


I want to change default count in newsfeed to 40. So I changed it here

"ow_plugins/newsfeed/components/feed_widget.php"

line 63 -

        $this->feedParams['displayCount'] = $this->feedParams['displayCount'] > 40                ? 40                : $this->feedParams['displayCount'];


and now the count is coming proper. but the issue is when Iam scrolling down (autoviewmore plugin is installed) next set of newsfeed is coming there I cant able to like or comment ( actually this part is repeating from the above newsfeed). again from next set its working fine.

Please help me to find the solution.


Alia Team
Alia Apr 9 '14
Saiju, it is better to contact developer of "AutoView" more plugin with this issue.

On a totally another note, are you sure that your modification ( increasing number of newsfeed items to 40) was actually applied? I have tried doing so on my own installation, and was not able to get 40 items. 
Saiju43
Saiju43 Apr 10 '14
Hi Aliia, Thank you for the reply.

I got the problem solved by Kairat Bakitow. 

yes this is working for me when I changing the ['displayCount'] > 40.

the problem was I have to change the same in

newsfeed/classes

newsfeed/controlls also, now its working fine for me.


Thank you



Alia Team
Alia Apr 11 '14
Thanks to Kairat =)
Wesley
Wesley Oct 28 '14
Hi Saiju

Thanks, been looking for this!
Please specify which files you changed.

Thanks