![]() |
Auto-create topic?
hi there,
i'm looking for a hack, that can create topics on a specified time/date. i want to create the topic before and set the time when it should be posted into a forum.i hope you understand what i mean ;) is there already any released hack? i already tried the search, but just got this hack: https://vborg.vbsupport.ru/showthread.php?t=80770 but this won't work and does not seem to be the hack i need. Lee edit: just found this one: https://vborg.vbsupport.ru/showthread.php?t=61030 but i'm not able to create my own phpfile/hack because i don't know anything about php ;) |
Quote:
It's not that hard and we all started once. We'll even help you if you have specific questions... |
:ninja:
ok i got this code from the other topic: PHP Code:
ok when i run the .php file in my browser i get a blank page, and the topic was created in forum with id 84. ok so far it's ok ;) but i want to change the userid,forumid,$post[title],$post[message] and $post[poststarttime] through a form in the adminpanel. so that ONLY administrators can pre-create their topics. what's the format for the $post[poststarttime]? instead of TIMENOW i want to use a specified date and time. thanks for help :) Lee |
Quote:
Quote:
|
tried 1119383100 (for 06/21/05 15:45) instead of TIMENOW, but it still creates the topic instant ?!
|
It will always create the Thread instantly, no matter what poststarttime is set to - it will just show up to be created at this time.
If you want it to be hidden until a certain point in the future, you will have to set it to be hidden and have a cron-job to make invisible threads show up when the time has passed. |
ah i though it's possible to change the poststarttime so that it will create a topic on a specified date+time ?
|
No, that's certainly not possible.
|
but i already saw it in a forum ;) ok but i could try it with a vbcron ;)
.. |
Quote:
You'd basically save it in a different table and copy it to the thread table with vBCron |
All times are GMT. The time now is 07:33 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|