Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Bills PayPal Donations Lite - 4 Details »»
Bills PayPal Donations Lite - 4
Version: 4.00, by Billspaintball Billspaintball is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.x Rating:
Released: 02-19-2010 Last Update: 02-19-2010 Installs: 60
Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

Hack Description

This hack is the easiest way to add the ability to accept PayPal donations for your site.
You simply upload 2 php files, and a couple of images and then import the product XML and thats it!
No messing round with template edits or anything like that, its all done for you!


Some features of this hack are:
  • No need to modify or edit any vB files!
  • Automaticly adds 'Donate' link on Navbar next to the FAQ link if desired.
  • Simple once off setup in the Admin Control Panel.
  • All PayPal settings such as preferred currency are set in the Admin CP.
  • The Donors forum username is on the emailed receipt from PayPal.
  • People do not have to be registered on your site to donate.
  • You and toggle the PayPal Verified seal on or off.
  • Works with default IE settings!
  • Configurable Thank you page for donors
  • Default / suggested donation amount if desired
  • Fully Phrased
Well thats about it for the moment. I may add more features later, if there is a demand for them.

Please note that you have to have either a Business or Premiere PayPal account, else you will need to upgrade to one of these before you can accept donations. Its easy to do, just follow the guide on the PayPal site.

Also note that this is a product, not a plug-in. You must import it using the import product feature in the Admin CP.

I will try and offer support, but work and family commitments mean I don't have much free time.

This script has been confirmed as working on
  • vB 4.01


Known Bugs
  • None


Change log

Version 4.00 (20th Feb 2010)
  • First release for vB 4.*
  • Will only work with vB 4.* or newer


Click on Install
If you have this script installed then please click on the install link because;
  • You will get notified if any security issues are reported.
  • You will get notified when there are any upgrades to this script
  • It gives me a warm fuzzy feeling and motivates me to develop more

IMPORTANT
This is my first real conversion for vB 4.x and as such probably contains some bugs.
I would recommend testing on a test forum first.

Download Now

File Type: zip bppl400.zip (19.7 KB, 323 views)

Screenshots

