vb.org Archive

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

sabret00the 07-23-2004 05:07 PM

yup problems mentioned above have been fixed

sv1cec 07-24-2004 06:32 AM

Quote:

Originally Posted by sabret00the
yup problems mentioned above have been fixed

Thank you Sir!

sv1cec 07-26-2004 07:53 AM

Maybe I have screwed up something or not followed the instructions properly (or this has been dealt with), but the e-mail send out does not include the $bbtitle, in the From text. Maybe, in the manageActivation.php, one should change :

HTML Code:

                        mail ($user[email],$subject,$message,"From: \"$bbtitle Mailer\" <
with:

HTML Code:

                        mail ($user[email],$subject,$message,"From: \"$vboptions[bbtitle] Mailer\" <
I am not sure, I'll create a new user now and wait to see what happens.

Rgds

sabret00the 07-26-2004 07:54 AM

thanks, if you let me know i'll update the instructions :)

sv1cec 07-26-2004 07:59 AM

Quote:

Originally Posted by sabret00the
thanks, if you let me know i'll update the instructions :)

Well, unless if you have an idea on how to "force" an e-mail out of the script, we'll have to wait for three days! LoL

Thanks for coming back and rgds

Datenpapst 07-26-2004 01:24 PM

What about 0-Posters? Is there a hack, that does the same Emailing and so on and also delets user after 10 days?

sv1cec 07-30-2004 04:58 AM

I checked, and yes, you should include the code change suggested in Post 43.

It now shows the proper bbtitle.

Rgds

TTG 07-30-2004 11:41 AM

Quote:

Originally Posted by rinkrat
Shouldn't the manageActivation.php file go in includes/cron? Or does it matter?


Downloaded today and instructions still read :-

"This hack will email members who have not yet activated their accounts and remind them to do so on day 3, 5, and 8. Users who have not activated after 10 days are deleted.

Installation is cake.
1. upload manageActivation.php to your forum director.
2. Create new templates based on the text files enclosed in the zip.
a. Template name = filename.
b. Template contents = file contents.
3. Set up your cron job to run the script once a day. Use vBulletin's default system "Scheduled Tasks"

Time to update !?

Useful hack ... clicked install :)

Malice 07-31-2004 02:49 PM

I am tempted to use this...

I have 1700 UnActivated users on one and like 4000 on another...

sv1cec 08-01-2004 03:00 PM

Is there any reason, why the e-mail gets send twice? Actually with a difference of one day between the two copies???

I am puzzled, I checked the code and can find any reason why. My cron entry is shown in the attachment and I have disabled to standard e-mail cron script.

Also, I do not get any log entries for the manageActivation. Is this normal or what?

Tnx

sabret00the 08-01-2004 04:30 PM

have you got the default vb activate.php cron running?

sv1cec 08-02-2004 04:29 AM

Quote:

Originally Posted by sabret00the
have you got the default vb activate.php cron running?

No, I have it disabled. And teh e-mails send are twins, I mean they mention the days (It has been 5 days since you registered, and you have not yet activated your account. ).

I am really getting mad with this because I can't find anything that can cause this hack to send the e-mails twice.

Rgds

sabret00the 08-03-2004 06:10 PM

Quote:

Originally Posted by sv1cec
No, I have it disabled. And teh e-mails send are twins, I mean they mention the days (It has been 5 days since you registered, and you have not yet activated your account. ).

I am really getting mad with this because I can't find anything that can cause this hack to send the e-mails twice.

Rgds

can anyone confim this?

sabret00the 08-03-2004 06:15 PM

if you're using 2.2 or below please upgrade now, it's quite critical, i'm having a few reports of members changing their addresses and everything going crazy. your board will be doomed and your community will die if you do not heed this warning

on another note, just upgrade to 2.3a thanks to sv1cec :)

lifesourcerec 08-04-2004 01:32 AM

What are the cron settings for it?

Malice 08-04-2004 10:31 PM

Does this tell them on Day 8 that their account will be removed in 2 days if they do not activate the account?

sabret00the 08-04-2004 10:33 PM

yes it does sir
Quote:

Dear $username,

Thank you for registering for the $vboptions[bbtitle]. It has been 8 days since you registered, and you have not yet activated your account. Your account will be deleted in 2 days if you have not activated by that time.

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:
$vboptions[bburl]/register.php?a=act&u=$userid&i=$activateid

<a href="$vboptions[bburl]/register.php?a=act&u=$userid&i=$activateid">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:
$vboptions[bburl]/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: $username
Your Activation ID is: $activateid



If you are still having problems signing up please contact a member of our support staff at $webmasteremail

Thanks very much,
$vboptions[hometitle] Team

sabret00the 08-04-2004 10:35 PM

Quote:

Originally Posted by lifesourcerec
What are the cron settings for it?

run it once a day

Malice 08-04-2004 10:41 PM

GREAT! I will most likely run it once I get some other things smoothed over!

sv1cec 08-05-2004 03:57 AM

Quote:

Originally Posted by sabret00the
can anyone confim this?

Sabret00the,

I created a test account to verify the warnings send out. Each e-mail was send twice, once on the proper date and one the following day. Here are the timestamps:

1st Action required e-mail: 07/26/2004 11:57
1st Warning e-mail (3 days) : 07/29/2004 11:11
copy of the above : 07/30/2004 11:15
2nd Warning e-mail (5 days) : 07/31/2004 11:55
copy of the above : 08/01/2004 11:16
3rd Warning e-mail (8 days) : 08/03/2004 11:11
copy of the above : 08/04/2004 11:14

Even though I am no php expert, I can't find any part of the hack that could cause this behaviour. At the time being I am creating another test user to try again the whole thing.

Rgds

y2krazy 08-30-2004 03:17 AM

/me clicks install!

pagekeeper 09-05-2004 09:46 PM

cheers ! very hard hack to find!!

this isnt included with the latest version of VB is it ?

sv1cec 09-06-2004 05:16 AM

I have a question for the author here.

When the cron script is run manually, it generates some messages, like to which member the activation e-mail reminder has been send etc. However, when run from the cron, no such details are kept, anywhere, nor do I (the admin) receive any e-mail about who was warned or deleted.

I tried to find the code (in the script) which was supposed to send that e-mail to the admin, and I can't so maybe I am not that familiar with php, or maybe I missed something?

Rgds
-----------
John

venomx 09-06-2004 05:40 AM

Quote:

Originally Posted by pagekeeper
cheers ! very hard hack to find!!

this isnt included with the latest version of VB is it ?

I looked in my vb3.0.3 cron jobs and only see clean up 1 and 3... so not sure... Anyone?

sv1cec 09-06-2004 12:27 PM

Quote:

Originally Posted by venomx
I looked in my vb3.0.3 cron jobs and only see clean up 1 and 3... so not sure... Anyone?

The one you should deactivate is called "Activation Reminder Email", if that is what you are asking.

Rgds
--------
John

venomx 09-06-2004 01:12 PM

I dont see that under crons... Is there a place we turn that on at somewhere else?

pagekeeper 09-07-2004 10:32 PM

problem i find is i know this hack is running every 12 hours but i cant understand why it does appear in the logs ? it would be useful thats all, is something set wrong maybe ?

Activation Reminder Email - deactivate or delete ? cause i dont think you can deactivate can you ?

:)

pagekeeper 09-11-2004 10:22 PM

*bump*

im not sure wether this hack it working properly, for me anyways...

whats the numbers to set the cron scripts at ? every 24hrs ? im really confused so if someone could point out what to set it as would be cool.

any way to get it to show what its done in the logs ?

sabret00the 09-11-2004 10:31 PM

run once every 24 hours should be something like "03 0 * * * "
and i'll release an add-on to get it to run it to add to the logs in the morning :)

SaN-DeeP 09-12-2004 08:57 AM

sabret00the just 1 question for your hack.
My board is suffering from yahoo and hotmail spam filters, which make all the emails send from my forums to users spam/bulk mail folders who are using Yahoo or Hotmail. .

Does your hack, sends emails to there Inbox properly ?

Let me know. if it does, I will strarightway install it.

Regards,
Sandy...

sv1cec 09-12-2004 02:38 PM

Quote:

