vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Link to paid subscription... (https://vborg.vbsupport.ru/showthread.php?t=198214)

nocturnix 12-07-2008 08:59 AM

Link to paid subscription...
 
I searched around and mostly it seems this is not as simple as http:www.yoursite.com/payments.php?do=subscription1 although I wish it were.

I have developed a custom subscriptions page that looks nice has images ready to link to the payment page for each subscription. Unfortunately now I come to find out that isnt currently possible. You can only link to the page listing the possible subscriptions then the user must choose. Since my page has them choose already, that is redundant and they might get confused or chose something else.

How tough would it be to build in a handler or something that could take the link suggested above? http:www.yoursite.com/payments.php?do=subscription1 and redirect them to the next step in the payment process?

ForumsMods 12-07-2008 12:18 PM

You must use a form with a image.

nocturnix 12-07-2008 01:06 PM

Thats what I was thinking too. I can mock the form almost exactly, but Im not sure how to generate this "securitytoken" hidden field. Anyone know if there is a variable I can use for this in a template?

ForumsMods 12-07-2008 01:14 PM

for security token use this in value:
Code:

$bbuserinfo[securitytoken]
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

nocturnix 12-07-2008 01:23 PM

Awesome! Thanks alot gasper!


All times are GMT. The time now is 08:13 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.00967 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete