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)

MMiz 05-08-2007 09:59 PM

I'm receiving the following error:

Database error in vBulletin 3.6.5:

Invalid SQL:
SELECT * FROM user WHERE lastactivity < '1175986633' AND emailDate < '1176073033' AND options & 16 LIMIT;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Tuesday, May 8th 2007 @ 06:57:13 PM
Script : http://www.--/admincp/cronadmin.php?...cron&cronid=21
Referrer : http://www.--/admincp/cronadmin.php?do=modify
IP Address : --
Username : --
Classname : vb_database

revmitchell 05-08-2007 10:45 PM

I cannot find where to make the options. It does not appear in the vb options menu

djbaxter 05-09-2007 12:45 AM

Quote:

Originally Posted by revmitchell (Post 1244041)
I cannot find where to make the options. It does not appear in the vb options menu

If installed correctly, it does. You may need to refresh your ACP.

Pasqualis 05-09-2007 09:11 AM

I just wanted to say that this is an awesome mod!

Would it maybe be possible making the email text language-specific? We are using two main languages on our board and now we can only send out the email in just one language. :)

C Braithwaite 05-09-2007 09:18 AM

Quote:

Originally Posted by Pasqualis (Post 1244240)
I just wanted to say that this is an awesome mod!

Would it maybe be possible making the email text language-specific? We are using two main languages on our board, I now we can only send out the email in just one language. :)

it will be something i would consider adding when i get round to making the next version.

ahlycairo 05-09-2007 06:20 PM

i just installed the addon
will it work automaticly?
and what is the best values for the settings that dont affect the server

thanx alot

djbaxter 05-10-2007 12:21 AM

Read the instructions. There are some settings you will probably need to change.

Which version did you install? 1.09 or 1.11?

v12kid 05-10-2007 05:01 AM

*installed, thanks!

any idea on flood control so I dont get blacklisted?

newforum 05-10-2007 10:29 AM

WoW good idea of getting back the old members. Nice hack, Installed it.

ahlycairo 05-10-2007 11:02 AM

Quote:

Originally Posted by djbaxter (Post 1244700)
Read the instructions. There are some settings you will probably need to change.

Which version did you install? 1.09 or 1.11?

i installed
1.11

Nathan2006 05-10-2007 12:40 PM

Thank you

Will give it a go :)

Install

Mrdby 05-12-2007 03:16 AM

work great!!!!!!!

snakeair 05-12-2007 12:35 PM

I've been looking for something like this. Thanks a lot.

*Installed*

Now i just hope my emails get threw to the members and not there spam box. lol

SoftDux 05-13-2007 10:50 AM

Thanx for the great mod :)

Pasqualis 05-14-2007 10:38 AM

Quote:

Originally Posted by C Braithwaite (Post 1244246)
it will be something i would consider adding when i get round to making the next version.

Thanks, that would be great! I'll keep an eye on the changes here ;)

bugriders 05-14-2007 11:31 AM

It's working great!! Thanks!!

C Braithwaite 05-14-2007 10:34 PM

Quote:

Originally Posted by Pasqualis (Post 1247302)
Thanks, that would be great! I'll keep an eye on the changes here ;)

dont hold your breath though! I'm working so much right now i dont have time to work on the fun stuff

xrayeramy 05-16-2007 01:22 AM

I down loaded 1.11 on vb 3.65. I set up a test group and put my test User in and ran this manually. I got "464 inactive users found, emailed test" perfect! I then switched it to User Group 2 for Registered Users and ran it again expecting it to email the 464 and instead I got "no inactive users found" HUH? It was working....should I uninstall and install 1.09?

xrayeramy 05-16-2007 05:34 AM

Okay, I uninstalled 1.11 and installed 1.09 and it has sent off the first 5 emails. I just hope they aren't all HTML'd and funky. But if it gets some people back then cool!

raven3d 05-18-2007 04:46 AM

uninstalled sorry.

last night the host turned my site off, because this script was hammering the server, also and this is strange over the last few days i hadn't been recieving any email for this particular address and now i've uninstalled this the email has returned.

v12kid 05-18-2007 05:37 AM

can someone tell me where I can check in the cp as to how many emails were sent etc?

C Braithwaite 05-18-2007 05:53 AM

Quote:

Originally Posted by raven3d (Post 1249988)
uninstalled sorry.

last night the host turned my site off, because this script was hammering the server, also and this is strange over the last few days i hadn't been recieving any email for this particular address and now i've uninstalled this the email has returned.

which version were you using, and by "hammering" what do they mean?

Quote:

Originally Posted by v12kid (Post 1250001)
can someone tell me where I can check in the cp as to how many emails were sent etc?

it sends out a daily email with a report (ver 1.11) and you can also view the cron logs

Mrdby 05-18-2007 11:04 AM

how do i view cron logs?

djbaxter 05-18-2007 12:15 PM

Quote:

Originally Posted by Mrdby (Post 1250105)
how do i view cron logs?

Admin CP | Scheduled Tasks | Scheduled Task Logs

