vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Email reminder for inactive users (https://vborg.vbsupport.ru/showthread.php?t=138946)

djbaxter 06-03-2007 01:01 PM

Quote:

Originally Posted by ElForro (Post 1260251)
I'm a little confused... In the report I get everyday, I see 10/20 users who received the mail... I checked that users and of course, they are inactive since 60 days (that's my setting)... However, if i search users who where active AFTER 60 days ago and BEFORE 59 days ago (inactive for 60 days) i have tons of them (100/150)... I don't understand how this hack gets the "inactivity"... My forum has over 40.000 registered users, and I'm sure that there are a lot more than 10/20 users who reach every day the "60 day" inactivity...

I've tried searching users wich were last active 60 days ago, AND have 1 or more posts.. And that results are more like the sent emails (20/30)... But even like that, I found users who where not emailed (checking the log)... I checked that users to see if it could be something with the "receive E-Mail from administrators" but it's not that either... So, I really don't know wich parameter take this script to send out the emails...


Any clue?

This is the way it's designed to work. The add-on starts at the beginning of your memberlist (in the database) and gradually works its way through sending out a few emails at a time. This is intentional, to avoid overwhelming your mail server and/or getting your site blacklisted by spam filters. Eventually, it will get them all and start over at the beginning.

ElForro 06-03-2007 01:06 PM

Thanks.... but, I will have to wait until... next year in order to get all the inactive users to be emailed? I mean, if it only sends out a few mails per day, and I've got over 40K registered users, it will never get all the inactive users...
Besides that, one day sends 13 mails, other 20, I can't see any "consistent" number of mails sent each day... Are you sure it works like that?

Thanks again!

djbaxter 06-03-2007 01:23 PM

Quote:

Originally Posted by ElForro (Post 1260295)
Thanks.... but, I will have to wait until... next year in order to get all the inactive users to be emailed? I mean, if it only sends out a few mails per day, and I've got over 40K registered users, it will never get all the inactive users...
Besides that, one day sends 13 mails, other 20, I can't see any "consistent" number of mails sent each day... Are you sure it works like that?

Which version are you using?

YLP1 06-03-2007 05:07 PM

I uninstalled ver1.11 and installed ver1.09 --- all emails are "failed" yet all other vb email functions work e.g. activation emails, reminders, subscriptions.

I have disabled the product hoping that a solution can be found because this is an awesome tool.

Iceman62 06-04-2007 01:20 PM

It's not working for me. This is what I got when I ran it manually.

Quote:

Inactive User Reminder Emails


Warning: include_once(/home/xxxxxxxx/public_html/forums/./includes/cron/remindermail.php) [function.include-once]: failed to open stream: No such file or directory in /admincp/cronadmin.php on line 110

Warning: include_once() [function.include]: Failed opening '/home/xxxxxxxx/public_html/forums/./includes/cron/remindermail.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 110

Done

djbaxter 06-04-2007 01:49 PM

Quote:

Originally Posted by Iceman62 (Post 1260991)
It's not working for me. This is what I got when I ran it manually.

Quote:

Inactive User Reminder Emails

Warning: include_once(/home/xxxxxxxx/public_html/forums/./includes/cron/remindermail.php) [function.include-once]: failed to open stream: No such file or directory in /admincp/cronadmin.php on line 110

Warning: include_once() [function.include]: Failed opening '/home/xxxxxxxx/public_html/forums/./includes/cron/remindermail.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 110

Done


You're answer is in the error message - see highlighted parts.

The path to the cron file remindermail.php is incorrect.

Change it to read "./includes/cron/remindermail.php".

Iceman62 06-04-2007 02:14 PM

Quote:

Originally Posted by djbaxter
The path to the cron file remindermail.php is incorrect.

Change it to read "./includes/cron/remindermail.php".

