View Single Post
  #32  
Old 03-19-2003, 09:36 AM
Capt PPRuNe's Avatar
Capt PPRuNe Capt PPRuNe is offline
 
Join Date: Mar 2002
Location: UK
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know it is in the middle. I am just quoting the relevant bit. The script isn't pulling anything except the users email address. The activation code is not being filled with the relevant user ID number or the activation code number. Here is what is being sent out to unactivated users using your script (unmodified):
Quote:
Dear ,

Thank you for registering for the PPRuNe Forums forums. It has been 3 days since you registered, and you have not yet activated your account.

Please note - you must complete this last step to become a registered member. You will only need to click on the link once, and your account will be updated.

To complete your registration, click on the link below:
http://www.pprune.org/forums/register.php?a=act&u=&i=

<a href="http://www.pprune.org/forums/register.php?a=act&u=&i=">AOL Users click Here to be Activated</a>

**** Does The Above Link Not Work? ****
If the above link does not work, please use your Web browser to go to:
http://www.pprune.org/forums/register.php?a=ver

Please to be sure not to add extra spaces. You will need to type in your username and activation number on the page that appears when you click on our copy the above link in your browser.

Your Username is:
Your Activation ID is:



If you are still having problems signing up please contact a member of our support staff at admin1@pprune.org

Thanks very much,
PPRuNe Forums team
Also, couldn't you have written the script so that the activation script sits in the admin directory? It is a bit of a security hole because anyone who knows a bit about vBulletin can register themselves, post whatever they want once their registration has been active over 10 days (or after 3/5/8 days), change their email address but not activate it and then call the activation script and delete themselves automatically.

At the moment, if someone who has been a member for over 10 days and has simply changed their email address but not activated it yet and the script is run then their account is deleted automatically. Is there any way to add functionality by checking join date and if that is over say 10 days old that the account isn't deleted. I know I'm asking a lot but how about those accounts with join dates over 10 days old but not activated because of a change in email address that have at least 1 post have their User Title changed to something in bold red that they are going to be deleted if not activated within another 10 days? Just thinking aloud.

I think the script is a great idea and reduces workload but I need to make sure that it works. I have over 60,000 registered users and get over 50 new ones a day so deletion of unactivated users is a chore.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01413 seconds
  • Memory Usage 1,771KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete