Private Network Download 7.1

German Michael Zülsdorff 9 years ago

Disable your social network from public viewing! This component will force visitors to register and login in order to access any inner pages of your site.

Please note that this component is owned by the https://www.openteknik.com. If you need any more information please contact https://www.openteknik.com/contact.

Please also see the link:
https://www.opensource-socialnetwork.org/discussion/view/1565/how-to-create-a-private-social-network

Release 5.3 comes with a hook now to extend the array of hardcoded allowed pages to be used by any component like

ossn_add_hook('private:network', 'allowed:pages', 'com_YOUR_COMPONENT_ID_extend_allowed_pages');

and an accompanying function like

function com_YOUR_COMPONENT_ID_extend_allowed_pages($hook, $type, $allowed_pages, $params) {
    $allowed_pages[0][] = 'extrapage';    // pages to be addressed by 1 path element
    $allowed_pages[1][] = 'hey/hello'; // pages to be addressed by 2 path elements
    /* ... 
    $allowed_pages[n][] = 'a/b/c/...'; // pages to be addressed by n+1 path elements
    */
    return $allowed_pages;
}

Changes

V 7.1

  • fixed not working redirects to homepage (showing 404 page instead) on some pages
  • addes Hungarian language file

V 6.3

  • Added social login more end points.

V 6.2

  • fixed crash if the requested url has more path elements than the number of elements being checked by Private Network

V 6.1

  • verified Ossn 6.x / PHP 8 compatibility
  • added social logins and privacy page to exceptions of allowed pages
  • completed set of language files

V 5.4

  • bug fixed causing infinite redirects if the server's site root is pointing to a subdirectory like https://site.com/subdir/

V 5.3

  • added hook to extend the number of allowed pages

V 5.2

  • when logging in, the member will be redirected to a formerly visited restricted page in case the login happens within 2 minutes. Logging in later redirects to /home as usual.

V 5.1

  • changed checking/loading sequence of page in question (Ossn >= 5.3 required !)
Comments
Comments are disabled for this project!
Romanian János-Széll István Replied 7 years ago

Hi, is there a way to make Site Pages: About, Privacy, Terms and Conditions, to be visible to the public? Thanks.

us Toni Hoskin Replied 7 years ago

My question about making pages public is answered here: https://www.opensource-socialnetwork.org/discussion/view/1565/how-to-create-a-private-social-network

There is code to add to exclude pages from the privacy handling.

us Toni Hoskin Replied 7 years ago

Hi, is there a way to make Site Pages: About, Privacy, Terms and Conditions, to be visible to the public? Thanks.

Catalan Jim Blake Replied 8 years ago

I recommend all developers, inluding core team developers, create github repositories for their open source plugins. That way we can all work on making plugins better and submit pull requests, with feature improvements, bug fixes, and documentation upgrades.

I also recommemd that OSSN add a field to their plugin submission page for their github project url.

Afrikaans Hussnain Ali Replied 9 years ago

Any one is here who can help me?i am new here???

Indonesian Arsalan Shah Replied 9 years ago

@Gergory , i think he forgot to add the version file, its now available for download.

us Gregory King Replied 9 years ago

There is no download link, this is a link that directly goes to "softlabs", OSSN's paid components.

ma Ismail AITALI Replied 9 years ago

Where i the download link?

Component

Developer: Michael
License ossnv4
Type: Authentication
Requires Ossn Version : 7.1
Latest Version: 7.1
Last Updated 1 year ago
Repository Url View Repository

Versions