FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Incorrect URL in new account confirmation message
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Incorrect URL in new account confirmation message [message #187862] Wed, 06 May 2020 06:19 Go to next message
ulrith is currently offline  ulrith   Latvia
Messages: 15
Registered: September 2015
Karma: 0
Junior Member
Hi, I've just upgraded to the version 3.1.0 and I have new account registration confirmation enabled.
Now when I get new registration email, the administrator URL appears incorrect.

New (incorrect) URL:
https://forum.org/index.phpadm/admuserapr.php
Old (correct) URL:
https://forum.org/adm/admuserapr.php
I'm using path_info_seo theme.

I've grepped the following lines in msg files:

FUDforum/thm/default/i18n/en/msg:register_admin_newuser_msg:A new user ({VAR: uent->login}) has just registered, and since account confirmation is enabled, their account will not become active until it is confirmed by you or another forum administrator. To review the account please go to: {FULL_ROOT}adm/admuserapr.php\n\nThis is an automated process. Do not reply to this message.\nIf you want to turn off future e-mail notifications of new user registrations, you can do so via the Admin Control Panel. Change the "New Account Notification" setting.
FUDforum/thm/path_info_seo/i18n/en/msg:register_admin_newuser_msg:A new user ({VAR: uent->login}) has just registered, and since account confirmation is enabled, their account will not become active until it is confirmed by you or another forum administrator. To review the account please go to: {FULL_ROOT}adm/admuserapr.php\n\nThis is an automated process. Do not reply to this message.\nIf you want to turn off future e-mail notifications of new user registrations, you can do so via the Admin Control Panel. Change the "New Account Notification" setting.

It seems {FULL_ROOT}adm/admuserapr.php is not good here.

Please fix
Re: Incorrect URL in new account confirmation message [message #187868 is a reply to message #187862] Wed, 06 May 2020 14:57 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
For now, just add the "/" in the message file and recompile your theme.

PS: You should not have a directory called "FUDforum/thm/path_info_seo/i18n". Messages in this directory will "override" the messages in the DEFAULT theme, and will only make sense if you use a custom theme with custom messages.
Re: Incorrect URL in new account confirmation message [message #187869 is a reply to message #187868] Wed, 06 May 2020 15:00 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Patch is at https://sourceforge.net/p/fudforum/code/6392/
Re: Incorrect URL in new account confirmation message [message #187872 is a reply to message #187869] Thu, 07 May 2020 13:45 Go to previous messageGo to next message
ulrith is currently offline  ulrith   Latvia
Messages: 15
Registered: September 2015
Karma: 0
Junior Member
naudefj wrote on Wed, 06 May 2020 15:00
Patch is at https://sourceforge.net/p/fudforum/code/6392/
Thank you very much!

BTW how about move to GitHub/GitLab guys? Very Happy
Re: Incorrect URL in new account confirmation message [message #187874 is a reply to message #187869] Thu, 07 May 2020 13:59 Go to previous message
ulrith is currently offline  ulrith   Latvia
Messages: 15
Registered: September 2015
Karma: 0
Junior Member
naudefj wrote on Wed, 06 May 2020 15:00
Patch is at https://sourceforge.net/p/fudforum/code/6392/
Hm, it looks like after installing this patch and rebuilding the theme I get just
/adm/admuserapr.php

without domain part at all.

(I'm using slightly customized path_info_seo theme.)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Formatting / Using BBCODE
Next Topic: Automatic Linking
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Dec 03 17:03:56 GMT 2024

Total time taken to generate the page: 0.02560 seconds