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)

goddess_dix 11-19-2007 01:21 PM

Quote:

Originally Posted by BadgerDog (Post 1385436)

I'm running v1.09 without any problems on v3.6.7pl1 of vBulletin....

if it works with the short php tags, don't worry about it. some php configurations will require the longer tags. evidently yours doesn't. it would also work with the longer tags, too, so if you move servers, you might need to change it.

brvheart 11-19-2007 08:50 PM

Quote:

Originally Posted by goddess_dix (Post 1385548)
if it works with the short php tags, don't worry about it. some php configurations will require the longer tags. evidently yours doesn't. it would also work with the longer tags, too, so if you move servers, you might need to change it.

exactly, it is just safer to have the long ones, as it works under all configurations as stated above....my config just would not use the short version....

I should have explained that in the post above, sorry about that.

induslady 11-20-2007 03:13 AM

Quote:

Originally Posted by vbuser99 (Post 1362538)
This is the unsupported updated version of Email reminder for inactive users add-on.
You need to uninstall previous versions (1.09 or 1.11) before installing version 1.20
Both product-remindermail.xml and remindermail.php has been updated.

Version 1.20 is updated and is the working and improved version of 1.11

Updates:
- Renamed emailDate field to reminderDate (user table) because it was too generic.
- Added reminderCount field (user table)
- Added limitperbatch option to limit number of emails sent to inactive users per batch (per cron run).
- Added limitperuser option to limit number of reminder emails sent to a user.
- Updated email message
- Pull only required data via SQL for better performance.
- This version ensures that updates to user table are done correctly, by updating only processed rows. Previous version was bulk updating user table before process started.

I am in the process of adding requested changes, will upload the finished product soon...

Hello vbuser99

Is the version 1.2 ready and available for download. If yes, where can I download it?
Thanks.

mpoorrajab 11-22-2007 08:49 AM

installed ...

it was a good hack ...

djbaxter 11-22-2007 12:32 PM

Quote:

