vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Email Reminder for inactive users (https://vborg.vbsupport.ru/showthread.php?t=237531)

ikorolis 02-21-2013 04:56 PM

Quote:

Originally Posted by djbaxter (Post 2321661)
I'm using the newest version: 2.21

See optout-reminder.php lines 66-74:

PHP Code:

if ($result == null)
{
    eval(
standard_error(fetch_error('error_unsubscribed_already',$vbulletin->options['contactuslink'])));  

else
{
   
$db->query_write("UPDATE " TABLE_PREFIX "user SET rmoptout = 1 WHERE userid = '$userid' AND email = '$email'");
   eval(
standard_error(fetch_error('error_unsubscribe_done')));    




Added:

I fixed it, I think, by editing the product-remindermail.xml file:

At lines 216-217, FIND:

Code:

                <phrasetype name="Error Messages" fieldname="error">
                        <phrase name="error_unsubscribed_already" date="1269327058" username="administrator" version="2.0.1"><![CDATA[Our records indicate that your subscription to our mailing list has already been cancelled. Please <a href="{1}" rel="nofollow">contact an Administrator</a> if you believe you've reached this message in error.]]></phrase>

Add AFTER:

Code:

                        <phrase name="error_unsubscribe_done" date="1269327058" username="administrator" version="2.0.1"><![CDATA[You have been unsubscribed from future reminder emails.]]></phrase>
Does this look correct?

Thanks
Fixed this error

wait to new release.

smirkley 03-12-2013 02:44 AM

Like this mod, but would LOVE to figure out how to add a checkbox in user cp settings to opt-in, with the opt-out link in the email un-checking the desire to get these reminders.

Anyone got an idea?

markhendo1986 04-15-2013 03:09 PM

Having uninstalled this mod, I have been greeted with the following errors:

Database error in vBulletin 4.2.0:

Invalid SQL:
SELECT * FROM user WHERE rmEmailDate > 0 AND rmEmailCount > 0 AND userid = 0;

MySQL Error : Unknown column 'rmEmailDate' in 'where clause'
Error Number : 1054

Any ideas how to fix it?

kartheekb 04-17-2013 10:59 AM

Does this sents a BULK Mails?

As i am on shared hosting only 500 allowed for hr.

I have 1200 Inactive users around?

smirkley 04-17-2013 12:18 PM

Yes it does send bulk

Recommended with using mailqueue system.

Easy5s.net 07-25-2013 11:49 PM

work with 4.2.1???

djbaxter 07-26-2013 12:18 AM

Quote:

Originally Posted by Easy5s.net (Post 2435388)
work with 4.2.1???

Yes it does.

kandhro 09-07-2013 05:37 AM

Hello Talkvirginia
thanks for a very important mod
installed and Voted also
totally works fine , here is one thing i want get some guide about
while receiving email to a inactive user there is a unsubscription link , clicking on that shows this "Could not find phrase 'error_unsubscribe_done'."

it will be great if i can get some guide for editing this to some decent message
hope to have a guide .
Best Regards

Jokermixer 09-27-2013 03:20 PM

In vbulletin 4.2.1 it doesn't work! there are the error.

djbaxter 09-27-2013 04:13 PM

Quote:

Originally Posted by Jokermixer (Post 2448363)
In vbulletin 4.2.1 it doesn't work! there are the error.

It works fine in 4.21.

What error are you getting?


All times are GMT. The time now is 06: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.01794 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (3)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
  • (10)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