Log in

View Full Version : promotion codes


ithf
06-01-2006, 03:28 PM
hey guys....
ok, so I have my forum running and we also have a newsletter that we want people to subscribe for....
basically, what I need, is to kill two birds with one shot....the original price for the newsletter is differenet....but if they sign up today at our site and our forum, then they will be given a discount for the newsletter subscription....how would I make it so, that when someone registeres, the email that goes out to them, would send a promotion code as well...somehwere at the end to says

"your promotion code is-034234345"

random number for every subscribed user....

is it possible and if so whats the easy way to do this? best regards.

rogersnm
06-01-2006, 05:19 PM
You could use there password code -x characters for the code...

ithf
06-01-2006, 08:45 PM
what will that do? thanks

explain plz...

rogersnm
06-02-2006, 06:28 AM
Well when a password goes into a db vB encrypts it then with the encryted password you could take some characters of the start or end and then you would have your code.

ithf
06-02-2006, 12:48 PM
I see....so get the charecters from the DB is what you saying ?

thanks

rogersnm
06-02-2006, 12:49 PM
yup.