Advertisement:

Author Topic: email Inactive Users  (Read 50215 times)

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 4,799
  • Gender: Male
    • i30 Owners Club
Re: email Inactive Users
« Reply #180 on: November 29, 2016, 03:53:14 AM »
You can find the database entries by looking at the install.php file, which is included as part of the supplied modification.

It may confirm what you suspect.

Offline romanos8

  • Semi-Newbie
  • *
  • Posts: 34
Re: email Inactive Users
« Reply #181 on: December 01, 2016, 11:23:43 AM »
Thanks, mow I have a new problem. How can I remove all the old users marked for deletion?

You can find the database entries by looking at the install.php file, which is included as part of the supplied modification.

It may confirm what you suspect.

Offline OtterlyAdorable

  • Semi-Newbie
  • *
  • Posts: 14
  • Gender: Female
    • The Irate Pirate | RrrrrrP Be Here
Re: email Inactive Users
« Reply #182 on: May 15, 2017, 11:01:44 AM »
This mod is exactly what I'm looking for for my board, but it doesn't work on the most recent version of SMF.  Are there any plans for updating it?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,775
    • Arantor on GitHub
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

Offline OtterlyAdorable

  • Semi-Newbie
  • *
  • Posts: 14
  • Gender: Female
    • The Irate Pirate | RrrrrrP Be Here
Re: email Inactive Users
« Reply #184 on: May 16, 2017, 12:46:16 PM »
How can I install a mod that doesn't work in my SMF version?

..... My apologies.  Not only have I read this before when I was researching it, but I totally missed this line:

Note: While emulation is active, you might see a news item at the top of the page stating that a new version of SMF is available. You can disregard this. Only pay attention to such news items when version emulation is not activated.

Offline akbora

  • Sr. Member
  • ****
  • Posts: 960
    • Anında Tepki
Re: email Inactive Users
« Reply #185 on: May 16, 2017, 02:34:55 PM »
This mod is exactly what I'm looking for for my board, but it doesn't work on the most recent version of SMF.  Are there any plans for updating it?

https://custom.simplemachines.org/mods/index.php?mod=4086

This mod can help you if I am not mistaken
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Offline OtterlyAdorable

  • Semi-Newbie
  • *
  • Posts: 14
  • Gender: Female
    • The Irate Pirate | RrrrrrP Be Here
Re: email Inactive Users
« Reply #186 on: July 17, 2017, 03:05:57 PM »
https://custom.simplemachines.org/mods/index.php?mod=4086
This mod can help you if I am not mistaken

Oh this looks great, thank you!!

Offline petewadey

  • Jr. Member
  • **
  • Posts: 122
Re: email Inactive Users
« Reply #187 on: January 25, 2018, 08:07:13 AM »
Hi,

I would very much like to use this mod, but every time I try, I just can't set the groups? I get this error message

 2: in_array() expects parameter 2 to be array, boolean given File:
/home/lrdvgak/public_html/smf/Themes/default/Admin.template.php
Line: 909

I have tried uninstalling and and reinstalling, but always the same.

Any help please?

Thanks
Pete

Online Aleksi "Lex" Kilpinen

  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,074
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: email Inactive Users
« Reply #188 on: January 25, 2018, 08:36:30 AM »
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline petewadey

  • Jr. Member
  • **
  • Posts: 122
Re: email Inactive Users
« Reply #189 on: January 25, 2018, 08:50:26 AM »
Ok. I think I understand by this that it is an SMF bug, and once a group has been selected from the drop down menu and saved, it should go away?
This doesn't seem to be the case for me? It doesn't seem to be selecting a group at all? Also, do I click on each group and save individually to add more than one group? Where should I be able to see the groups selected?
Thanks for your help

Online Aleksi "Lex" Kilpinen

  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,074
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: email Inactive Users
« Reply #190 on: January 25, 2018, 09:05:19 AM »
From what I remember, from my own tests, you will need to select all groups at one go and save. And if I remember correctly, it works as expected even though it doesn't seem like it.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline petewadey

  • Jr. Member
  • **
  • Posts: 122
Re: email Inactive Users
« Reply #191 on: January 25, 2018, 09:18:56 AM »
The only way to do that would be to highlight them, then save. Is that right? And if it has worked, surely I would have an email queue, as I have 500 odd members that would be sent the email?

Online Aleksi "Lex" Kilpinen

  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,074
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: email Inactive Users
« Reply #192 on: January 25, 2018, 09:22:43 AM »
Yeah, I don't have this installed at the moment but I think it was just a case of ctrl+click selecting the groups, and saving.

About the queue, the mod runs on a schedule - you can see it in Admin -> Maintenance -> Scheduled tasks as "emailInactiveUsers" if I remember correctly.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Suki

  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,290
  • Kaizoku Jotei
Re: email Inactive Users
« Reply #193 on: January 25, 2018, 10:56:59 AM »
That particular bug got fixed in a minor SMF release, can't remember the exact number, what version are you using?

As for the mail queue, this mod uses SMF's one, the amount of emails this mod will produce will be added to your current mail queue. You gotta be careful while tunning this mod, depending on your settings you can end up with a bunch of members ready to be deleted or none. It also doesn't automatically delete members, you need to approve their deletion first.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline petewadey

  • Jr. Member
  • **
  • Posts: 122
Re: email Inactive Users
« Reply #194 on: January 25, 2018, 11:13:19 AM »
Hi Suki,
Great mod, and I'm very keen to get it working. I'm running SMF 2.0.15 and the standard on board SMF mail queue.
Curiously, when I uninstalled and deleted the mod, then reinstalled froma fresh upload, my original setting were still in place??

Offline Suki

  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,290
  • Kaizoku Jotei
Re: email Inactive Users
« Reply #195 on: January 25, 2018, 11:24:37 AM »
Whats the exact line you got in your admin.template file?

Should look something like this one:

                                 <option value="', $option[0], '"', (!empty($config_var['value']) && ($option[0] == $config_var['value'] || (!empty($config_var['multiple']) && in_array($option[0], $config_var['value']))) ? ' selected' : ''), '>', $option[1], '</option>';


Yes, the settings will still be there, I rarely offer an option to delete them unless I build my own tables.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline petewadey

  • Jr. Member
  • **
  • Posts: 122
Re: email Inactive Users
« Reply #196 on: January 25, 2018, 11:37:19 AM »
Whats the exact line you got in your admin.template file?

Should look something like this one:

                                 <option value="', $option[0], '"', (!empty($config_var['value']) && ($option[0] == $config_var['value'] || (!empty($config_var['multiple']) && in_array($option[0], $config_var['value']))) ? ' selected' : ''), '>', $option[1], '</option>';




Sorry, where would I find this?

Offline petewadey

  • Jr. Member
  • **
  • Posts: 122
Re: email Inactive Users
« Reply #197 on: January 25, 2018, 01:00:09 PM »
Ok found it.
Reads

<option value="', $option[0], '"', (($option[0] == $config_var['value'] || (!empty($config_var['multiple']) && in_array($option[0], $config_var['value']))) ? ' selected="selected"' : ''), '>', $option[1], '</option>';

Offline petewadey

  • Jr. Member
  • **
  • Posts: 122
Re: email Inactive Users
« Reply #198 on: January 25, 2018, 05:30:32 PM »
Also, I notice my mail queue is backing up and shows page not found when I try to send. If i uninstall this mod, the post goes ok??

Offline Suki

  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,290
  • Kaizoku Jotei
Re: email Inactive Users
« Reply #199 on: January 26, 2018, 10:46:30 AM »
Is there an error in your error log?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.