Jump to content


* * * * * 1 votes

Manage Inactive Members


107 replies to this topic

#41 xecute

    Member

  • Members
  • PipPipPip
  • 21 posts
  • IPB Version:v3.0.x

Posted 19 January 2010 - 08:15 AM

1st I just want to say thanks for an awesome modification and sharing it with us ;)


Is there an edit in a PHP file where I can change the 250 emails sent to something else?

Just my server/host only allows me to send out 100 emails per hour (so I at least get 150 emails bouncing back when looking in error logs).


Also if I was to edit the setting and change it to send emails per hour, instead of using daily setting (to allow room for other tasks for anniversary & birthdays emails - when I buy them to have room to also send out emails, along with members lost password recovery & sending emails to each other) than would it be ok or effect it in someway? I'd hate old members to get emailed more than once per day because it is on hourly instead of daily due to it thinking they have not received one with it being the same day in the settings of inactivity to send them another email every hour until day end.... I'm not too good at explaining, so I hope you understand the question.


I also had a problem at first with the email to inactive members being disabled as mentioned above by some others, that is the only part of this I use and I was positive I had everything filled in right. Anyway I uninstalled it and reinstalled it and got some errors on reinstall about TABLES NULL etc or something. but now it is since not blocked, but just keeps locking up in task schedule.... I'm going to have to try a re-install again I think (as manual sending didn't work either the last time I tried - would it be ok to drop the table on next try of install? or would that mess up other stuff in them ?).

Usually works perfect when set manually to go (when 1st installed). Although it wouldn't work today for some reason.
Perhaps my server has blocked it with it sending out too many emails at once, I honestly dunno.


Anywho thanks again for an awesome modification & soz for being a noob not knowing how to reduce the email number per cycle in one of the PHP files if possible... I did have a look in them but couldn't see a setting anywhere.

Also just to double check... is it ok to set the task to run every hour instead of every day or would it send duplicate emails when working? Just I have a large forums with more than 250 inactive members every day, and also not allowed by server to send more than 100 emails per hour.

Thanks for your time over this matter in advance. :)

Edited by xecute, 19 January 2010 - 08:25 AM.


#42 xecute

    Member

  • Members
  • PipPipPip
  • 21 posts
  • IPB Version:v3.0.x

Posted 23 January 2010 - 07:03 AM

This still only works for me doing it manually once per day, otherwise it is always locked up and no error log at all in synchronise logs, just in email error logs.

I think my server simply locks it due to the script strict on 250 emails (sent all at once, no gap) when my server only allows 100 per hour (so 150 at the very least doesn't get sent).

Is there any way to change the 250 emails to a different number?
I'd love to send 50 every hour. of if it has to stay on a day then 80 (as I need to leave a gap for other emails being sent by the board such as validation with the same hour the script runs each day).

I have a rather large board too, so even though my server is restricted to 100 emails per hour and the script is 250 as a limit. I could actually be sending 600 per day to cover all old members quicker, (if set to x amount per hour)

EDIT: what's up with me having a 33% warning? (Just realised) Where did that come from? I even link to this site on my index page of my community & I've never, ever caused any trouble. Crazy! Even been in contact via email when you couldn't find my exact forum URL with a quick Google for the folder name (or simply using entrance page to the forums - wasn't down for that long). P.S. I also have a lot more than 2 posts, but I dunno what happened to my old account 'xe-cute' or why it vanished.

Edited by xecute, 23 January 2010 - 07:15 AM.


#43 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 23 January 2010 - 05:56 PM

I'm soon releasing a version where you can choose the maximum amount of members affected by each time per go. I'll have to investigate a bit more about how mails are sent. At the moment I'm using the built in bulk mailer, so I'm not sure if I can control how often that sends emails, but I believe they are done with a task.

As for the task locking issue; You're not mentioning what version of IP.Board you're using, but there were issues with 3rd party tasks prior to 3.0.5 that caused them to be locked for no apparent reason.


About your warning; Not easy to determine exactly why you've been warned. But we only give out warnings when the site doesn't load, it clearly isn't your board (for users entering known resource sites like this one), or if it's not an IP.Board installation. It's probably easiest for you to send a PM to the person warning you, asking if he can remember why he did what he did.
Your old account is still here, btw: http://www.invisionm...p?showuser=1042

#44 xecute

    Member

  • Members
  • PipPipPip
  • 21 posts
  • IPB Version:v3.0.x

Posted 23 January 2010 - 06:45 PM

Thanks for the reply.

I get around the 100 emails per hour when using the inbuilt bulk emailer for our quarterly newsletter by doing only 3 emails per cycle which for 20,000 members took about 10 days to complete last time (nightmare situation). Any other way the 1st 100 gets sent and 19,900 get error messages.

I'm using 3.0.5, also as I say the task scheduler shows no errors at all. It just seems to lock up instead of running.
If I do it manually then as I've said it works fine, well for the 1st 100 emails, then the other 150 get error message 'mail could not be delivered' which I know is my server restricions, which they refuse to lift incase it is abused to spam people (I also think it is to do with CPU issues too as it spikes).

Regarrding the warning, I am guessing it is because I got an email, which went in my spam folder by mistake, about not have the full URL to my forums (just to my sites entrance page). Thing is though, it doesn;t take a genius to work out where to go from there, even a simple Google would show the forums. Anyway whilst cleaning out my spam folder I luckily saw the email and replied to it apologising and updated my profile details to show the full URL to root folder. Anyway, I'm not that bothered about it myself. I just don't want others to think I am a trouble maker in any kind of way as it looks bad.

BTW I just had a thought, perhaps you can also make it so it does 'x' amount per cycle & also does one group at a time. It may be a workaround way of being able to get more emails out if it does a different group at a different hour in the day. Not sure TBH just guessing.

Anyway it is still a great modification, so thanks again.
I look forward to the next version too. ;)

Edited by xecute, 23 January 2010 - 06:46 PM.


#45 MrStormy

    Novice

  • IM Supporters
  • PipPip
  • 13 posts
  • Location:Illinois, USA
  • Real Name:Gene Rowe
  • IPB Version:v2.3.x

Posted 04 February 2010 - 04:07 AM

I get the following error when I run the delete old messages task.

Quote

Fatal error: Uncaught exception 'Exception' with message 'NO_SUCH_MEMBER' in {forum_dir}/admin/applications/members/sources/classes/messaging/messengerFunctions.php:909 Stack trace: #0 {forum_dir}/admin/applications_addon/other/inactiveMembers/tasks/deleteOldMsg.php(194): messengerFunctions->deleteTopics('', Array, NULL, 1) #1 {forum_dir}/admin/applications_addon/other/inactiveMembers/modules_admin/runTasks/runTasks.php(64): task_item->runTask() #2 {forum_dir}/admin/applications_addon/other/inactiveMembers/modules_admin/runTasks/runTasks.php(30): admin_inactiveMembers_runTasks_runTasks->runTask('im_task_deleteO...') #3 {forum_dir}/admin/sources/base/ipsController.php(291): admin_inactiveMembers_runTasks_runTasks->doExecute(Object(ipsRegistry)) #4 {forum_dir}/admin/sources/base/ipsController.php(91): ipsCommand->execute(Object(ipsRegistry)) #5 {forum_dir}/admin/sources/base/ipsC in {forum_dir}/admin/applications/members/sources/classes/messaging/messengerFunctions.php on line 909

I just upgraded to 1.0.4 by the way hoping that would fix this and no such luck

#46 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 06 February 2010 - 08:29 PM

v1.1 have been released!



#47 xecute

    Member

  • Members
  • PipPipPip
  • 21 posts
  • IPB Version:v3.0.x

Posted 06 February 2010 - 09:49 PM

Thanks, I'll go & upgrade now ;)

#48 xecute

    Member

  • Members
  • PipPipPip
  • 21 posts
  • IPB Version:v3.0.x

Posted 10 February 2010 - 01:23 PM

Just want to say this has been running very smoothly now. Perfection!

Good job!


I have a technical question to ask....

If I was to run the task more than once per day, would it know not to send a 2nd email to those already notified?

I roughly have a few hundred members inactive on each day, put can only send 80 emails per time (due to 100 per hour limit and leaving 20 for headroom so others can use the email system).

So If I was to set it to go once every 3hrs in schedule settings... would it work its way through the list one member after the other or may there be a problem with duplicate emails (re-sending to the same 80 members due to task run on same day)?

Just thought I'd ask as I wouldn't want the same member to get more than one email (possibility of up to 8 if set every 3hrs).

Thanks for letting me know in advance & Thanks again for a great modification.


All the best

-xe-

Edited by xecute, 10 February 2010 - 01:23 PM.


#49 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 10 February 2010 - 07:15 PM

Yes, there should be no issues running the the tasks more often.

#50 peterc

    Novice

  • Members
  • PipPip
  • 12 posts
  • IPB Version:v3.0.x

Posted 10 February 2010 - 07:50 PM

I just want to thank you personally for this m4rtin, its awesome man. I have a small forum of 50 so I am still waiting to see it being used.

Thanks again

#51 xecute

    Member

  • Members
  • PipPipPip
  • 21 posts
  • IPB Version:v3.0.x

Posted 12 February 2010 - 02:19 PM

I dunno if it is just me and a problem perhaps at my end. But my emails do not seem to be parsing sentences/paragarphs and so the email is a wall of text. Is this because I need to put <br /> or <p></p> in them?

Also it does parse the members name with {member_name} which works fine.... however {lost_pass} & {site_url} seem broke to my recipients that I notify of inactivity and just displays them as tags (So I shall put them in hard coded).

Just thought you may want to know in-case this is a widespread problem.
Like I say it could be just something dodgey at my end.

All the best

-xe-

#52 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 12 February 2010 - 11:59 PM

v1.1.1 is out.
It's been brought to my attention that the new settings weren't properly built.


View Postxecute, on Feb 12 2010, 03:19 PM, said:

I dunno if it is just me and a problem perhaps at my end. But my emails do not seem to be parsing sentences/paragarphs and so the email is a wall of text. Is this because I need to put <br /> or <p></p> in them?

Also it does parse the members name with {member_name} which works fine.... however {lost_pass} & {site_url} seem broke to my recipients that I notify of inactivity and just displays them as tags (So I shall put them in hard coded).

Just thought you may want to know in-case this is a widespread problem.
Like I say it could be just something dodgey at my end.

All the best

-xe-
Not sure why that's happening. Haven't changed that part since the initial release for IP.Board 3.0. Can you show me an example of how that mail looks like?

#53 xecute

    Member

  • Members
  • PipPipPip
  • 21 posts
  • IPB Version:v3.0.x

Posted 13 February 2010 - 12:40 AM

Well I have written so it looks like a proper personal email mesage.

This means I actually get people responding now.
However when they respond back the message looks like this:

---
Hi, miko Kind of noticed that you've not been on The Serious Sounds Forums for a bit of time now and felt that you may be missing out, that's why I'm sending you this quick short email. Hope you're doing well with your music productions since we last saw you and life is treating you well. Many things on the site have changed lately and you should check it out again to have a look when you get the time! I think you may be happy with the changes we made recently since you last visited (new design, features & sections etc). There's also lots more new music production tutorials, information, help & advice you may be interested in checking out. Anyway, hope to see you on the site soon. By the way, If you don't remember your password, you can request it here: {lost_pass} Best wishes from all The Serious Sounds Network Staff. -xe- {site_url}
---

But in my email setup it is written like this:

---
Hi, {member_name}

Kind of noticed that you've not been on The Serious Sounds Forums for a bit of time now and felt that you may be missing out, that's why I'm sending you this quick short email.

Hope you're doing well with your music productions since we last saw you and life is treating you well.

Many things on the site have changed lately and you should check it out again to have a look when you get the time!

I think you may be happy with the changes we made recently since you last visited (new design, features & sections etc).

There's also lots more new music production tutorials, information, help & advice you may be interested in checking out.

Anyway, hope to see you on the site soon.

By the way, If you don't remember your password, you can request it here:

{lost_pass}

Best wishes from all The Serious Sounds Network Staff.

