Home Page Posts Download 1.3

5.0

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.

Screenshot

Screenshot

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 :-)

Changes

  • 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 ossn_get_homepage_wall_access() function it is necessary to change it to hpage_posts_get_homepage_wall_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

##Contributing

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.

Comments
German Michael Zülsdorff Replied 3 years ago

Rafael,
no need to spend a thought on Anna's issue anymore. In the end (see https://www.opensource-socialnetwork.org/discussion/view/6137/components-setting-or-re-creation) it turned out that she is running Ossn 5.0. That is: An old out-dated core system your component has never been developed for.

It's clearly visible right-hand on top for every one that this component requires at least Ossn 6.0, and whoever feels smart enough to bypass the ossn dependency check should be able to solve the resulting problems themselves, too.

Indonesian Arsalan Shah Replied 3 years ago

If you don't remember then restore your website to original code. That is the only way to resolve it.

us Anna Ayva Replied 3 years ago

I can't remember because almost the whole site has been changed

German Michael Zülsdorff Replied 3 years ago

Ah ok... and we should know of course which lines you changed exactly.

us Anna Ayva Replied 3 years ago

It's the Goblue version, so I remember correctly that it changed in this file?

\goblue\plugins\default\css\core\default.php
us Anna Ayva Replied 3 years ago

Yes Michael, I changed CSS etc. a long time ago, but I just noticed this problem. Please tell me step by step in which file can I find it?

German Michael Zülsdorff Replied 3 years ago

Well, it looks like you've tweaked your CSS some way. At least I don't know any theme which comes with a green background of that element. So please provide more information. See
https://www.opensource-socialnetwork.org/wiki/view/1101/how-to-report-a-bug-error-issue

us Anna Ayva Replied 3 years ago

Why do I have this problem and the green bar is higher and the sections are not next to each other but in below? Where should I correct their sizes?enter image description here

Hungarian Tamás Varga Replied 4 years ago

Rafael: You're right. that's for sure. I'm not a programmer, I don't know how to eat a condition.

Breton Rafael [redcrested.net] Replied 4 years ago

@Tamás

It's possible add a default language using custom profile fields component. After that, it's possible to add one more condition to get posts from users with same default language.

Component

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

Versions