Version: 1.00, by 2root4u
Developer Last Online: Aug 2006
Version: 2.3.x
Rating:
Released: 03-10-2003
Last Update: Never
Installs: 6
Is in Beta Stage
No support by the author.
Here is a copy of my donation hack. It does not have a pretty install or admin control panel config.
It features:
- Unlimited/Customizable donation brackets and titles
- Donation titles in all posts below username
- Donation titles next to names in member list
- 'Top Donators' listing in member list
Here you go...try at your own risk
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I think something like this has already been done...its called the controbutor hack.
When I seen the donation hack I was like great! I kind want something that will allow members to donate and use paypal IPN to send back that they donated and how much they donated then list a top donators list and how much they donated.
Also when donating they would have the option of not being added to the top donator list ..
Originally posted by chad777 I think something like this has already been done...its called the controbutor hack.
When I seen the donation hack I was like great! I kind want something that will allow members to donate and use paypal IPN to send back that they donated and how much they donated then list a top donators list and how much they donated.
Also when donating they would have the option of not being added to the top donator list ..
Wish I had seen that earlier...however in the end, my hack better suits my needs because it allows for different titles based upon the amount donated. Thanks for the info!
to get everything to compile and work correctly. It must have something to do with declaring the globals in the body of function getpostbit. My version didn't like it where you suggest to put it!
I get this error when i try to few the memberlist:
Database error in vBulletin 2.3.0:
Invalid SQL: SELECT *,5+0 as 5
FROM user,userfield
WHERE 1=1 AND
user.userid = userfield.userid
AND usergroupid NOT IN (1,3,4)
ORDER BY username ASC
LIMIT 0,30
mysql error: You have an error in your SQL syntax near '5
FROM user,userfield
WHERE ' at line 1
mysql error number: 1064
And in the postbit no matter what amount of donation I put in, it always shows up as *Diamond Donator*
Something is wrong with this part of the code:
PHP Code:
$users=$DB_site->query("SELECT *,$donationfield+0 as $donationfield FROM user,userfield
WHERE $condition AND
user.userid = userfield.userid
".iif($memberAllGood, " AND usergroupid NOT IN (1,3,4) ", "")."
ORDER BY $orderby$direction LIMIT ".($limitlower-1).",$perpage");
Today at 11:55 AM Lethal said this in Post #15 I get this error when i try to few the memberlist:
Database error in vBulletin 2.3.0:
Invalid SQL: SELECT *,5+0 as 5
FROM user,userfield
WHERE 1=1 AND
user.userid = userfield.userid
AND usergroupid NOT IN (1,3,4)
ORDER BY username ASC
LIMIT 0,30
mysql error: You have an error in your SQL syntax near '5
FROM user,userfield
WHERE ' at line 1
mysql error number: 1064
And in the postbit no matter what amount of donation I put in, it always shows up as *Diamond Donator*
Something is wrong with this part of the code:
PHP Code:
$users=$DB_site->query("SELECT *,$donationfield+0 as $donationfield FROM user,userfield
WHERE $condition AND
user.userid = userfield.userid
".iif($memberAllGood, " AND usergroupid NOT IN (1,3,4) ", "")."
ORDER BY $orderby$direction LIMIT ".($limitlower-1).",$perpage");
I moved stuff around but couldn't get it to work.
I am running 2.3.0
Little help plz
In $donationfield, specify it as "field5" and not just "5". That should fix it.
Ok that fixed the error, but now it shows up in the postbit but not the memberslist. I double checked the changes in memberslist.php and the templates and everything is ok but it won't show up. The top donators link is there but the label isn't.
Today at 01:28 PM Lethal said this in Post #17 Ok that fixed the error, but now it shows up in the postbit but not the memberslist. I double checked the changes in memberslist.php and the templates and everything is ok but it won't show up. The top donators link is there but the label isn't.
??
The only thing I can think of is either:
- You don't have '$post[donationtitle]' in your postbit
OR
- You don't have the correct code in functions.php
OR
- You are using a different version of vb