Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post
Post How To Add A New Page In Viewonline And ACP Index 
 
Code: [Download] [Hide]
  1. ##############################################################  
  2. ## MOD Title: How to add "NewPage" in Who is online site  
  3. ## MOD Author: KugeLSichA < kugelsicha@caromonline.de > (HoLLe) http://www.caromguild.de  
  4. ## MOD Description: This is a How to, if you have a new site in your forum,  
  5. ##                  and want to view the users in viewonline.php and ACP  
  6. ##                  Index.  
  7. ## MOD Version: 1.0.0  
  8. ##  
  9. ## Installation Level: Easy  
  10. ## Installation Time: 5min  
  11. ## Files To Edit: 4  
  12. ##                adm/index.php  
  13. ##                includes/constants.php  
  14. ##                language/lang_english/lang_main.php  
  15. ##                viewonline.php  
  16. ## Included Files: n/a  
  17. ##############################################################  
  18. ## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the  
  19. ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code  
  20. ## to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered  
  21. ## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/  
  22. ##############################################################  
  23. ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD  
  24. ##############################################################  
  25.  
  26. #  
  27. #-----[ OPEN ]------------------------------------------  
  28. #  
  29. viewonline.php  
  30. #  
  31. #-----[ FIND ]------------------------------------------  
  32. #  
  33.                 default:  
  34.                     $location = $lang['Forum_index'];  
  35.                     $location_url = FORUM_MG;  
  36.             }  
  37. #  
  38. #-----[ BEFORE, ADD ]------------------------------------------  
  39. #  
  40.                 case PAGE_NEW_PAGE:  
  41.                     $location = $lang['Viewing_newpage'];  
  42.                     $location_url = "new_page.$phpEx";  
  43.                     break;  
  44.                                           
  45. #  
  46. #-----[ OPEN ]------------------------------------------  
  47. #  
  48. includes/constants.php  
  49. #  
  50. #-----[ FIND ]------------------------------------------  
  51. # or similar  
  52. define('PAGE_SUDOKU', -1700);  
  53. #  
  54. #-----[ AFTER, ADD ]------------------------------------------  
  55. #  
  56. # NOTE: make sure that the number you add, is unique!  
  57. define('PAGE_NEW_PAGE', -5000);  
  58.  
  59. #  
  60. #-----[ OPEN ]------------------------------------------  
  61. #  
  62. adm/index.php  
  63. #  
  64. #-----[ FIND ]------------------------------------------  
  65. #  
  66.                         default:  
  67.                             $location = $lang['Forum_index'];  
  68.                             $location_url = "index.$phpEx?pane=right";  
  69.                     }  
  70. #  
  71. #-----[ BEFORE, ADD ]------------------------------------------  
  72. #  
  73.                         case PAGE_NEW_PAGE:  
  74.                             $location = $lang['Viewing_new_page'];  
  75.                             $location_url = "new_page.$phpEx?pane=right";  
  76.                             break;  
  77. #  
  78. #-----[ FIND ]------------------------------------------  
  79. #  
  80.                     default:  
  81.                         $location = $lang['Forum_index'];  
  82.                         $location_url = "index.$phpEx?pane=right";  
  83.                 }  
  84. #  
  85. #-----[ BEFORE, ADD ]------------------------------------------  
  86. #  
  87.                     case PAGE_NEW_PAGE:  
  88.                         $location = $lang['Viewing_new_page'];  
  89.                         $location_url = "new_page.$phpEx?pane=right";  
  90.                         break;  
  91.                                                   
  92. #  
  93. #-----[ OPEN ]------------------------------------------  
  94. #  
  95. # Do this for all languages you have installed!  
  96. language/lang_english/lang_main.php  
  97. #  
  98. #-----[ FIND ]------------------------------------------  
  99. #  
  100. $lang['Viewing_KB'] = 'KB anzeigen';  
  101. $lang['Viewing_RSS'] = 'RSS feed';  
  102. #  
  103. #-----[ AFTER, ADD ]------------------------------------------  
  104. #  
  105. $lang['Viewing_new_page'] = 'New Page viewing';  
  106.                                                                                                                                                                                                                                              
  107. #  
  108. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------  
  109. #  
  110. # EoM  
  111.  

 




____________

Play Games at GamesCampus!
 
Edited by Mighty Gorgon, Sat 12 Aug, 2006 11:31: Topic title edited.
KugeLSichASend 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