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)

Snake 02-10-2007 02:51 PM

Quote:

Originally Posted by C Braithwaite (Post 1179131)
Updated it so you can edit the message text/html via the options panel.
uninstall then re-import should delete the unused templates.

if you wish it to only send on visit inactivity as opposed to posting inactivity find:

PHP Code:

$result $vbulletin->db->query_read("SELECT * FROM " TABLE_PREFIX "user WHERE lastpost < '$datetime[lastpost]' AND emailDate < '$datetime[lastemail]' LIMIT $quantity"); 

and replace with:

PHP Code:

$result $vbulletin->db->query_read("SELECT * FROM " TABLE_PREFIX "user WHERE lastactivity < '$datetime[lastpost]' AND emailDate < '$datetime[lastemail]' LIMIT $quantity"); 

in remindermail.php


I will update this so you can select via admincp also, in due course.

Thanks for the update but I'm trying to send the mail every once a week. How do I do that? :D

djbaxter 02-10-2007 03:33 PM

Nice idea but not ready for prime time... too many errors to be debugged at present.

C Braithwaite 02-10-2007 03:35 PM

Quote:

Originally Posted by JawadIT (Post 1179153)
good work over here...

but shall i update every single style (emailreminder template) in my forum to edit the messege?

No, no need to do that now. ive removed the need for templates, and now you can edit the email in the admincp options

Quote:

Originally Posted by Zia (Post 1179158)
thats good idea...

why not adding the featuer to add images like sites banner or etc
also add "activation link" for "awaiting email confirmation" user group(hence this user gorup also inactive)

thnx in advance.

Clicks Install.

sounds like i need to update this into something much more than just a simple inactivity reminder..

Quote:

Originally Posted by Snake (Post 1179163)
Thanks for the update but I'm trying to send the mail every once a week. How do I do that? :D


In the options you set the frequency to 7 days.

Robru 02-10-2007 03:44 PM

The recieved email only shows the Email subject out of the ACP (Inactive User Reminder Emails) but not the Email message!

WEBDosser 02-10-2007 04:02 PM

it shows the message in the email for me?..

Robru 02-10-2007 04:31 PM

I installed the product again wth 'overwrite' , it lets show now the message too :)

WEBDosser 02-10-2007 04:37 PM

hmm.. i just followed the install and it worked first time.. the email was sent to a user that has not posted for a while and they came and posted.. in the email it just said..

"$username! We miss you!"..

C Braithwaite 02-10-2007 04:41 PM

Quote:

Originally Posted by WEBDosser (Post 1179236)
hmm.. i just followed the install and it worked first time.. the email was sent to a user that has not posted for a while and they came and posted.. in the email it just said..

"$username! We miss you!"..

mind clicking "install" then? ;) lol

but glad to see it's effective!

projectego 02-10-2007 05:22 PM

I'm trying to download the update but all see is "No files uploaded." :(

Edit: nevermind.

WEBDosser 02-10-2007 05:44 PM

Quote:

Originally Posted by C Braithwaite (Post 1179239)
mind clicking "install" then? ;) lol

but glad to see it's effective!

oops..:o clicked now. :)


All times are GMT. The time now is 06:46 AM.

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.01802 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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