Home Page Posts Download 1.3

Breton Rafael [redcrested.net] 2 years 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 News Feed.



How to support

If you want to help me to make more components, click on the button down bellow and buy me a coffee. It's up to you how much coffee I'll drink :-)


  • Version 1.3

    • Fix Avoid caching the JS files. Thanks to Arsalan Shah to solve the issue and Tamás Varga for finding the glitch.
    • Added all OSSN supported languages. Except for EN, PT, and ES files, all others need to be translated

Known issue

If any other component uses the ossngethomepagewallaccess() function it is necessary to change it to hpagepostsgethomepagewall_access() for everything to work correctly. As far as I know, this function is used in the following components:

  • HashTag
  • PopularPosts

Thanks to Hugo for testing and reporting


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.

cl Erassus ︎ ︎ Replied 2 years 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 Erassus ︎ ︎ Replied 2 years 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 Erassus ︎ ︎ Replied 2 years 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 [redcrested.net] Replied 2 years ago

Thanks for the improvement in component

Indonesian Arsalan Shah Replied 2 years 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 years ago

Very nice!


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