![]() |
This is a modification of MarkB's Mark User As Contributor hack. It allows for 4 different tiers of Contributors based on what you set for donation limits for each tier.
It also allows the user to have the option of being listed as a "contributor" and not be listed in the various levels. Some of my users are happy to show that they support the site, but know their wife/husband won't be happy if they saw they were a platinum donator and such :p Updated 1/13 To fix bugs in install file once again |
Sorry Already found a bug in the dang thing :(
The attachment has been fixed. If you've already downloaded it all you gotta do is change: member.php if ($userinfo[showdonation]!="1") { to if ($userinfo[showdonation]!="1" and $userinfo[donator]) { and the admin/functions.php if ($post[showdonation]!="" and $post[showdonation]!="1") { to if ($post[showdonation]!="" and $post[showdonation]!="1" and $post[donator]) { |
Looks like pretty work, Great improvment
|
good work
|
nice we are using V1 of it right now, a demo of V2?
|
Hi,
Looks like a great hack but I am having a problem installing I am getting this error: PHP Code:
Any ideas as I really want this hack! Managed To Fix This By Removing The Second `Donation` Bit In The Code (Hope This Helps Someone) Cheers and Merry Christmas, |
Yep, right. there is additional 'donator' in the script :p which should be removed.
|
Hi, different problem this time!
In the installation guide it says to find this in admin/functions.php: PHP Code:
Cheers, |
Another problem: Where do we define the variables
PHP Code:
And please be aware that you might have installed some other hack, so just by replacing a whole sql query (like user update/insert), you might get into trouble. So only add the 'donator' and 'donation' appropriately in queries. |
[QUOTE]Originally posted by JohnBradshaw
Hi, different problem this time! In the installation guide it says to find this in admin/functions.php: PHP Code:
Cheers, |
All times are GMT. The time now is 06:29 AM. |
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:
|