Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 8 Years, 4 Months, 1 Week ago Username code?
#1
Solved: 8 Years, 4 Months, 1 Week ago
I'm making a custom upgrade page, and then I want it to be "Username : USERNAME" but I can't figure out what code to insert there?

I know that UID is {$mybb->user['uid']}, what is username?
Behöver du hjälp med någon modifikation / plugin?
Skicka ett Personligt Meddelande till mig Wink
#2
Solved: 8 Years, 4 Months, 1 Week ago
{$mybb->user['username']}...
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#3
Solved: 8 Years, 4 Months, 1 Week ago
lol fail of me.

Anyways, I'm trying to insert the code in a AlertPay Code, but obviously it doesn't work without the php tags.

Where could I possibly insert them? this is how it should look.

<form method="post" action="https://www.alertpay.com/checkout" >
<input type="hidden" name="ap_purchasetype" value="service"/>
<input type="hidden" name="ap_merchant" value="[email protected]"/>
<input type="hidden" name="ap_itemname" value="VIP Upgrade from {$mybb->user['username']}"/>
<input type="hidden" name="ap_currency" value="USD"/>
<input type="hidden" name="ap_returnurl" value="http://www.minecraftstation.net"/>
<input type="hidden" name="ap_quantity" value="1"/>
<input type="hidden" name="ap_description" value="VIP Upgrade at Minecraft Station"/>
<input type="hidden" name="ap_amount" value="6"/>
<input type="hidden" name="ap_cancelurl" value="http://www.minecraftstation.net"/>

<label><strong>Username:</strong> {$mybb->user['username']}
{$mybb->user['uid']}</label><br style="margin-bottom:5px;" />
<b>Upgrade Cost</b>: 6 $ (USD)<br /><br>
<input type="image" name="ap_image" src="https://www.alertpay.com//PayNow/29B8C86C4F674BE78C0A9BB0A89EFDC1b0en.gif"/>
</form>
Behöver du hjälp med någon modifikation / plugin?
Skicka ett Personligt Meddelande till mig Wink
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)