- ##############################################################
- ## MOD Title: How to add "NewPage" in Who is online site
- ## MOD Author: KugeLSichA < kugelsicha@caromonline.de > (HoLLe) http://www.caromguild.de
- ## MOD Description: This is a How to, if you have a new site in your forum,
- ## and want to view the users in viewonline.php and ACP
- ## Index.
- ## MOD Version: 1.0.0
- ##
- ## Installation Level: Easy
- ## Installation Time: 5min
- ## Files To Edit: 4
- ## adm/index.php
- ## includes/constants.php
- ## language/lang_english/lang_main.php
- ## viewonline.php
- ## Included Files: n/a
- ##############################################################
- ## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
- ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
- ## to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered
- ## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
- ##############################################################
- ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
- ##############################################################
- #
- #-----[ OPEN ]------------------------------------------
- #
- viewonline.php
- #
- #-----[ FIND ]------------------------------------------
- #
- default:
- $location = $lang['Forum_index'];
- $location_url = FORUM_MG;
- }
- #
- #-----[ BEFORE, ADD ]------------------------------------------
- #
- case PAGE_NEW_PAGE:
- $location = $lang['Viewing_newpage'];
- $location_url = "new_page.$phpEx";
- break;
- #
- #-----[ OPEN ]------------------------------------------
- #
- includes/constants.php
- #
- #-----[ FIND ]------------------------------------------
- # or similar
- define('PAGE_SUDOKU', -1700);
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
- # NOTE: make sure that the number you add, is unique!
- define('PAGE_NEW_PAGE', -5000);
- #
- #-----[ OPEN ]------------------------------------------
- #
- adm/index.php
- #
- #-----[ FIND ]------------------------------------------
- #
- default:
- $location = $lang['Forum_index'];
- $location_url = "index.$phpEx?pane=right";
- }
- #
- #-----[ BEFORE, ADD ]------------------------------------------
- #
- case PAGE_NEW_PAGE:
- $location = $lang['Viewing_new_page'];
- $location_url = "new_page.$phpEx?pane=right";
- break;
- #
- #-----[ FIND ]------------------------------------------
- #
- default:
- $location = $lang['Forum_index'];
- $location_url = "index.$phpEx?pane=right";
- }
- #
- #-----[ BEFORE, ADD ]------------------------------------------
- #
- case PAGE_NEW_PAGE:
- $location = $lang['Viewing_new_page'];
- $location_url = "new_page.$phpEx?pane=right";
- break;
- #
- #-----[ OPEN ]------------------------------------------
- #
- # Do this for all languages you have installed!
- language/lang_english/lang_main.php
- #
- #-----[ FIND ]------------------------------------------
- #
- $lang['Viewing_KB'] = 'KB anzeigen';
- $lang['Viewing_RSS'] = 'RSS feed';
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
- $lang['Viewing_new_page'] = 'New Page viewing';
- #
- #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
- #
- # EoM
How To Add A New Page In Viewonline And ACP Index
Subject: How To Add A New Page In Viewonline And ACP Index
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.2176s (PHP: 7% SQL: 93%)
SQL queries: 14 - Debug Off - GZIP Enabled