Originally Posted by SaN-DeeP
sabret00the just 1 question for your hack.
My board is suffering from yahoo and hotmail spam filters, which make all the emails send from my forums to users spam/bulk mail folders who are using Yahoo or Hotmail. .

Does your hack, sends emails to there Inbox properly ?

Let me know. if it does, I will strarightway install it.

Regards,
Sandy...

Sandy,

I have the same problem. I do not know why it happens (what Yahoo looks for and moves our e-mails to the "Bulk" folder, but what I did to help diminish the consequences, was to put a note about this issue, in the screen the user gets, after he/she registers. It's one of the phrases, called "registeremail".

At least, with that message, a Yahoo user knows where to look for the activation e-mail.

Rgds
------------
John

djroketboy 11-13-2004 01:35 AM

ahh! I LOVE this hack, i've been wanting something like this!

i just noticed that the postings here stopped, did this get moved, removed, not supported any longer? i'm just curious...

i am running 3.03 and noticed this is for 3.01 and have a problem when running the vBcron script...

Warning: Cannot modify header information - headers already sent by (output started at /home/hpoa/public_html/community/includes/adminfunctions.php:223) in /home/hpoa/public_html/community/includes/functions.php on line 2716

I have only run this manually so far... and that's when i noticed it. it cleaned out about 200 un-activated members... :D yay!

ok, now have the "fixes" been applied that speak of users that are just changing their email address', it will not delete them correct? and finally.. i'm not getting any logging or emails.... this seemed to be where the posts in this thread stopped... can anyone clue me in ?

thanks!

Aaron

sv1cec 11-13-2004 04:34 AM

Aaaron,

Check your code again, there should be a mistake somewhere.

I am running the cron job and it works OK.

Rgds
-------------
John

djroketboy 11-13-2004 05:00 AM

Quote:

Originally Posted by sv1cec
Aaaron,

Check your code again, there should be a mistake somewhere.

I am running the cron job and it works OK.

Rgds
-------------
John

hmm, i just noticed something... while playing with this hack... when it sends a email it doesn't go into the junkmail folder for yahoo....

anyone know what this sends differently? I would like to apply that change to my main vb activation and other emails... it's really annoying that they go into the junkmail folders for users....

also, are thes lines supposed to be commented out?

//$globaltemplates = array(
// 'ActivationEmail_v2_Subject',
// 'ActivationEmail_v2_Message3',
// 'ActivationEmail_v2_Message5',
// 'ActivationEmail_v2_Message8',
//);
//

sabret00the 11-16-2004 11:21 AM

updated this

Boofo 11-16-2004 12:00 PM

Quote:

Originally Posted by sabret00the
updated this

What did you change in it, sir? ;)

And please don't forget to update it at my site. ;)

sabret00the 11-16-2004 12:35 PM

added a chdir to make sure it worked even if your forum aint in your root directory and added a line of code to log the crons :)

outlaw621 11-18-2004 06:01 PM

Quote:

Originally Posted by pagekeeper
problem i find is i know this hack is running every 12 hours but i cant understand why it does appear in the logs ? it would be useful thats all, is something set wrong maybe ?

Activation Reminder Email - deactivate or delete ? cause i dont think you can deactivate can you ?

:)

Why make extra work for yourself. Instead of deleteing it, edit the existing Activation Reminder Email cron job to point to the manageActivation.php file instead of activate.php. When you select the cron time you want it to run at, choose a time that your board is at its slowest activity.

djroketboy 11-18-2004 11:45 PM

Quote:

Originally Posted by sabret00the
updated this

hey, i got the update, but am still having problems :(

Warning: chdir(): No such file or directory (errno 2) in /home/hpoa/public_html/community/includes/cron/manageActivation.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at /home/hpoa/public_html/community/includes/adminfunctions.php:223) in /home/hpoa/public_html/community/includes/functions.php on line 2714

sabret00the 11-19-2004 09:13 AM

your line 21 should read

PHP Code:

chdir('/home/hpoa/public_html/community/'); //change to your vbulletin path 

can you let me know if it say that please :)


All times are GMT. The time now is 10:05 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.01340 seconds
  • Memory Usage 1,836KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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