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)

kevbentz 11-16-2010 01:14 PM

Quote:

Originally Posted by TalkVirginia (Post 2016892)
Looks like the extra quotes in the username are causing it. There are 2 places to change that should fix it. To fix this manually, do the following:

1. Open the reminderemail.php file in the {forumroot}/includes/cron folder
2. Scroll down and insert the following code after 361, just before the line where $sql = "INSERT INTO " is getting set:

$username = addslashes($username);

3. Save and close the file.

4. Open the inactivitylog.php file in your admincp folder
5. Scroll down to line 133 and replace it with the following line of code.

$username = stripslashes($log['username']);


That should do it. I'll upload a new zip with this fix this weekend.

I'm still getting this error and I believe it is because the value inserted into the database is $this _username and not $username:

Code:

$sql = "INSERT INTO " . TABLE_PREFIX . "inactiveuserlog (username,userid,dateline,validemail,email)
                            VALUES ('$this_username','$userid','". TIMENOW ."','$valid','$toemail')";

Error:

INSERT INTO inactiveuserlog (username,userid,dateline,validemail,email)
VALUES ('userna' me','xxx','xxxxxxxxxx','x','xxxxxxxxxxxxxxxxx');

diabolicds 11-18-2010 12:14 PM

Hi,

Working like charme with 4.08 thx installed

Cheers

RollaJedi 11-18-2010 04:55 PM

is it possible to send the contents of the email to a post each day for others to see who is missing? thank you

creativepart 11-29-2010 07:19 PM

I'm using the HTML mail and the 4 "icon" images are missing. They aren't in the download, and I can't locate them in older versions of this mod.

Anyone know the whereabouts of those images?

creativepart 11-29-2010 07:39 PM

1 Attachment(s)
Nevermind, I found some on the net. Here they are if anyone wants them. They may not be exactly the same as the originals, but they're close and named correctly. Put these in your forumroot/images/icons folder.

iyama 12-08-2010 12:16 PM

Members get a reminder already after 10 days.
Setting is on 120 days. :p

Using vb4.1 pl2

So i have uninstal it.

S3Ponline 12-10-2010 03:14 AM

Has anyone tried this on vb4.1 pl2? Does it work?

fluidswork 12-10-2010 12:28 PM

Really this will help me out ..........

sulasno 12-12-2010 04:12 AM

all of a sudden I am not getting the daily emails while in 4.0.8;
mail system is working

have updated to 4.1.0 PL2; do I need to reinstall this mod ?

onehost 12-12-2010 04:48 AM

another DOA mod?

How do i even know this works...

no test functions for admin?


All times are GMT. The time now is 06:14 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.01229 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (1)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