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)

C Braithwaite 06-24-2007 10:10 AM

1.09 was html later versions were plain text.

deezelpope 06-24-2007 10:11 AM

<i>Ohhh...do you want me to remove my post?</i>

C Braithwaite 06-24-2007 10:37 AM

Quote:

Originally Posted by deezelpope (Post 1275264)
Ohhh...do you want me to remove my post?

nope, no need.

deezelpope 06-24-2007 10:42 AM

Okie dokie.:)

Dekard 06-26-2007 06:00 PM

I just installed on 3.6.7 pl1 and its working great right out of the box. I customized the message just a bit and dialed to wait 14 days then email again in 45 days. Its a great system and I think it will help with member retention quite a bit. Thanks again.

tokenyank 06-26-2007 11:05 PM

Interesting hack... Just wondering, could a usergroup 'change' be added?

So, if email is triggered 2x, on the 2nd trigger, members get moved to 'inactive members' for 2 reasons.

1) if they haven't come back after 2 pleading emails, chances are hey aren't coming back (or their emails are no longer valid)
2) I would be able to get a better idea of just how many inactive members I have at a glance.

djbaxter 06-27-2007 02:05 AM

Use this in conjunction with the EZ Bounce add-on and it will do what you ask.

AtaPulja 06-27-2007 02:27 AM

Install

GFiSH 06-27-2007 08:17 PM

Just installed this, looks pretty good.

One question though, is it possible to have a different rule per usergroup? For example In have tagged members who have to fulfil minimum requirements to stay tagged, would be nice to have one message and rule for that usergroup, and another simpler rule for other usergroups that could just get a default "come back soon" type message. Is this possible in a later version? Or would it beasier to install a second version of this?

testebr 06-27-2007 08:20 PM

Can you add a url checker version to our vbuletin admin in next version?

C Braithwaite 06-28-2007 05:38 AM

What do you mean?

fpattberg 07-04-2007 11:45 AM

Hi.

EDITED.

Thanks.

SOLVED. SORRY MATE. I SHOULD READ BEFORE POSTING! Nice hack!

djbaxter 07-04-2007 11:47 AM

Quote:

Originally Posted by fpattberg (Post 1282579)
Hi.

I have installed this hack but it also installs this after the copyright in the footer.

Inactive Reminders By Mished.co.uk

Was that intended? If yes will I uninstall, if not how can I remove it?

Thanks.

:rolleyes:

Please READ the first post in this thread. All your questions are answered there.

bada_bing 07-09-2007 06:00 PM

Does anyone know if this works on vb 3.5.x ?

sunrise2006 07-13-2007 03:52 PM

Thank you. It's a good way to invite the inactive members to activity.

sunrise2006 07-13-2007 04:06 PM

One question:

In comment there is this note:
Quote:

a HTML email will be sent out with a custom message
But after I installed it I saw this pattern on Inactive User Reminder Emails Settings:
Quote:

Your email body - accepts $username, $userid, $email. This email is plain text.)
Now I want to know can I use the HTML code in Email message or no?

Sorry, for my bad English!

Greivog 07-17-2007 11:29 AM

Hello

When I install, I get the following when I run the script

Quote:

Inactive User Reminder Emails

db)) { exit; } error_reporting(E_ALL & ~E_NOTICE); if($vbulletin->options['reminder_active']){ $now = time(); $datetime = array(); $quantity = $vbulletin->options['quantity']; $datetime[lastpost] = $now - (60 * 60 * 24 * $vbulletin->options['inactivity']); $datetime[lastemail] = $now - (60 * 60 * 24 * $vbulletin->options['frequency']); $usergroups = explode(",",$vbulletin->options['usergroups']); if($vbulletin->options['reminder_posts']){ $result = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "user WHERE lastpost < '$datetime[lastpost]' AND emailDate < '$datetime[lastemail]' AND options & 16"); //print("SELECT * FROM " . TABLE_PREFIX . "user WHERE lastpost < '$datetime[lastpost]' AND emailDate < '$datetime[lastemail]' AND options & 16
"); $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET emailDate = '$now' WHERE lastpost < '$datetime[lastpost]' AND emailDate < '$datetime[lastemail]' AND options & 16"); //print("UPDATE " . TABLE_PREFIX . "user SET emailDate = '$now' WHERE lastpost < '$datetime[lastpost]' AND emailDate < '$datetime[lastemail]' AND options & 16
"); } else { $result = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "user WHERE lastactivity < '$datetime[lastpost]' AND emailDate < '$datetime[lastemail]' AND options & 16"); //print("SELECT * FROM " . TABLE_PREFIX . "user WHERE lastactivity < '$datetime[lastpost]' AND emailDate < '$datetime[lastemail]' AND options & 16
"); $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET emailDate = '$now' WHERE lastactivity < '$datetime[lastpost]' AND emailDate < '$datetime[lastemail]' AND options & 16"); //print("UPDATE " . TABLE_PREFIX . "user SET emailDate = '$now' WHERE lastactivity < '$datetime[lastpost]' AND emailDate < '$datetime[lastemail]' AND options & 16
"); } print("Found " . mysql_num_rows($result) . " Inactive Users.

