![]() |
ok i got it. but it isn't user-friendly :)
i created a .php file named actopic.php, then i created a new cron via admincp. but now there are 2 problems left: 1. the cron is executed every month again (if i don't delete it before) 2. i still cannot change the values userid,forumid,$post[title],$post[message] and $post[poststarttime] in admincp ;) how can i do this? i know i need to create a new file...but problem 1 is more important. for example: i create a file named actopic_admin.php. with this file i can change the values and create a new cron, that executes actopic.php. at the end of actopic.php i would add a line that deletes the cron again. is this possible? lee |
Why are you making it that complicated?
1.) Create a CP file with Inputs for Userid, Forumid, Title, Message and Posttime 2.) Let this CP file create the threads - hidden 3). Create a cronjob that runs once every hour and makes Threads visible that are currently invisible, but according to their dateline should be visible by now and are not under moderation.. |
@kirbyde: sounds good, i'll give it a try.
ok i tried to create such a cp file...by copying & pasting from other hacks... but i don't know what is wrong ;) just tried to create such "input_rows". may anyone take a look at my php file? :( |
All times are GMT. The time now is 09:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|