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
I dunno if this is the right forum, but I hope it is and I hope you all can help me out - PLEASE!! :up:
--------------------------------------------- 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 BUMP! Anyone care to share their knowledge and help me out please? |
#2
|
|||
|
|||
Anyone care to help me out please?
|
#3
|
|||
|
|||
Set up a new usergroup for those who have donated, and give a rank badge for 0 posts to anyone in that usergroup. That's how I do it with my subscriptions.
|
#4
|
|||
|
|||
^ Thanks for replying ... I know that's one way of doing it, but that's just more work. I would have to manually add the member to the Usergroup - There are multiple ways of doing what I want manually, not only via Rank Image, but that's not what I want ... What I want is to implement a code so that it automatically adds the image to the member once they have Donated using the "Cyb - PayPal Donate Hack" without the need of usergroups, rank images, etc ... I do however appreciate you replying, atleast you took the time to come in here and give me your input, looks like no one else cares to help out now adays
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|