Discuz! How to solve the problem that tourists cannot view the posting records of space users
Discuz! Solution to the Problem of tourists' inability to view the posting records of space users
As shown in, many webmasters find that visitors click the number of user topics in the post to enter the space to view the user's historical posting information. The registration logon page shown in is displayed, many people haven't found the permission setting switch in the background for a long time, because Discuz is directly forbidden in the program. The solution is as follows:
Open the file:
\ Source \ module \ home \ home_space.php
About 24th rows
Showmessage ('login _ before_enter_home ', null, array (), array ('showmsg' => true, 'login' => 1 ));
Change
// Showmessage ('login _ before_enter_home ', null, array (), array ('showmsg' => true, 'login' => 1 ));
That is, add // to the front of this line //
Save the file and overwrite the file!