vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   promotion codes (https://vborg.vbsupport.ru/showthread.php?t=117325)

ithf 06-01-2006 03:28 PM

promotion codes
 
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.


All times are GMT. The time now is 07:26 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
  • Page Generation 0.00923 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete