vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Un-Activated User Management (https://vborg.vbsupport.ru/showthread.php?t=49879)

Capt PPRuNe 03-19-2003 09:36 AM

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.

Kathy 03-19-2003 10:57 AM

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?

amykhar 03-19-2003 02:00 PM

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

amykhar 03-19-2003 02:42 PM

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

USODJA 03-19-2003 02:56 PM

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

and yes I put my url in...

amykhar 03-19-2003 03:07 PM

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

USODJA 03-19-2003 03:43 PM

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

amykhar 03-19-2003 04:32 PM

Check your PM USODJA.

Amy

USODJA 03-19-2003 05:41 PM

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');'

amykhar 03-19-2003 08:08 PM

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?


All times are GMT. The time now is 09: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.01291 seconds
  • Memory Usage 1,740KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete