View Full Version : How Do I Prefill the Subject for a New Post?
Halo 2 Forum
01-24-2005, 09:55 PM
What I want to do is add a parameter to the query string like this:
http://www.xyz.com/newthread.phtml?do=newthread&f=ForumID&subject=NewThreadSubject
and then echo it out in the "Title" input box on the "New Thread" page, but I can't get it to appear.
Any ideas?
Thanks for your time.
sabret00the
01-26-2005, 01:48 PM
in the template, find the input box and put value="$_GET['subject']"
worst comes to the worst, you'll have to edit the globalize() in the file to allow subject, but you should be ok.
detalhe
04-13-2005, 08:18 PM
in the template, find the input box and put value="$_GET['subject']"
worst comes to the worst, you'll have to edit the globalize() in the file to allow subject, but you should be ok.
Hi
I'd like to keep the same thread's subject by default unless one decides to change it. I think your reply does it, but where do I make these changes? :nervous:
Halo 2 Forum
07-04-2005, 11:15 PM
What would the globalize() edit look like. I'm really not sure what to do and I don't want to royally mess this thing up.
Thanks for the help.
Halo 2 Forum
07-16-2005, 04:44 PM
I get an eval error when trying to add value="$_GET['subject']"
Marco van Herwaarden
07-16-2005, 08:25 PM
Remove the single quotes.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.