Originally Posted by popowich (Post 1385416)
I am getting duplicate from: links. Other e-mails directly from my server are OK. I have two sites with this product and only one of them has this behavior. For the Discuss New York it puts the title of my site @ the name of the mail server (it's tagged to my first domain). It's not like I'm trying to reply, but I'd like to know where it is looking or if it's on my end how to fix this. I'm also wondering if they are going out to inactive members that way or if it's just my report.

Is that what you see in the visible part of the email or is that from "properties"?

Quote:

Originally Posted by BadgerDog (Post 1385436)
I'm running v1.09 without any problems on v3.6.7pl1 of vBulletin.... My reminder.php says this on top two lines:

Code:

<?
if (!is_object($vbulletin->db))

Should I be changing it to:

Code:

<?php
if (!is_object($vbulletin->db))


Quote:

Originally Posted by goddess_dix (Post 1385548)
if it works with the short php tags, don't worry about it. some php configurations will require the longer tags. evidently yours doesn't. it would also work with the longer tags, too, so if you move servers, you might need to change it.

Quote:

Originally Posted by brvheart (Post 1385854)
exactly, it is just safer to have the long ones, as it works under all configurations as stated above....my config just would not use the short version....

Exactly. It was working fine on my server too with the short form but some server configurations may reject it. Chris hasn't been here in a while but I did email him the link to the post where it was pointed out for future releases. You can add the "php" part yourself safely even if it's working okay without it.

Fungsten 11-22-2007 07:13 PM

I haven't read through all the posts but I have this question. I just got the Inactive users report, email, however it went straight to my junkmail folder. Upon clicking on the sender I noticed that there was and extra user name in the from field that shouldn't be there. The email said it was also sent from one of my members. Is anyone else having this where the email report is maybe getting sent to the junk mail folder or there is another address in the From field in the email?

Thank you.

On Edit: I might be having the same problem as the person in the above post.

kiFF 11-24-2007 03:05 AM

I just installed this a couple days ago, and I just got an email report telling me that all of my inactive users had "invalid" email addresses. I looked up those member's email addresses, and they were fine, so why is it saying this?

djbaxter 11-24-2007 07:43 PM

1. are you using version 1.09 or 1.11?

2. how do you know those email addresses are valid or invalid? how are you checking them?

kiFF 11-24-2007 07:53 PM

1. I'm using 1.11.

2. Well the thing is, the report said that ALL of my inactive users had invalid email addresses, which is unlikely.

I was just checking by looking for spelling errors in the email suffixes. But they should be valid, they have to confirm their email to register.

ozmazdaclub 11-26-2007 03:35 AM

Excellent Mod! Installed.

Domenico 11-29-2007 09:14 AM

What about a link for users to opt-out ? When they click on this link they will never get this email reminder again. That would be nice because no there is no way to disable this and users are complaining.

djbaxter 11-29-2007 11:57 AM

Quote:

Originally Posted by Domenico (Post 1391541)
What about a link for users to opt-out ? When they click on this link they will never get this email reminder again. That would be nice because no there is no way to disable this and users are complaining.

Sure there is - and it's built right into their vBulletin UserCP - the "Receive email from Admins" checkbox.

Add that link into the message that goes out to your users. I've included it since I first installed this add-on and a number of former users have followed those instructions to opt out. Some of those who don't have emailed me and asked me to do it for them and I always comply with that.
  1. Admin CP | vBulletin Options | vBulletin Options | Inactive User Reminder Emails
  2. Scroll down to and edit Email message
  3. Add the link in there somewhere

My email message looks like this (some portions specific to my forum deleted):

Code:

Hello, $username!

<p>You are receiving this email because you previously registered at the {name of your forum} with the following information:</p>

<p>Member name: $username<br>
User number: $userid<br>
Email address: $email</p>

<p>It's been some time since your last visit to our forum community.</p>

<p>You might be interested in having another look. We have added several features and enhancements to the forums, and many new topics and new members are added every day.</p>

<p>If you don't remember your password, you can request it here: <a href="http://{yourforum.com}/login.php?do=lostpw">http://{yourforum.com}/login.php?do=lostpw</a>.</p>

<p>We hope to see you back soon.</p>

<p>If you do not wish to receive further emails of this nature, please log into your UserCP at <a href="http://{yourforum.com}/profile.php?do=editoptions">http://{yourforum.com}/profile.php?do=editoptions</a> and uncheck the box next to Receive Email from Administrators.</p>


sparky5693 11-30-2007 12:24 AM

Quote:

Originally Posted by kiFF (Post 1388807)
1. I'm using 1.11.

2. Well the thing is, the report said that ALL of my inactive users had invalid email addresses, which is unlikely.

I was just checking by looking for spelling errors in the email suffixes. But they should be valid, they have to confirm their email to register.

This modification had worked fine for some time, now all my users have invalid email addresses. I have this same problem.

Icy 11-30-2007 03:30 AM

Use 1.09. That one works fine for me so far. I had a similar problem with 1.11. So uninstalled it & reinstalled 1.09.

kiFF 12-01-2007 02:56 AM

Well this is probably something that should be fixed.

zahool 12-02-2007 12:24 AM

hello i am using version 1.09 and for some reason using the Scheduled Task Manager's RUN NOW only three emails are being send out each time.

I tested again - another three emails.

anyone knows how to tackle this prob?

0tolerance 12-02-2007 01:12 AM

Well... im finding something weird.. i have more than 6 innactive users, some that have been innactive for months, but its not picking them up in the scan for innactive.
its only picking up recently innactive members... people that have been viewing the forum, but not posting...

there has to be about 30 or more innactives that should ahve been on the list.

pyd 12-04-2007 06:31 AM

Super add-on!
Installed it and it seems to be just what I need!

Just one request though!
In the field where you select witch usergroups that this should be valid to, how about a dropdown-list or something like that to select them?

Not that it's a big issue to go into the usergroup-manager and see the id:s, but... just a thought!

testebr 12-05-2007 09:13 AM

I have a big problem with this mod.

My host reject all emails sent returning with this message:

Quote:

Recipient address rejected: Policy Rejection:
--SENDER_QUOTA_REJECTION-- (in reply to RCPT TO command)
Can you please add one option to send xx emails per hour controled by cron job.

Example, in last time the mod tried to send 8k of emails at once only.

See: Cron Based E-Mail Sending

Thank you.

djbaxter 12-05-2007 06:34 PM

Quote:

Originally Posted by zahool (Post 1393259)
hello i am using version 1.09 and for some reason using the Scheduled Task Manager's RUN NOW only three emails are being send out each time.

I tested again - another three emails.

anyone knows how to tackle this prob?

That's exactly what it's supposed to do - it limits the number of emails being sent out to avoid triggering your host's limits.

You can change it from 3 to another number if you wish in the vBulletin Options in your Admin CP, but keep it low.

Quote:

Originally Posted by testebr (Post 1395391)
I have a big problem with this mod.

My host reject all emails sent returning with this message:

Can you please add one option to send xx emails per hour controled by cron job.

Example, in last time the mod tried to send 8k of emails at once only.

See: Cron Based E-Mail Sending

Thank you.

1. I think you're using version 1.11. Uninstall that and install version 1.09. If you're already using the Cron Based E-Mail Sending add-on, try disabling it.

Millenium IT 12-08-2007 05:19 PM

To be quite honest, I didnt think that this mod would, at all, have an effect, whatsoever. I would like to congradulate you on an epic release, and you can quote me saying that this really works. My forum was in a downwards spirl, but this mod brought everything back to life. My 'Users Online Today' went from 45+ all the way up to 75+ in one day!

kiFF 12-08-2007 06:01 PM

Should it be sending you an email report even if there are no inactive members? Because I unistalled 1.11 (because it kept saying my members' emails were invalid) and installed 1.09, and I haven't gotten an email report in a couple weeks...I don't think the emails are being sent.

djbaxter 12-08-2007 06:22 PM

Quote:

Originally Posted by kiFF (Post 1397489)
Should it be sending you an email report even if there are no inactive members? Because I unistalled 1.11 (because it kept saying my members' emails were invalid) and installed 1.09, and I haven't gotten an email report in a couple weeks...I don't think the emails are being sent.


No. With 1.09, the only emails I get are occasionally from bounced/invalid email addresses. Otherwise, I don't get anything.

I do have a couple of extra "test" accounts, though, and I do get reminders for those sent to the appropriate email address, since they are rarely used.

kiFF 12-09-2007 01:02 PM

Okay, I checked the scheduled tasks log and it has been sending them out. Thanks.

Alfa1 12-09-2007 02:50 PM

When composing such mass emails, please review the anti spam policies of hotmail, yahoo, gmail, AOL, etc.

sparky5693 12-09-2007 03:15 PM

I downgraded to .09, and everything is fine again.

baghdad4ever 12-09-2007 06:56 PM

ok im confuse

which version may i install now??

plz help

djbaxter 12-09-2007 07:39 PM

I recommend you use version 1.09.

testebr 12-09-2007 08:22 PM

I will install the old version, but its better you update the mod.

Andy Dean 12-12-2007 03:15 PM

Hi, thanks for a top mod!

One question tho, i've installed 1.09 and everything is running as expected e-mails going out no problem, however the scheduled 'Inactive User Reminder Emails' task runs very randomly, some times as much as ten times in ten minutes, some times not for five hours. What triggers this task to run as m h D M DoW inthe Scheduled Task Manager are all "*" ?

Is this the way it's supposed to run? or should i be setting a time for the task to run in the Scheduled Task Manager?

Many Thanks!

djbaxter 12-12-2007 03:49 PM

Because of the way vBulletin handles cron jobs, the extact times that any cron job runs will vary (since it requires a page load to trigger the cron job).

Check how it's scheduled currently in "Scheduled Tasks". I have mine set to run as follows:

Quote:

Day of the Month *
Hour *
Minute 37
i.e., every hour, every day of the month, at HH:37. I also have the number of emails sent out at a time set low (3), although for an initial run through the database I had it set a bit higher (I think 10).

That seems to work well for me.

Andy Dean 12-12-2007 05:31 PM

Ahhh, i think i'm with you, it's currently not scheduled in Scheduled Task Manager, all the fields are asterisks (*), that's how it was after i installed it. Does this mean the cron job is running everytime a page is loaded? It'd would be wise to set it up like you have yourself then?

djbaxter 12-12-2007 05:54 PM

Quote:

Originally Posted by Andy Dean (Post 1399969)
Ahhh, i think i'm with you, it's currently not scheduled in Scheduled Task Manager, all the fields are asterisks (*), that's how it was after i installed it. Does this mean the cron job is running everytime a page is loaded? It'd would be wise to set it up like you have yourself then?

Yes. As it is now, your task runs every minute of every hour of every day - that's way too frequently.

Andy Dean 12-12-2007 08:06 PM

Quote:

Originally Posted by djbaxter (Post 1399986)
Yes. As it is now, your task runs every minute of every hour of every day - that's way too frequently.

Ahha! Thank you very much for the help! I wondered why it was running so randomly. I've set it to run once a day, that should be fine for a small forum like mine.

Thanks again :)

Jdm Ej1 Coupe 12-16-2007 12:17 PM

Ok I installed this Mod a while ago and have updated it as it comes out! It is working and the only problem I am having is that the emails are being sent from unknownsender@unknowndomain. because of this I do believe it is going into peoples spam folders and or getting deleted and I am not having the effect of the users coming back to the site like everyone else.

is there anyway for me to change from what email it gets sent from?

Thanks for a great product!

djbaxter 12-16-2007 12:58 PM

It uses whatever address it finds in Admin CP | vBulletin Options | vBulletin Options | Site Name / URL / Contact Details.

Scroll down to:

Quote:

Webmaster's Email
Email address of the webmaster.
and check that you have a valid email address in there.

frostyIntrepid 12-16-2007 01:04 PM

I do have the same problem and checked the settings.

All the fields are filled up properly.

Jdm Ej1 Coupe 12-16-2007 02:18 PM

Quote:

Originally Posted by djbaxter (Post 1402103)
It uses whatever address it finds in Admin CP | vBulletin Options | vBulletin Options | Site Name / URL / Contact Details.

Scroll down to:



and check that you have a valid email address in there.

I checked it and my address is valid there. still having the same issue.

Thanks

djbaxter 12-16-2007 02:44 PM

Quote:

It is working and the only problem I am having is that the emails are being sent from unknownsender@unknowndomain
Where and when do you see that email address? Is this only seen on returned/bounced emails?

Jdm Ej1 Coupe 12-16-2007 03:43 PM

Quote:

Originally Posted by djbaxter (Post 1402151)
Where and when do you see that email address? Is this only seen on returned/bounced emails?

I created a username for this mod and it goes to one of my emails

Thanks


All times are GMT. The time now is 01:27 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.03822 seconds
  • Memory Usage 1,854KB
  • 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
  • (3)bbcode_code_printable
  • (20)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