Uhhh, where? (i'm no coder. :erm: )

djbaxter 06-04-2007 02:19 PM

Admin CP | Scheduled Tasks | Scheduled Task Manager

Scroll down to find Inactive User Reminder Emails

Click "Go" next to "Edit" in the drop down box

Scroll down to Filename and enter the correct path in the text box to the right of that label

chkdgate 06-04-2007 04:31 PM

Just installed. In a couple days I'll see how effective this is.

axi 06-04-2007 05:20 PM

niec hack.!

whats this 'credit' thing all about in the settings?? i dont get it can someone explain??

djbaxter 06-04-2007 05:31 PM

Yes. The default installation places a small credit to Chris, the author, in your forum footer. There are other add-ons that also do this (I have two of them running on my forum).

However, some people seemed to take in ordinate offense to this and Chris was kind enough to give the whiners an easy way to delete that footer link.

axi 06-04-2007 05:37 PM

so if someone that hasnt been on in the set 'x' amount of days and then they visit back after this thing sends out an email it puts chris's name in my footer?

does it put the credit if they post up , or if they only visit and not post? when does the credit exactly go there coz i dont see one yet..well i just installed it :P

chkdgate 06-04-2007 07:02 PM

Quote:

Originally Posted by axi (Post 1261139)
niec hack.!

whats this 'credit' thing all about in the settings?? i dont get it can someone explain??

It's a credit to the developer of the mod. Like the vbulletin credits on your footer.

djbaxter 06-05-2007 12:31 AM

Quote:

Originally Posted by axi (Post 1261152)
so if someone that hasnt been on in the set 'x' amount of days and then they visit back after this thing sends out an email it puts chris's name in my footer?

does it put the credit if they post up , or if they only visit and not post? when does the credit exactly go there coz i dont see one yet..well i just installed it :P

I can't recall for certain but I'd guess that it is not set by default, although in my opinion it should be.

In Admin CP | vBulletin Options | Inactive User Reminder Emails, find:

Quote:

Show footer link?
If set to yes, the plugin will add a credit to the author to the footer of the forum. Yes No

Add credit to emails sent
If set to yes, will append a credit to the author to the footer of each email sent out Yes No
Choose the option you prefer and set it to "Yes". Or set both to "No" and thanks to Chris you can use the add-on with no credit whatsoever.

txspaderz 06-05-2007 12:51 AM

I'm getting this error after upgrading to 3.6.7

Code:

Inactive User Reminder Emails
Found 0 Inactive Users.


Fatal error: Call to a member function on a non-object in /home/{removed}/public_html/forum/includes/class_mail.php(266) : eval()'d code on line 13

I'm getting this while running it manually.

djbaxter 06-05-2007 12:59 AM

1. Which version are you using? If 1.11, uninstall and install 1.09.

2. If you're using 1.09, try reinstalling it.

It's working fine on 3.6.7 for me.

txspaderz 06-05-2007 01:25 AM

Awesome. I was using 1.11. I downgraded to 1.09 and it's working again.

Much Thanks!

Edit: And MUCH thanks for the ultra-quick response.

djbaxter 06-05-2007 02:05 AM

You're welcome. :)

Masiello 06-05-2007 04:33 AM

Hi, it's possible to integrate other two options?

1) Set the deley for sending users email, for example:
an email every 60 seconds, some servers block if there is not a certain delay between the send of an email and the other.

2) The possibility for check inactive users and to send the memorandum with the delay above cited.

3) Take it full compatible with vB 3.6.7 PL1

Thanks in advance for any contribution.

C Braithwaite 06-05-2007 05:27 AM

Quote:

Originally Posted by Masiello (Post 1261530)
Hi, it's possible to integrate other two options?

1) Set the deley for sending users email, for example:
an email every 60 seconds, some servers block if there is not a certain delay between the send of an email and the other.

change the cron to 1 min, and the quantity to 1

sorry dont have an answer for the other 2

Masiello 06-06-2007 04:16 AM

Where do I put these settings?
I've the cron setting 1day - 1hours
and the quantity I don't know what you indeed.

djbaxter 06-06-2007 11:31 AM

Quote:

Originally Posted by Masiello (Post 1262279)
Where do I put these settings?
I've the cron setting 1day - 1hours
and the quantity I don't know what you indeed.

Admin CP | vBulletin Opetions | Inactive Reminder Emails

Saviour 06-06-2007 05:00 PM

I have this installed, but haven't clicked installed as of yet, becuase I want to make sure it's working.

I use 3.6.7 P1.

One of my Moderators created a ghost account and this account is a registered user and he hasn't used this ghost account for sometime.

After I installed and edited the settings...saved them. I contacted the Moderator to see if his ghost account received an email...which it should have.

Am I missing something here...do I have to make any changes anywhere eles with the forum?

I appreciate any input....BTW I downloaded and installed the latest zip file...imported it, but didn't check overwrite, because this was the first install.

WEBDosser 06-06-2007 05:19 PM

i use same version and it works for me.. without testing.

Masiello 06-06-2007 06:23 PM

So, I think the script have problems to works fine in vB 3.6.7, I've more then 200 inactive users but when I clicked to run the script from schedule task, it found only two (2) inactive users to send reminder email.
What about that?
thx

Masiello 06-06-2007 07:56 PM

Quote:

Originally Posted by djbaxter (Post 1262463)
Admin CP | vBulletin Opetions | Inactive Reminder Emails

Thanks but I dont see a voice called quantity, I see the day setting for Inactive users and the days delay, if I set "1" in the second field, the users receive one email per day after they result are inactive users.

C Braithwaite 06-07-2007 09:27 AM

Quote:

Originally Posted by Masiello (Post 1262705)
Thanks but I dont see a voice called quantity, I see the day setting for Inactive users and the days delay, if I set "1" in the second field, the users receive one email per day after they result are inactive users.

which version are you using?

