How to modify portal.php: First enter the discuz interface; then select "Navigation Settings->Main Navigation" and create a new navigation; finally enter "Global->Domain Name Settings-> Application" Domain name -> Default" and set your own domain name.
The operating environment of this article: windows7 system, discuz7.1 version, DELL G3 computer.
discuz How to change the code of portal.php:
Step 1: Interface » Navigation Settings » Main Navigation Create a new navigation with the name and your portal or forum The names are the same, check the ones that are available, and remove the corresponding ones that are available, and then proceed to the next step in order.
Step 2: Global » Domain Name Settings » Application Domain Name » Set your own domain name by default
Step 3: You’re done, it doesn’t matter whether your users click on the LOGO or the homepage (forum) The tail will not be displayed~
The above changes are portals. If you are a pure forum, create a navigation with the same name as the forum in the first step.
Related recommendations: "discuz tutorial"
The above is the detailed content of How to modify portal.php. For more information, please follow other related articles on the PHP Chinese website!