The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
Quote:
It's not that hard and we all started once. We'll even help you if you have specific questions... |
#3
|
|||
|
|||
: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 |
#4
|
||||
|
||||
Quote:
Quote:
|
#5
|
|||
|
|||
tried 1119383100 (for 06/21/05 15:45) instead of TIMENOW, but it still creates the topic instant ?!
|
#6
|
||||
|
||||
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. |
#7
|
|||
|
|||
ah i though it's possible to change the poststarttime so that it will create a topic on a specified date+time ?
|
#8
|
||||
|
||||
No, that's certainly not possible.
|
#9
|
|||
|
|||
but i already saw it in a forum ok but i could try it with a vbcron
.. |
#10
|
||||
|
||||
Quote:
You'd basically save it in a different table and copy it to the thread table with vBCron |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|