The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Ran into a bit of a problem
I'm updating a small custom hack from 3.0 to 3.5 and I seem to be having some problems with a form I'm inserting into the postbit template.
When I hit submit, the value entered into the text box should be updating two fields in the db -- the problem is its not. HTML Code:
<if condition="is_member_of($bbuserinfo, 5, 6, 7)"> <div> <form action="./modcp/gilupdate.php" method="post"> <input type="hidden" name="action" value="private204"> <input type="hidden" name="postid" value="$post[postid]"> <input type="hidden" name="userid" value="$post[userid]"> <input type="text" name="amount" size="3"> <input type="image" src="images/coin.gif" border="0" name="submit" alt="Give Gil" onClick="javascript:alert('Gil Paid!');"> </form> <br /> <br /> </if> PHP Code:
Bumping this with a pretty please! |
#2
|
||||
|
||||
/me pleads for help lol
|
#3
|
|||
|
|||
Quote:
but passing vraiables in to a script from a form you have to use the clean class Please read about here : https://vborg.vbsupport.ru/showthread.php?t=98047 Hope it helps you |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|