Changes

Display change
Line 1: Line 1: −
{{restricted}}
+
{{restricted}}{{V12_cust_text}}{{TNGmod
{{V12_cust_text}}
+
| mod_name        = {{PAGENAME}}
{{TNGmod
  −
| mod_name        = Public Access Control
   
| mod_summary    = Introduces a panel in <i>General Settings</i> to restrict public access to selected parts of your TNG system.
 
| mod_summary    = Introduces a panel in <i>General Settings</i> to restrict public access to selected parts of your TNG system.
 
| mod_validation  = The mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
 
| mod_validation  = The mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
 
| mod_last_update = 9 Jan 2023
 
| mod_last_update = 9 Jan 2023
| download_link  = for {{Tv1401}}[[Media:Public_Access_Control_v14.0.1.0.zip|Public_Access_Control_v14.0.1.0.zip]]<hr/>for {{Tv140}}[[Media:Public_Access_Control_v14.0.0.0.zip|Public_Access_Control_v14.0.0.0.zip]]<hr/>for {{Tv1310}}[[Media:Public_Access_Control_v13.1.0.0.zip|Public_Access_Control_v13.1.0.0.zip]]<hr/>for {{Tv1304}}[https://xerxx.se/click3/click.php?id=38&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_Access_Control_v13.0.4.0.zip]<hr/>for {{Tv130}}[https://xerxx.se/click3/click.php?id=37&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_Access_Control_v13.0.0.4.zip]<hr/>for {{Tv1230}}[[Media:public_access_control_v12.3.0.3c.zip|public_access_control_v12.3.0.3c.zip]]<hr />for {{Tv1210}}[[Media:public_access_control_v12.1.0.2.zip|public_access_control_v12.1.0.2.zip]]<hr />for {{Tv120}}[https://xerxx.se/click3/click.php?id=36&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_access_control_mod_v12.0.0.1.zip]<hr/>for {{Tv1111}}[https://xerxx.se/click3/click.php?id=35&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_access_control_mod_v11.1.1.3b.zip]<hr/>for {{Tv110}}[https://xerxx.se/click3/click.php?id=34&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_access_control_mod_v11.0.0.3b.zip]<hr/>for {{Tv1012}}[https://xerxx.se/click3/click.php?id=33&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_access_control_mod_v10.1.2.3.zip]
+
| download_link  = For{{Tv1401}}[[Media:Public_Access_Control_v14.0.1.0.zip|Public_Access_Control_v14.0.1.0.zip]]<hr/>For{{Tv140}}[[Media:Public_Access_Control_v14.0.0.0.zip|Public_Access_Control_v14.0.0.0.zip]]<hr/>For{{Tv1310}}[[Media:Public_Access_Control_v13.1.0.0.zip|Public_Access_Control_v13.1.0.0.zip]]<hr/>For{{Tv1304}}[https://xerxx.se/click3/click.php?id=38&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_Access_Control_v13.0.4.0.zip]<hr/>For{{Tv130}}[https://xerxx.se/click3/click.php?id=37&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_Access_Control_v13.0.0.4.zip]<hr/>For{{Tv1230}}[[Media:public_access_control_v12.3.0.3c.zip|public_access_control_v12.3.0.3c.zip]]<hr />For{{Tv1210}}[[Media:public_access_control_v12.1.0.2.zip|public_access_control_v12.1.0.2.zip]]<hr />For{{Tv120}}[https://xerxx.se/click3/click.php?id=36&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_access_control_mod_v12.0.0.1.zip]<hr/>For{{Tv1111}}[https://xerxx.se/click3/click.php?id=35&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_access_control_mod_v11.1.1.3b.zip]<hr/>For{{Tv110}}[https://xerxx.se/click3/click.php?id=34&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_access_control_mod_v11.0.0.3b.zip]<hr/>For{{Tv1012}}[https://xerxx.se/click3/click.php?id=33&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Public_access_control_mod_v10.1.2.3.zip]
 
<!-- for {{Tv1011}}{{Tv1010}} OBSOLETE! Cannot be downloaded!<hr/>for {{Tv1003}} OBSOLETE! Cannot be downloaded!<hr/>for {{Tv1002}}{{Tv1001}}{{Tv100}} OBSOLETE! Cannot be downloaded! -->
 
<!-- for {{Tv1011}}{{Tv1010}} OBSOLETE! Cannot be downloaded!<hr/>for {{Tv1003}} OBSOLETE! Cannot be downloaded!<hr/>for {{Tv1002}}{{Tv1001}}{{Tv100}} OBSOLETE! Cannot be downloaded! -->
 
| download_stats  = [https://xerxx.se/click3/index.php?action=stats&groupid=15 Public Access Control]
 
| download_stats  = [https://xerxx.se/click3/index.php?action=stats&groupid=15 Public Access Control]
 
| mod_author      = [[User:XerxX|Erik Hoppe]]
 
| mod_author      = [[User:XerxX|Erik Hoppe]]
| mod_url        = [[Public Access Control]] (this page)
+
| mod_url        = '''{{PAGENAME}}''' (This page)
 
| mod_support    = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums:  TNG Specific - Code Discussion - Addons]
 
| mod_support    = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums:  TNG Specific - Code Discussion - Addons]
 
| mod_contact    =  
 
| mod_contact    =  
Line 19: Line 17:  
| related_mods    = [[Restrict_Access_mod]],<br/>[[Media_Privacy_Mod]],<br/>[[Restrict_Image_Preview]]<br/>all by Graham Chamberlain
 
| related_mods    = [[Restrict_Access_mod]],<br/>[[Media_Privacy_Mod]],<br/>[[Restrict_Image_Preview]]<br/>all by Graham Chamberlain
 
| notes          = Author of '''[https://xerxx.se/tcb TNG Colouring Book]'''<br/>Mods by me: [[User:XerxX|At my user page]].
 
| notes          = Author of '''[https://xerxx.se/tcb TNG Colouring Book]'''<br/>Mods by me: [[User:XerxX|At my user page]].
}}
+
}}{| style="margin-right:0.5 em;" align="right"  
{| style="margin-right:0.5 em;" align="right"  
   
| __TOC__
 
| __TOC__
 
|}
 
|}
Line 28: Line 25:     
These mods make all the above mods obsolete for use with TNG '''v10'''.
 
These mods make all the above mods obsolete for use with TNG '''v10'''.
 
+
<!-- <span style="color: Red"><big>'''PLEASE NOTE''' that mod v10.0.0.2 is not tested live.</big></span> '''Report wanted!''' -->  
<!-- <span style="color: Red"><big>'''PLEASE NOTE''' that mod v10.0.0.2 is not tested live.</big></span> '''Report wanted!'''
  −
-->  
      
== Purpose of the mod ==
 
== Purpose of the mod ==
Line 37: Line 32:     
This mod enjoys the company of my [[Collapsible_Standard_Events]] mod or [[User:Jefr58|Jeff Robison's]] [[Show/Hide_Standard_Events]] mod. (See [[Public_Access_Control#Edit_option:_Collapsible_Standard_Events|Edit Option]] below)
 
This mod enjoys the company of my [[Collapsible_Standard_Events]] mod or [[User:Jefr58|Jeff Robison's]] [[Show/Hide_Standard_Events]] mod. (See [[Public_Access_Control#Edit_option:_Collapsible_Standard_Events|Edit Option]] below)
      
== Developer ==
 
== Developer ==
Line 78: Line 72:  
</pre>
 
</pre>
 
Do the same for each language you support at your site.
 
Do the same for each language you support at your site.
      
== Mod Conflicts ==
 
== Mod Conflicts ==
Line 260: Line 253:     
Only the relevant part of the innermenu is shown and only lines containing '''''$xerxxProtect[ ]''''' are added to the original script.<br/>'''[[Media:AccessPanelInnermenus.txt.zip|All four innermenus in a zipped .txt file]]'''
 
Only the relevant part of the innermenu is shown and only lines containing '''''$xerxxProtect[ ]''''' are added to the original script.<br/>'''[[Media:AccessPanelInnermenus.txt.zip|All four innermenus in a zipped .txt file]]'''
      
== What is Not protected ==
 
== What is Not protected ==
Line 269: Line 261:     
The TNG &quot;event&quot; named '''Associations''' is not protected by this mod.
 
The TNG &quot;event&quot; named '''Associations''' is not protected by this mod.
      
== Requirements ==
 
== Requirements ==
Line 278: Line 269:  
* A backup of all affected files (see the list below)
 
* A backup of all affected files (see the list below)
 
* An installed current version of the [[Mod Manager]] (is already included in TNG v10.x)
 
* An installed current version of the [[Mod Manager]] (is already included in TNG v10.x)
      
== Before installation ==
 
== Before installation ==
Line 289: Line 279:  
**[[Mobile Media]] (for PAC v10.1.0.0)
 
**[[Mobile Media]] (for PAC v10.1.0.0)
 
**[[Mobile Site Enhancements]]
 
**[[Mobile Site Enhancements]]
      
== Installation ==
 
== Installation ==
Line 298: Line 287:  
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config  Files]] to install the mod.
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config  Files]] to install the mod.
 
# Re-install any mods that you had to uninstall in order to be able to install the Public Access Control mod
 
# Re-install any mods that you had to uninstall in order to be able to install the Public Access Control mod
      
== In the event of a problem ==
 
== In the event of a problem ==
   
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
 
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
* Replace all affected files with the copies you made before the installation.
+
* Copy the backup of the affected files back to your TNG  directory
* [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums:  TNG Specific - Code Discussion - Addons]
+
* Contact us through the [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums].
    +
== Uninstalling the mod ==
 +
If  you want to completely '''Remove''' (uninstall) this mod and all its tables, you should
 +
# click the '''Uninstall''' button to uninstall the mod
 +
# click the '''Delete''' button to delete the config file from the mods folder.
    +
== Upgrade ==
 +
*Uninstall and eventually Delete the current Mod.
 +
*Proceed as for an installation with the new Mod.
 
== Edit option: Collapsible Standard Events ==
 
== Edit option: Collapsible Standard Events ==
   Line 329: Line 323:  
| (My [[No_Notesring]] mod is active; it removes the small ring and increases the space between Notes)
 
| (My [[No_Notesring]] mod is active; it removes the small ring and increases the space between Notes)
 
|}
 
|}
      
