How do I pre-fill the Subject Line in New Thread Creation?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tyler_d
    Member
    • Aug 2006
    • 47
    • 3.6.x

    How do I pre-fill the Subject Line in New Thread Creation?

    Is there any way to construct the query string so that vBulletin pre-fills the subject line on the creation of a new thread?

    For example, a new thread being created in forum #4 looks like this:
    forum_root_dir/newthread.php?do=newthread&f=4

    But how would it have to look in order to pre-fill the thread subject with some sort of verbiage?

    I tried the following example and it does not work:
    forum_root_dir/newthread.php?do=newthread&f=4&subject=NewTitle

    Anyone got a clue on how I can accomplish prefilling the subject line through query string formatting?
    -Tyler D.
  • Lats
    Senior Member
    • Mar 2002
    • 3671

    #2
    I don't believe that's possible as the devs go to great lengths to filter out unexpected urls.
    Lats...

    Comment

    • tyler_d
      Member
      • Aug 2006
      • 47
      • 3.6.x

      #3
      thx, I hacked it myself

      It's a short LOC addition in new newthread.php to check for $_GET['subject'], then assign a value to title if it's set and if the "$_POST"'ed title value is null.
      Last edited by tyler_d; Sat 23 Sep '06, 5:51pm.
      -Tyler D.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