Illegal websites should not initiate any form of manual service requests to our staff. It is strictly prohibited to use honmau Media's technical support services and products to engage in any illegal activities. If discovered, no technical support will be provided.×
Current location:home> news > help and support

The discuz forum home page displays a single specific section by default

such asdiscuzAfter opening the forum home page, a certain section with the fid number 2 will be displayed by default, but when this home page is opened. His title, the title on the template, can also be defined separately.

If we are directly imitating this section. Like forum.PHP? mod=forumdisplay fid=2 When accessed in this way, the original title is also displayed. Can be modified like this

First modify the forum.php in the root directory and add a line after the first two lines.

The modified effect is

define('APPTYPEID', 2);

define('CURSCRIPT', 'forum');

$_GET +=array(mod = forumdisplay, fid = 2);//2 indicates the section id, can be modified.

© Website copyright and disclaimer

1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;

2. No one is allowed to copy it without the express written permission of [honmau Media];

3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;

4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;

5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice

Message Board
* Contact customer service for urgent issues
submitted
submission
Working days: 8:30 - 22:00 Online QQ

customer service

Company Introduction
top