AccessRestriction More

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of AccessRestriction More are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox Caution


Ambox notice.png Note that this mod is obsolete and cannot be downloaded. See Public Access Control mod.
TNG 9.0


AccessRestriction More
Summary Will hide selected Tabs and Tabselections from not logged in visitors.
Validation
Mod Updated 20 May 2015
Download link NO DOWNLOAD
TNG 9.1.1
Access Restriction More mod v9.1.1.0
Download stats
Author(s) Erik Hoppe
Homepage AccessRestriction More (this page)
Mod Support NO Mod Support]
Contact Developer
Latest Mod 9.1.1.0 for TNG v9.1.1 - v9.2.2
Min TNG V 9.1.1
Max TNG V 9.2.2
Files modified
Related Mods
Public_Access_Control mod for TNG v10
Restrict_Access_mod by Graham Chamberlain
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


Preface

This is the second mod of two for restricting access to several functions and data on our site.
It is meant to be used together with AccessRestriction mod and will probably be quite useless if not. But there are no dependancies between them.
They are written as two separate mods for the only reason that they do so very different things.

As I only have a local TNG v10.1.1 site, I can't show a live example of the v10 mods.
My live 9.1.1 site has the functionality of the mod hard-coded in a much more complicated way - making it dangerous to try to remove it. But display-wise it is the same as this.

Therefore: If you install one of these mods:
Please add the URL to the Sites using this mod list on success, or report any errors. Thank you.
(I link to my v9.1.1 site where the hard-coded versions can be seen)

/Erik


Purpose of the mod

The mod will hide the following Tabs from not logged in visitors:

  • The Relationship tab
  • The Timeline tab
  • The GEDCOM tab
  • The Suggest tab

The mod will also hide the following Tab selections from not logged in visitors:

  • The Ancestors tab:
    • Ahnentafel
    • Media
    • PDF
  • The Descendants tab:
    • Register
    • PDF

The mod will also hide the Share, Print and Bookmark icons when the visitor is not logged in.

Finally: If a logged in user has Edit rights, both the Edit and the Suggest tabs will be displayed.

There is at our site, a help-page [1] for Tabs.
It shows which tabs and what functions are avaliable to All, Logged in and Guest visitors.
Simply click a tab to "read" - it's only in Swedish but as you know your TNG you should be able to follow ... most of it.


Developer

This mod was developed by Erik Hoppe


Requirements

TNG version: 9.1.0
  • An understanding that the mod is written for TNG v9.1.1 and is not tested live yet - please report if you install.
  • A working TNG installation.
  • A backup of all affected files (see the list below)
  • An installed current version of the Mod Manager (is already included in TNG v9.1.1)


Installation

  1. Click on the download link for your TNG version, shown in the summary in the upper right corner of the page.
  2. Un-zip the file and move/copy/FTP it to your TNG mods folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.


In the event of a problem


Uninstalling the mod

If you want to completely Remove (uninstall) this mod and any tables if created, you should

  1. click the Remove button to uninstall the mod and then
  2. click the Delete button to delete the config file from the mods folder.


Revision History

Version Date Description
V9.1.1.0
V10.0.0.0
V10.1.1.0
20 May 2015 Introduction.
V10.1.1.0 7 July 2015 This version is obsolete. See Public Access Control mod.


Visualization of this mod (v10.1.1.0)

Administrator and Editor view - note Edit and Suggest tabs
Accrestmore1.png
Logged in user view Share, Print and Bookmark icons (dep. on admin settings)
Accrestmore5.png
Visitor view Individual tab. Note: The mod AccessRestriction is installed = No PDF option.
Accrestmore2.png
Visitor view Ancestors tab
Accrestmore3.png
Visitor view Descendants tab
Accrestmore4.png
Visitor view no Share, Print or Bookmark icons
Accrestmore6.png


Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
Andersson, Hoppe, Sahlin, Thorell Erik Hoppe Mod author. Please read preface Pre-mod 9.1.1 Swedish, German, English


TNG Modules Impacted

The following TNG Modules are modified, and should be backed up prior to installing this mod:

  • descend.php
  • genlib.php
  • pedigree.php