Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-22-2000 Last Update: Never Installs: 0
 
No support by the author.

Alofa! Ok, I posted this as an official request in the suggestions / feedback forum, but until the next big update, I really really want this feature! I know it is very easy to do, but, I don't know diddly squat about hph, er, php, whatever.

All I need this hack to do is, when somebody registers on my forum, the member.php file grabs a newuseremail template, and sends it to there email! Should be a very simple hack! Yet I believe most of the users here could use something like this.

Edit: WooHoo! this is my 69th post! i guess its time for me to register a new username and leave this one as my last post

[Edited by BikeForums on 07-21-2000 at 11:13 PM]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-22-2000, 05:16 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #3  
Old 07-22-2000, 05:18 AM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #4  
Old 07-22-2000, 05:54 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #5  
Old 07-22-2000, 06:04 AM
Guest
 
Posts: n/a
Default

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
This should really be a simple hack to do, probly under 10 lines of code.
Reply With Quote
  #6  
Old 07-22-2000, 02:34 PM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #7  
Old 07-22-2000, 07:08 PM
Guest
 
Posts: n/a
Default

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!
Reply With Quote
  #8  
Old 07-22-2000, 09:39 PM
Guest
 
Posts: n/a
Default

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]
Reply With Quote
  #9  
Old 12-18-2002, 11:08 AM
RudeDog RudeDog is offline
 
Join Date: Aug 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 12-18-2002, 11:42 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

RudeDog - look at the date of the posts in this thread - from over 2 years ago. Please don't bump up ancient threads.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04143 seconds
  • Memory Usage 2,269KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete