Difference between revisions of "Forum for TNG"

From TNG_Wiki
Jump to navigation Jump to search
(Sitelist changed)
 
(40 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{restricted}}
+
{{caution
 +
|notes=<span style="background:yellow>'''<span style="color: darkblue">This mod is no longer supported. Use at your own risk and do NOT ask for enhancements or changes to the mod behavior</span>'''.</span> While the [[Forum for TNG]] mod works on TNG 13, it only supports templates 1 through 14.  [[User:XerxX|Erik Hoppe]], the mod developer is no longer in a position to support this mod}}{{restricted}}
 
{{TNGmod
 
{{TNGmod
 
| mod_name        = Forum for TNG
 
| mod_name        = Forum for TNG
 
| mod_summary    = Adds a forum system to TNG, for logged in users
 
| mod_summary    = Adds a forum system to TNG, for logged in users
 
| 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 {{Tv110}}[https://xerxx.se/modSupport/click/click.php?id=102&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Forum_for_tng_mod_v11.0.1.2.zip]<hr/>for {{Tv1013}}[https://xerxx.se/modSupport/click/click.php?id=100&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Forum_for_tng_mod_v10.1.3.1.zip]
+
| mod_last_update = 25 Sep 2020
| download_stats  = [https://xerxx.se/modSupport/click/index.php?action=stats&groupid=17 Forum for TNG]
+
| download_link  = for {{Tv130}} [https://xerxx.se/click3/click.php?id=23&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Forum_for_TNG_v13.0.0.7.zip]<hr/>for {{Tv120}}{{Tv110}} [https://xerxx.se/click3/click.php?id=22&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Forum_for_TNG_v11.0.1.7.zip]<hr/>for {{Tv1013}}[https://xerxx.se/click3/click.php?id=21&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Forum_for_tng_mod_v10.1.3.4.zip]
 +
| download_stats  = [https://xerxx.se/click3/index.php?action=stats&groupid=10 Forum for TNG]
 
| mod_author      = Erik Hoppe
 
| mod_author      = Erik Hoppe
 
| mod_url        = [[Forum for TNG]] (this page)
 
| mod_url        = [[Forum for TNG]] (this page)
| mod_support    = [https://xerxx.se/modSupport/index.php?mod=19 My Mod Support]
+
| mod_support    = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums:  TNG Specific - Code Discussion - Addons]
| mod_contact    = [https://xerxx.se/modSupport/index.php?mod=19 My Mod Support]
+
| mod_contact    =  
| mod_version    = 10.1.3.1 for TNG v10.1.3<br/>11.0.1.2 for TNG v11.0.1 and above<br/>(Please report other TNG versions)
+
| mod_version    = 10.1.3.4 for TNG v10.1.3<br/>11.0.1.7 for TNG v11.0.1 and above (Tested in TNG v12.3)<br/>13.0.0.7 for TNG v13.0
 
| min_TNG_ver    = 10.1.3
 
| min_TNG_ver    = 10.1.3
| max_TNG_ver    = 11.1.x
+
| max_TNG_ver    = 13.0
 
| TNG_file_list  =  
 
| TNG_file_list  =  
 
| related_mods    =
 
| related_mods    =
Line 22: Line 24:
 
== Purpose of the mod ==
 
== Purpose of the mod ==
 
This mod adds a forum system to your TNG installation.<br/>You may setup one forum or as many as you like.<br/>The forum(s) can only be accessed by logged-in users so there is no register or login procedure.<br/>
 
This mod adds a forum system to your TNG installation.<br/>You may setup one forum or as many as you like.<br/>The forum(s) can only be accessed by logged-in users so there is no register or login procedure.<br/>
A '''demo''' is found here [https://xerxx.se/forumDemo/indexDemo.php Forum Demo]<br/><br/>
+
A '''demo''' is not possible any more as it demands a full TNG install and I can't host that any more.<br/><br/>
The system has been tested in TNG v'''10.1.3, 11.0.1''' and '''11.1.1'''.<br/>
+
The system has been tested in TNG v'''10.1.3, 11.0.1 - 11.1.2 - 12.0 - 13.0'''.<br/>
 
Please report other versions. Thanks.
 
Please report other versions. Thanks.
 
 
== THERE IS <span style='color:red; background-color:yellow;'> NO UPDATE </span> VERSION FROM BETA OR ALPHA! ==
 
(Testers and translators are excluded)<br/><br/>
 
Unfortunately there's too much involved.<br/>'''<span style='color:red; background-color:yellow;'>If you have installed a public Alpha or Beta version:</span>'''
 
* Uninstall it
 
* Delete everything &quot;'''forum'''&quot; from your '''customconfig.php''' file
 
* Delete the '''forum folder'''
 
The tables will be deleted in the init process.<br/>I'm sorry for this but you were warned (and you never contacted me).
 
  
  
Line 47: Line 40:
 
* You can create threads and full forums only visible for ''Editors'' and/or ''Administrators''
 
* You can create threads and full forums only visible for ''Editors'' and/or ''Administrators''
 
* Database tables are handled in ''Utilities'' (Backup, Restore...)
 
* Database tables are handled in ''Utilities'' (Backup, Restore...)
* Add a personID (Ixxx or Pxxx) or familyID (Fxxx) to the thread-start post:<br/>[[file:Forumillinprub.jpg]]<br/><br/>There will be a header / link added to the post:<br/>[[file:Forumillrubrik.jpg]]<br/><br/>Individ or Family will have an Event '''''Forum''''' = link to the thread, in getperson.php:<br/>[[file:ForumillDordi.jpg]]
+
* Add a personID (Ixxx or Pxxx) or familyID (Fxxx) to a post:<br/>[[file:Forumillinprub.jpg]]<br/><br/>There will be a header / link added to the post:<br/>[[file:Forumillrubrik.jpg]]<br/><br/>Individ or Family will have an Event '''''Forum''''' = link to the thread, in getperson.php:<br/>[[file:ForumillDordi.jpg]]
  
  
 
== Developer ==
 
== Developer ==
This mod was developed by [[User:XerxX|Erik Hoppe]]
+
This mod was developed by [[User:XerxX|Erik Hoppe]] who is '''''<span style="color: red">NOT maintaining or developing</span>''''' this mod.<br/>See '''Mod Support''' in the data box top right.
  
  
Line 90: Line 83:
 
* 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.1.3)
 
* An installed current version of the [[Mod Manager]] (is already included in TNG v10.1.3)
 +
 +
 +
== Mod Conflicts ==
 +
 +
<i><u>The below is added to all involved mods:</u></i><br/>
 +
Of <big><b>my mods</b></big>, some demand a special order to Install and Uninstall. This is one of them.<br/>
 +
Installing / Uninstalling in the wrong order may create chaos at a later stage.<br/>
 +
The mods may signal Okay to Install but nevertheless may not be.<br/><br/>
 +
 +
<b><big>Order to INSTALL:</big></b><br/>
 +
 +
All mods <b>below</b> the one you want to Install, must first be Uninstalled (if you use them).<br/>
 +
See the Uninstall order below. You can Install them after.<br/>
 +
#[[Maternal And Paternal Lines|Maternal And Paternal Lines]]
 +
#[[Scrollbox_mod|Scrollbox]]
 +
#[[Public Access Control|Public Access Control]]
 +
#'''Forum for TNG'''
 +
#'''''[[Fixed Family Tab|Fixed Family Tab]]'''''
 +
<br/>
 +
 +
<b><big>Order to UNINSTALL:</big></b><br/>
 +
All mods <b>above</b> the one you want to Uninstall, must first be Uninstalled (if you use them).<br/>
 +
You can Install them after. See the Install order above.<br/>
 +
 +
#'''''[[Fixed Family Tab|Fixed Family Tab]]'''''
 +
#'''Forum for TNG'''
 +
#[[Public Access Control|Public Access Control]]
 +
#[[Scrollbox_mod|Scrollbox]]
 +
#[[Maternal_And_Paternal_Lines|Maternal And Paternal Lines]]
 +
<br/>
 +
<b><big>Example:</big></b><br/>
 +
Suppose you use the ''[[Scrollbox_mod|Scrollbox]]'' and ''Fixed Family Tab'' mods.<br/>
 +
Now you want to install ''[[Maternal And Paternal Lines|Maternal And Paternal Lines]]''.<br/>
 +
As you can see in the ''Install Order'' both the used mods are ''below'' the ''[[Maternal And Paternal Lines|Maternal And Paternal Lines]]'' mod and therefore you must first Uninstall the mods in the Uninstall order:<br/>
 +
First Uninstall the ''Fixed Family Tab'' mod and then the ''[[Scrollbox_mod|Scrollbox]]'' mod.<br/>
 +
Now you can install all three mods in the Install order:<br/>
 +
First you Install ''[[Maternal And Paternal Lines|Maternal And Paternal Lines]]'', second the ''[[Scrollbox_mod|Scrollbox]]'' mod and finally ''Fixed Family Tab''.
  
  
Line 95: Line 125:
 
# Click on the download link, shown in the summary in the upper  right corner of the page.
 
# Click on the download link, shown in the summary in the upper  right corner of the page.
 
# You will receive a zipped file. Unzip it and open the folder.
 
# You will receive a zipped file. Unzip it and open the folder.
# Inside you will find:<br/>* A file named '''''READ_THIS_vX.X.X.X.txt''''' &lt;== '''Important!'''<br/>* A ModManager config file: ''forum_for_tng_mod_vX.X.X.X.cfg''<br/>* A ModManager config file: ''CountAncestorsDescendants_mod_v10.1.1.3c.cfg''<br/>* A folder named ''forum_for_tng_mod_vX.X.X.X''<br/>* A folder named ''Forum_link_to_index_Mods_vX.X.X.X''<br/>* A folder named ''ForumIcons_Save_on_PC''
+
# Inside you will find:<br/>* A file named '''''READ_THIS_vX.X.X.X.txt''''' &lt;== '''Important!'''<br/>* A ModManager config file: ''forum_for_tng_mod_vX.X.X.X.cfg''<br/>* A ModManager config file: ''count_ancestors_descendants_mod_v10.1.1.3e.cfg'' (ONLY bef v13.0.0.7)<br/>* A folder named ''forum_for_tng_mod_vX.X.X.X''<br/>* A folder named ''Forum_link_to_index_Mods_vX.X.X.X''<br/>* A folder named ''ForumIcons_Save_on_PC''
 
# Open the '''''READ_THIS_vX.X.X.X.txt''''' file and read it, so you understand WHAT, WHEN and HOW to use the contents.
 
# Open the '''''READ_THIS_vX.X.X.X.txt''''' file and read it, so you understand WHAT, WHEN and HOW to use the contents.
# When the correct files are uploaded to the '''mods''' folder at your server,<br/>follow the instructions in [https://xerxx.se/forumDemo/forum_Manual/index.html '''<span style='color:#ff00ff'>Forum For TNG - The Admin Manual</span>''']<br>The four necessary steps - ''Install, Create, Set up'' and ''Release'' - are fully explained. Plus a lot more.
+
# When the correct files are uploaded to the '''mods''' folder at your server...<br/>* '''NEW INSTALL:'''<br/>&nbsp;&nbsp;&nbsp;Follow the instructions in [https://xerxx.se/forumDemo/forum_Manual/index.html '''<span style='color:#ff00ff'>Forum For TNG - The Admin Manual</span>''']<br/>&nbsp;&nbsp;&nbsp;The four necessary steps - ''Install, Create, Set up'' and ''Release'' - are fully explained. Plus a lot more.<br/>* '''UPDATE TO v 5:''' (TNG v11)<br/>&nbsp;&nbsp;&nbsp;- Un-install your current version. Do not click any other button.<br/>&nbsp;&nbsp;&nbsp;- Install this version and then click only the Update button. There is a change to the database making this necessary.<br/>&nbsp;&nbsp;&nbsp;- Update the Modmanager Edit Options if you have changed "180".
  
  
Line 103: Line 133:
 
* 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 of the mod.
 
* Replace all affected files with the copies you made before the installation of the mod.
* Contact me through [https://xerxx.se/modSupport/index.php?mod=19 My Mod Support].
+
* [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums:  TNG Specific - Code Discussion - Addons]
  
  
 
== Modmanager Option to set ==
 
== Modmanager Option to set ==
 
Deleted Threads and Posts will have a header or text showing they are deleted.<br/>
 
Deleted Threads and Posts will have a header or text showing they are deleted.<br/>
It will automatically disappear - be totally deleted - '''after 180 days''' (whenever a user selects the Forum link).<br/>
+
It will automatically disappear - be totally deleted - '''after 180 days''' (whenever a user opens your Forum startpage).<br/>
You can edit this value in the '''Modmanager ''Edit Options''''' and set it to whatever you like.
+
You can edit this value in the '''Modmanager ''Edit Options''''' and set it to whatever you like.<br/>
 +
Set to 0 (zero) it is removed immediately.
  
  
Line 137: Line 168:
  
 
== [https://xerxx.se/forumDemo/forum_Manual/index.html Forum For TNG - The Admin Manual] ==
 
== [https://xerxx.se/forumDemo/forum_Manual/index.html Forum For TNG - The Admin Manual] ==
Did you miss the link above, under '''Install'''?<br/>Here it is again: [https://xerxx.se/forumDemo/forum_Manual/index.html '''Forum For TNG - The Admin Manual''']<br/><br/>
+
Did you miss the link above, under '''Install'''?<br/>Here it is again: [https://xerxx.se/forumDemo/forum_Manual/index.html '''Forum For TNG - The Admin Manual''']
There is also a rather complete <span style='color:#ff00ff;'>'''USER'S MANUAL'''</span> in the [https://xerxx.se/forumDemo/openThread.php?f=6&t=14&s=15&b=0 '''DEMO forum'''] (Select English by the flag top-left)<br/>
 
Some minor things are different but most is the same. Check it out!
 
  
  
Line 155: Line 184:
 
* <span style="color: green; background-color: yellow">''' DONE! '''</span> <span style="color: green">Bill Walton/Erik Hoppe: Automatically remove deleted threads and posts from the database.</span>
 
* <span style="color: green; background-color: yellow">''' DONE! '''</span> <span style="color: green">Bill Walton/Erik Hoppe: Automatically remove deleted threads and posts from the database.</span>
 
* Erik Hoppe: The ''Setup & Edit forum panel'' should be moved to ''Admin &gt;&gt; Setup &gt;&gt; General Settings'' and be somewhat re-designed.
 
* Erik Hoppe: The ''Setup & Edit forum panel'' should be moved to ''Admin &gt;&gt; Setup &gt;&gt; General Settings'' and be somewhat re-designed.
* Erik Hoppe: Event ''Forum'' also at the familygroup.php page
 
 
* Bill Walton: A Forum-Admin level of rights, separate from TNG Admin.
 
* Bill Walton: A Forum-Admin level of rights, separate from TNG Admin.
* manofmull: An ID box like in the thread-start post, in all posts.
+
* <span style="color: green; background-color: yellow">''' DONE! v11'''</span> <span style="color: green">An ID box like in the thread-start post, in all posts.</span>
* Bill  Walton: One or more images placed wherever I like.
+
* <span style="color: green; background-color: yellow">''' PARTLY DONE! v11'''</span>Bill  Walton: One or more images placed wherever I like. <span style="color: green">(Align left-center-right)</span>
 
+
* <span style="color: green; background-color: yellow">''' DONE! v11'''</span> <span style="color: green">Jeff: I would like to see the mandatory  "read me first" section removed from the admin side because it isn't necessary. You can not create a forum without having to add a "read me first" post under each forum. The admin should be able to create a forum and then if he/she decides to add a specific "read me first" post for a particular forum, he/she could do it from the front side.</span>
  
 
== Revision History ==
 
== Revision History ==
Line 167: Line 195:
 
! Date
 
! Date
 
! Description
 
! Description
 +
|-
 +
| v13.0.0.7
 +
| 25 Sep 2020
 +
| Update for TNG v13.0
 +
|-
 +
| v11.0.1.7
 +
| 11 Jun 2020
 +
| Made some huge mistakes. If you tried v6 and failed, please read this Forum thread:<b> [https://tng.community/index.php?/forums/topic/11775-new-mod-forum-for-tng-almost-finished-demo-running/ TNG Forums/Code Discussion] </b>(bottom posts)
 +
|-
 +
| v11.0.1.6
 +
| 17 May 2020
 +
| Thread start date was not displayed in the Forum's thread list. Also checked f. TNG v12.3
 +
|-
 +
| v11.0.1.5
 +
| 24 Feb 2018
 +
| Read the '''Install''' instructions at the '''Wiki page'''!<br/>Create new forums w/o a starting thread. No "sticky" thread needed. Forums can be empty (you can delete also the last thread in a forum). Add person or family ID to all posts. Align image left/center/right. Reported errors corrected (thanks to Dave Cole). Other errors found and corrected.
 +
|-
 +
| v10.1.3.4<br/>v11.0.1.4
 +
| 10 Jan 2018
 +
| The Dec 7 version included an old file making <b>NEW install</b> impossible. Did not affect updates.<br />THANK YOU Ray W. for the alert, and patience.
 +
|-
 +
| v10.1.3.3<br/>v11.0.1.3
 +
| 7 Dec 2017
 +
| The thread name was missing in Watch-mails.<br/>Also now trim() the in- and output in the startpost ID-box (sadly, there may be spaces).
 +
|-
 +
| v10.1.3.2
 +
| 9 Jul 2017
 +
| The 10.1.3.1 version could not install properly!<br/>Please accept my apologies for the delay and any inconvenience.
 
|-
 
|-
 
| v11.0.1.2
 
| v11.0.1.2
Line 188: Line 244:
  
  
== Visualization of this mod (v10.1.3.0 at my site) ==
+
== Visualization of this mod (v11.0.1.4 at my site) ==
 
A collection of forums (startpage):<br/>[[file:Forumillcollp.jpg]]
 
A collection of forums (startpage):<br/>[[file:Forumillcollp.jpg]]
{| border="0" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
 
|-
 
| It's actually best shown by the '''[https://xerxx.se/forumDemo/indexDemo.php Forum demo here]''' Select a role and click &quot;Enter Forum&quot;
 
|}
 
 
  
 
== Sites using this mod ==
 
== Sites using this mod ==
Line 206: Line 257:
 
! TNG-Version
 
! TNG-Version
 
! User-language
 
! User-language
|-
 
| [https://xerxx.se/forumDemo/indexDemo.php Andersson, Hoppe, Sahlin, Thorell]
 
| [[User:XerxX|Erik Hoppe]]
 
| Demo Forum
 
| 10.1.3.0
 
| 10.1.3
 
| EN, DE, SE
 
 
|-
 
|-
 
| [http://www.byberrywaltons.com Byberry Waltons]
 
| [http://www.byberrywaltons.com Byberry Waltons]
 
| [[User:bwalton|Bill Walton]]
 
| [[User:bwalton|Bill Walton]]
 
| Need Log in
 
| Need Log in
| 11.0.1.0
+
| 11.0.1.5
| 11.1.1
+
| 11.1.2
 
| English
 
| English
 
|-
 
|-
Line 235: Line 279:
 
| French
 
| French
 
|-
 
|-
| [https://ouracadianfamily.com Our Acadian Family]
+
| [https://acadianfamily.com Our Acadian Family]
| Randal Suire
+
| [[User:Randal Suire|Randal Suire]]
 
| Public/Media Private  
 
| Public/Media Private  
 
| 11.0.1.0
 
| 11.0.1.0
| 11.1.1
+
| 11.1.2
 
| English, French  
 
| English, French  
 
|-
 
|-
| [http://www.rintoulbowman.com/ Rintoul/Bowman Family]
+
| [https://justordinaryfolks.com/tng/ Where's Waldo]
| [[User:Adrintoul|Andrew Rintoul]]
+
| Ray Waldo
 +
| Private
 +
| 11.0.1.3
 +
| 11.1.2
 +
| English
 +
|-
 +
| [http://www.colegenealogy.net/ The Cole / Tanner Family Tree]
 +
| [[User:dlcole|David Cole]]
 
| Public/Private
 
| Public/Private
| 11.0.1.2
+
| [[User:Dlcole|see here]]
| 11.1.1
+
| [[User:Dlcole|see here]]
| EN, DE, ES, FR
+
| EN, DE, FR, ES, NL
 +
|-
 +
| [http://aa.ourfamilyroots.org Our Family History]
 +
| [[User:mntoolboy|Alan Coon]]
 +
| Public / Private
 +
| 13.0.0.1
 +
| 13.1.2
 +
| EN
 +
|-
 
|}
 
|}
  
Line 275: Line 334:
 
* languages/Swedish-UTF8/cust_text.php - if present
 
* languages/Swedish-UTF8/cust_text.php - if present
  
 +
[[Category:Mods for TNG v13]]
 +
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v10]]
[[Category:Mods for TNG v11]]
 
  
 
[[Category:processlogin.php mods]]
 
[[Category:processlogin.php mods]]

Latest revision as of 13:14, 8 December 2022

Caution This mod is no longer supported. Use at your own risk and do NOT ask for enhancements or changes to the mod behavior. While the Forum for TNG mod works on TNG 13, it only supports templates 1 through 14. Erik Hoppe, the mod developer is no longer in a position to support this mod Caution


Restricted Downloads of Forum for TNG 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


Forum for TNG
Summary Adds a forum system to TNG, for logged in users
Validation The mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 25 Sep 2020
Download link for
TNG 13.0
Forum_for_TNG_v13.0.0.7.zip
for
TNG 12.0
TNG 11.0
Forum_for_TNG_v11.0.1.7.zip
for
TNG 10.1.3
Forum_for_tng_mod_v10.1.3.4.zip
Download stats Forum for TNG
Author(s) Erik Hoppe
Homepage Forum for TNG (this page)
Mod Support TNG Community Forums: TNG Specific - Code Discussion - Addons
Contact Developer
Latest Mod 10.1.3.4 for TNG v10.1.3
11.0.1.7 for TNG v11.0.1 and above (Tested in TNG v12.3)
13.0.0.7 for TNG v13.0
Min TNG V 10.1.3
Max TNG V 13.0
Files modified
Related Mods
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


Purpose of the mod

This mod adds a forum system to your TNG installation.
You may setup one forum or as many as you like.
The forum(s) can only be accessed by logged-in users so there is no register or login procedure.
A demo is not possible any more as it demands a full TNG install and I can't host that any more.

The system has been tested in TNG v10.1.3, 11.0.1 - 11.1.2 - 12.0 - 13.0.
Please report other versions. Thanks.


Integrated into TNG

The forum system acts as a part of your TNG installation:

  • The forum can only be accessed by your logged-in users
  • Users don't have to register or log in to the forum
  • TNG design and template colours are used
  • The Forum link is found in the Info dropdown menu
  • A Forum link can appear at your index page, if there is no dropdown menu, with a separate mod (enclosed)
  • The "New post" signal appears in the menu heading and the menu link - also at the index page if used (see above)
  • Users with a registred (in TNG) e-mail can watch threads (receive a message about new posts).
  • You can create threads and full forums only visible for Editors and/or Administrators
  • Database tables are handled in Utilities (Backup, Restore...)
  • Add a personID (Ixxx or Pxxx) or familyID (Fxxx) to a post:
    Forumillinprub.jpg

    There will be a header / link added to the post:
    Forumillrubrik.jpg

    Individ or Family will have an Event Forum = link to the thread, in getperson.php:
    ForumillDordi.jpg


Developer

This mod was developed by Erik Hoppe who is NOT maintaining or developing this mod.
See Mod Support in the data box top right.


Translators

My sincere Thank You to these persons who translated the almost 200 entries in the language file:

  • Danish: Mogens C. Fenger
  • Dutch: Marco van den Heuvel
  • French: Christophe Potié
  • German: Hendrik Martius


Testers

My sincere Thank You to these persons who have been brave enough to install and run the beta and alpha versions and then reported back to me:

  • Mogens C. Fenger
  • Marco van den Heuvel
  • Hendrik Martius
  • Christophe Potié
  • Ken Roy


What's "Bi-lingual"?

Do you use more than one language at your site?

This "bi-lingual" forum gives you and your users the option to use two languages concurrently.
A second language may be selected for users who don't use your site default language.
The result is, that not only TNG and the forum interface are translated but also forum names, texts and posts - if they are written in two languages.

Instead of a post in two languages, say Swedish and English, the user will only see the Swedish or English text.
I use it especially in a forum where I collect instructions and "how-to"s for the site.
The English reading user doesn't have to see a lot of Swedish instructional text and vice versa.

You will probably understand much better if you go to my Forum demo (click "Enter forums"): Eveything is in Swedish.
Click the English flag up left and everything is in English: Not only the TNG parts and the forum interface but also the forum names and descriptive texts.
Open the "Help" forum and f.ex. the "Help for forum" thread. Again switch language...

Note that the system is not prepared for adding or subtracting languages after the installation.
But also note that even if you set the system up for two languages, you and your users don't have to use two languages anywhere (with one small exception, once in install, for you).
- It's always optional.


Requirements

TNG version: 10.1.3
  • 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 v10.1.3)


Mod Conflicts

The below is added to all involved mods:
Of my mods, some demand a special order to Install and Uninstall. This is one of them.
Installing / Uninstalling in the wrong order may create chaos at a later stage.
The mods may signal Okay to Install but nevertheless may not be.

Order to INSTALL:

All mods below the one you want to Install, must first be Uninstalled (if you use them).
See the Uninstall order below. You can Install them after.

  1. Maternal And Paternal Lines
  2. Scrollbox
  3. Public Access Control
  4. Forum for TNG
  5. Fixed Family Tab


Order to UNINSTALL:
All mods above the one you want to Uninstall, must first be Uninstalled (if you use them).
You can Install them after. See the Install order above.

  1. Fixed Family Tab
  2. Forum for TNG
  3. Public Access Control
  4. Scrollbox
  5. Maternal And Paternal Lines


Example:
Suppose you use the Scrollbox and Fixed Family Tab mods.
Now you want to install Maternal And Paternal Lines.
As you can see in the Install Order both the used mods are below the Maternal And Paternal Lines mod and therefore you must first Uninstall the mods in the Uninstall order:
First Uninstall the Fixed Family Tab mod and then the Scrollbox mod.
Now you can install all three mods in the Install order:
First you Install Maternal And Paternal Lines, second the Scrollbox mod and finally Fixed Family Tab.


Installation and First Forum setup

  1. Click on the download link, shown in the summary in the upper right corner of the page.
  2. You will receive a zipped file. Unzip it and open the folder.
  3. Inside you will find:
    * A file named READ_THIS_vX.X.X.X.txt <== Important!
    * A ModManager config file: forum_for_tng_mod_vX.X.X.X.cfg
    * A ModManager config file: count_ancestors_descendants_mod_v10.1.1.3e.cfg (ONLY bef v13.0.0.7)
    * A folder named forum_for_tng_mod_vX.X.X.X
    * A folder named Forum_link_to_index_Mods_vX.X.X.X
    * A folder named ForumIcons_Save_on_PC
  4. Open the READ_THIS_vX.X.X.X.txt file and read it, so you understand WHAT, WHEN and HOW to use the contents.
  5. When the correct files are uploaded to the mods folder at your server...
    * NEW INSTALL:
       Follow the instructions in Forum For TNG - The Admin Manual
       The four necessary steps - Install, Create, Set up and Release - are fully explained. Plus a lot more.
    * UPDATE TO v 5: (TNG v11)
       - Un-install your current version. Do not click any other button.
       - Install this version and then click only the Update button. There is a change to the database making this necessary.
       - Update the Modmanager Edit Options if you have changed "180".


In the event of a problem


Modmanager Option to set

Deleted Threads and Posts will have a header or text showing they are deleted.
It will automatically disappear - be totally deleted - after 180 days (whenever a user opens your Forum startpage).
You can edit this value in the Modmanager Edit Options and set it to whatever you like.
Set to 0 (zero) it is removed immediately.


After releasing your forum(s)

When you have released your forums to your users:
Do NOT use any of the two custom buttons in ModManager! Simply don't. Ever. Period.

If you later enter the Setup & Edit forum panel and you also open the ModManager, it will signal "Partially installed":
This is correct! Do NOT try to clean up or remove the mod.
Close ModManager and return to the Setup & Edit forum panel.
When you finish the editing and release the forum, ModManager will signal OK.


Locked out: A back-door

If you enter the Setup & Edit forum panel you lock the forum(s) so they can't be accessed. Not even by you, although you can still test what you set up or edit.
When finished, you are supposed to use the Release the forum(s) button to unlock everything.
Should you instead, by accident, close the tab/window there is a back-door:
Go to the public part of your site, logged-in as Administrator (you probably were) you simply select the Forum link. You will then open the startpage and everything is unlocked.
Also for your users.


Uninstalling the mod

  • Use the ModManager "Uninstall" button.

If you want to completely delete the forum(s) you should, after the above, also

  • use the "...completely DELETE the forum(s)" button
  • and then the ModManager Remove button


Forum For TNG - The Admin Manual

Did you miss the link above, under Install?
Here it is again: Forum For TNG - The Admin Manual


Custom Text Additions

The system includes the English language custom text.
There are Danish, Dutch, French, German and Swedish translations if they are present in your TNG system.
Those language files are stored in a separate language folder forum_languages.
There are almost 200 entries in each file... - Please volonteer to translate.
The cust_text.php files are also somewhat modified.


Suggested Development

Add your suggestions here.
I'm not saying that I will implement any of them myself - a lot of time has already been spent on this project and I do have a site and a life also :D
If you are willing to realize any of these suggestions: Please: Feel free to do it!

  • Bill Walton: A real editor instead of the text input field.
    I agree that the Nicedit editor used by TNG would be nice to implement.
    I tried to do it but couldn't make it work properly (pure incompetence...) and so I thought:
    "Shall they post messages in a forum or nicely formatted articles?" and decided to not put more time into that part myself.
  • Bill Walton: Sub-forums.
    This was never in my mind until you suggested it.
    I guess this will be a major change as at least one new table must be introduced and perhaps a lot of code-changes.
  • DONE! Bill Walton/Erik Hoppe: Automatically remove deleted threads and posts from the database.
  • Erik Hoppe: The Setup & Edit forum panel should be moved to Admin >> Setup >> General Settings and be somewhat re-designed.
  • Bill Walton: A Forum-Admin level of rights, separate from TNG Admin.
  • DONE! v11 An ID box like in the thread-start post, in all posts.
  • PARTLY DONE! v11Bill Walton: One or more images placed wherever I like. (Align left-center-right)
  • DONE! v11 Jeff: I would like to see the mandatory "read me first" section removed from the admin side because it isn't necessary. You can not create a forum without having to add a "read me first" post under each forum. The admin should be able to create a forum and then if he/she decides to add a specific "read me first" post for a particular forum, he/she could do it from the front side.

Revision History

Version Date Description
v13.0.0.7 25 Sep 2020 Update for TNG v13.0
v11.0.1.7 11 Jun 2020 Made some huge mistakes. If you tried v6 and failed, please read this Forum thread: TNG Forums/Code Discussion (bottom posts)
v11.0.1.6 17 May 2020 Thread start date was not displayed in the Forum's thread list. Also checked f. TNG v12.3
v11.0.1.5 24 Feb 2018 Read the Install instructions at the Wiki page!
Create new forums w/o a starting thread. No "sticky" thread needed. Forums can be empty (you can delete also the last thread in a forum). Add person or family ID to all posts. Align image left/center/right. Reported errors corrected (thanks to Dave Cole). Other errors found and corrected.
v10.1.3.4
v11.0.1.4
10 Jan 2018 The Dec 7 version included an old file making NEW install impossible. Did not affect updates.
THANK YOU Ray W. for the alert, and patience.
v10.1.3.3
v11.0.1.3
7 Dec 2017 The thread name was missing in Watch-mails.
Also now trim() the in- and output in the startpost ID-box (sadly, there may be spaces).
v10.1.3.2 9 Jul 2017 The 10.1.3.1 version could not install properly!
Please accept my apologies for the delay and any inconvenience.
v11.0.1.2 7 Jul 2017 The 11.0.1.1 version could not install properly! Thanks to Randal Suire and Andy Rintoul.
Please accept my apologies for any inconvenience.
v10.1.3.1
v11.0.1.1
3 Jul 2017
  • Stopped a possibility to delete un-restricted Sticky threads when only restricted Sticky threads are left. Thanks to Randal Suire.
  • (Suggested development) Added MM Edit parameter: Days to keep deleted threads and posts (def = 180)
v10.1.3.0
v11.0.1.0
27 May 2017 Version 0 released
V10.1.3.alfa0 18 March 2017 First alfa release is public


Visualization of this mod (v11.0.1.4 at my site)

A collection of forums (startpage):
Forumillcollp.jpg

Sites using this mod

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

URL User Note Mod-Version TNG-Version User-language
Byberry Waltons Bill Walton Need Log in 11.0.1.5 11.1.2 English
Cook, Garza, Harms, Leake Klaus Dieter Cook Need Log in 11.0.1.0 11.1. EN, DE
racine d'Alsace J-Louis Valory Public/Private - Template 1 11.0.1.0 11.1.1 French
Our Acadian Family Randal Suire Public/Media Private 11.0.1.0 11.1.2 English, French
Where's Waldo Ray Waldo Private 11.0.1.3 11.1.2 English
The Cole / Tanner Family Tree David Cole Public/Private see here see here EN, DE, FR, ES, NL
Our Family History Alan Coon Public / Private 13.0.0.1 13.1.2 EN

TNG Modules Impacted

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

  • customconfig.php
  • processlogin.php
  • genlib.php
  • admin_genconfig.php
  • admin_utilities.php
  • admin_backup.php
  • admin_optimize.php
  • admin_restore.php
  • getperson.php
  • If you use a Forum_link_to_index_mod: templates/templateX/index.php
  • languages/English/cust_text.php
  • languages/English-UTF8/cust_text.php
  • languages/Danish/cust_text.php - if present
  • languages/Danish-UTF(/cust_text.php - if present
  • languages/Dutch/cust_text.php - if present
  • languages/Dutch-UTF8/cust_text.php - if present
  • languages/French/cust_text.php - if present
  • languages/French-UTF8/cust_text.php - if present
  • 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