vb.org Archive

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

m0rgulvale 05-31-2009 11:29 PM

does this work in latest vbulletin?

steven s 05-31-2009 11:37 PM

Quote:

Originally Posted by m0rgulvale (Post 1820979)
does this work in latest vbulletin?

3.8.2, yes.
See also https://vborg.vbsupport.ru/showthread.php?t=201284

m0rgulvale 05-31-2009 11:50 PM

thanks epic win marked as installed 5 star rating

MJJPlaza.com 06-04-2009 03:07 PM

There's a way to add amounts like 6,55 $, 7,98 & in donation list ?

When i put a a decimal amount, the hack automatically converts it into an entire one (e.g. 3,55 $ becomes 3 $)...

kapoor22 06-05-2009 02:08 PM

Quote:

Originally Posted by fatal1980 (Post 1749182)
Cybernetic, I have made some changes to your script, specifically to allow recurring subscription and also updated the donation bar to calculate these.

Would you be willing to look at it, fix it or make it nicer and release it? Otherwise I might just release the changes myself as I know lots of people are wanting this.

---------------------------------------
Just sent the following email
---------------------------------------

Hello fatal1980,

This is regarding your post -
https://vborg.vbsupport.ru/showthrea...on#post1749182

Would you be able to share the fix for recurring subscription and the update the donation bar to calculate recurring subscription. You could post your fix on the relevant thread for the mod or you could email me using the option on this forum.

Thanks for your help to the community!

kapoor22

kapoor22 06-06-2009 04:13 PM

---------------------------------------------------------------------------------------------------------------------------------------------------
DISCLAIMER - If you decide to use this information, use it at your own risk. There are no gurantee or assurance if this would work in your environment. It may end up screwing up your vbulletin or website environment, partially and/or fully. USE IT AT YOUR OWN RISK
---------------------------------------------------------------------------------------------------------------------------------------------------

Here is how I was able to fix the problem of recurring subscription payment with this Mod -

AFTER UNZIPPING THE DOWNLOADED FILE, I LOOKED FOR FILE CybPayPalDonate.xml. SEARCHED AND REPLACED THIS -

Code:

        $cybpp_get_amount = explode('|', $vbulletin->GPC['amount']);
        $cybpp_ppurl = 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions';
        $cybpp_ppurl .= '&a3='.$cybpp_get_amount[0];
        $cybpp_ppurl .= '&p3='.$cybpp_get_amount[1];
        $cybpp_ppurl .= '&t3=M';
        $cybpp_ppurl .= '&no_note=1';


WITH -

Code:

        $cybpp_get_amount = explode('|', $vbulletin->GPC['amount']);
        $cybpp_ppurl = 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions';
        $cybpp_ppurl .= '&a3='.$cybpp_get_amount[0];
        $cybpp_ppurl .= '&p3=1';
        $cybpp_ppurl .= '&t3=M';
        $cybpp_ppurl .= '&no_note=1';
        $cybpp_ppurl .= '&src=1';
        $cybpp_ppurl .= '&srt='.$cybpp_get_amount[1];
        $cybpp_ppurl .= '&sra=1';


After saving the changes in CybPayPalDonate.xml, I logoned to VB Admin Control Panel
Plugins & Products > Manage Products > [Add/Import Product]
Browse and select the modified CybPayPalDonate.xml
Select the radio button - YES - for "Allow Overwrite" VERY IMPORTANT
Click 'IMPORT'

I backed up the table vb_cybppdonate, templates cyb_paypal_donbar and cyb_paypal_donate (since I had customizations), but none of this was not necessary for my environment.

I used the following Paypal HTML variables information available at -

Page 165 to page 173 of the "Website Payments Standard Integration Guide" pdf document available on Paypal website.
Logon to Paypal Business Account > Products & Services > Recurring Billing > Manual > Subscriptions and Recurring Payments Manual

Some of the relevant information about the Paypal HTML variables is also available at -
https://cms.paypal.com/us/cgi-bin/?c..._htmlvariables

The information about these variables to customize/fix this Mod (as shown above) were easily understood. Overall this is one of the best Mod I have seen.



Cybernetec,

Since others on this forum have asked for this fix for recurring subscription payment, would you like to review and consider these suggestions/changes to incorporate them in the next release of this Mod.

Thanks for your great work!

kapoor22

rchelifan 06-09-2009 12:05 AM

Is there any way for an Admin to add old donations to the list manually?

Valter 06-09-2009 08:54 PM

It's not easy to do at all but this may help:
https://vborg.vbsupport.ru/attachmen...9&d=1217012931

rchelifan 06-10-2009 02:51 AM

Hahaha, that is perfect! Thank so much. You r the best.

Strike-Force.ne 06-14-2009 12:39 AM

Does anyone know how to get the Donate link on the NavBar to blink?


All times are GMT. The time now is 12:41 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.02093 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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