![]() |
Beta Donation Hack
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 :) |
Nice, very useful.
Does it work with PAYPAL or other solutions? Can you post some screenshots please? |
Quote:
|
Sounds good 2root4u - thanks for releasing :)
- miSt |
Memberlist screen shot.
|
Thread screenshot with donation title.
Note that the donation title is customizable. On these examples I am using the <span> tag to change the background to black. You could make the donation titles as simple text or <img> to icons or whatever you want. |
Why have you concealed the name and URL of your site?
|
Quote:
And yes, the site is running on a licensed copy of VBulletin. |
Cool, thanks for releasing this. I'll prob test it out :)
|
I"m curious about your website, I know the 'logo' in the corner... can you pm a link? I'm a member.
Thanks Dave MoM |
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:
|
Worx a treat fella.
Managed to get it working just right:) Used a few icons,looks nice now many thanx for the Mod,and your work [high]* Funkie clicks install[/high] |
How many queries does this hack add to postbit and member profile?
I know the "contributor hack" uses 1 in the postbit, is it the same here? I'd like to use this one because of the multi-levels and just wanted to check before install... -Jason |
Anyone? :)
|
Maybe on extended vacation? ;)
|
Yeah, there is a donation Hack already released... I have it running on my forums, as do some other forums, such as Yaxay. However, this donation hack seems to be a lot more feature rich :)
|
worked perfect in 2.2.6
|
i added something for the leeches, check it out
PHP Code:
|
Will this work on 2.2.9 ?
|
Quote:
LOL good one |
Ok i may be missing something here but how exactly does this work? :)
All the best - miSt |
Quote:
i would assume that it would work on 2.2.9 |
can you put images instead of titles?
|
(post #21)
Yes you can |
Quote:
|
Just a quick dumb question, but how do you add a profile field?
|
All times are GMT. The time now is 02:45 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:
|