"); while($row = $vbulletin->db->fetch_array($result)){ if(is_member_of($row, $usergroups)){ print("Sent To: $row[username]
"); $username = $row[username]; $toemail = $row[email]; $userid = $row[userid]; $bbtitle = $vbulletin->options['bbtitle']; $homeurl = $vbulletin->options['homeurl']; $forumurl = $vbulletin->options['bburl']; $hometitle = $vbulletin->options['hometitle']; eval('$message = "' . addslashes($vbulletin->options['message']) . '";'); $message = stripslashes($message); //$headers = "MIME-Version: 1.0" . "\r\nContent-type: text/html; charset=iso-8859-1" . "\r\n"; $uheaders .= "To: $username <$email>" . "\r\n"; $uheaders .= "From: " . $vbulletin->options['bbtitle'] . " Reminder Service <" . $vbulletin->options['webmasteremail'] . ">" . "\r\n"; eval('$subject = "' . addslashes($vbulletin->options['subject']) . '";'); $subject = stripslashes($subject); if($vbulletin->options['reminder_emailfooter']){ $message = $message . "Email Reminder System Provided By Mished.co.uk"; } /*if(@mail($email, $subject, $message, $headers)){ print("mailing $email (done)
"); } else { print("mailing $email (failed)
"); }*/ if(is_valid_email($toemail)){ $sentlist .= "$username "; vbmail($toemail, $subject, $message, $notsubscription = false, $from = $vbulletin->options['bbtitle'], $uheaders = '', $username = ''); } else { $failedlist .= "$username "; } } } if($sentlist == ""){ log_cron_action("No Emails to send", $nextitem); vbmail($vbulletin->options['webmasteremail'], "Inactive User Reminder Email Report", "This email shows that the product is installed and working as it should be.\n\n\nThere were no inactive users at this time.", $notsubscription = false, $from = $vbulletin->options['bbtitle'], $uheaders = "From: " . $vbulletin->options['bbtitle'] . " Reminder Service <" . $vbulletin->options['webmasteremail'] . ">" . "\r\n", $username = ''); } else { log_cron_action("Emails sent to:$sentlist. We tried to email the following users, but their email address was invalid:$failedlist", $nextitem); vbmail($vbulletin->options['webmasteremail'], "Inactive User Reminder Email Report", "This email shows that the product is installed and working as it should be.\n\n\nEmails sent to:" . $sentlist . ". We tried to email the following users, but their email address was invalid:" . $failedlist . "", $notsubscription = false, $from = $vbulletin->options['bbtitle'], $uheaders = "From: " . $vbulletin->options['bbtitle'] . " Reminder Service <" . $vbulletin->options['webmasteremail'] . ">" . "\r\n", $username = ''); } } else { print("Product is inactive at this time!"); } ?>
Done
The script dosnt sent out any emails if i run it myself or let it run itsself.

Any ideas?

Thanks

Paul

raiderlax 07-19-2007 12:36 AM

Looks good I'm going to install this now.

mathias 07-20-2007 05:39 PM

try to import I get this

XML Error: not well-formed (invalid token) at Line 1

Greivog 07-21-2007 07:19 AM

Has support finished on this mod?

C Braithwaite 07-21-2007 03:43 PM

Quote:

Originally Posted by Greivog (Post 1297209)
Has support finished on this mod?

not really -i just dont have the time for it right now.. i read everything, but dont have time to look into things.

i have a stressful life..

raiderlax 07-23-2007 07:16 PM

Does it run on 3.6.7?

cheat-master30 07-23-2007 07:20 PM

Quote:

Originally Posted by raiderlax (Post 1299475)
Does it run on 3.6.7?

I am running it on 3.6.7 with no trouble at all.

cheat-master30 07-23-2007 07:20 PM

I would also like to thank the creator of this as this modification has caused many members on my forum to return after long periods of time not visiting the forum, some who did not visit for months beforehand.

voclain 07-24-2007 04:01 AM

I only send out emails to certain usergroups...can this be done????

I can't have the email going to everyone....I have thousands and thousands of NON PAYING members...and those who do not pay....do not get to do anything on my board.

Thus....it would be sending out emails all the time???

ANY SUGGESTIONS would be greatly appreciated.

Yours,

Kirk

voclain 07-24-2007 04:34 AM

Quote:

Originally Posted by voclain (Post 1299787)
I only send out emails to certain usergroups...can this be done????

I can't have the email going to everyone....I have thousands and thousands of NON PAYING members...and those who do not pay....do not get to do anything on my board.

Thus....it would be sending out emails all the time???

ANY SUGGESTIONS would be greatly appreciated.

Yours,

Kirk

