vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Inactive Users Email Reminders For 3.7.x (https://vborg.vbsupport.ru/showthread.php?t=188383)

C Braithwaite 08-16-2008 10:00 PM

Inactive Users Email Reminders For 3.7.x
 
Inactive reminder emails. This mod was designed to send out a reminder to inactive members to try and win them back. Earlier versions of this plugin have had great success, and has been installed on 1000's of forums.

This mod is a revised version of my 3.6 modification.
Someone pointed out that I needed to make a new thread in the right forum for this.

***1.2.7 Update***
Fixed the \ in the message.
Changed the way the mails are processed to try and stop duplicates
Made the bounce management monitor ALL outgoing emails
Added more stats
Added bounced email messaage viewing with management options.
***1.2.7 Update***
This update includes built in support for bouncing emails. The script will automatically detect the bounced mail, mark it as bounced so the user is not to be contacted again so as to avoid spam, and then move that user into a seperate usergroup. This plugin is still in it's testing stages, but I have addressed the bugs mentioned previously regarding the emailing side of things.

This is important so keep reading
To install this plugin and take advantage of the bounced email features you are going to need to follow these instructions very carefully. I can not gaurentee that they will work to the letter as this will be based on each persons individual hosting settings.

Step 1: Pre Install
Before you touch this product you need to do the following
  • Create an "inactive" usergroup
  • Set up a "bounce to" email address
    Pick an email address that you want to use as your bounced email address. Im using "bounce@icora.co.uk". feel free to use whatever you wish.
  • Add a email message filter
    This is the hard part. You need to set up a filter that will 'pipe' an email sent to the above email address.
    I am using Cpanel 11 and this is how i have mine set up:
    Rules: 'To' 'Equals' 'bounce@icora.co.uk'
    Actions: 'Pipe to program' with the setting: |/usr/local/bin/php /home/icora/public_html/forum/bounce.php
    This will depend entirely on your settings and structure so you may have to do a little research. It would be very helfull if people who have to use diferent configurations would post them on here.
  • Go into vBulletin options, and find the options for 'Emails'. there is a setting asking you if you want to use '-f'. set this to yes.
  • While still inn the email options set the 'Bounce Email Address' to your above address.
Step 2: Install
Remove all previous trace of this modification, and upload all the files in the "upload" folder to your base directory of the server.
Go into your product management section and add a new product. upload the XML file with overwrite selected.
Refresh your admin CP to load the new menu items. Just under the "users" group you will find an "Inactive Reminders" group. open that up and click on settings.
Play with these settings and options to suit for the most part. when you come down to the bounce settings you MUST use the same email address as the one you created above.
Set to active and save.

I must re-iterate that this version has not been widely tested, but the simulations i have ran have worked. I look forward to your feedback!


Features:
  • Select the period of time before a user is considered inactive.
  • Select how many emails to send to each inactive user per inactivity period
  • Choose weather inactivity is based on members "Last Post" or their "Last Visit"
  • Specify how often followup emails are sent
  • Specify alternative emails to send to reduce repetition
  • Keep a log of all inactive users contacted

Planned Updates:
  • More detail in reports
  • ...such as
  • Which useres returned
  • Effectivness stats
  • Email validity

**1.2.1 Update***
Added more detail to the reports section. You can now see the email address, and quickly indicate which emails were invalid. You can link directly to that user to edit as you wish.
I have fixed some errors which have been crashing people's database. Please post any problems if you can.

**1.2.3 Update***
Fixed several problems with escaping strings
Stopped database errors locking up site
***

**1.2.4 Update***
Added a "From Email" so you can specify your own email address to send the reminders from.
Fixed potential bug for people who do not use the mail queue.

Anyone having problems with sending emails out too fast, and multiple emails being sent need to consider changing their email settings in vbulletin options.
People with emails going out too fast - edit Number of Emails to Send Per Batch to a lower amount
People with multiple emails sending - edit Use Mailqueue System to "Yes, with locking"
***

**1.2.5 Update***
Added more stats in the reports page, also added a "Send test email" option so users can test the functionality of the mod
***

**1.2.6 Update***
Identical to 1.2.5, however EzBounce support added.
***

**Opps Update***
Sorry i somehow managed to not include the file in the zip. My bad.
***

samet54 08-17-2008 01:47 PM

oo thank arkadasım

Megatr0n 08-17-2008 01:54 PM

Have the initial bugs that've been reported in the 3.6 thread been fixed?

yahoooh 08-17-2008 02:09 PM

thank u very much
installed

C Braithwaite 08-17-2008 03:02 PM

Quote:

Originally Posted by Megatr0n (Post 1600723)
Have the initial bugs that've been reported in the 3.6 thread been fixed?

Yes they have.

abrecher 08-17-2008 03:46 PM

This mod is crashing my database. I had to uninstall.

taxick 08-17-2008 03:57 PM

Nice - Thanks for mod, it works fine

SwollenCranium 08-17-2008 04:03 PM

Quote:

Originally Posted by abrecher (Post 1600799)
This mod is crashing my database. I had to uninstall.



Same here.

'Disable hooks' was my only way to gain access.


Uninstalled.

Gene Steinberg 08-17-2008 04:28 PM

Just some suggestions: How about having this product email you a daily reminder report in the same fashion as the other product that performs this function?

Also, when you get a message that a member's email address is no longer valid, how about an option to automatically disable that person's membership? It beats manual, particularly when you've got several dozen or more to go through?

Peace,
Gene

Endurer 08-17-2008 04:29 PM

I have the 3.6 version installed, should I uninstall that one and install this one?

wingrider 08-17-2008 05:41 PM

There is a syntax error in your code. It brought my system down completely... Database Error. I can't even access the AdminCP. Others BEWARE before installing this upgrade.

Gene Steinberg 08-17-2008 05:50 PM

Maybe, but I haven't had any trouble at all.

C Braithwaite 08-17-2008 05:55 PM

Quote:

Originally Posted by genesteinberg (Post 1600844)
Just some suggestions: How about having this product email you a daily reminder report in the same fashion as the other product that performs this function?

Also, when you get a message that a member's email address is no longer valid, how about an option to automatically disable that person's membership? It beats manual, particularly when you've got several dozen or more to go through?

Peace,
Gene

I'm about to upload an update that does just that.. watch this space..
Quote:

Originally Posted by SwollenCranium (Post 1600814)
Same here.
'Disable hooks' was my only way to gain access.
Uninstalled.

Quote:

Originally Posted by abrecher (Post 1600799)
This mod is crashing my database. I had to uninstall.

Quote:

Originally Posted by wingrider (Post 1600885)
There is a syntax error in your code. It brought my system down completely... Database Error. I can't even access the AdminCP. Others BEWARE before installing this upgrade.

Sorry this has messed up for you guys - is there any chance you still have a copy of the email with the error? problem is, it works fine on mine so its hard to test...

Quote:

Originally Posted by Endurer (Post 1600845)
I have the 3.6 version installed, should I uninstall that one and install this one?

no.

wingrider 08-17-2008 06:14 PM

C Braithwaite, Apparently the error is coming from the content of the outgoing message, which I changed in the CP from your default message. Looking below, I see a '\' symbol in the word 'haven\'t', but it does not display that way in the MySQL database table.

Can you tell me how to remove the plugin when I don't have AdminCP access? I have FTP and PHPMyAdmin, so maybe you can tell me what file to remove to make it stop sending data to the mailqueue. Any help would be appreciated. Sorry to turn your thread into a support center. I have a ticket open with vBulletin support.

Don
--------------------------------------------------------------------------------------------

<!--
Database error in vBulletin 3.7.2:

Invalid SQL:
INSERT INTO mailqueue (dateline,toemail,fromemail,subject,message,header ) VALUES ('1219000005','lclowry@execulink.com','rvpicsmail@ sbcglobal.net','We Miss You!!','&lt;p&gt;Dear Travelin'on&lt;/p&gt;

&lt;p&gt;We haven\'t seen you check in with RVPics for a while. Your participation is very important to us. Please stop by when you have a chance.&lt;/p&gt;

&lt;p&gt;Regards&lt;br/&gt;
The Team
&lt;a href=&quot;http://www.rvpics.com/forums/index2.php&quot;&gt;RV Pics&lt;/a&gt;&lt;/p&gt;','MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
To: Travelin'on &lt;lclowry@execulink.com&gt;
From: RV Pics Reminder Service &lt;rvpicsmail@sbcglobal.net&gt;
');

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 'on&lt;/p&gt;

&lt;p&gt;We haven\'t seen you check in with RVPics for a while. Your partic' at line 1
Error Number : 1064
Request Date : Sunday, August 17th 2008 @ 01:06:45 PM
Error Date : Sunday, August 17th 2008 @ 01:06:45 PM
Script : http://www.rvpics.com/forums/index.php
Referrer :
IP Address : 75.6.163.23
Username :
Classname : vB_Database
MySQL Version :
-->

C Braithwaite 08-17-2008 06:19 PM

any feedback is great - sorry abut this... go into phpmyadmin and find "datastore" delete the entry "pluginlist" ad then you can disable the product from there.

the \ are supposed to stop the errors.. i will double check but i think i've fixed it in this version..

wingrider 08-17-2008 06:32 PM

OK, I got as far as deleting 'pluginlist'. How do I disable the product? I still can't open the AdminCP... I get: Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/init.php on line 271 on the html page.

Ross L 08-17-2008 07:05 PM

Quote:

Originally Posted by wingrider (Post 1600918)
OK, I got as far as deleting 'pluginlist'. How do I disable the product? I still can't open the AdminCP... I get: Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/init.php on line 271 on the html page.

The easiest way is to go to your config.php and just after the

PHP Code:

<?php

add this

PHP Code:

define('DISABLE_HOOKS'true); 

This disables all plugins on the site.

Then login to your ADMINCP and uninstall the product. Then just delete that line from config file and reupload it.

Gene Steinberg 08-17-2008 07:31 PM

Quote:

Originally Posted by C Braithwaite (Post 1600910)
any feedback is great - sorry abut this... go into phpmyadmin and find "datastore" delete the entry "pluginlist" ad then you can disable the product from there.


the \ are supposed to stop the errors.. i will double check but i think i've fixed it in this version..

I can't find such an entry in datastore. Where is it supposed to be. The forum is locked up tight after installing your new version. This was a bad move.

:(

wingrider 08-17-2008 07:31 PM

Back up and working (minus this plugin, unfortunately). Thanks to all for the help.

Don

Gene Steinberg 08-17-2008 07:35 PM

Quote:

Originally Posted by wingrider (Post 1600963)
Back up and working (minus this plugin, unfortunately). Thanks to all for the help.

Don

Back up here too.

But the 1.2.2 version is toxic and I will not use this product until I know it works.

One more thing: Just listing the names of people whose emails are incorrect isn't sufficient for my purposes. There ought to be a way to move those members into a new category until that's resolved.

But first fix the database problem.

Peace,
Gene

tirol07 08-17-2008 10:10 PM

this hack defect :(
admincp and forumhome I not entry. Uninstalled.

djbaxter 08-17-2008 10:24 PM

Quote:

Originally Posted by genesteinberg (Post 1600965)
One more thing: Just listing the names of people whose emails are incorrect isn't sufficient for my purposes. There ought to be a way to move those members into a new category until that's resolved.

Use the EZ Bounce Manager add-on. It works well in combination with this one.

Gene Steinberg 08-17-2008 10:31 PM

Quote:

Originally Posted by djbaxter (Post 1601054)
Use the EZ Bounce Manager add-on. It works well in combination with this one.

I would find that -- where?

All I can find in 3.7 mod is something called Auto Bounce Messages Management, which doesn't work very well.

Peace,
Gene

Barakat 08-18-2008 03:32 AM

OOOooops ,,, while trying to browse who is online ....

Quote:

Database error in vBulletin 3.7.2

Invalid SQL:

SELECT userid, username, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM user AS user
WHERE userid IN (083798','83799','83801);

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 '','83799','83801)' at line 3
Error Number : 1064
Request Date : Monday, August 18th 2008 @ 07:28:39 AM
Error Date : Monday, August 18th 2008 @ 07:28:39 AM
Script : http://www.*****.com/online.php
Referrer : http://www.*******.com/index.php
IP Address :********
Username : **********
Classname : vB_Database
MySQL Version : 5.0.37-standard-log

hotpursuite 08-18-2008 09:33 AM

This product is giving an error! 3.7.2 Harmonious.

Silver740 08-18-2008 05:09 PM

3.7.2 and this product messed up my site.

Had to do the config.php addition...go into admincp and uninstall the product.

BEWARE!

C Braithwaite 08-18-2008 07:05 PM

**Update 1.2.3**

I have updated this modification, fixing many of the mentioned bugs.
i have also fixed the plugin so it SHOULD NOT lock up your website!

Sorry for any problems people have had.

Edit - will someone confirm if the WOL page is fixed now?

Megatr0n 08-18-2008 09:39 PM

Have you tested this on your own site to ensure those same problems don't occur?

C Braithwaite 08-19-2008 05:21 AM

Quote:

Originally Posted by Megatr0n (Post 1601806)
Have you tested this on your own site to ensure those same problems don't occur?

yeah i've tested using a 3.6.8 & 3.7.2 versions. i dont have the errors, but i have much much fewer users than some, and on my 3.7.2 site it's a fresh install which was done specifically for testing this mod, and i dont get ANY errors.

I take it that as there are no reports of problems that i have fixed a lot of them?

RedTrinity 08-19-2008 08:51 AM

I just updated to the latest copy to trial on a couple of test accounts of my own, and appears to be working well... however it is sending 4 copies of the reminder email to each one. There are 2 entries for each emailed member being listed in the log, so I am assuming its sending 2 copies for each?

Either way it should be just one log entry appearing, and one copy of the email being sent out to each member.

There is no recipient name being listed with the reminder email, its blank. Also basic HTML is not working (tried to use anchor links) which would be great if it worked otherwise :)

Hope this constructive feedback helps to iron out the bugs.

Cheers.

C Braithwaite 08-19-2008 04:56 PM

Quote:

Originally Posted by GamerGirl27 (Post 1602162)
I just updated to the latest copy to trial on a couple of test accounts of my own, and appears to be working well... however it is sending 4 copies of the reminder email to each one. There are 2 entries for each emailed member being listed in the log, so I am assuming its sending 2 copies for each?

Either way it should be just one log entry appearing, and one copy of the email being sent out to each member.

There is no recipient name being listed with the reminder email, its blank. Also basic HTML is not working (tried to use anchor links) which would be great if it worked otherwise :)

Hope this constructive feedback helps to iron out the bugs.

Cheers.

This is fantastic feedback! It looks like im getting closer to the goal! I will look into this and try and resolve the issue straight away.

Gene Steinberg 08-19-2008 05:14 PM

I did get a few complaints of people getting multiple copies, and I see some duplicate listings in the logs, so perhaps there's something to test.

I've tried external bounce management products, one for 3.7, and the EZ one, which is supposed to work in 3.7, but is listed in the 3.6 folder.

Neither works, really. The latter is mostly non-functional, and the coder isn't responding to my post on the subject. The former is being distributed mostly unsupported.

Can you possibly build that feature into your product? I think it's the missing link, and the other options are failures. :(

Peace,
Gene

yahoooh 08-20-2008 01:05 AM

it send e-mail but not support unicode utf-8

C Braithwaite 08-20-2008 05:08 AM

Quote:

Originally Posted by genesteinberg (Post 1602441)
I did get a few complaints of people getting multiple copies, and I see some duplicate listings in the logs, so perhaps there's something to test.

I've tried external bounce management products, one for 3.7, and the EZ one, which is supposed to work in 3.7, but is listed in the 3.6 folder.

Neither works, really. The latter is mostly non-functional, and the coder isn't responding to my post on the subject. The former is being distributed mostly unsupported.

Can you possibly build that feature into your product? I think it's the missing link, and the other options are failures. :(

Peace,
Gene

Quote:

Originally Posted by yahoooh (Post 1602738)
it send e-mail but not support unicode utf-8

can you both give me more details of requirements?

Gene Steinberg 08-20-2008 12:35 PM

Quote:

Originally Posted by C Braithwaite (Post 1602838)
can you both give me more details of requirements?

I'd like to see something that would, if a reminder message bounced, automatically send that user a PM to update his or her email address. If it happens a second time, the member is, in addition to getting another PM, automatically moved into another usergroup (Users Awaiting Email Confirmation or whatever group you create or select).

I'm assuming here that some users would return even without the inactive message and thus see they have to update their email addresses.

This may entail a bit of work, but in terms of running a forum efficiently and keeping members up to date, it would work beautifully. It may, in further consideration, be done as a separate product, to help with a general housecleaning of a forum, in which case any bounced email to a member would trigger it.

As I said, no existing product gets the job done efficiently -- or at all.

Peace,
Gene

C Braithwaite 08-20-2008 03:27 PM

I will seriously consider doing this. As a separate project or addition to this one i expect... i expect. For the time being i will work on removing all of the bugs in this mod.

Gene Steinberg 08-20-2008 03:38 PM

Quote:

Originally Posted by C Braithwaite (Post 1603104)
I will seriously consider doing this. As a separate project or addition to this one i expect... i expect. For the time being i will work on removing all of the bugs in this mod.

Thanks. Meantime, I'll bumble along. That's what I do best. :)

Peace,
Gene

Megatr0n 08-21-2008 07:45 PM

Does this update fix all the bugs reported in GamerGirl27's post?

grahamsmythe 08-21-2008 08:44 PM

I just downloaded this update, and although the documentation shows it's version 1.2.4, version 1.2.2 is actually posted.

As far as I can make out, version 1.2.2 doesn't give you the option to change the email address of who the reminder came from

Nice product though!

Gene Steinberg 08-21-2008 08:53 PM

Quote:

Originally Posted by grahamsmythe (Post 1604027)
I just downloaded this update, and although the documentation shows it's version 1.2.4, version 1.2.2 is actually posted.

As far as I can make out, version 1.2.2 doesn't give you the option to change the email address of who the reminder came from

Nice product though!

I noticed the same thing.

Something missing here?

Peace,
Gene


All times are GMT. The time now is 07:30 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.01696 seconds
  • Memory Usage 1,864KB
  • 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
  • (2)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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