Home Page Posts Download 1.1

Breton Rafael Amorim 2 weeks ago

This component allows users to decide to see posts from all or friends only by showing two options below the new post block in NewsFeed.


cl Hugo Cuellar Replied 6 days ago

Thanks, i made the suggested changes and now is working.

As advice for anyone, Popular Posts is needed to be reinstalled and clic the Initialize button in the components page after to add the new line in the code, if anyone is currently running that.

So both component can works flawslessly.

Indonesian Arsalan Shah Replied 6 days ago

Because popular posts overrides siteactivity.php file also what you can do is to add

    $accesstype = hpage_posts_get_homepage_wall_access(); 

into popular posts site activity file


cl Hugo Cuellar Replied 6 days ago

Sorry for the bump or third comment, but i think is important.

Version 1.0 : is compatible with Popular Posts (commenting the line from OssnWall).
Version 1.1 : for some reason Popular Posts doesnt work with this version. (without commenting the line from OssnWall)

cl Hugo Cuellar Replied 2 weeks ago

it seems if the site cache are enabled, the color stays in the old selection. The only way to verify what option is selected, is cleaning the cache in administration dashboard, so for now the workaround is to put an empty ' ' space in the 'text-danger' to avoid confusion.

cl Hugo Cuellar Replied 2 weeks ago

Hi, very nice component, i tested in a virtual machine with Popular post component and seems fine, but i not tested in my production environment, so i will do a backup first to test with real users.

Custom color tip: you can change the red color selection in the js\homepageposts.php "text-danger" with another bootstrap color, like "text-primary" for example to get blue color selector.

Breton Rafael Amorim Replied 2 weeks ago

Thanks for the improvement in component

Indonesian Arsalan Shah Replied 2 weeks ago

I have sent you a pull request which will allow you to run your component without replacing or commenting out any line https://github.com/rafaelmamorim/OSSN-HomePagePosts/pull/1

Working version https://github.com/lianglee/HomePagePosts

Indonesian Arsalan Shah Replied 2 weeks ago

Very nice!


Developer: Rafael
License ossnv4
Type: Uncategorized
Requires Ossn Version : 6.0
Latest Version: 1.1
Last Updated 2 weeks ago
Repository Url View Repository