-xe-

{site_url}
---

So as you can see {member_name} does work for me, just {lost_pass} and {site_url} along with paragraphs/sentences do not.

The weird thing is I use Micheal's Anniversary & Birthday greeting scripts and they seem to parse alright.
As I say though, this may be an isolated case & simply something i am doing wrong with my server setup, I honestly don't know.

I've actually hijacked an old inactive members account to see the next time when it runs if I get the same message as those quoted in replies. So I'll make another response later when I actually get a direct copy to my inbox to know for sure. As perhaps the GMail system is just removing the formatting when quoting somehow. I'll let you know with an update when I know.


P.S. thanks for new version. Although I had no problem with old one yet. Still sending 50 emails out once every 2hrs ;) But I shall upgrade anyway. This is a great Application, you should maybe consider it final and a payment/commercial application from now on (except for us early adopters keep it free, heehee - I got no money atm).

Edited by xecute, 13 February 2010 - 12:56 AM.


#54 xecute

    Member

  • Members
  • PipPipPip
  • 21 posts
  • IPB Version:v3.0.x

Posted 13 February 2010 - 01:22 AM

K, Just got that email I set-up to get it direct.

Here is the problem as far as it concerns me:

The subject is actually the body content and the body content is being used as the subject header.

That is why it is not working right, as far as I can tell (I'm no expert)


I can provide screenshot (few secs).....

Attached File  Untitled_3.gif   31.26K   0 downloads

^ Remember I have password recovery & forum URL hand/hard coded now.

As you can see the subject is the body content and the body content is the subject!
They seem to be the wrong way around.
(I hope I am right as I know it sound stupid, but that is what it looks like to me).


P.S. this is before upgrade to 1.1.1 - So may fix it?


UPDATE: tested with 1.1.1 and same problem of subject & body being the wrong way around in sent emails.

On another note: I noticed you have log clean-up/delete old messages now in new version with scheduler? that is good. I was wondering about that as logs where getting quite long & I couldn't see how to clean them.

Edited by xecute, 13 February 2010 - 02:07 AM.


#55 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 13 February 2010 - 12:25 PM

Fixed that issue, so v1.1.2 it out.

#56 xecute

    Member

  • Members
  • PipPipPip
  • 21 posts
  • IPB Version:v3.0.x

Posted 13 February 2010 - 12:57 PM

Nice 1, thank you. ;)

#57 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 13 February 2010 - 01:33 PM

If you downloaded v1.1.2 prior to this post, you will not be notified that there's an upgrade available in your ACP. This should not lead to any issues, and there's no need for those of you who've already uploaded the files to re-upload them.

#58 xecute

    Member

  • Members
  • PipPipPip
  • 21 posts
  • IPB Version:v3.0.x

Posted 14 February 2010 - 03:56 AM

Just a quick note to say I've re-tested this again with the new 1.1.2 version direct by hijacking an inactive members account and it is now working perfect as far as I can tell.

All tags working and body/subject in correct place in emails.


Great work. thanks yet again.

#59 terabyte

    Coder

  • Modders
  • PipPipPipPipPip
  • 148 posts
  • Location:Italy
  • IPB Version:v3.1.x
Contributor

Posted 27 February 2010 - 06:50 PM

The setting "Just notify once?" for the task "(IM) Notify Inactive Members" is not used anywhere in the code from what I can see.


Also I'm not clear on the options "yes, no, ignore"; what is supposed to do the option "ignore"?

#60 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 27 February 2010 - 07:09 PM

Seems to be option that disappeared during the 3.0 upgrade. Not sure why it did, but it might have been one of those options that didn't work exactly as planned.

For the options, this is how they were planned to work
  • yes - Only notify a member once
  • no - A member can be notified several times, with the setting below in use
  • ignore - Don't care about anything. A member can be notified several times regardless of anything

I think the issue with this was in 2.3. If you changed the settings, you had to run a SQL query to reset the DB values for that settings, which may be why I removed it.
Now that I've bundled my tasks, I think more people are tempted to use at least two of then. One to notify the member, and one to move the member to another group, and then set the notify task to ignore the members of that group.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users