WELL..that is what you get when you install HACK late at night...hungry...and under the influnece....HOW IN THE WORLD did I miss that line in the VBADMIN saying to choose only the usergroups you want to send emails too???

CRAZY...CRAZY I tell you.

Kirk

fly 07-24-2007 11:44 AM

Any way to change the email address that is sending out the email?

yaoren 07-24-2007 03:28 PM

**Installed**

Thanks.

3.6.7 no problems :)

C Braithwaite 07-25-2007 12:24 PM

Quote:

Originally Posted by flypaper (Post 1300086)
Any way to change the email address that is sending out the email?

just change the main email address of your site

BigDog56 07-26-2007 06:23 AM

Installed the 1.11, seems ok so far. Thank you very much for a great mod!

sola 07-26-2007 03:02 PM

Is there a way to track responses to the emails sent out by this fine Mod?
Many users are responding, sure. But others don't.

It would be nice to be able to compile the list of non-respondents (for deletion or moving to a different usergroup).

Thanks.

raiderlax 07-27-2007 04:51 PM

Does it run on 3.6.8?

dricho 07-28-2007 09:15 AM

Just installed but still waiting to test...thank you so much though...very easyto install and very valuable to our forum.

LukeFX 07-31-2007 08:02 AM

This email shows that the product is installed and working as it should be.

Emails sent to: <BLANKED OUT> . We tried to email the following users, but their email address was invalid:

I only just installed and so far it has found 3 inactive users. All three seem to have invalid email addresses!

Help?!

C Braithwaite 07-31-2007 11:32 AM

Quote:

Originally Posted by sola (Post 1302256)
Is there a way to track responses to the emails sent out by this fine Mod?
Many users are responding, sure. But others don't.

It would be nice to be able to compile the list of non-respondents (for deletion or moving to a different usergroup).

Thanks.

You should edit the email to include a link to click with tracking information maybe?

Quote:

Originally Posted by LukeFX (Post 1305994)
This email shows that the product is installed and working as it should be.


Emails sent to: <BLANKED OUT> . We tried to email the following users, but their email address was invalid:


I only just installed and so far it has found 3 inactive users. All three seem to have invalid email addresses!

Help?!

looking at that report, it indicates that emails were sent to <BLANKED OUT>, and as no invalid emails have been listed, it indicates that none of the emails were invalid.

LukeFX 07-31-2007 01:03 PM

Damn, I see it now, that is confusing,

We tried to email the following users, but their email address was invalid:

that should be on another line. How can I edit the email template?

Luke

basketmen 07-31-2007 01:37 PM

Quote:

Originally Posted by deezelpope (Post 1275261)
How odd...mine came formatted...have a look...

PHP Code:

<p>Hello$username!</p>
<
p>We've noticed that you've not been active on $bbtitle for quite some time now
  and 
we miss you!</p>
<
p>Could we not tempt you back?</p>
<
p>If you don't remember your password, you can request it here: <a href="$forumurl/login.php?do=lostpw">$forumurl/login.php?do=lostpw</a></p>
<p>We hope to see you soon</p>
<p>&nbsp;</p>
<p>Kindest Regards</p>
$bbtitle
<p>&nbsp;</p>
<p>If you have received this email it is because you have elected to "allow this site to contact you via email. If you would like to opt out of future contact from this site, you can change your notification options here: <a href="$forumurl/profile.php?do=editoptions">$forumurl/profile.php?do=editoptions</a> and uncheck the box next to "Receive Email from Administrators." You must be logged in to change your options.</p>
<p><a href="$homeurl">$homeurl</a></p> 



i am using this mod 1.11 ver but user still get code like this in email


am i miss some thing how to make the email to be html generally :confused:

C Braithwaite 08-01-2007 05:51 AM

Quote:

Originally Posted by basketmen (Post 1306193)
i am using this mod 1.11 ver but user still get code like this in email


am i miss some thing how to make the email to be html generally :confused:

ver 1.11 is text only due to vbulletin's internal mailing system. i suggest a previous version if you wish to send html.

USAMustangs.com 08-01-2007 08:32 AM

I installed version 1.11 and I ran into a problem almost immediately.

I moved two old members into a test usergroup for the purposes of sending a test email. I manually ran the cron job in Scheduled Task and it showed 56 inactive members, then successfully sent the email to the two members in test usergroup. I then went and added my Registered Usergroup in the Admin CP options. I went back to manually run the cron job to send out emails to those 56 members and it said found 0 inactive users? Now it won't send out an email because it keeps saying it found 0 inactive members? So, I basically accomplished nothing.

I definitely need some help. Thanks in advance.

USAMustangs.com 08-02-2007 05:12 AM

Anyone have an idea how of what the problem could be?

Referring to my post above.

Really need some help with this.


All times are GMT. The time now is 07:46 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.04039 seconds
  • Memory Usage 1,844KB
  • 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_php_printable
  • (13)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