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
VSa - PayPal Donate Details »»
VSa - PayPal Donate
Version: 5.0.3, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 02-20-2010 Last Update: 06-09-2012 Installs: 1892
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

Info:
-Advanced PayPal Donate system for vBulletin.

Features:
-Allow users to donate suggested or custom amounts, or both
-Set minimum amount accepted
-Set currency
-Block usergroups from using Donate system
-Donation listing
-Subscriptions (for Business/Premier PayPal Accounts)
-Donation bar
-Confirmed/Unconfirm/Delete donations
-Move or add confirmed donors to your VIP/Donor usergroup
-Donate stats (total donations, total amount, number of confirmed/unconfirmed donations)
-Block usergroups from viewing Donations or statistics details
-Add/Edit donations
-PM reports

View screenshots for more details...

Installation:
-Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]


To set options:
-Go to: AdminCP > vBulletin Options > VSa - PayPal Donate

Versions:
v1.0 - Oct 13. 2005.
-First Release
v4.8.2 - Dec 29. 2008.
-Latest vB 3.x version
v5.0 - Feb 21. 2010.
-Updated for vBulletin 4
-Fixed known bugs
v5.0.1 - May 22. 2012.
-Quick fix for vBulletin 4.2 compatibility
v5.0.2 - Jun 09. 2012.
-Compatible with vB 4.2.1
-Fixed several style issues
-Fixed some permission bugs
v5.0.3 - Jun 10. 2012.
-Added back option to change Donate link color

Download Now

File Type: zip VSa - PayPal Donate v5.0.3.zip (15.4 KB, 3947 views)

Screenshots

File Type: jpg donate.jpg (74.8 KB, 0 views)
File Type: jpg navbar.jpg (46.5 KB, 0 views)
File Type: jpg donlist.jpg (110.7 KB, 0 views)
File Type: jpg options.jpg (57.3 KB, 0 views)
File Type: jpg donbar.jpg (60.6 KB, 0 views)
File Type: jpg acp1.jpg (131.6 KB, 0 views)
File Type: jpg acp2.jpg (148.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #842  
Old 10-05-2015, 01:12 AM
bremereric's Avatar
bremereric bremereric is offline
 
Join Date: Aug 2011
Location: Tomball Texas
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked for me just fine in vb4.2.3
Reply With Quote
  #843  
Old 10-11-2015, 02:29 PM
imanutter's Avatar
imanutter imanutter is offline
 
Join Date: Dec 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Been using this a long time. It was installed by a professional as I was new to vb.

Question.

I am the only one who can accept donation. I have looked every where to add others or even other user groups.

I'm guess it's a simple fix but I have no idea and no one else seems to have posted this problem.

Thanks in advance.
Reply With Quote
  #844  
Old 10-11-2015, 03:13 PM
bremereric's Avatar
bremereric bremereric is offline
 
Join Date: Aug 2011
Location: Tomball Texas
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imanutter View Post
Been using this a long time. It was installed by a professional as I was new to vb.

Question.

I am the only one who can accept donation. I have looked every where to add others or even other user groups.

I'm guess it's a simple fix but I have no idea and no one else seems to have posted this problem.

Thanks in advance.
Hack will only allow one paypal email address. It's in admicp>settings>options>vsa-paypal donate.
Reply With Quote
  #845  
Old 10-13-2015, 08:00 PM
imanutter's Avatar
imanutter imanutter is offline
 
Join Date: Dec 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bremereric View Post
Hack will only allow one paypal email address. It's in admicp>settings>options>vsa-paypal donate.
This is correct.. may be if I explain this way..

When some one donates, it's not set to auto accept and auto update on the donations list.

Once I have confirmed payment I then approve there donation on the web site and the donation list is updated.

No other partner on our Web site can accept the donation on the web site apart from me.
Reply With Quote
  #846  
Old 10-13-2015, 09:52 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If that is what you want, the only option is the pro version of the DBTech one, this mod has never auto confirmed donations.
Reply With Quote
  #847  
Old 09-27-2016, 02:00 PM
JesWhite JesWhite is offline
 
Join Date: Apr 2014
Location: Muğla
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi. how can i add this addon manually.?
i want to add manual to templates...

PHP Code:
                if ($vbulletin->options['vsapaypal_donbar_autoinsert'])                {                    $ad_location['global_below_navbar'] .= $vsapaypal_donbar;                } 
this code is autoinert to navbar.. this code is addon named VSa - PayPal Donate - Link
and i want to insert to navbar but i want to show only registered users etc...
because of i must add manually...
there isn't any option to users...
thanks for your helps..

i will disable autoinsert on vbulletin settings... after that i will add manually.
i added {vb:raw vsapaypal_donbar} but not worked..
Reply With Quote
  #848  
Old 10-18-2016, 06:23 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have an /inc/plugins/ directory. I have an includes but does not contain the plugins dir.

Yes I have looked around the software and the directory is no where.
Reply With Quote
  #849  
Old 10-24-2017, 08:47 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to make this work when the forum is turned off?

I'm sick of perpetually begging my members to give money so need to do something drastic.
Reply With Quote
  #850  
Old 11-28-2017, 01:52 AM
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
Location: Germany
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know I am late, yet I have only now moved my vB 3.8.9 forum straight to vB 4.2.5.

I have been using the similar Donate hack on vB3, so it made sense to install this one. It looks similar, but there are some differences and I found a pretty big bug - surprising nobody talks about it in 57 pages of comments. I did find a workaround for the bug as I will explain.

First of all, I compared the differences in what is sent to PayPal between the old and new version.
This mod adds the following to the url string sent to PayPal: &sra=1&src=1&srt=1

Seems harmless enough, until you try to submit a donation for one month. This results in the following error on PayPal:
"The link you have used to enter the PayPal system is invalid. Please review the link and try again."

As I knew that only three parameters had been added, I tested each of them until I found the problem: srt=1

PayPal defines that parameter as follows: "Specify an integer with a minimum value of 2 and a maximum value of 52."

Sure enough, as soon as I set srt=2, it worked.

As I did not want recurring subscriptions, I made some changes to the .xml file to get it to work as it did in the vB3 version. I also decided to set the locale to US as otherwise, my mainly US subscribers were being presented with a German PayPal page.

Find the following in VSa_PPDon.xml
Code:
			if(strstr($vbulletin->GPC['amount'],'|'))
			{
				$vsapp_get_amount = explode('|', $vbulletin->GPC['amount']);
				$vsapp_ppurl = 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions';
				$vsapp_ppurl .= '&a3='.$vsapp_get_amount[0];
				$vsapp_ppurl .= '&p3='.$vsapp_get_amount[1];
				$vsapp_ppurl .= '&t3=M';
				$vsapp_ppurl .= '&no_note=1';
				$vsapp_ppurl .= '&sra=1';
				$vsapp_ppurl .= '&src=1';
				$vsapp_ppurl .= '&srt='.$vsapp_get_amount[1];
			}
			else
			{
				$vsapp_ppurl = 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick';
				$vsapp_ppurl .= '&amount='.$vbulletin->GPC['amount'];
			}
Replace with:

Code:
			if(strstr($vbulletin->GPC['amount'],'|'))
			{
				$vsapp_get_amount = explode('|', $vbulletin->GPC['amount']);
				$vsapp_ppurl = 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions';
				$vsapp_ppurl .= '&a3='.$vsapp_get_amount[0];
				$vsapp_ppurl .= '&p3='.$vsapp_get_amount[1];
				$vsapp_ppurl .= '&t3=M';
				$vsapp_ppurl .= '&no_note=1';
				$vsapp_ppurl .= '&lc=US';
			}
			else
			{
				$vsapp_ppurl = 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick';
				$vsapp_ppurl .= '&amount='.$vbulletin->GPC['amount'];
				$vsapp_ppurl .= '&lc=US';
			}
In this change, I have completely removed the "&sra=1&src=1&srt=1" and added "&lc=US" to the string sent to PayPal. This makes all donations one-time, as it was in vB3, and ensures that all sponsors land on an English PayPal language page.

I find this works better for me and avoids the error for one month subscriptions. I also found that PayPal will show an error for any subscriptions longer than 24 months, so avoid that.

What I would really like, is an option to have this mod make use of the original vBulletin PayPal subscription system. Then a two month subscription could actually add the donor to the specified VIP group for those two months and then automatically remove the subscription to that usergroup, when the subscription expires. I do that manually, but it would be great if that possibility could be added to this mod. Is perhaps Valter, or someone else, up to the challenge?

I have attached my modified .xml file, in case anyone here finds it useful.
Attached Files
File Type: xml VSa_PPDon.xml (86.5 KB, 10 views)
Reply With Quote
  #851  
Old 01-18-2018, 12:39 AM
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
Location: Germany
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem: Donations not appearing on view Donations list (admin)

I have been using the popular similar mod "Cyb - PayPal Donate" for years without problems - I am very familiar with that mod and therefore it was natural to upgrade to this one with vb 4.2.5.

Since I wrote the previous post, my forum actually went back online and people have started donating. It was only then that I discovered this issue, that several people have mentioned here, yet I have seen no answers.

As this mod obviously is working for some people, I now desperately need to find an answer to the following issue:

vBulletin 4.2.5
PHP: 5.6.33
MySQL Version: 5.7.20-0ubuntu0.16.04.1

Using slightly modified version of this mod 5.0.3 (see previous post). The modifications only change what is sent to PayPal and fix the span issue, nothing database related.

When a user uses the mod to make a donation, they get to the PayPal page normally and a PM is sent to them, but their donation is not added to the database.
I have checked vsa_ppdonate directly and no entry is added at all. Consequently, I am unable to confirm the donation at all on the View Donations page.

If I use: "Add Donor Manually", the user is added to the database and shown on the list and automatically confirmed. No months are given, but I can correct that with the Edit button.

I even installed a fresh version of the forum and just installed this mod. The same problem occurred.

So Vader, please look into this and resolve it. I can provide you with full access to my test forum to help diagnose this. Plenty of others have complained about the same issue. So let us get to the bottom of this problem and fix it.

Test Forum: https://www.rifeforum.com/forum-425/

Feel free to join and test this.
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 09:52 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.05972 seconds
  • Memory Usage 2,378KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_php
  • (2)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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (16)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
  • (9)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