The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding an Image next to Username on Postbit
Hey Guys,
I wanna make an addon to the Cyb - PayPal Donate Hack (LINK). What I want my addon to do is to add an image next to a member's username in the postbit (postbit_legacy) template after their donation has been "confirmed" by the Admin. Basically, its something similar to what the v3 Arcade Hack has done. On this hack after a user wins a Championship for a game, he/she will receive a trophy image next to their username in the postbit (postbit_legacy) template ... So bascally I wanna do this, but instead make it so that it adds the image after a user's donation is "confirmed" ... Is this possible? So far I have this ... Code:
<!-- Donation Hack Image Addon --> <if condition="DONT_KNOW_WHAT_TO_PUT_HERE"><a class="bigusername" href="misc.php?do=donlist"><img src="images/donate.gif" align="absmiddle" alt="User Has Donated!" border="0" /></a></if> <!-- /Donation Hack Image Addon --> I would place the above code after this line in postbit or postbit_legacy template (depending on which I'm using) ... Code:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> After speaking with mfyvie I was adviced ... Quote:
Well luckily the table (cybppdonate) has a "userid" field and the information inside the field there matches the current userid of the members. So now, I'm stuck and need your help. For one, I do not know how to create a variable or add one before a template. Also, how do I check a conditional on a template? How do I make a conditional? I dont have much knowledge of this stuff at all, that why I am seeking help, hopefully you all can help me. Thanks, Danny |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|