Selective Inactive User Reminder Emails from the drop-down box.

djbaxter 05-18-2007 12:16 PM

Quote:

Originally Posted by raven3d (Post 1249988)
uninstalled sorry.

last night the host turned my site off, because this script was hammering the server, also and this is strange over the last few days i hadn't been recieving any email for this particular address and now i've uninstalled this the email has returned.

Quote:

Originally Posted by C Braithwaite (Post 1250006)
which version were you using, and by "hammering" what do they mean?

Also, what were your settings for the options for this add-on?

xXxStitchxXx 05-19-2007 12:42 AM

Hello! I have 1.11 installed and I get this when I look at log "...but their email address was invalid". But their emails are valid! What's the problem?

ElForro 05-19-2007 08:58 AM

I set the usergroup number to a Test Usergroup with only one user.. Run the Cron Job and get more than 6.000 users!

I was trying to run the cron job with that particular test-usergroup, but it didn't found the user. So i checked "Inactivity based on last post" to yes, run the cronjob and found those +6.000 users [but they aren't on that usergroup!]

What's wrong?

C Braithwaite 05-19-2007 11:07 AM

Quote:

Originally Posted by xXxStitchxXx (Post 1250548)
Hello! I have 1.11 installed and I get this when I look at log "...but their email address was invalid". But their emails are valid! What's the problem?

it just uses the vbulletin's internal email checking api. it just runs through that before attempting to send an email so it does not error on sending.

lovechandigarh 05-19-2007 03:23 PM

Thanks. Appreciated. :)

giovannicosta 05-19-2007 04:15 PM

installed, do I HAVE to add a cron job manually?

giovannicosta 05-19-2007 04:15 PM

OK, I know now ;)

djbaxter 05-19-2007 04:18 PM

No. It should have been done automatically with the product import.

arossphoto 05-21-2007 02:17 AM

I just installed and did a manual test. It seems to be working properly, but the email that was sent to my test account went into my spam mailbox. I'm sure there are a lot of variables to this stuff, but is there anything that can be done to minimize the chances of these emails being treated as spam?

Thanks,

Andrew

YLP1 05-21-2007 01:42 PM

Quote:

Originally Posted by raven3d (Post 1249988)
uninstalled sorry.

last night the host turned my site off, because this script was hammering the server, also and this is strange over the last few days i hadn't been recieving any email for this particular address and now i've uninstalled this the email has returned.

I can confirm raven3d's issue. I have had to disable the cron because the product sent out the entire inactive list at the same time (well it took about 4 hours for it to get through the 500 or so Inactive members) - verified via the cron log.

My mail batch is set up to 10 emails at a time and the log is showing the emails from the hack going out one right after the other.

I attached the first three pages of the cron log -- there are over20 more pages following these with mail going out one right after the other.


I hope this issue can be resolved as it can be a very beneficial tool to the board.

Andyrew 05-21-2007 02:40 PM

Same here, i tried this hack and it sent all the emails at once.
My host does not allow hundreds of emails at once so bounced them to my catch all.

djbaxter 05-21-2007 02:43 PM

I assume that those of you reporting this issue are using version 1.10 or version 1.11.

I strongly recommend that you uninstall that version and install version 1.09 instead.

arossphoto 05-21-2007 05:08 PM

Quote:

Originally Posted by djbaxter (Post 1252103)
I assume that those of you reporting this issue are using version 1.10 or version 1.11.

I strongly recommend that you uninstall that version and install version 1.09 instead.

According to the developer's notes above:

"Update 1.1.0 - Changed the way that emails are sent out by adding the emails to vbulletin's mail queue"

So isn't this working properly? Any comments from the developer?

I've installed this, but it's currently set up for testing with the admin group only. I have over 400 inactive members, so I want to make sure it's working properly before I use it with registered members.

Thanks,

Andrew

djbaxter 05-21-2007 05:17 PM

Quote:

Originally Posted by arossphoto (Post 1252199)
According to the developer's notes above:

"Update 1.1.0 - Changed the way that emails are sent out by adding the emails to vbulletin's mail queue"

So isn't this working properly? Any comments from the developer?


Prior to version 1.10, emails were sent out in batches with a configurable batch size using a cron job. Starting with version 1.10, all emails were added to the vBulletin mail queue. I think with a mod like this, that's a mistake, and certainly it seems to have caused a number of problems for different forum installations - that's why version 1.09 is still available for download. The author, Chris, is working on the bugs in 1.11 as he gets time but my advice is to consider version 1.10 and 1.11 as Beta versions, with 1.09 as the latest stable release.

C Braithwaite 05-21-2007 05:51 PM

i can understand that emails will be sent out regular with the latest version, and tbh i think 1.09 is the better option.

i really wish i had more time to work on this, and when i do ill start from 1.09 and scrap later versions.

Andyrew 05-21-2007 09:42 PM

I have now installed v1.09 and it's working great. :up:


All times are GMT. The time now is 03:19 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.03232 seconds
  • Memory Usage 1,831KB
  • 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
  • (14)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