Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Un-Activated User Management Details »»
Un-Activated User Management
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-09-2003 Last Update: Never Installs: 32
 
No support by the author.

This hack will email a warning to members who have not activated their account and then delete them. It can run via cron, and is a pretty darn easy hack to install.

Features:
1. Emails users after 3 days and reminds them to activate their accounts.

2. Emails users after 5 days and lets them know their account will be deleted if they do not activate.

3. Emails users after 8 days with a final warning.

4. Deletes un-activated members after 10 days.

Show Your Support

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

Comments
  #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
  #33  
Old 03-19-2003, 10:57 AM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed (thanks Amy!) and have empty personal content on the email also.

I created the three templates for content, and one for the subject matter. However on the first night the cron sent email, there is no content that will help my members register....

The manageActivation.php isn't pulling personal info into the template although the $username and $userid snips are in there...just as Capt PPRune.

Any ideas?
Reply With Quote
  #34  
Old 03-19-2003, 02:00 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll check it again regarding the missing info.

Regarding the admin directory, it doesn't work as a cron script in the admin directory. What I recommend is changing the name of the script to something only you know. However, I am also going to put a password option in it.

Amy
Reply With Quote
  #35  
Old 03-19-2003, 02:42 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK. I put a password on the file. Change it in the php file to be whatever you choose. It's not the most secure thing in the world but is better than nothing.

The info is also showing up now. The zip had the wrong php file in it. To upgrade, simply edit the file to reflect your desired password and upload it. You will have to run the file like this:

http://www.yourforums.com/forums/man...sword=password


Amy
Reply With Quote
  #36  
Old 03-19-2003, 02:56 PM
USODJA's Avatar
USODJA USODJA is offline
 
Join Date: Dec 2002
Location: Arnprior, Ontario, Canada
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting a 404 error now......

and yes I put my url in...
Reply With Quote
  #37  
Old 03-19-2003, 03:07 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't get a 404 error when I go to your page:

http://www.usodja.com/forums/manageActivation.php

I just get a no permission error.

Amy
Reply With Quote
  #38  
Old 03-19-2003, 03:43 PM
USODJA's Avatar
USODJA USODJA is offline
 
Join Date: Dec 2002
Location: Arnprior, Ontario, Canada
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no, i put in the password part like above and it goes 404
I have not changed passwords yet (until it works)

And yes I get what you get above, so even as admin, it will not let me do it...
Reply With Quote
  #39  
Old 03-19-2003, 04:32 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check your PM USODJA.

Amy
Reply With Quote
  #40  
Old 03-19-2003, 05:41 PM
USODJA's Avatar
USODJA USODJA is offline
 
Join Date: Dec 2002
Location: Arnprior, Ontario, Canada
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool, and dealt with, now for a cron problem ( I am removing some of the url to hide real direct) I get these two error lines back from the cron output.

/home/forums/manageActivation.php: line 3: syntax error near unexpected token `require('./global.php')'
/home/forums/manageActivation.php: line 3: ` require('./global.php');'
Reply With Quote
  #41  
Old 03-19-2003, 08:08 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not really a cron expert. I typically run cron jobs using Lynx. Do you have any php cron jobs that work on your site without Lynx?
Reply With Quote
Reply


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 10:30 PM.


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.21968 seconds
  • Memory Usage 2,309KB
  • 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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete