Use PHPNUKE to build a skill

xiaoxiao2021-03-06  70

The younger brother came to the China Linux Commune since 2002, which was attracted by the PHPnuke used by the commune. She also started using it as a program for the construction. Later, because I feel too regular, I prefer alternative style, so I only only With phpbb 2 forum program. Although there is no installation and PHPNUK, it has been found some information in order to build a station. Seeing constant friends asking how to use the PHPNUKE website, special throwing jade. I know that the PHP master, there is a mistake, I hope other people, and the communes are both the CONNER, the black penguin, gugong, etc., the code is the code is what they rewritten and maintained. If you have any questions, please ask them directly. The younger brother will not answer questions. In addition, the Phpnuke version of the younii used in the time did not add PHPBB2. Phpnuke and PHPBB2 were developed by two different developers. At that time, PHPBB2 Hacker specially provided PHPNUKE itself. The forum module removed, HACK added in the PHPBB2 Forum (on the PHPBB2 website). A series of disputes have been produced between PHPNUKE and PHPBB2. Later, PHPNUKE's developers did not do it, plus PHPBB2. If you come in, it will become a current version 6.5. If you have a friend, you want to reprint this post, please keep the integrity of the post and indicate the forum from the China Linux Commune (www.linuxfans.org). CNOC & HousCous 5 / 6/2003. Official Installation Guide. Official Version Upgrade Guide The following is personal experience · Installation instructions and common problems · Homemade plug-in, PHP Nuke files and uses · Theme related functions and use · MAINFILE.PHP functions and uses · How-to Basic Needs 1. Host Systems :Freebsd.Linux.Windows.Macos.OS / 2 ETC. 2.Web Server: Apache.iis Support PHP3 or PHP4 3.SQL Server: MySQL. Official Installation Guide Installing The Package (Installation php nuke) Installing the package --------------------- Untar the package into the Directory you want to use on you Web Server, if you're unsure WHERE THAT IS, Ask You System Administrator. (Windows Users CAN Use Winzip or WinRar To Uncompress .tar.gz Files) Unzip Kit Tar -zxvf PHP-NUKE.TAR.GZ Change to the / SQL / DIRECTORY AND THERE IS A File Called "Nuke .sql "this file contains the commands to build the database structure, tables and the default data 1) Create a database called, for example, nuke:. add a database, such as the name nuke mysqladmin create nuke 2) Now fill the databases WITH TABLES IN NUKE.SQL File: Import Database Mysql Nuke

s it! ... Now you need to edit the file "config.php" to set the database options. please file! after this, Point Your browser to: has been completed, then connect with browser http://yourdomain.com/admin.php Create your Super User following the on-screen instructions. Follow the instructions to establish a Master account page Now click on "Preferences" and change whatever you want to fit your site info. All the options you need to change are in the Preferences menu. If you need help just click con the help icon at the right-top of the Administration Menu. This will open a new window with the help you need for each section in the administration system. again Log in to manage menu, first do preference settings NOTE: if you want to edit config.php file from web browser remember to chmod 666 the file config.php or your change not be saved! If can't execute chmod Just Edit The File By Hand and Re-Upload It To Your Server. If you want to write preference settings online, let's change the config.php file to 666 Security Tip: it's a good choice to put your config .php file outside the web server path, the you ca n create a new config.php with the line: A strengthening security suggestion is to put config.php outside the website. Upgrade Guide Upgrading from Previous Versions Upgrading from Previous Versions --------- ---------------------- To Upgrade a Prevoius PHP-NUKE Installation to this new version you need to edit the selected Upgrade File from Upgrades Directory and Launch Your Web Browser TO: First edit the version to upgrade, do the database parameter setting, then link http://www.yourdomain.com/upgrade55-56.php all the new tables will be added and updated Automagically without Touch Your Old Data. New information table will be added or automatically updated. The original information is still in the Important: Remember to Backup Always Your Database Before Any Upgrade, Just In Case. if Something Goes Wrong Don '

T com Crying to me. It is recommended to back up the database before any upgrade, just in case of preventing, if there is anything wrong, please don't look for me crying code: · Installation instructions and common problems · Start installation 1. Sinking the original kit Compressive files (generally decompressed in the Client End PC) 2. Upload all files in the extracted HTML directory to your website. The PHP file is uploaded in ASCII mode, and the staging is uploaded in binary mode. 3. Establish a database: Telnet login, in Console, execute mysqladmin create nuke, use phpMyadmin, build database nuke 4. In the PHPMYADMIN, Nuke.SQL import database Telnet login: In Console execute mysql nuke Nuke.sql uses phpMyadmin, select Nuke.SQL with "Browse", press "Go" 5. Edit config.php setting $ dbhost = "localhost"; $ dbuname = "root"; $ dbpass = "password"; $ DBNAME = "nuke"; (if you are not accessing the Nuke database with mysql, please change it it) $ nukeurl = "http://www.y-channel.com"; $ system setting freebsd / Linux uses a preset 0, and Windows is set to 1 upload config.php and change the file properties to 666 6. Single Nuke's admin.PHP, the preset manager is "god", password "Password "(Signment is different); login to the management page. Ok, you are already a PHP Nuke website, I remember to change the webmaster setting (name and password) · Switch into the Chinese language department, the screen is garbled old problem .Nuke5.x Every version is this. Chinese is incompatible, you can modify it yourself, just a very small problem. Method: Enter management page -> layout block -> main menu put ./ Big> is changed to < Li> It's good. There is also a place, that is the Administration block. · The webmaster released news, but when I couldn't see it when I started upgrading to PHP Nuke 5.x, it is really uncomfortable to be here. It has added a new multilingual department, we are not imposed, first being harmful. Preset preference settings (setting in config.php) is used in multilingual. Well, be careful when sending news: choose Chinese or ALL, otherwise, I will not see it. My approach is installed, to modify the preference setting, select "Do not enable" multilingual system, the preset language selection "Chinese". Then, you can not be interfered with this layer. In addition, I am used to deleting the modules of other language before passing, so you can save a lot of upload time and space. · Different versions have no difference in different platforms! Whether it is a PHP Nuke 4.x or 5.x, the Apache PHP MySQL or FoxServer or IIS 5 installation method is exactly the same in different OSs for Linux / FreeBSD / Windows 98, etc.. · Finding the FOOTMSG () error solution is: Add this function in Footer.php, you can uninterrupted.

Function footmsg () {include ("config.php"); echo "

n $ foot1
N $ foot2
N $ foot3
N $ foot4
N n ";} · New reported pattern Upload issues 1. The directory of uploading the map file is Nuke / Images / Articles, directory rights required for 777 2. The size limit of the upload file is limited by php.ini Preset value limit 3. Upload diagram is only available to Image / Articles, you have to build super-linking in the report. Not an upload will automatically connect display 4. The upload diagram is only in the new report. There is a role, selecting the upload diagram when editing the old report again. · Undefined smile () this SMILE function from PHPBB after installing some modules, although PHP Nuke 5.x has not included PHPBB, but these functions are also packaged in functions.php, so as long as there is an error In the PHP file, you find include ("header.php"); you can add a line of INCLUDE ("functions.php"); · Home news icon showed the big fork in PHP Nuke 5.3 or more, as long as the webmaster login management menu did preference setting, then returned to the home page, it will find that the original Topic Image consisted correctly. The reason is: The last side of the original config.php has a $ tipath = "images / Topics" parameter specified path, but admin / modules / settings.php is missing when setting the preference settings after writing config.php . So you should modify admin / modules / settings.php, find a line $ content. = "$ Version_num =" $ version_num "; nn"; insert a line $ content. = "$ Tipath =" images / Topics ";" Reduce a preference setting again. · Member registration error Check if config.php $ SYSTEM settings If it is $ system = 0 (Linux / FreeBSD), the password is sent to the registrant. If an error should be checked, you should check the Sendmail path setting of PHP.ini.

If you are $ system = 1 (Windows), you will not send a password to the registrant PHP-NUKE 5.3.1 has this parameter. How to make the Windows system can also use mail () send mail editing C: WindowsPHP .ini found a sendmail section [Mail function]; for Win32 Only. SMTP = localhost; for Win32 Only. Sendmail_From = Me@localhost.com Set SMTP = Your email Mail Server sendmail_From = Your email · Home News Time error When the post is returned to the home page, it is found that there is a time display error or the new icon cannot be displayed, then correct the mainfile.php FormatTimeStatMP () function, in two modules, Web_Links, also They have the same situation, but they don't call the formattimestatmp function, but Hardcore, so you have to correct Modules / Downloads / INDEX.PHP and Modules / Web_Links / Index.php The same questions one by one, after Correctly displaying new download, newly downloaded red, green, blue icon · Home News Posts No Display If you return the news, return home, you can't see anyone who correctly displayed POST BY, you should correct mainfile.php FormataidHeader () functions, correction method, seeing this • Modules after the installation of Module's enabled PHP NUKE can be enabled by the webmaster. If enabled, it will be automatically displayed in the module block; if it is not enabled, only the INACTIVE MODULES part below the module block after the stationmaster login, only the webmaster can be connected. However, the "Modules" in the "Mode" in "Management Shenu" after the webmaster is enabled will be made. · Repeat the request to enter the experience of Admin ID and Password according to netizen TCLEU, (seems to have some people encountered a similar situation), when config.php $ system settings, discovering the login webmaster management, also seeing management menu, but as long as Click for a management option, you will jump back to the login screen. This is due to the time error of the host, causing the cookie expired. Just put the host time correctly. · Nuke 5.5's Forum module unable to send a letter forum to store the POST TOPIC's data sheet called Nuke_bbtopics, and the modules / forum / reply.php checks if you want to send a notification letter but query the nuke_forumtopics table, so there is no way to send messages The phenomenon. So I should correct some of REPLY.PHP 215. In fact, use a quick search to find it is not difficult to find this ForuMtopics string. · Nuke 5.5's Forum has a lot of inverted lines to modify Functions.php 1241 row $ Word = quotemeta ($ w [word])); $ replacement = stripslashes ($ w [replacement]); $ Word = quotemeta ($ W [Word]); $ replacement = $ w [replacement]; it seems to improve some.

Only Nei Dead | Multi-One Pouring Line · Nuke 5.5 fororm's garbled problem word solution modification Functions.php puts Function OWN_STRIPSLASHES ($ String) Last Return PREG_REPLACE ($ FIND, $ Replace, $ String); change to $ String = preg_replace ($ FIND, $ STRING); $ String = StripsLashs ($ String); Return $ String; This can solve it, try ~ · redeclare translate () When a similar drop-on error message Fatal error: Cannot Redeclare Translate () in language / lang-chinese.php on line 141 The PHP file that should be edited, put all include ("mainfile.php"); change to include_once ("mainfile.php"); Require ("" Mainfile.php "); also changed to Require_once (" mainfile.php "); in fact, PHP Nuke 5.5 has all been used to require_once, but some old version of the plug-in module does not update, so I have to fix it. . · If you cannot successfully log in to the webmaster after installation If you use the PHP-4.20 stand, you must modify the transis.ini's register_globals = off for register_globals = on. Forgetting the webmine password directly with the password of the administrator in Nuke_authors directly with PHPMYADHORS. You can enter the password to log in. After setting the password. · Delete the webmaster account to delete the data of the administrator in Nuke_AUTHORS with PHPMYADMIN, and then connect admin.php to reset the stationmaster. (Remember not to produce the same name Member account) • PHP-NUKE-6.0 installation simpler PHP-NUKE-6.0 installation is simpler, after INSTALL.PHP, PHP-Nuke 6.0 finally has install.php after INSTALL.PHP. Further, do not need to connect install.php As long as the home page index.php is not automatically executed without the sound, it is too easy to use. Friends, I have to remember (1) Built first for NUKE Airbus, then (2) set good config.php database user name and password, (3) link home index.php

Code:. Homemade plug-in. How to join your own web page? Edit a new file, with .php is an attached name, such as :color.php, content form as follows ... This is your own web, use the HTML syntax, that is, the content between the general webpage ....... Archive After the root directory of the Nuke website, then create a super-connected to this homemade web page from the management menu-> layout block, such as the color.php, there are many plug-in, and how to do it in other directories? If you have a lot of plug-in, you don't want to put in the Nuke Root Catalog, you may wish to put a doc.php at the Nukey root, then open a subdirectory at the Nuke Root Catalog, for example: 2001 put your homemade file 2001 Below, for example, the contents of the file name color.html DOC.PHP is: Use the method to build a super-connected to doc.php? filename = color.html · If you want to join What about the interactive webpage? At this time, INLINE IFRAME can be used in the URL link to the PHP NUKE website. ); include ("header.php"); if (iSset ($ URL)) echo "