Masiello 06-07-2007 10:54 AM

Hi C Braithwaite,
I'm using the latest version: "Email reminder for inactive users v1.1.1"

djbaxter 06-07-2007 12:22 PM

Quote:

Originally Posted by Masiello (Post 1263142)
Hi C Braithwaite,
I'm using the latest version: "Email reminder for inactive users v1.1.1"

Uninstall 1.11 and install 1.09.

Angel-Pie 06-07-2007 03:17 PM

ok im having a little bit of trouble here, im new to this all, anyway where you say to upload the php file to the server,
what exactly is DIR????? i am looking and im in includes/cron/ but i cant find the dir?

and if i have not downloaded any of this before should i install the 1.09 or the 1.11

Audentio 06-07-2007 03:29 PM

I didnt like the link in my footer, messed my skin up a lot.

Masiello 06-07-2007 04:13 PM

Quote:

Originally Posted by djbaxter (Post 1263211)
Uninstall 1.11 and install 1.09.

Thx done, but after run the script it found anyway only one Inactive User, why?

djbaxter 06-07-2007 08:35 PM

Quote:

Originally Posted by Angel-Pie (Post 1263317)
ok im having a little bit of trouble here, im new to this all, anyway where you say to upload the php file to the server,
what exactly is DIR????? i am looking and im in includes/cron/ but i cant find the dir?

and if i have not downloaded any of this before should i install the 1.09 or the 1.11

DIR refers to the path to your forum:

If your forum is at www.yoursite.com/forum/ then the path would be www.yoursite.com/forum/includes/cron/

If your forum is at www.yoursite.com then the path would be www.yoursite.com/includes/cron/

If your forum is at forum.yoursite.com then the path would be forum.yoursite.com/includes/cron/

etc.

Quote:

Originally Posted by Masiello (Post 1263356)
Thx done, but after run the script it found anyway only one Inactive User, why?

With version 1.09, it's not going to find all of the inactive users the first time it runs. It will start at the beginning of your database and go through it in batches looking for members who match whatever criteria you've set in the options.

Iceman62 06-08-2007 12:30 AM

Quote:

Originally Posted by djbaxter (Post 1261026)
Admin CP | Scheduled Tasks | Scheduled Task Manager

Scroll down to find Inactive User Reminder Emails

Click "Go" next to "Edit" in the drop down box

Scroll down to Filename and enter the correct path in the text box to the right of that label

Ok I did that and still got the same error. I even downloaded the 1.0.9 version and tried that and still got the error. :confused:

djbaxter 06-08-2007 12:42 AM

Quote:

Originally Posted by Iceman62 (Post 1263763)
Ok I did that and still got the same error. I even downloaded the 1.0.9 version and tried that and still got the error. :confused:

Post the error, please.

Previously you posted this:

Quote:

Inactive User Reminder Emails

Warning: include_once(/home/xxxxxxxx/public_html/forums/./includes/cron/remindermail.php) [function.include-once]: failed to open stream: No such file or directory in /admincp/cronadmin.php on line 110

Warning: include_once() [function.include]: Failed opening '/home/xxxxxxxx/public_html/forums/./includes/cron/remindermail.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 110
That error was telling you you have a bad path specification. Notice the /./ part up there? No valid path could have that in the middle. The "./" is saying "go up one directory level and then follow the rest of the path to the correct directory". In a valid path statement, that would always be the FIRST part of the path, not stuck in the middle like that.

testebr 06-08-2007 01:56 AM

I get this error on run task:

Fatal error: Call to a member function query_first() on a non-object in /home/board_patch/forum/includes/class_mail.php(266) : eval()'d code on line 4

Any fix?

djbaxter 06-08-2007 02:01 AM

Quote:

Originally Posted by testebr (Post 1263813)
I get this error on run task:

Fatal error: Call to a member function query_first() on a non-object in /home/board_patch/forum/includes/class_mail.php(266) : eval()'d code on line 4

Any fix?

Which version did you install? If it was 1.11, uninstall and install 1.09.

daemon_ 06-08-2007 12:12 PM

great mod congrats! i'd just like to be able to define user id's where the mail wont be sent (some users may request that) thanks :)

djbaxter 06-08-2007 01:32 PM

Quote:

Originally Posted by daemon_ (Post 1264085)
great mod congrats! i'd just like to be able to define user id's where the mail wont be sent (some users may request that) thanks :)

Instruct members who do not wish to receive such notifications to uncheck "Receive email from admins" in their User CP. They won't receive this email again.

I include that, along with a link to the User CP | Options page, in the email that is sent out, as a way of ensuring that I'm in compliance with anti-spam efforts.

daemon_ 06-08-2007 01:57 PM

ok thanks a lot :) once again, great mod


All times are GMT. The time now is 07:22 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.02457 seconds
  • Memory Usage 1,847KB
  • 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_code_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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