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)
-   -   Major Additions - Add Google Checkout to Paid Subscriptions (https://vborg.vbsupport.ru/showthread.php?t=249656)

jayhawk785 01-12-2011 02:40 PM

CaseLogic, sent you a pm with the forum info.

Tasking Mickey 01-12-2011 03:38 PM

Quote:

Originally Posted by CaseLogic (Post 2147040)
Are you doing transactions in USD or another currency?

Just USD.

CaseLogic 01-27-2011 08:55 PM

I'm really sorry I haven't been able to address this. I've been incredibly busy at work and I simply haven't had time!

If anyone else wants to try and help out, feel free!

MentaL 01-31-2013 07:32 PM

when a user subscribes it gives the subscription to a random user.

MahdyE23 04-20-2013 11:11 PM

I'm getting this error:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: subscription_payment_gcheckout in [path]/includes/functions.php on line 4734

But there is no line 4734. Can someone please help me? Please PM me how to fix this error, I really need this!

ForceHSS 04-21-2013 02:51 AM

Quote:

Originally Posted by MahdyE23 (Post 2417586)
I'm getting this error:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: subscription_payment_gcheckout in [path]/includes/functions.php on line 4734

But there is no line 4734. Can someone please help me? Please PM me how to fix this error, I really need this!

it goes to line 8557 so i dont know what functions.php you are looking at

line 23 of product-gcheckout-1.01.xml
PHP Code:

plate name="subscription_payment_gcheckout" templatetype="template" date="1283011303" username="CaseLogic" version="1.01"><![CDATA[  <input type="hidden" name="item_name_1" value="<phrase 1="$subinfo[title]">$vbphrase[x_subscription]</phrase>"/> 

line 4734 of functions.php
PHP Code:

LEFT JOIN " . TABLE_PREFIX . "userlist AS userlist ON (userlist.relationid user.userid AND userlist.type 'buddy' AND userlist.userid " . $vbulletin->userinfo['userid'] . "

try a fresh install see if that replaces the missing code

MahdyE23 04-21-2013 07:54 PM

Quote:

Originally Posted by ForceHSS (Post 2417606)
it goes to line 8557 so i dont know what functions.php you are looking at

line 23 of product-gcheckout-1.01.xml
PHP Code:

plate name="subscription_payment_gcheckout" templatetype="template" date="1283011303" username="CaseLogic" version="1.01"><![CDATA[  <input type="hidden" name="item_name_1" value="<phrase 1="$subinfo[title]">$vbphrase[x_subscription]</phrase>"/> 

line 4734 of functions.php
PHP Code:

LEFT JOIN " . TABLE_PREFIX . "userlist AS userlist ON (userlist.relationid user.userid AND userlist.type 'buddy' AND userlist.userid " . $vbulletin->userinfo['userid'] . "

try a fresh install see if that replaces the missing code

I replace the codes with what you have given me, correct? I currently replaced line 23 with the code you gave me, now on line 4734, it says:

[
PHP Code:

trigger_error('fetch_template() calls should be replaced by the vB_Template class. Template name: ' htmlspecialchars($templatename), E_USER_WARNING); 

Replace it with what you gave me?
PHP Code:

LEFT JOIN " . TABLE_PREFIX . "userlist AS userlist ON (userlist.relationid user.userid AND userlist.type 'buddy' AND userlist.userid " . $vbulletin->userinfo['userid'] . "

Thanks for the help!!!!

ForceHSS 04-21-2013 08:41 PM

All you needed to do was to replace the functions.php file as it seems to be messed up for you

MahdyE23 04-22-2013 12:02 AM

Quote:

Originally Posted by ForceHSS (Post 2417746)
All you needed to do was to replace the functions.php file as it seems to be messed up for you

So, once I edit this, it will work? Or, it should work?

Going to test now, thanks boss.

ForceHSS 04-22-2013 01:17 AM

Quote:

Originally Posted by MahdyE23 (Post 2417770)
So, once I edit this, it will work? Or, it should work?

Going to test now, thanks boss.

Don't edit functions.php file you need to upload the default one redown load it from the members area and take out the functions.php file from the zipped pack


All times are GMT. The time now is 06:50 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.01244 seconds
  • Memory Usage 1,756KB
  • 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_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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