The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom page Form - Need some help
Hey everyone!
I'm currently working on a custom page that includes a form. The form will update a modified template in the database, using vbulletin's own template.php file to do so. The problem is, it requires a couple of POST request variables that I can't simply input manually. These are: Code:
<input name='adminhash' value='' type='hidden'> <input name='securitytoken' value='' type='hidden'> <input name='lastedit' value='' type='hidden'> <input name='hash' value='' type='hidden'> PS: For those interested: The reason I'm using vbulletin's own template.php file is because I've noticed that any direct changes to the database for a custom template won't actually go live on the forum. It seems that the template.php file is doing some other stuff that makes the changes go live. --------------- Added [DATE]1491871875[/DATE] at [TIME]1491871875[/TIME] --------------- I've solved most of the problems myself. Admin hash: PHP Code:
Code:
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> Code:
md5(template_un column from database) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|