The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
|||
|
|||
Are you wanting to get notified that a new member has registered? (this function is already part of the board)
or are you wanting the new member to get sent something via email? Parker |
#3
|
|||
|
|||
I want the new user to get a email as soon as she registers, in the email, i want to include there username, password, my forum features, and some other basic stuff i want to include, basicly, a "welcome to our forums!, heres some basic info for ya" type email.
|
#4
|
|||
|
|||
In the control panel choose the yes option in the verify email in the Options section.
Then edit the activateemail template to what you want it to say. This way you can send them a nice welcome letter and at the same time give them instructions on how to activate their account. Parker |
#5
|
|||
|
|||
Hmm, I thought about that, but its not an option i really want to do. I personaly hate having to go open my email to activate an acct for anything. I like the current quick and easy registration, i just want to send the new users a thank you note with some info about my site.
Here is what ezboard sends you via email when you register: Code:
Congratulations (username)! You are now a registered member of the (forum name)! Here is your account information. Login Name: (username) Password: (password) *you will have the option to change your password in your control center Here are a few features we offer registered users o Personal icons/custom signature/photo o Mark Forum Read/Mark All Read - when you are done reading, click on this to mark those posts as being read o Show New Only - only show posts that are NEW to you o much much more... Should you have any questions, feel free to email us <helpdesk@ezboard.com> or use our help forums http://pub2.ezboard.com/bezboard Thanks for choosing ezboard!! - ezboard Team |
#6
|
|||
|
|||
In your member.php file look for:
} else { if ($moderatenewmembers==1) { eval("echo standarderror(\$bbtitle,\"".gettemplate("error_mod erateuser")."\");"); } else { eval("echo standardredirect(\$bbtitle,\"".gettemplate("redire ct_registerthanks")."\",\"inde x.php\");"); } } } } and replace it with: if ($moderatenewmembers==1) { eval("echo standarderror(\$bbtitle,\"".gettemplate("error_mod erateuser")."\");"); } else { eval("\$message = \"".gettemplate("welcomeemail")."\";"); eval("\$subject = \"".gettemplate("welcomeemailsubject")."\";"); mail ("\"$username\" <$email>",$subject,$message,"From: \"$bbtitle User Manager\" <$webmasteremail>"); $username=urldecode($username); eval("echo standardredirect(\$bbtitle,\"".gettemplate("redire ct_registerthanks")."\",\"inde x.php\");"); } } } } Then go to your control panel and add two new templates. Call the first one welcomeemail and put your welcome message in there like you have in your above message. Then create one called welcomeemailsubject and put the text they will see in the subject line of their email, ie: Welcome to Bike Forums. They will also get the standard redirect that tells them to go to the forum as they do now but they will also get an error with your welcome message. Give this a shot and let me know how it works. I tested it only on my board but it worked. Parker |
#7
|
|||
|
|||
Thank you sooo much! its perfect, however in the above code, you forgot to include the to } else {, you do need this in there to make it work
Just one last thing, is there a way i can format the email so it dosent send it out double spaced? right now its double spaced, and really looks bad, i can live with it, but id rather not Thank you again! |
#8
|
|||
|
|||
Oops....forgot the } else {
Yes you do need it. I'm not sure but I would think that you just don't put spaces between the text. For example: If you want to have single spacing you wouldn't have a space between one line and another like this. If on the other hand you want to have double spacing then you would put a space between the lines. Parker Glad to hear that it is working for you. I don't know anything about this stuff but I am learning. [Edited by Parker Clack on 07-22-2000 at 10:14 PM] |
#9
|
|||
|
|||
Can someone please post examples on how to format the e-mail with the new users name and password? I love the idea of putting this little hack in, but not sure how to format the e-mail to make sure this stuff is in the e-mail correctly.
|
#10
|
||||
|
||||
RudeDog - look at the date of the posts in this thread - from over 2 years ago. Please don't bump up ancient threads.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|