![]() |
bira
Thank you very very much It was a dream to have this hack :D I have RC1 and it is working wounderfull |
Glad to have helped, Remi :)
|
This is an awesome hack as I just tested it out on my forums, but it breaks Tubedogg's automatic welcome message upon registration hack. :(
|
RobAC, if you give me the URL to that hack, I'll check where they collide and how you can use them together.
|
|
RobRAC,
I checked tubedogg's hack and there's no reason the two hacks should collide, provided you insert the code right. Here's what you need to make sure: If you already hacked the file register.php then the end result should be like this. Find (in the ORIGINAL file): Code:
if ($verifyemail) { Code:
if ($verifyemail) { By the way, out of curiosity: if you are using email verification, be it with activation code or with random password, why on earth do you need a separate Welcome E-mail? Simply add your welcome message and whatever text you want to the already existing e-mail templates that are sent to the new users. |
Bira,
I'll double check this....actually, you've made a good point here. Thanks. |
Bira,
Instead of using the email_lostpw template, how can I use a different email template? I want to add in the welcome message to this template, but don't want to make that kind of addition to the lostpw template. |
Rob, create a new template (eg: email_newpw) and in my hack, wherever it mentions email_lostpw change it to your new template's name.
p.s. But make sure that the variables from email_lostpw (the variables for the username and password at least!) also appear in your new template. |
Actually, Rob, there is only one place you need to replace email_lostpw with your new template's name, and that is in register.php.
In my hack instructions it says: Code:
Find: So, to sum this up: 1) Create two new template, say email_newpw and emailsubject_newpw. These two templates should resemble in content the lostpw templates, only with your Welcome text. 2) Add my hack EXACTLY like the instructions says, but before you upload the hacked files run a SEARCH/REPLACE in register.php for _lostpw and replace it with _newpw. That's it. Am I making any sense? Sorry, I'm tired :) |
All times are GMT. The time now is 01:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|