![]() |
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 .. |
Quote:
|
Nice hack, I will probably use this :)
|
Just what I needed.
I only had one issue with your install in admin/functions.php. I"m running v.2.3.0 and where you have to insert the code before $post[postdate]=vbdate($dateformat,$post[dateline]); $post[posttime]=vbdate($timeformat,$post[dateline]); I had to actually place it right before the line $datecut = time() - $cookietimeout; 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! Otherwise, thanks a bunch! Petey |
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:
I moved stuff around but couldn't get it to work. I am running 2.3.0 Little help plz |
Quote:
|
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.
?? |
Quote:
- 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 |
ok well I will go over the changes again 1 by 1 to make sure everything is right. I am using vb 2.3.0
|
I found the problem, in admin/functions.php I had:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 01:46 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:
|