Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post
Post [OUTDATED] CUSTOMIZATION - How To Add A New Page In Viewonline And ACP Index 
 
Code: [Download] [Hide] [Select]
##############################################################
## 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', -7000);

#
#-----[ 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'] = 'Viewing KB';
$lang['Viewing_RSS'] = 'RSS feed';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Viewing_new_page'] = 'New Page viewing';
                                                                                                                                                                                                                                           
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You 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


  

 

  cron