The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Security token issue with custom form
I have the following form:
HTML Code:
<form action = "steamconverter.php" method = "post"> <b>SteamID:</b> <input type = "text" name = "STEAMID"> <input type = "submit" value = "Convert to community ID"> <p><i>Or</i><p> <b>CommunityID:</b> <input type = "text" name = "COMMUNITYID"> <input type = "submit" value = "Convert to STEAMID"> </form> Edit: Ok I did some digging and it turns out this has to be placed somewhere: HTML Code:
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
--------------- Added [DATE]1273185471[/DATE] at [TIME]1273185471[/TIME] --------------- Nevermind, I've got it, if anyone wants to know I solved it by placing this at the very start of my form: HTML Code:
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|