The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How Do I Prefill the Subject for a New Post?
What I want to do is add a parameter to the query string like this:
http://www.xyz.com/newthread.phtml?d...wThreadSubject 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. |
#2
|
||||
|
||||
in the template, find the input box and put
HTML Code:
value="$_GET['subject']" |
#3
|
||||
|
||||
Quote:
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: |
#4
|
|||
|
|||
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. |
#5
|
|||
|
|||
I get an eval error when trying to add value="$_GET['subject']"
|
#6
|
|||
|
|||
Remove the single quotes.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|