![]() |
Mark User as Contributor
Mark User as Contributor [vB3]
Coded by: assassingod Original: MarkB Thanks to MarkB for letting me port this hack to vBulletin 3 and creating the original. Description: This allows you as an administrator to mark users if they have donated to your website. You can use text/icon whatever you want by editing the phrase. It appears in postbit and the users profile:) |
Can this be done with an image? Just wondering, nice hack, was looking for something like this, I'm sure it can be done as a image but just verifying.
|
Do you mean that can you use an image? Then yes, you can by editing the phrase. (If that's not what you meant you'll have to explain again, thanks:))
|
Good job! Will install!
|
I'll use it for the ones who submit text to my library, thanks pal.
|
Don't forget to click the install button if you use this hack:)
|
Quote:
|
Good Job Assanssingod :)
|
Quote:
|
Quote:
|
I did the simple way and used this conditional in the postbit:
PHP Code:
btw this hack works if you don't want to have added features as a donator |
Okay... I tried using the <img> tags in phrases...It didn't work :(
|
Quote:
|
schweet - nice job assasingod!! :) :D
[high]* PranK clicks install [/high] Christian |
akiy - could you write a step-by-step tut about what you did?
|
totaly sweet
ill install when vB3 Gold is out ;) |
Quote:
@FastAttack did this work for you as I couldn't get it to work I put it in the postbit-legacy template but nothing shows up how did you get it to work m8 as I've had to setup aload of xtra usergroups and added this code to cover it PHP Code:
|
Its working perfectly fine.. just remember to change the Usergroup ID.
I can give you my postbit code so you can look at it. PM me l8r! :) |
when you say change the usergroup id do you mean the subscription id like when your first setup a supscription its 1 and so forth or is there something in usergroup I need to change?
a look at your postbit would be helpfull m8 if you don't mind funkie@btconnect.com |
Letme send you the postbit layout.. its pretty simple its actually not subscription id but usergroup == blablabl
anyhow code on its way |
Quote:
|
@FastAttack thx man:D
Quote:
but saying that I don't know what the code is for subscription id or even if its a condition cuz noone answered me when I asked |
Quote:
|
It'd be nice if you could mark them as different levels (like "Contributor" if they dontate $XX-$XX, "Donator" if $XX-$XX, and so on). But it's still really nice as is. I'll install it soon.
|
Quote:
First make the regular Contributor tag . Then make new field get the ID number and once more using the conditional to display the amount if that field is populated ( of course only admins would have access to input the amount there) |
Would be nice to have "Contributor page" as a VB page with header, footer, navbar ect .. with links to their profiles.
EX: Yoursite.com would like to extend its thanks to the following individuals who have helped us pay back some of our debts and expenses over the years. blaw, blaw blaw blaw...... Code:
SELECT `userid` , `username` , `contrib` |
Great hack!!
|
Quote:
|
Thanks!
|
for the image showing up in the postbit, couldnt you just use the rank feature.I set mine up using subscriptions which are automatic, and a new rank for that usergroup they entered with the $ image for rank.
|
Quote:
|
Quote:
Code:
<?php |
Contributor Page:
Upload contributors.php and upload it to your forums root directory Add the template 'CONTRIBUTORS' Code:
$stylevar[htmldoctype] Code:
<a href="member.php?$session[sessionurl]userid=$contributors[userid]">$contributors[username]</a> Find: Code:
<a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a> Code:
<a href="contributors.php">Contributors</a> - Quote:
|
Excellent addition, Steve! Good work! ;)
|
Quote:
I changed a few things: http://www.gzhq.net/forums/contributors.php |
Quote:
|
Quote:
Template: CONTRIBUTORS (in this template is Yoursite.com and Youremail@Yoursite.com) *fill in your info. Code:
$stylevar[htmldoctype] Code:
<a target="_blank" href="member.php?$session[sessionurl]userid=$contributors[userid]">$contributors[username]</a> Code:
<img border="0" src="$stylevar[imgdir_misc]/donate.gif" alt="Yoursite.com Contributors !!!" width="16" height="16"> Contributors VBroot/images/misc |
Thank you, sir. ;)
|
Looks good:)
|
Quote:
Any ideas? Thanks. |
All times are GMT. The time now is 04:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|