Difference between revisions of "Open My Page"

From TNG_Wiki
Jump to: navigation, search
Line 37: Line 37:
 
* A working TNG installation.
 
* A working TNG installation.
 
* 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.1)
+
* An installed current version of the [[Mod Manager]] (is already included in TNG v10)
  
  
Line 92: Line 92:
 
{| border="0" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
 
{| border="0" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
 
|-
 
|-
| The bottom of the Info menu when the logged in user is also registerd:
+
| The bottom of the Info menu when the logged in user is also registered:
 
|-
 
|-
 
| [[File:Openmypageimg1.png]]
 
| [[File:Openmypageimg1.png]]

Revision as of 10:42, 9 August 2015

Open My Page
Summary Adds an Info-menu selection: My Page
Validation
Mod Updated {{{mod_last_update}}}
Download link for
TNG 10.0
Open My Page mod v10.0.0.0
Download stats Open My Page mod v10.x
Author(s) Erik Hoppe
Homepage Open My Page (this page)
Mod Support My Mod Support
Contact Developer My Mod Support
Latest Mod 10.0.0.0
Min TNG V 10.0.0
Max TNG V 10.1.2
Files modified
Related Mods
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


Purpose of the mod

One more that my users asked for:
If the logged in user is also registered in the database (i.e. has an individual-ID), the Info-menu will have a selection at the bottom: My Page.
Selecting that page will open the user's getperson.php.


Developer

This mod was developed by Erik Hoppe.
See all my mods at my Wiki user page.


Requirements

TNG version: 10.0
  • 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)


Installation

  1. Click on the download link, shown in the summary in the upper right corner of the page.
  2. Un-zip the file and move/copy/FTP the .cfg file to the mods folder of your TNG system.
  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


Custom Text Additions

The config file includes the English language custom text.
There are German and Swedish translations if they are present in your TNG system.
For other languages you can modify the config file to add the custom text or manually add to whatever language you like.

(English custom text for reference)


$text['xerxxMyPage'] = "My Page";


Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, 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
v10.0.0.0 9 Aug 2015 Introduction.


Visualization of this mod (v10.0.0.0)

The bottom of the Info menu when the logged in user is also registered:
Openmypageimg1.png


Sites using this mod

As the selection is only visible for logged in users, I can't show anything but the screenshot above.

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 above 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:

  • genlib.php


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-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