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)

buileminh 02-10-2007 03:40 AM

Quote:

$username <$email@---.---server.com>
Why is there $username and $email in my email header? I guess they must be replaced by something else, right?

enhanced 02-10-2007 05:34 AM

where do you change the email body?

lolo? 02-10-2007 06:43 AM

Quote:

Originally Posted by enhanced (Post 1178927)
where do you change the email body?

In the email template

C Braithwaite 02-10-2007 07:28 AM

Quote:

Originally Posted by PinkDaisy (Post 1178802)
So do I reinstall it or is there an update ???

just reinstall

im going to modify it so the email body and subject etc are editable in the settings soon.

Snake 02-10-2007 10:01 AM

Thanks for the update. And yeah it'll be much better if we can edit the email content and settings in the vB Options page of the ACP. :)

lolo? 02-10-2007 10:39 AM

do you tinhk it's possible to add when user is not conected for a long time and no on post acount ?

C Braithwaite 02-10-2007 01:01 PM

Quote:

Originally Posted by lolo? (Post 1179053)
do you tinhk it's possible to add when user is not conected for a long time and no on post acount ?

ill add it all in eventually.

C Braithwaite 02-10-2007 01:49 PM

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.

JawadIT 02-10-2007 02:35 PM

good work over here...

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

Zia 02-10-2007 02:42 PM

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.


All times are GMT. The time now is 05:53 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.01549 seconds
  • Memory Usage 1,743KB
  • 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
  • (4)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