vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to Make Email Notification Automatic? (https://vborg.vbsupport.ru/showthread.php?t=41072)

Heineken77 07-14-2002 10:31 PM

How to Make Email Notification Automatic?
 
I'm wondering how I would go about making new registrant's options automatic. For example, when someone registers, how can I make Email Notification when PM'd and when a thread is replied set to automatic. They can turn them off if they want, but for those who don't bother too much with the details of the settings, just to make it easier for new users of vB to have these things all set automatic?

Sorry if I didn't explain that correctly, I hope you understand what I mean.

Thanks!
Sincerely
Heineken

Martin CX 07-14-2002 10:42 PM

It's not hard. Locate this in the proper registration-templates:
Code:

<tr>
        <td bgcolor="#DFDFDF"><normalfont><b>Send you an email when you receive a Private Message?</b></normalfont></td>
        <td bgcolor="#DFDFDF"><normalfont>
                <input type="radio" name="emailonpm" value="yes"> yes
                <input type="radio" name="emailonpm"value="no" checked> no
        </normalfont></td>
</tr>

Now replace it with:
Code:

<input type="hidden" name="emailonpm" value="yes">
That way all new users will receive emails when PMed, but can disable it if they please. Just do the same with the other preferences you want to fix.

I do the same (with time zones and other stuff) a lot of users get confused with the many options.

Heineken77 07-15-2002 10:18 PM

Nice :) Thank you very much!


All times are GMT. The time now is 02:16 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.01094 seconds
  • Memory Usage 1,710KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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