vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   automatic newsletter (https://vborg.vbsupport.ru/showthread.php?t=61964)

dethfire 02-27-2004 02:08 AM

automatic newsletter
 
I remember there was a hack for vb2 where it would auto email your members once a month with generated top threads and new members... blah blah, anyone have plans on making one?

joeychgo 04-06-2004 07:16 AM

Is there something like this for gold?

jluerken 04-06-2004 11:47 AM

Quote:

Originally Posted by joeychgo
Is there something like this for gold?

yeah, would be really nice

knetgummi 07-18-2004 12:08 AM

looking also for this hack, maybe their is a coder who can execute it?

greetz
knetgummi

LadyBeth 08-19-2004 11:12 AM

Really really really need this...

Osterling 08-19-2004 11:21 AM

there is this commbull..

grandeur_69 11-22-2004 02:05 PM

yea, the community bulletin (commbull) will do this ... there are still a few minor adjustments that need to be made for the events ... and, it is not automated yet ... other than that, it can do a lot for ya

grandeur_69 11-22-2004 04:50 PM

here we go guys ...

Since no one has done this whole next page thing for the sending out of emails (or i just couldn't find one), here is the solution:

In admincp/email.php

After:
Code:

construct_hidden_code('perpage', $perpage);
Add:
Code:

construct_hidden_code('auto_timer',stripslashes($_POST['auto_timer']));
After:
Code:

                                construct_hidden_code($varname, $_POST[$varname]);
                        }
                }

Add:
Code:

                $auto_timer = $_POST['auto_timer']*1000*60;
                $timeremaining = $auto_timer / 1000;
                        echo <<< TEOL
  <script language="javascript">
  <!--
  countdown = $auto_timer;
  actualcountdown = $timeremaining;
  function submit_form()
  {
    document.cpform.submit();
  }
 
  function count_down()
  {
      actualcountdown = actualcountdown-1;
            document.cpform.timeremaining.value=actualcountdown+ ' seconds remaining';
            setTimeout('count_down()',1000);
  }
  //-->


        setTimeout('submit_form()',$auto_timer);
        setTimeout('count_down()',1000);
  </script>
 
  <input type=text name=timeremaining value="$timeremaining seconds remaining">
TEOL;

After:
Code:

print_yes_no_row($vbphrase['test_email_only'], 'test', 0);
Add:
Code:

print_input_row($vbphrase['auto_timer'],"auto_timer",1,0,5);
Then, you just need to add "auto_timer" to your phrase table ... something along the lines of "Auto Redirect in X Minutes"

Bison 11-23-2004 01:34 AM

What does this do ... and is this for the commbull hack?

grandeur_69 11-23-2004 06:30 AM

no, one already exists in the commbull. this is just for the standard email program that comes with vB3 ... it's so you don't have to sit at your desk waiting to press "next page" for 2-3 hours while you send out your newsletter


All times are GMT. The time now is 01:42 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.00994 seconds
  • Memory Usage 1,731KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete