I can't put blogs on my network

filipe medeiros Posted in General Discussion 4 years ago

I'm looking for all blogs as public ... but even adding in the permissions, it keeps returning 404 error

Below is how I put it

// *1* OSSN allowed core pages
                    // only first part of url will be checked
                    array(
                        'css',
                        'js',
                        'action',
                        'administrator',
                        'uservalidate',
                        'resetlogin',
                        'index',
                        'login',
                        'avatar',
                        'userverified',
                        'two_factor_login',
                        'captcha',
                        'rsvp',
                        'contact',
                        'blog',
                    ),
                    // *2* be more specific: 'part1/part2' of url must match
                    // make sure part1 is not listed in the array above!
                    // in this example the footer links 'About' and 'Terms' are shown, while 'Privacy' needs logging in
                    array(
                        'site/about',
                        'site/terms',
                        'rsvp',
                        'contact',
                        'blog',

does anyone know how to help me? I've done cache cleaning and everything

Replies
Breton Filipe medeiros Replied 4 years ago

Thank you! I will perform the upgrade

German Michael Zülsdorff Replied 4 years ago

Hi Filipe,
Blogs are shareable now.
Enjoy.

Breton Filipe medeiros Replied 4 years ago

@~Z~ Man

Thank you very much for the notification ... the change really will be very important.

I'm looking forward to 5.3

German Michael Zülsdorff Replied 4 years ago

Filipe,
aside from a fix that will make the "show all comments" link work I have applied the necessary changes to allow sharing of Blogs with the next release. It will be available with the upcoming Ossn 5.3

us Rishi B Replied 4 years ago

You'd probably have to write a new component which doesn't check for a valid, logged in user on page load. Feel free to send me an email if you're interested in hiring someone to code this for you.

German Michael Zülsdorff Replied 4 years ago

It would need some code changes here and there...
Perhaps I'm making a new Blog version with general public accessabiltiy available after Ossn 5.3 has been released.

Breton Filipe medeiros Replied 4 years ago

@~Z~ Man

So there's no way to make it public? even so, I appreciate your attention

German Michael Zülsdorff Replied 4 years ago

As already stated in the component description, Private Network will ...
"Disable your social network from public. This component will force user to login before visiting the public pages.

That is:
It will block ALL pages which are PUBLIC by default,
and it's up to the admin to add exceptions to this array, to make some of these pages visible again.

But Blogs are NOT PUBLIC by default,
so you may add whatever you want to that array ... it won't help.