First:
This is a great Mod. I've installed this with no problems, and clicked install. Thank you.
Quote:
Originally Posted by contramontanum
Thanks Rob, that did the trick. Very useful hack indeed! Is there a way to format the text in the welcome mail to put in links (to other pages on the forum)? I noticed HTML doesn't work.
|
I'm trying to create a link in the private message that takes the user to our Introductions and Greetings area. I had a shot at doing this in register.php as follows:
PHP Code:
$username = $_POST['username'];
$intro_forum = '<a href="http://www.weeklydavespeak.com/forums/forumdisplay.php?f=13">Greetings and Introductions</a>';
// Process each one of the replacement vars
$vars = array(
'$bbtitle' => $vboptions['bbtitle'],
'$username' => $username,
'$email' => $email,
'$userid' => $userid,
'$intro_forum' => $intro_forum
);
But it ends up displaying the html code in the private message, rather than interpret it as a URL. Any ideas on how to create a link in the private message?