vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Automatic thread postings and closings (https://vborg.vbsupport.ru/showthread.php?t=109462)

tspore 03-04-2006 11:10 PM

Automatic thread postings and closings
 
I want to have the ability for posts to be automatically created each week, and then at the end for them to be closed.
I have like 4-5 that I would want.
That would save me a lot of time. However, I have no clue how to do it. Any suggestions? Do I need a plugin?
Thanks!

merk 03-05-2006 03:14 AM

What event sets off the automatic creation? A time? If you want it at XX time per week, youll need a scheduled task.

You might not need plugins, but you will need to take a look at the Thread, Post and ThreadPost datamanagers.

There should be tutorials (at least for examples on how to send private messages) in the how-to section.

tspore 03-05-2006 03:35 AM

Thanks for the reply....
Here is what I want. I have a photography site, with a few members, and each week on Sunday's I create threads within a forum for people that put up pictures in the topics.
For example:
Weekly Bird
Weekly Marco
Weekly Pet
Weekly kids
Weekly Landscapes
Every week we get posts into those topics... It helps keep everything organized...
So instead of doing it by hand, I would like it to post:
this weeks dates - 3/5/06-3/11/06 Weekly Bird
Then some auto text like:
Show off your bird pictures this week!

And then next week we would get -
3/12/06-....

But I don't understand PHP enough to figure out how to do that by hand.
Any suggestions here?

merk 03-05-2006 05:46 AM

It would be easier to manually create them.


All times are GMT. The time now is 11:07 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.02426 seconds
  • Memory Usage 1,714KB
  • 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