vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Subscription System: Change hard coded currency (https://vborg.vbsupport.ru/showthread.php?t=232290)

bollman 12-06-2013 06:16 PM

We've just installed this and it all works fine, except the value in our local currency (SEK, or Swedish Krona) is not displayed in the text field. If I enter a number and save, the next time I look at the subscription, the value is 0 (zero), but if I look in the database:
a:1:{i:0;a:6:{s:4:"cost";a:6:{s:3:"sek";s:4:"5.00" ;s:3:"usd";s:4:"0.00";s:3:"gbp";s:4:"0.00";s:3:"eu r";s:4:"0.00";s:3:"aud";s:4:"0.00";s:3:"cad";s:4:" 0.00";}s:6:"length";i:4;s:5:"units";s:1:"D";s:11:" ccbillsubid";s:0:"";s:18:"twocheckout_prodid";s:0: "";s:9:"recurring";i:0;}}
Which looks correct to me, at least :)
I have double and triple checked the edits in the php files, but can't see anything wrong there.
We're on 4.2.2 (brand new install, we're moving from phpBB).

Stubbed 12-06-2013 09:12 PM

Did you do the database changes? If so, can you post up the contents of your forumroot/admincp/subscriptions.php file? Maybe in a private pastebin.


All times are GMT. The time now is 09:36 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.00974 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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