vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Send PM to user after 60 days? (https://vborg.vbsupport.ru/showthread.php?t=276041)

dbode 12-27-2011 08:15 AM

Send PM to user after 60 days?
 
Hi folks,

is it possible to send an PM to each user when he's registered for 60 days? We have some different usergroups and I want to notify them that they are in the new usergroup now.

Best regards,
Dennis

dbode 12-28-2011 04:30 PM

No one?

kh99 12-28-2011 04:40 PM

It's possible but I think you have to write php code to do it. You could create a scheduled task script do it, but I think you'd need some field in the database to keep track of whether or not the PM had been sent for each user (maybe a custom profile field would work).

I guess you're probably using a promotion to add the group? Then maybe another way would be to hack the promotion code to send the message when it happens. Edit: Actually someone has done it for vb3.6: https://vborg.vbsupport.ru/showthread.php?t=140629 and if you look near the end of the thread, someone has posted a change to allow it to work with 3.8, so you might try it with a 4.X version (assuming the "PM on promotion" option applies to your situation).

dbode 12-29-2011 07:57 AM

Hi KH99, thanks for your answer, I will take a look in the thread right away!


All times are GMT. The time now is 02:17 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.00920 seconds
  • Memory Usage 1,711KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete