The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
I would think it is, I've be able to grab the get var using javascript but for some reason its not adding it to the input.
All edits are made in the newthread template Just below <head> I added this: Code:
<script type="text/javascript"> // this function grabs the hey from &title=hey function getUrlVars() { var vars = {}, parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) { vars[key] = value; }); return vars; } // Making life easier, cleaning text up and relevant get var var newtitle = decodeURIComponent(getUrlVars()["title"]); // this should add the hey as the inputs value but it doesn't and I'm not sure why document.getElementById("titlefromurl").value=newtitle; </script> Code:
<input id="titlefromurl" type="text" class="bginput" name="subject" |
Благодарность от: | ||
greigeh |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|