Hehe...
But I guess my problem is what are the correct variables. The way I'm trying to do it now, the only way to pass the variables is through the URL, correct?
On the newthread.php page, the name of the subject field is "subject". I've tried loading newthread.php?f=2&subject=test, yet the subject stays blank. But if I edit newthread.php and find the last time $subject is set to something, then after that add $subject="test", and load the page newthread.php?f=2, test IS in the subject.
To isolate the problem, in the newthread template I renamed the subject field to subject666, then loaded the page newthread.php?f=2&subject666=test. Still, the subject line was blank.
What am I doing wrong?
Quote:
Originally Posted by MarcoH64
...check how preview works...
|
Sorry, I missed that bit when I posted the reply. I'll check into that, but since you mention it, makes me wonder if it might be easier to make my hack load the newthread page
in its preview stage, rather than in its newthread stage? I guess I'm thinking that because the preview stage is designed to be already filled out, whereas the newthread stage is designed to be blank. Does that make sense?