The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Help me start a new thread from within a script...
If a certain circumstance is true, I want a redirect to go newthread.php and have the Title and Message parts filled out with pre-determined info. How do I do this?
This will be done from one of the admincp pages (not going to say which at this time). So far, I have: Code:
if ($_POST['discussannouncement'] == '1') { define('CP_REDIRECT', $vboptions[bburl].'/newthread.php'); } else { define('CP_REDIRECT', '-------.php'); } But I'd like for the new thread page to have the Title and Message pre-filled out with the values of two separate variables. Is there a way to do this? Thanks in advance! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|