Cambios

fix obsolete note
Línea 1: Línea 1: −
{{restricted}}{{TNGmod
+
{{obsolete
 +
|notes = <span style="color: red">'''{{PAGENAME}} is now obsolete</span> since its functionality has been incorporated into the new [[Click Counter III]] which replaces both the [[Click Counter II]] and this mod}}{{restricted}}
 +
{{TNGmod
 
| mod_name        = Click Counter II Email Notify
 
| mod_name        = Click Counter II Email Notify
 
| mod_summary    = Adds an email notification message to the Mod Developer tracking mod downloads
 
| mod_summary    = Adds an email notification message to the Mod Developer tracking mod downloads
 
| mod_validation  = N/A
 
| mod_validation  = N/A
| download_link  = <br />{{Tv111}}{{Tv100}}{{Tv90}}[[Media:click_counter_email_notify_v9.0.0.3.zip|click_counter_email_notify_v9.0.0.3.zip]]<br />[http://www.robisonandblythe.org/ccount/click.php?id=129&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} click_counter_email_notify_v9.0.0.2a.zip]<hr />
+
| mod_last_update = 31 May 2019
| download_stats = [http://www.robisonandblythe.org/ccount/index.php?action=stats&groupid=26 See download statistics]<hr />
+
| download_link  = For {{Tv120}}<!-- [https://www.royandboucher.com/ccount/click.php?id=494&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} click_counter_email_notify_v12.0.0.1.zip]<br /> -->
 +
[http://www.robisonandblythe.org/ccount/click.php?id=144&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} click_counter_email_notify_v12.0.0.0.zip]  
 +
<br />{{Tv90}}{{Tv100}}{{Tv111}}[http://www.robisonandblythe.org/ccount/click.php?id=132&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} click_counter_email_notify_v9.0.0.3a.zip]<hr />
 +
| download_stats = [https://www.royandboucher.com/ccount/index.php?action=stats&id=494 V12.0.0.1 download statistics]<hr />[http://www.robisonandblythe.org/ccount/index.php?action=stats&groupid=26 Other version download statistics]<hr />
 
| mod_author      = [[User:Jefr58|Jeff Robison]] and [[User:KenRoy|Ken Roy]]
 
| mod_author      = [[User:Jefr58|Jeff Robison]] and [[User:KenRoy|Ken Roy]]
 
| mod_url        = [[Click Counter II Email Notify]] (This page)
 
| mod_url        = [[Click Counter II Email Notify]] (This page)
 
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_support    = [http://tng.community/ TNG Community Forums]
| mod_contact    = [http://www.robisonandblythe.org/mod_support.php My Mod Support]
+
| mod_contact    = [http://tng.community/ TNG Community Forums] <!-- [http://www.robisonandblythe.org/mod_support.php My Mod Support] -->
| mod_version    = v9.0.0.3
+
| mod_version    = v12.0.0.1
 
| min_TNG_ver    = v9.0
 
| min_TNG_ver    = v9.0
| max_TNG_ver    = v11.1
+
| max_TNG_ver    = v12+
 
| TNG_file_list  = ccount/click.php<br />ccount/index.php
 
| TNG_file_list  = ccount/click.php<br />ccount/index.php
 
| related_mods    = None
 
| related_mods    = None
Línea 37: Línea 42:     
A huge THANKS to multiple version tester [[User:Hiraeth|Graham Chamberlain]].
 
A huge THANKS to multiple version tester [[User:Hiraeth|Graham Chamberlain]].
 +
 +
V12.0.0.1 updated by [[User:Bhemph|Brent Hemphill]] for sites that require login and use SMTP<br />
 +
:and by [[User:KenRoy|Ken Roy]] to fix 404 error if site is in TNG Maintenance Mode<br />
    
== Deny Downloads ==  
 
== Deny Downloads ==  
Línea 42: Línea 50:  
The mod can also restrict downloads to logged on users only.  If user is not logged in, they will get the following message when they click the download link
 
The mod can also restrict downloads to logged on users only.  If user is not logged in, they will get the following message when they click the download link
   −
<syntaxhighlight lang="html4strict" enclose="div">You must be logged in to TNG Wiki to download this mod! If you do not have a user ID, use the Request Account or Register links to get a TNG Wiki username!
+
<syntaxhighlight lang="html4strict">You must be logged in to TNG Wiki to download this mod! If you do not have a user ID, use the Request Account or Register links to get a TNG Wiki username!
 
</syntaxhighlight>
 
</syntaxhighlight>
   Línea 53: Línea 61:  
For example, if you installed the [[Click Counter II]] in a ccount folder that is at the same level as your TNG install folder, the Mod Manager will not find the target files.  If that is the case, you must edit the cfg file for it to install and work correctly on your site:
 
For example, if you installed the [[Click Counter II]] in a ccount folder that is at the same level as your TNG install folder, the Mod Manager will not find the target files.  If that is the case, you must edit the cfg file for it to install and work correctly on your site:
    +
* in the %description: directive for the mod change '/ccount/update_ccountdb_links.php' to ''''..'''/ccount/update_ccountdb_links.php'
 
* change %target:/ccount/click.php% to %target:'''..'''/ccount/click.php%  
 
* change %target:/ccount/click.php% to %target:'''..'''/ccount/click.php%  
 
* change include('../tng_begin.php'); to include('../'''tng/'''tng_begin.php');  
 
* change include('../tng_begin.php'); to include('../'''tng/'''tng_begin.php');  
Línea 70: Línea 79:     
After installing the mod, you must
 
After installing the mod, you must
 +
::[[File:mmsnip.jpg]]
 +
* click the 'Update Links Table' button in Mod Manager
 
* edit the options in Mod Manager
 
* edit the options in Mod Manager
 
* update your mod articles on the TNG Wiki, if you chose to deny downloads to anonymous users
 
* update your mod articles on the TNG Wiki, if you chose to deny downloads to anonymous users
Línea 78: Línea 89:  
After you install the mod, you need to Edit Options to
 
After you install the mod, you need to Edit Options to
 
* specify your email address
 
* specify your email address
* set the option for mod download
+
* set the option for restrict download access
 
** false to allow anonymous user downloads  
 
** false to allow anonymous user downloads  
 
** true to deny the mod download to anonymous users
 
** true to deny the mod download to anonymous users
 +
* Include geo information in notification
    
=== Update Mod Wiki Articles ===
 
=== Update Mod Wiki Articles ===
Línea 87: Línea 99:  
* to add the [[Template:Restricted/doc|Restricted Template]] as the first line in the article
 
* to add the [[Template:Restricted/doc|Restricted Template]] as the first line in the article
   −
:<syntaxhighlight lang="php" enclose="div">{{restricted}}</syntaxhighlight>
+
:<syntaxhighlight lang="php">{{restricted}}</syntaxhighlight>
    
:to let users know they need to login or get a user ID on the wiki and then login to download mods.
 
:to let users know they need to login or get a user ID on the wiki and then login to download mods.
Línea 93: Línea 105:  
* to update the URL links to pass the logged on user and the wiki page name without blanks by adding '''<nowiki>&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}</nowiki>''' to your site click URL so that it looks like the following
 
* to update the URL links to pass the logged on user and the wiki page name without blanks by adding '''<nowiki>&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}</nowiki>''' to your site click URL so that it looks like the following
   −
:<syntaxhighlight lang="php" enclose="div">
+
:<syntaxhighlight lang="php">
 
[https://www.royandboucher.com/ccount/click.php?id=364&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} mobile_site_v11.0.0.1.zip]
 
[https://www.royandboucher.com/ccount/click.php?id=364&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} mobile_site_v11.0.0.1.zip]
 
</syntaxhighlight>
 
</syntaxhighlight>
Línea 100: Línea 112:     
If there is a co-author for a mod you can send them a copy of the email notification.
 
If there is a co-author for a mod you can send them a copy of the email notification.
* You must first add a separate variable for any recipient to ccount/settings.php
+
* Open the Click Counter II Admin Panel
 +
:Click the 'Edit' icon for any link you want to add a CC address to.
 +
:3 new fields have been added. 'Ignore user restriction', 'CC address' and 'CC name'.
   −
:<syntaxhighlight lang="php" enclose="div">$settings['key']='email@email.com';</syntaxhighlight>
+
::[[File:ccsnip.jpg]]
 
+
* In the visualization above 'Ignore user restriction' is set to 1.
:Change 'key' in the example above to anything you like and must be unique.
+
:This will allow access to this link no matter the user restriction setting.
:Change 'email@email.com' in the example above to the recipient's email address.
+
:Leave the field blank to enforce the user restriction setting.
 
+
* In the visualization above the 'CC address' field has 2 email addresses separated with a ', '.
* Separate multiple recipients with a comma space ', '.
+
:A download notification will be sent to the 2 addresses.
 
+
* In the visualization above the 'CC name' field is optional.
:<syntaxhighlight lang="php" enclose="div">$settings['key']='email@email.com, email@email.com';</syntaxhighlight>
+
:Mainly for easily identifying the email address(s).
 
  −
* To update the URL links to pass the cc email recipient you will need to add '''<nowiki>&cc=key</nowiki>''' to your site click URL so that it now looks like the following
  −
 
  −
:<syntaxhighlight lang="php" enclose="div">
  −
[https://www.royandboucher.com/ccount/click.php?id=364&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}&cc=key mobile_site_v11.0.0.1.zip]</syntaxhighlight>
  −
 
  −
:Replace key with whatever key you assigned a $settings variable.
  −
 
  −
=== Override Restriction ===
  −
 
  −
If you want to override the restriction and allow certain mods or documentation to be downloaded by anonymous users but still track their downloads in [[Click Counter II]], you can add the following to the click counter URL
  −
:<syntaxhighlight lang="php" enclose="div">
  −
&ignore_restrict=1
  −
</syntaxhighlight>
      
== Revision History ==
 
== Revision History ==
Línea 132: Línea 132:  
! Date
 
! Date
 
! Contents
 
! Contents
 +
|-
 +
| v12.0.0.1
 +
| 31 May 2019
 +
|
 +
* updated by Brent Hemphill to work on sites that require login and use SMTP mail
 +
* updated by Ken Roy to use new cust_text.php guidelines and fix 404 error if site is in TNG Maintenance Mode
 +
|-
 +
| v9.0.0.3a
 +
| 28 May 2017
 +
|
 +
* Colons in custom text was causing problems. Removed.
 +
* Added an edit option after install to choose whether or not to include geo info in the notification.
 +
|-
 +
| v9.0.0.3
 +
| 19 March 2017
 +
| Updated to add options to the Click Counter database to:
 +
* Ignore user restriction to override download restriction for any mod by setting field to 1
 +
* CC address to specify the email address of the user to carbon copy on the download email
 
|-
 
|-
 
| v9.0.0.2a
 
| v9.0.0.2a
Línea 183: Línea 201:  
! TNG-Version
 
! TNG-Version
 
! User-language
 
! User-language
 +
|-
 +
| [http://www.bisbeefamily.com A Bisbee Family History]
 +
| [[User:kazooter|Rick Bisbee]]
 +
| A must-have for mod developers
 +
| 9.0.0.3
 +
| 11.0.2
 +
| English
 
|-
 
|-
 
| [http://www.robisonandblythe.org/browse_dna_tests.php Robison and Blythe Genealogy]
 
| [http://www.robisonandblythe.org/browse_dna_tests.php Robison and Blythe Genealogy]
 
| [[User:Jefr58|Jeff Robison]]
 
| [[User:Jefr58|Jeff Robison]]
 
| Mod developer along with [[User:KenRoy|Ken Roy]]
 
| Mod developer along with [[User:KenRoy|Ken Roy]]
| 9.0.0.2a
+
| 9.0.0.3
 
| 11.1
 
| 11.1
 
| English
 
| English
 
|-
 
|-
| [https://www.royandboucher.com/tng/browse_dna_tests.php Our Roy and Boucher Families]
+
| [https://www.royandboucher.com/tng/index.php Our Roy and Boucher Families]
 
| [[User:Ken Roy|Ken Roy]]
 
| [[User:Ken Roy|Ken Roy]]
 
| Worked with Jeff to restrict the downloads to TNG Wiki logged-in users.
 
| Worked with Jeff to restrict the downloads to TNG Wiki logged-in users.
| 9.0.0.2a
+
| 12.0.0.1
| 11.1  
+
| 12.1  
 
| English, French
 
| English, French
 
|-
 
|-
Línea 201: Línea 226:  
| [[User:Hiraeth|Graham Chamberlain]]
 
| [[User:Hiraeth|Graham Chamberlain]]
 
| beta tester
 
| beta tester
| 9.0.0.2a
+
| 12.0.0.0
| 11.1  
+
| 12.0.1
 
| EN, FR, DE, ES, NL
 
| EN, FR, DE, ES, NL
 +
|-
 +
| [https://xerxx.se/index.php Andersson-Hoppe-Sahlin-Thorell]
 +
| [[User:XerxX|Erik Hoppe]]
 +
|
 +
| 9.0.0.3
 +
| 10.1.3
 +
| SE, EN, DE
 +
|-
 +
| Not a public site
 +
| [[User:Brett|Brett]]
 +
| Modified email format
 +
| 12.0.0.1
 +
| TNG 12.3
 +
| EN
 
|}
 
|}
    +
[[Category:Mods for TNG v12]]
 
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v9]]
 
[[Category:Mods for TNG v9]]
 
[[Category:Other Scripts]]
 
[[Category:Other Scripts]]
 +
[[Category:Mod Manager]]
17 946

ediciones