File Type: jpg admincp.jpg (146.7 KB, 0 views)
File Type: jpg donate.jpg (70.4 KB, 0 views)
File Type: jpg donated.jpg (36.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
too_cool_3, Zero13

Comments
  #12  
Old 02-21-2010, 04:45 AM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bouncer222 View Post
Well it's nice seeing all these donating mods coming out... But the BIG feature they are ALL lacking is the donator bar, IT MOTIVATES people to DONATE.

Without it, a donate button is nothing if the user doesn't know what the goal is or what the site wants.
Amen. I never thought it'd be such a hard concept but it seems like everyone that's been coding these keeps duplicating without bringing out new features that we are all missing from Cyb - Paypal Donation module in 3.8
Reply With Quote
  #13  
Old 02-21-2010, 07:18 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One of the major issues with previous paypal donation "thangs" where there was a leaderboard of paypal donatees...

Was the link grabbed the donation amount before hitting paypal, so forum owners get notified of a donation and then the connection fails for the user, or they have insufficient funds, or they change their mind... and the reality of what got donated bears little resemblance to actual donations.

If someone can code such a mod , I will install it right away, for now this is on my "tagged" list, because of the work the coder has done.

So well done mate. I hate seeing threads detract from what you have done, into begging messages for what they want.
Reply With Quote
  #14  
Old 02-21-2010, 09:49 AM
rajubd rajubd is offline
 
Join Date: Jun 2009
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it will be perfect if you add target amount for this month in navbar below
Reply With Quote
  #15  
Old 02-21-2010, 10:20 AM
Billspaintball's Avatar
Billspaintball Billspaintball is offline
 
Join Date: Sep 2003
Location: Bathurst, Au
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by venom2124 View Post
Great work better than what I had. Thanks.
Thanks
Quote:
Originally Posted by Bouncer222 View Post
Well it's nice seeing all these donating mods coming out... But the BIG feature they are ALL lacking is the donator bar, IT MOTIVATES people to DONATE.

Without it, a donate button is nothing if the user doesn't know what the goal is or what the site wants.
This was designed as a basic one that does not make any database changes, hence no things that require databases to function correctly, such as goals in this version.

Its not designed to suit everyones needs, It's a basic one that is light and easy for anyone to install and use.

Quote:
Originally Posted by meissenation View Post
Amen. I never thought it'd be such a hard concept but it seems like everyone that's been coding these keeps duplicating without bringing out new features that we are all missing from Cyb - Paypal Donation module in 3.8
Its not a hard concept, its just designed for a different market that what you (or I for that matter) require.
Truth be told, its not the one I use on my own site, I have ported this from Vb 3.x to give me experience in Vb4 before I tackle anything more complex, more than any other reason.

Quote:
Originally Posted by TimberFloorAu View Post
One of the major issues with previous paypal donation "thangs" where there was a leaderboard of paypal donatees...

Was the link grabbed the donation amount before hitting paypal, so forum owners get notified of a donation and then the connection fails for the user, or they have insufficient funds, or they change their mind... and the reality of what got donated bears little resemblance to actual donations.

If someone can code such a mod , I will install it right away, for now this is on my "tagged" list, because of the work the coder has done.

So well done mate. I hate seeing threads detract from what you have done, into begging messages for what they want.
Thanks

And thanks for bringing this point up.
Your spot on with the issue about how to deal with donations that fail for various reasons.

Its a little complex to get around this, as you have to get the response from the paypal webserver before the data is submitted into the database if you want to avoid false results.
This is also an important consideration if you want auto group changes for donors as well.

Its certainly doable, infact Its the way I receive donations on my live website. (Before anyone asks, its not polished, only has the features I want, and has a couple of bugs so was never released as a mod).

But thats getting off topic for this mod I guess.
Reply With Quote
  #16  
Old 02-21-2010, 05:15 PM
Gene Steinberg Gene Steinberg is offline
 
Join Date: Dec 2006
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a simple request: Instead of putting the Donate link in the nav bar, why not as a tab instead, which I think would be more prominent? Another PayPal mod does that. How about it, at least as an option?

Peace,
Gene
Reply With Quote
  #17  
Old 02-21-2010, 06:13 PM
Billspaintball's Avatar
Billspaintball Billspaintball is offline
 
Join Date: Sep 2003
Location: Bathurst, Au
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gene Steinberg View Post
I have a simple request: Instead of putting the Donate link in the nav bar, why not as a tab instead, which I think would be more prominent? Another PayPal mod does that. How about it, at least as an option?

Peace,
Gene
I can add this as an option for the next release.
Reply With Quote
  #18  
Old 02-21-2010, 06:22 PM
Gene Steinberg Gene Steinberg is offline
 
Join Date: Dec 2006
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Super.

Also an option to change the title, under New Donations.

Right now we have:

The Paracast Community Forums - BPPL Donations

I don't mind your name there, but I'd like to be able to change the former to The Paracast, so we can link to that page from other areas of the site.

Is there a hack that would let us do that now?

Peace,.
Gene
Reply With Quote
  #19  
Old 02-22-2010, 08:57 AM
Billspaintball's Avatar
Billspaintball Billspaintball is offline
 
Join Date: Sep 2003
Location: Bathurst, Au
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gene Steinberg View Post
Super.

Also an option to change the title, under New Donations.

Right now we have:

The Paracast Community Forums - BPPL Donations

I don't mind your name there, but I'd like to be able to change the former to The Paracast, so we can link to that page from other areas of the site.

Is there a hack that would let us do that now?

Peace,.
Gene
You can chage it by changing a phrase in the XML file and reimporting with overwrite selected.

Like 253 or thereabouts, just change "- BPPL Donations" to whatever you like.
Might be an idea to increment the date field by 1 as well.
PHP Code:
<phrase name="bppl_pagetitle" date="1265936461" username="Bill" version="4.00"><![CDATA[- BPPL Donations]]></phrase


I will change this in the next release to just read "Donations" I think.
Reply With Quote
  #20  
Old 02-22-2010, 12:29 PM
Gene Steinberg Gene Steinberg is offline
 
Join Date: Dec 2006
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Two questions.

1. Can I change the CDATA or whatever that refers to the forum name to something else? I tried just replacing that string and it didn't work.

2. This isn't your fault I'm sure since it happened before I installed your mod. But since upgrading from 4.0.1 to 4.0.2, I get a peculiar error message when installing or removing a mod.

See the attachment for what I'm referring to. Any clues what I should do to fix that?

Peace,
Gene
Attached Images
File Type: png Screen shot 2010-02-22 at 7.26.36 AM.png (82.6 KB, 0 views)
Reply With Quote
  #21  
Old 04-30-2010, 10:16 PM
encryption's Avatar
encryption encryption is offline
 
Join Date: Sep 2005
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed and it went ok. I did have to edit the bbpl_main template and replace two instances of this:

{$vbulletin->userinfo[username]}

with this:

{vb:raw $vbulletin->userinfo[username]}

I also had to do it once in bppl_donated.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05389 seconds
  • Memory Usage 2,361KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete