Re: Get custom page link?
Posted: Sun Apr 29, 2018 5:26 pm
I already did the 3 files.axew3 wrote: ↑Sun Apr 29, 2018 5:00 pm about the email link coming without "iframe" on url:
https://www.axew3.com/w3/2017/04/wp-w3a ... me-how-to/
you need to apply this into yours files as indicated, there are 3 ready on zip, edit all others you need should be easy but
let me know if any problem, i will help on preparing edited files for all others instances.
About my question, Yes it was what to me necessary to start fast!
I tried changing so it worked when you register, but it did not work.
the language file for the welcome email message uses {U_BOARD} for linking the board
so
And I assume the file needs editing is /includes/ucp_register.phpSubject: Welcome to "{SITENAME}"
{WELCOME_MSG}
Please keep this email for your records. Your account information is as follows:
----------------------------
Username: {USERNAME}
Board URL: {U_BOARD}
----------------------------
Please visit the following link in order to activate your account:
{U_ACTIVATE}
Your password has been securely stored in our database and cannot be retrieved. In the event that it is forgotten, you will be able to reset it using the email address associated with your account.
Thank you for registering.
{EMAIL_SIG}
this is the part that needs editing
Code: Select all
$messenger->assign_vars(array(
'WELCOME_MSG' => htmlspecialchars_decode(sprintf($user->lang['WELCOME_SUBJECT'], $config['sitename'])),
'USERNAME' => htmlspecialchars_decode($data['username']),
'PASSWORD' => htmlspecialchars_decode($data['new_password']),
'U_ACTIVATE' => "$server_url/ucp.$phpEx?mode=activate&u=$user_id&k=$user_actkey")
);
Code: Select all
'U_ACTIVATE' => "$server_url/ucp.$phpEx?mode=activate&u=$user_id&k=$user_actkey")
Code: Select all
'U_ACTIVATE' => "$server_url/ucp.$phpEx?iframe=true&?mode=activate&u=$user_id&k=$user_actkey")
I does not activate