vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Reoccurring Paypal Subscriptions (https://vborg.vbsupport.ru/showthread.php?t=64834)

por4x4 08-07-2004 04:13 PM

Quote:

Originally Posted by por4x4
Trying to install this on 3.0.3, and am having trouble finding some of the code....

Instructions call to find -

Code:

function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userid)
{
        global $vboptions;

But all I can find is this -

Code:

function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userinfo)
{
        global $vboptions;

What to do?

Buller? Buller? This is one of the BEST hacks of all time. Come awn, someone has got to know how to get this to work with 3.0.3!

RapCheck 08-13-2004 12:47 AM

guys, instead of replacing the whole section theres just one part that is added so just change
PHP Code:

global $vboptions

to
PHP Code:

global $vboptions,$DB_site

;)

por4x4 08-13-2004 02:33 AM

Quote:

Originally Posted by RapCheck
guys, instead of replacing the whole section theres just one part that is added so just change
PHP Code:

global $vboptions

to
PHP Code:

global $vboptions,$DB_site

;)

lol I knew it had to be an easy fix, but that was ridiculous! :D Thanks man!

Ted S 08-19-2004 10:42 PM

Great hack, it took only a few minutes to install on 3.0.3, thanks!

rs-host.net 08-19-2004 11:06 PM

I coded something like this for my site, but not a bad hack here.

Chazz Layne 09-01-2004 09:19 AM

Quote:

Originally Posted by dkny
you right I did skip this step, I modified it but I still cant get the members group to change plus they users dont show up in the subscription page. Any ideas what it could be?

Any updates on this problem from anyone? Having the same issue here, v3.0.1. Checked and rechecked the install...

Doug Quance 09-01-2004 06:11 PM

Rob-

I'm getting an error when executing the SQL query:


An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'webster3_forums.subscription' doesn't exist


Your thoughts?

BTW, I am running 3.0.3 with the vBadvanced CMPS... which script should I use?

Thanks so much for this hack... I am going to send you a few bucks for your time :)

Doug Quance 09-01-2004 06:30 PM

Btw... I've never seen an INSTALL button in the header of a thread before... how does that work? After all... the code I need to install is not on my local computer, but on a server...

Just curious.

Doug Quance 09-01-2004 07:36 PM

Well... I found that particular issue.... I had to change my query to "vb3_subscription"

Doug Quance 09-01-2004 08:23 PM

Well... everything seemed to go pretty well, until I tried purchasing a subscription. When (as a customer) I click the link to purchase, I go to:

https://www.paypal.com/cgi-bin/webscr

and that page displays:

Error Detected

The link you have used to enter the PayPal system is invalid. Please review the link and try again.


Any clues as to how to fix this?

I checked the code over as best as I can, and I can't see where the problem might be. :(


All times are GMT. The time now is 07:36 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.01225 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_php_printable
  • (3)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