== After Installation ==
 
== After Installation ==
    
Go to '''Administration &gt;&gt; Setup &gt;&gt; General Settings''' to find the '''Public Access''' panel.<br/>Set the public view to your liking and click the ''Save'' button.
 
Go to '''Administration &gt;&gt; Setup &gt;&gt; General Settings''' to find the '''Public Access''' panel.<br/>Set the public view to your liking and click the ''Save'' button.
      
== Complete Description of Settings ==
 
== Complete Description of Settings ==
    
'''A complete description of all settings''', including how they interact with your settings in '''Trees''' (''Gedcom'' and ''PDF'' permissions) and '''Site Design and Definition''' (displaying the ''Share, Print'' and ''Bookmark'' icons), is found here: '''[https://xerxx.se/modSupport/accessPanel/index.html Public Access Control settings]'''
 
'''A complete description of all settings''', including how they interact with your settings in '''Trees''' (''Gedcom'' and ''PDF'' permissions) and '''Site Design and Definition''' (displaying the ''Share, Print'' and ''Bookmark'' icons), is found here: '''[https://xerxx.se/modSupport/accessPanel/index.html Public Access Control settings]'''
      
== Custom Text Additions ==  
 
== Custom Text Additions ==  
Line 406: Line 397:     
</pre>
 
</pre>
      
== Uninstalling the mod ==
 
== Uninstalling the mod ==
Line 420: Line 410:     
In all cases: <span style="color: Red">Go to '''Setup >> General Settings''' and click the '''Save''' button</span> to clear the ''config.php'' file from the protection flags.
 
In all cases: <span style="color: Red">Go to '''Setup >> General Settings''' and click the '''Save''' button</span> to clear the ''config.php'' file from the protection flags.
      
== Revision History ==
 
== Revision History ==
Line 592: Line 581:  
| valign="top"|[[File:Xprotmenus.jpg]]
 
| valign="top"|[[File:Xprotmenus.jpg]]
 
|}
 
|}
      
== Sites using this mod ==
 
== Sites using this mod ==
'''Experienced''', Administrators, sysops
3,298

edits