document.writeln('
');
document.writeln('
');
Thank you very much for your reply, but clicking the password retrieval button still doesn't work. oh! My website is http://www.xiami1.com/, just click the password retrieval button on the homepage
I hope to get your help!
href="/member.php?mod=register" This way of writing is wrong.
document.writeln('<p><input class="submitbutton" value="登录" type="submit"> <input class="submitbutton" value="找回密码" type="button" onclick="window.location=\'/member.php?mod=register\'"></p>');
Thank you very much Aoxue Xingfeng for your help, solved my problem! xuzuning also found out the problem, thank you for your help!
Aoxue Xingfeng, please ask again, after the code has been modified
document.writeln('
Is the url to retrieve the password member.php?mod=register?
If not, just change this place to the URL for retrieving the password.
Isn’t there a link to retrieve your password in your first picture?
Just write the url in your previous button. You don’t need to log in to the password retrieval page. You have already logged in and you still need to find your password.
I know, my original url is for registering an account, I changed it to home.php?mod=spacecp for account login
The url for retrieving the password and the url for logging in to the account are together
To retrieve the password, click
on the login page, as shown in the picture
Do I still need a piece of code to let him click the retrieve password button when he clicks on the url to jump?
The forgotten password of discuz comes from the pop-up layer.
Retrieve password
If you don’t want to change any code in discuz, it is recommended to jump to the page you screenshot now and let the user click the Retrieve Password button in discuz.
Otherwise, you need to connect to the discuz database to determine the password yourself. This way you don't have to rely on the discuz program.
Ok, thank you very much for your patient help!
OK, thank you very much for your patient help!
fdipzone Thank you, the post has been posted and points have been awarded! Excuse me!