1

Topic: edit registration email login link?

Hey all smile

I'm trying to edit the login link in the regitration email & can't find it anywhere? Does anyone know which file it is in? I just need to change it from login.php to login.html

I'd like the redirect after logging in to go to my forum root folder too.
ie. /forum instead of /forum/index.php

Many thanx smile
I've looked thru a bunch of files & searched here too with no luck.

Re: edit registration email login link?

Email:

$mail_message = str_replace('<login_url>', $pun_config['o_base_url'].'/login.php', $mail_message);

Roughly line 234 of register.php

Redirect:

// Try to determine if the data in HTTP_REFERER is valid (if not, we redirect to index.php after login)
$redirect_url = (isset($_SERVER['HTTP_REFERER']) && preg_match('#^'.preg_quote($pun_config['o_base_url']).'/(.*?)\.php#i', $_SERVER['HTTP_REFERER'])) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : 'index.php';

Roughly line 203 of login.php

3

Re: edit registration email login link?

Thanks a bunch Reines wink