The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have this inside FORUMHOME <!-- member logout --> as part of a PayPal Button Form:
Code:
<table> <tr><td><input type="hidden" name="on0" value="PayPal Annual Subscriptions:">PayPal Subscriptions:</td></tr><tr><td><select name="os0"> <option value="Subscribe">Subscribe $20.00 USD</option> <option value="Donate">Donate $50.00 USD</option> <option value="Sponsor">Sponsor $100.00 USD</option> </select> </td></tr> <tr><td><input type="hidden" name="on1" value="Enter your User Name">Enter your User Name</td></tr><tr><td><input REQUIRED type="text" name="os1" maxlength="200"></td></tr> </table> Using $vbulletin->userinfo['username'] I would like the logged in username to appear in the form. This section of FORUMHOME <!-- member logout --> Is only shown to logged in users so the variabe $vbulletin->userinfo['username'] should be true and active. This would take the shopping cart order over to PayPal and insert the true username into PayPal's order, rather than user allthumbs typing it himself. How do I get userinfo['username'] into the form text line? (vBulletin 3.8.9 Patch Level 1) |
#2
|
||||
|
||||
![]()
Try this:
Code:
<input type="text" name="os1" value="$bbuserinfo[username]" maxlength="200" required /> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|