vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Bills PayPal Donations Lite - 4 (https://vborg.vbsupport.ru/showthread.php?t=236380)

Billspaintball 02-19-2010 10:00 PM

Bills PayPal Donations Lite - 4
 
1 Attachment(s)
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.

Billspaintball 02-20-2010 10:16 AM

Manual Template Edit
(if using modded navbar without the default hooks)

If your using a custom Navbar (or none at all) or just want to have the link to the donations page somewhere else, just add the following code into the desired position in your template.

Code:

<!-- BPPL PayPal Donations Link -->
<a href="bppl_donate.php?">{vb:raw vboptions.bppl_titlepage}</a>

If you wish to use a button image instead, use this code
Code:

<!-- BPPL PayPal Donations Link -->
<div>
<a href="bppl_donate.php"><img src="{vb:stylevar imgdir_misc}/donate.gif" border="0" alt="{vb:rawphrase bppl_ppimagetxt}" /></a>
</div>


atgv 02-20-2010 10:18 AM

+1 reserved

Cadellin 02-20-2010 10:18 AM

Sounds like just want I need :) - I install this evening and take a look.

Have you any plans for stats tracking? E.g. how much recieved this month, monthly targets etc... I'm sure a great many people would love to see a donations mod with stats tracking :)

Jonluci 02-20-2010 10:48 AM

Quote:

Originally Posted by Cadellin (Post 1987185)
Sounds like just want I need :) - I install this evening and take a look.

Have you any plans for stats tracking? E.g. how much recieved this month, monthly targets etc... I'm sure a great many people would love to see a donations mod with stats tracking :)

yes that would be great.
Also are the Donors moved to a different group on successful completion?

pablete 02-20-2010 01:50 PM

Quote:

Originally Posted by Jonluci (Post 1987200)
Also are the Donors moved to a different group on successful completion?

This is interesting....

venom2124 02-20-2010 03:04 PM

Great work better than what I had. Thanks.

ChopSuey 02-20-2010 03:47 PM

Pretty neat but i'll wait for VSa paypal donate :D insallted :)

Bouncer222 02-20-2010 05:46 PM

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.

Trip3151 02-20-2010 09:28 PM

Quote:

Originally Posted by Bouncer222 (Post 1987492)
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.

100% agree with you !


All times are GMT. The time now is 05:41 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
  • Page Generation 0.04939 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete