Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Reoccurring Paypal Subscriptions Details »»
Reoccurring Paypal Subscriptions
Version: 1.00, by insanctus insanctus is offline
Developer Last Online: May 2006 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 05-06-2004 Last Update: 03-22-2005 Installs: 109
 
No support by the author.

What this does (added in first post)

With the current vbulletin subscription set up, it only charges your members one time. So if you have a pay based site, or forum area they have to keep subscribing, and causing them to waste time and effort (and maybe you lose money)

What this does, is give you the option if you want one time payment (standard vb) or reoccurring payment.

When you choose reoccurring the script has them sign up for a reoccurring payment, as paypal sends you confirmation each time you get a subscription payment, your system will now update their access time.

This will save your members from having to resign up all the time and hopefully save you some money


For instance, say you have a paying member?s only area, and you want them to have to pay $10 a month.

With this you can charge per month and it handles all the charges, and every month they send another payment automatically your script gets updated and sets their new expiration.


This has been asked for many times and IMO should have been in to begin with.

Enjoy and I will help as I can.

Note from the new supporter: This hack is now being actively supported again. I have updated the install instructions to work for version 3.0.7, and we can now begin to work out any existing bugs. This code is still raw and has not been tested extensively due to the difficult nature of testing paypal transactions.

Supporters / CoAuthors

Show Your Support

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

Comments
  #142  
Old 02-19-2005, 10:43 PM
Glenn379's Avatar
Glenn379 Glenn379 is offline
 
Join Date: Aug 2002
Location: San Francisco, California
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has anyone gotten this hack to work with 3.0.6 yet?
Reply With Quote
  #143  
Old 02-22-2005, 02:56 AM
Illuvatar's Avatar
Illuvatar Illuvatar is offline
 
Join Date: Apr 2002
Location: So. Cal
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Welllllll.....we've got a slight issue...lol

Due to the criticality(sp?) of the release of version 3.07, and the fact that we were still running 3.03, I went ahead and upgraded this afternoon. This is one of only two hacks that I needed to reapply and they have modified the original code for the includes/functions_subscription.php file so that now the hack instructions are no longer valid. There is no
Quote:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userid)
{
global $vboptions;
to replace any more.

I'll go back through this thread and see if this may have happened for releases 4-6, but until then (as I am not a decent coder lol) I am here to plead for help!
Reply With Quote
  #144  
Old 03-02-2005, 11:01 AM
ChrisSy ChrisSy is offline
 
Join Date: Mar 2002
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Illuvatar
Welllllll.....we've got a slight issue...lol

Due to the criticality(sp?) of the release of version 3.07, and the fact that we were still running 3.03, I went ahead and upgraded this afternoon. This is one of only two hacks that I needed to reapply and they have modified the original code for the includes/functions_subscription.php file so that now the hack instructions are no longer valid. There is no to replace any more.

I'll go back through this thread and see if this may have happened for releases 4-6, but until then (as I am not a decent coder lol) I am here to plead for help!
I had the same proble myself, but after looking through the functions_subscriptions.php file, the update just changed the variable $userid to $userinfo.

So hopefully this hack still works

Edit: yes i can confirm this works in 3.0.7
Reply With Quote
  #145  
Old 03-02-2005, 01:14 PM
Illuvatar's Avatar
Illuvatar Illuvatar is offline
 
Join Date: Apr 2002
Location: So. Cal
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChrisSy
I had the same proble myself, but after looking through the functions_subscriptions.php file, the update just changed the variable $userid to $userinfo.

So hopefully this hack still works

Edit: yes i can confirm this works in 3.0.7
Thank you ChrisSy!!! *Bows low*
Reply With Quote
  #146  
Old 03-04-2005, 09:38 AM
WoodiE WoodiE is offline
 
Join Date: May 2002
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got this hack installed and when the subscription is about to end vBulletin sends an email letting that user know their subscription is about to expire, however now mine sends out about 20-30 emails to that user.

What can I do so it only sends one email?

-Michael
Reply With Quote
  #147  
Old 03-06-2005, 06:33 AM
sub_ubi sub_ubi is offline
 
Join Date: Dec 2004
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What happens to old subscribers if you upgrade from 3.03 to 3.07? Do they all get lost?
Reply With Quote
  #148  
Old 03-07-2005, 10:36 AM
AlienSector AlienSector is offline
 
Join Date: Oct 2004
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone successfully got this working with 3.0.7 and if so, would you be so kind as to detail how you possibly completed the task? I as well as many others would appreciate it very very much .
Reply With Quote
  #149  
Old 03-08-2005, 06:36 PM
Apophis Apophis is offline
 
Join Date: Apr 2003
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This does work with 3.0.7 with one minor modification.

Open
/includes/functions_subscriptions.php

Find
Code:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userid)
{
        global $vboptions,$DB_site;
Replace With
Code:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userinfo)
{
        global $vboptions,$DB_site;
It's a simple variable change from $userid to $userinfo
Reply With Quote
  #150  
Old 03-09-2005, 02:21 PM
Illuvatar's Avatar
Illuvatar Illuvatar is offline
 
Join Date: Apr 2002
Location: So. Cal
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Apophis
This does work with 3.0.7 with one minor modification.

Open
/includes/functions_subscriptions.php

Find
Code:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userid)
{
        global $vboptions,$DB_site;
Replace With
Code:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userinfo)
{
        global $vboptions,$DB_site;
It's a simple variable change from $userid to $userinfo
Confirmed...works just fine in 3.0.7

The only thing I saw there Apophis that was different in the function construct_payment from the original code was the addition of $DB_site;

My original mistake was putting too much info in the Find bit so it couldn't find the doggone statement. As soon as I just used the keyword "payment" it took me right there. That's why I was freaked out earlier! hehe I thought the original statements for that paragraph may have changed....it didn't...I just couldn't find the bugger! lol

Oh...also... I tried changing from $userid to $userinfo and back again, and it seemed to make no difference. It was that $DB that made the difference.

Overall...I am very pleased that with just this, the SMTP hack, and "How many posts since last visit" one, our boards have all the features and functionality that we used to have to apply 10 or more hacks to achieve! This leaves room for the "would be nice ...but not critical" enhancements if I so choose. *Hats off to dem dere VB developers man*
Reply With Quote
  #151  
Old 03-11-2005, 03:29 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is this working on 3.0.7?
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 07:18 AM.


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.05529 seconds
  • Memory Usage 2,320KB
  • 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
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete