Ændringer

1.312 bytes tilføjet ,  9. jun 2015, 01:33
ingen ændringskommentar
Linje 3: Linje 3:  
| 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]]
| download_link = for {{Tv1011}}[http://ccount.ojay.de/click.php?id=44 Access_panel_mod_v10.1.1.Beta9.zip]
+
| download_link = for {{Tv1011}}[http://ccount.ojay.de/click.php?id=45 Access_panel_mod_v10.1.1.Beta11.zip]
| download_stats = [http://ccount.ojay.de/index.php?action=stats&id=44 Access panel v10.1.1.Beta9]
+
| download_stats = [http://ccount.ojay.de/index.php?action=stats&id=45 Access panel v10.1.1.Beta11]
 
| mod_author      = [[User:XerxX|Erik Hoppe]]
 
| mod_author      = [[User:XerxX|Erik Hoppe]]
 
| mod_url        = [[Access panel]] (this page)
 
| mod_url        = [[Access panel]] (this page)
 
| mod_support    = [https://xerxx.se/modSupport/index.php?mod=8 My Mod Support]
 
| mod_support    = [https://xerxx.se/modSupport/index.php?mod=8 My Mod Support]
 
| mod_contact    = [https://xerxx.se/modSupport/index.php?mod=8 My Mod Support]
 
| mod_contact    = [https://xerxx.se/modSupport/index.php?mod=8 My Mod Support]
|  mod_version    = 10.1.1.Beta9
+
|  mod_version    = 10.1.1.Beta11
 
| min_TNG_ver    = 10.1.1
 
| min_TNG_ver    = 10.1.1
 
| max_TNG_ver    = 10.1.1
 
| max_TNG_ver    = 10.1.1
Linje 21: Linje 21:  
== LATEST VERSION ==
 
== LATEST VERSION ==
   −
<span style="color: #FF00FF"><big>'''The latest beta version is Beta #9'''</big></span>
+
<span style="color: #FF00FF"><big>'''The latest beta version is Beta #11'''</big></span>
      Linje 56: Linje 56:  
== Credits ==
 
== Credits ==
   −
My sincere '''Thank You''' to [[User:Henny|Henny Savenije]] for his wonderful patience and thorough testing of this mod.
+
My sincere '''Thank You''' to [[User:Henny|Henny Savenije]] for his wonderful patience and thorough testing of this mod.<br/>'''Martin Pannier''' is also helping a lot!
      Linje 131: Linje 131:  
| Ken Roy
 
| Ken Roy
 
| v10.1.0.2a
 
| v10.1.0.2a
| Success [[User:XerxX|E Hoppe]]*
+
| '''Failure''' [[User:XerxX|E Hoppe]]*
 
| Success [[User:XerxX|E Hoppe]]*
 
| Success [[User:XerxX|E Hoppe]]*
 
|  
 
|  
Linje 213: Linje 213:       −
== &quot;Associations&quot; are Not protected ==
+
== What is Not protected ==
    +
* Media displayed by other mods may not be protected, depending on how the mod displays the media.
 +
* Media displayed at ''index.php'' (f.ex. a ''Random'' or ''Featured Photo'') may not be protected
 +
* Most Wanted '''will''' show media and ''suggest.php'' '''will''' open if the link on Most Wanted page is clicked.
 
The TNG &quot;event&quot; named '''Associations''' is not protected by this mod.<br/>I have yet to find out what it really is and where, when and why it is displayed.<br/>Quite frankly: I have read some of the Help but I have never used it, not even tried it, yet.
 
The TNG &quot;event&quot; named '''Associations''' is not protected by this mod.<br/>I have yet to find out what it really is and where, when and why it is displayed.<br/>Quite frankly: I have read some of the Help but I have never used it, not even tried it, yet.
   Linje 233: Linje 236:  
# Uninstall the one(s) you have
 
# Uninstall the one(s) you have
 
# Remove the '''.cfg file(s)''' and the folder '''AccessRestriction10''' from your mods folder
 
# Remove the '''.cfg file(s)''' and the folder '''AccessRestriction10''' from your mods folder
 +
* Check the table above to see if you have to uninstall any of your mods while installing this one.<br/>An example of this is the '''Mobile Site Enhancements mod'''.
      Linje 252: Linje 256:  
== After Installation ==
 
== After Installation ==
   −
Go to '''Admin >> Setup >> General Settings''' to find the '''Access''' panel.<br/>Set the public view to your liking and click the ''Save'' button.
+
Go to '''Admin >> Setup >> General Settings''' to find the '''Public Access''' panel.<br/>Set the public view to your liking and click the ''Save'' button.
    
'''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 Access panel 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 Access panel settings]'''
Linje 259: Linje 263:  
== Custom Text Additions ==  
 
== Custom Text Additions ==  
   −
'''Note:''' The config file includes only the English language custom text.<br />For other languages you can modify the config file to add the custom text or manually add to whatever language you like.<br/>
+
'''Note:''' The config file includes only the English language custom text.<br />There are German and Swedish translations if they are present in your TNG system.<br/>For other languages you can modify the config file to add the custom text or manually add to whatever language you like.<br/>
 
(A small preparation for, f.ex, the German language is done: See the last entries)
 
(A small preparation for, f.ex, the German language is done: See the last entries)
   Linje 265: Linje 269:  
<pre>
 
<pre>
   −
// text.php is not yet read when these are used, so they have to be set
+
$text['textHide'] = "Hide";
$text['hide'] = "Hide";
+
$text['textMedia'] = "Media";
$text['media'] = "Media";
+
$text['textNotes'] = "Notes";
$text['notes'] = "Notes";
+
$text['textRepositories'] = "Repositories";
$text['repositories'] = "Repositories";
+
$text['textSources'] = "Sources";
$text['sources'] = "Sources";
+
$text['textReports'] = "Reports";
$text['reports'] = "Reports";
+
$text['textRelationship'] = "Relationship";
$text['relationship'] = "Relationship";
+
$text['textExtractgedcom'] = "GEDCOM";
$text['extractgedcom'] = "GEDCOM";
+
$text['textSuggest'] = "Suggest";
$text['suggest'] = "Suggest";
+
$text['textAncestors'] = "Ancestors";
$text['ancestors'] = "Ancestors";
+
$text['textDescendants'] = "Descendants";
$text['descendants'] = "Descendants";
+
$text['textTimeline'] = "Timeline";
$text['timeline'] = "Timeline";
+
$text['textShare'] = "Share";
$text['share'] = "Share";
+
$text['textPrint'] = "Print";
$text['print'] = "Print";
+
$text['textBookmark'] = "Bookmark";
$text['bookmark'] = "Bookmark";
+
$text['textLogin'] = "Log in";
$text['login'] = "Log in";
     −
$text['xerxxProtectPanel'] = "Access";
+
$text['xerxxProtectPanel'] = "Public Access";
 
$text['xerxxProtectShow'] = "Show";
 
$text['xerxxProtectShow'] = "Show";
 
$text['xerxxProtectTab'] = "Tab ";
 
$text['xerxxProtectTab'] = "Tab ";
Linje 293: Linje 296:  
$text['xerxxProtectTabs'] = "Tabs";
 
$text['xerxxProtectTabs'] = "Tabs";
 
$text['xerxxProtectTSelections'] = "Tab <i>Selections</i>";
 
$text['xerxxProtectTSelections'] = "Tab <i>Selections</i>";
$text['xerxxProtectTSelectionsEnd'] = "<br />when the resp. Tab is <i>shown</i>";
   
$text['xerxxProtectAhnentafel'] = "Ahnentafel";
 
$text['xerxxProtectAhnentafel'] = "Ahnentafel";
 
$text['xerxxProtectPDF'] = "PDF";
 
$text['xerxxProtectPDF'] = "PDF";
 
$text['xerxxProtectRegister'] = "Register";
 
$text['xerxxProtectRegister'] = "Register";
   −
$text['xerxxProtectHideSet'] = "<u>When &quot;" . $text['hide'] . "&quot; is set:</u> ";
+
$text['xerxxProtectHideSet'] = "<u>When &quot;" . $text['textHide'] . "&quot; is set:</u> ";
$text['xerxxProtectLogInSet'] = "<u>When &quot;" . $text['login'] . "&quot; is set:</u> ";
+
$text['xerxxProtectLogInSet'] = "<u>When &quot;" . $text['textLogin'] . "&quot; is set:</u> ";
 
$text['xerxxProtectShowSet'] = "<u>When &quot;" . $text['xerxxProtectShow'] . "&quot; is set:</u><br />";
 
$text['xerxxProtectShowSet'] = "<u>When &quot;" . $text['xerxxProtectShow'] . "&quot; is set:</u><br />";
 
$text['xerxxProtectExpl1'] = "Will show icon, text and and Log in link.";
 
$text['xerxxProtectExpl1'] = "Will show icon, text and and Log in link.";
Linje 324: Linje 326:     
== Uninstalling the mod ==
 
== Uninstalling the mod ==
 +
 +
* Check the table above to see if you have to uninstall any  of your mods while uninstalling this one.<br/>An example of this is  the '''Mobile Site Enhancements mod'''.
    
If  you want to completely '''Remove''' (uninstall) this mod and all its tables, you should  
 
If  you want to completely '''Remove''' (uninstall) this mod and all its tables, you should  
# click the '''Remove''' button to uninstall the mod and then  
+
# click the '''Uninstall''' button to uninstall the mod and then  
 
# click the '''Delete''' button to delete the config file from the mods folder.
 
# click the '''Delete''' button to delete the config file from the mods folder.
 
# <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.
 
# <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.
Linje 338: Linje 342:  
! Date
 
! Date
 
! Description
 
! Description
 +
|-
 +
| V10.1.1.Beta11
 +
| 9 June 2015
 +
| Added German (thanks Martin Pannier) and Swedish texts.<br/>whatsnew.php does not require log in any more.<br/>headstones.php and showmap.php are now protected (shows icons and Log in link). cemeteries.php will not show the "All Headstones" link.<br/>Panel name is "Public Access".
 
|-
 
|-
 
| V10.1.1.Beta9
 
| V10.1.1.Beta9
 
| 2 June 2015
 
| 2 June 2015
| Did not install after Relationship Display mod, but before. Fixed. Thanks to M.P. for the alert.
+
| Did not install after Relationship Display mod, but before. Fixed. Thanks to Martin Pannier for the alert.
 
|-
 
|-
 
| V10.1.1.Beta8
 
| V10.1.1.Beta8
Linje 398: Linje 406:       −
'''NOTE:''' The file <span style="color: #FF00FF">'''config.php'''</span> is not midified by the mod but will be affected by the actions of the modified file ''admin_updateconfig.php'',<br/>and <span style="color: #FF00FF">'''should be backed up prior to installing this mod'''</span>.
+
'''NOTE:''' The file <span style="color: #FF00FF">'''config.php'''</span> is not modified by the mod but will be affected by the actions of the modified file ''admin_updateconfig.php'',<br/>and <span style="color: #FF00FF">'''should be backed up prior to installing this mod'''</span>.
 
      
The following TNG Modules are modified, and should be backed up prior to installing this mod:<br />
 
The following TNG Modules are modified, and should be backed up prior to installing this mod:<br />
Linje 405: Linje 412:  
* admin_updateconfig.php
 
* admin_updateconfig.php
 
* ahnentafel.php
 
* ahnentafel.php
 +
* cemeteries.php
 
* descend.php
 
* descend.php
 
* descendtext.php
 
* descendtext.php
 
* extrastree.php
 
* extrastree.php
 
* familygroup.php
 
* familygroup.php
 +
* functions.php
 
* genlib.php
 
* genlib.php
 
* getperson.php
 
* getperson.php
 
* globallib.php
 
* globallib.php
 +
* headstones.php
 +
* headstones.php
 +
* mostwanted.php
 
* pedbox.php
 
* pedbox.php
 
* pedigree.php
 
* pedigree.php
Linje 418: Linje 430:  
* placesearch.php
 
* placesearch.php
 
* register.php
 
* register.php
 +
* showmap.php
 
* verticalchart.php
 
* verticalchart.php
      
The following TNG Modules vill only have re-direction code added to the beginning,<br/>and should also be backed up prior to installing this mod:<br />
 
The following TNG Modules vill only have re-direction code added to the beginning,<br/>and should also be backed up prior to installing this mod:<br />
Linje 439: Linje 451:  
* suggest.php
 
* suggest.php
 
* timeline.php
 
* timeline.php
* whatsnew.php
  −
      
The custom texts will be added to these files, which should also be backed up prior to installing this mod:
 
The custom texts will be added to these files, which should also be backed up prior to installing this mod:
 
* languages/English/cust_text.php
 
* languages/English/cust_text.php
 
* languages/English-UTF8/cust_text.php
 
* languages/English-UTF8/cust_text.php
 
+
* languages/German/cust_text.php - if present
 +
* languages/German-UTF8/cust_text.php - if present
 +
* languages/Swedish/cust_text.php - if present
 +
* languages/Swedish-UTF8/cust_text.php - if present
    
These images will be copied to your (root) img folder:
 
These images will be copied to your (root) img folder:
'''Experienced'''
1.572

redigeringer