vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Cyb - PayPal Donate (https://vborg.vbsupport.ru/showthread.php?t=201284)

masterross 02-01-2010 04:25 PM

Quote:

Originally Posted by Xanlamin (Post 1968889)
Of course you do. It's not coded for vB4



Sure, when the coder gets done doing it, he is working on it.

I've already re-coded to works with vb 4.0
Cannot show only the progressbar... any help with that?

masterross 02-01-2010 04:26 PM

Quote:

Originally Posted by kronnos (Post 1972281)
Just wondering if this mod is able to give some sort of rewards, for exp:
Give 1 rep point for 1 unit donated?
Different badges for different amounts donated?

Thanks

It's easy to add 1 rep with every donation.
Different amounts will be harder

testbot 02-06-2010 02:03 PM

can't wait until this is ready for vb4

b6gm6n 02-07-2010 06:21 AM

Is there a way to add extra form fields? i ask because I'd like donations to go directly to a "clanpay" system rather than directly to my account as i would only have to transfer the donations again to the "clanpay" site, it'll need a few extra fields and it should work, like so

Code:

<input type="hidden" name="return"                        value="/clanpay/?clanid=8960d5266c111096b5e6869372837007" />
is this possible? please advise, thanks

gregg1ep00 02-09-2010 06:01 PM

PROBLEM:
The subscriptions paypal url is incorrect. As an example, let's say I want to set up a $5 subscription for 3 months (meaning, $5 per month for 3 months). Currently the url is formed like this:

Code:

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions&a3=5&p3=3&t3=M&no_note=1
Using the paypal documentation found here:
Quote:

a3 = Regular subscription price
p3 = Subscription duration
t3 = Regular subscription units of duration (this is hard coded to M for months)
The way it's coded right now, I'm setting up a $5 subscription every 3 months, with NO recurrence. Meaning, I will only make one payment, then the profile will expire.



SOLUTION:
Here are the other variables that need to be set:

Quote:

src = Recurring payments (must be set to 1 -- default is 0)
srt = Recurring times
So, in English, I want to pay "a3" dollars every "p3" months for "srt" months.

Here's how the paypal url should look:
Code:

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions&a3=5&p3=1&t3=M&src=1&srt=3&no_note=1

To fix, go to Admin CP->Plugins & Products->Plugin Manager, and edit Cyb - PayPal Donate - Ext. Search for:
Code:

$cybpp_ppurl = 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions';
Then change:
Code:

$cybpp_ppurl .= '&a3='.$cybpp_get_amount[0];
$cybpp_ppurl .= '&p3='.$cybpp_get_amount[1];
$cybpp_ppurl .= '&t3=M';
$cybpp_ppurl .= '&no_note=1';

To this:
Code:

$cybpp_ppurl .= '&a3='.$cybpp_get_amount[0];
$cybpp_ppurl .= '&p3=1';
$cybpp_ppurl .= '&t3=M';
$cybpp_ppurl .= '&src=1';
$cybpp_ppurl .= '&srt='.$cybpp_get_amount[1];
$cybpp_ppurl .= '&no_note=1';


It really helps to copy/paste the contents into a text editor, make the changes, and copy/paste back into AdminCP.

R@V3N 02-19-2010 12:52 AM

Is there any way to make multiple progress bars? We run multiple game servers and would like our members to select which server they would like thier money to go to. The idea is that any server that can't sustain itself will get cut off. Being able to track donations seperately would be great. It doesn't have to change anything on the paypal side, just on the forum side of things.

Xanlamin 02-19-2010 03:05 AM

Easy, rename the xml to how ever many you want and each install is a different xml.

like paypaldonateBF2.xml, paypaldonateCOD4.xml

and you can edit inside each xml for the phrases so you can tell them apart in the admin panel.

Valter 02-21-2010 10:10 AM

v5.0 - Feb 21. 2010.
-Updated for vBulletin 4
-Fixed known bugs

Here:
https://vborg.vbsupport.ru/showthread.php?t=236480

LOKIN510051 02-27-2010 12:41 AM

listo ya lo instale gracias

LOKIN510051 02-27-2010 12:43 AM

ya lo instale muchas gracias ahora a probarlo


All times are GMT. The time now is 08:00 PM.

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.01668 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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