The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Some help with making my mod
Okay, so I've made a form that gets sent to the administrator on submission but for one of the fields, I'd like a piece of pre-entered information.
It is for when a forum is locked, users can request the password so from the enter password page, a link will go to the form but can I make it so that the form will enter the forum that the user has just come from, automatically? Thanks in advance for any help |
#2
|
|||
|
|||
I was speaking to a friend who said that it will probably be a hidden field on the forumdisplay template or something of the likes. Anyone know what I'm supposed to do? ;>
|
#3
|
||||
|
||||
On the link to the password request page, add a variable on the end of it, for example, if the link was:
Code:
http://www.yourforum.com/password_request.php Code:
http://www.yourforum.com/password_request.php?f={$vbulletin->GPC['f']} Code:
<input type="hidden" name="f" value="{$vbulletin->GPC['f']}" /> |
#4
|
|||
|
|||
Aha. Thanks for the help ;D
Just a quick question.. where is the forum page/template that you enter the password on? Havig some trouble finding it.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|