Pay to Blog question

Andrew, if you catch this, was wondering it I could comment out the last two paypal buttons in pay-to-blog.php paytoblog plugin? or is there an easier way?

I was thinking lines 106 – 113 and like this

$blog_url = get_blogaddress_by_id($wpdb->blogid);

if ( $period == ‘1’ ) {

$amount = get_site_option( “pay_to_blog_1_cost” );

//} else if ( $period == ‘3’ ) {

// $amount = get_site_option( “pay_to_blog_3_cost” );

//} else if ( $period == ’12’ ) {

// $amount = get_site_option( “pay_to_blog_12_cost” );

}

will this work? I just want one option for the subscription.

Thanks.

Tony V

  • TonyV
    • Site Builder, Child of Zeus

    I have the pay to blog option set up, and right now there are 3 options, that I put prices in for subscription paid through paypal… I don’t want to give 3 options, only one subscription amount.

    the 3 options are how much to charge 1 month at a time, and how much to charge 3 months at a time and how much to charge 12 months at a time. I don’t want to give options for 3 months and 12 months. only one month at a time.

    thanks.

    Tony V

  • TonyV
    • Site Builder, Child of Zeus

    I think in mine it is lines 506 to 513.. I am thinking this is what you are referencing right?

    echo ‘<p class=”submit” style=”padding-top:2px;”>’;

    echo ” . __(‘Pay to Blog every three months’:wink: . ‘ (‘ . __(‘at’:wink: . ‘ ‘ . get_site_option( “pay_to_blog_3_cost” ) . ‘ ‘ . get_site_option( “pay_to_blog_currency” ) . ‘:wink::
    ‘;

    echo pay_to_blog_paypal_button_output(3);

    echo ‘</p>’;

    echo ‘<p class=”submit” style=”padding-top:2px;”>’;

    echo ” . __(‘Pay to Blog every twelve months’:wink: . ‘ (‘ . __(‘at’:wink: . ‘ ‘ . get_site_option( “pay_to_blog_12_cost” ) . ‘ ‘ . get_site_option( “pay_to_blog_currency” ) . ‘:wink::
    ‘;

    echo pay_to_blog_paypal_button_output(12);

    echo ‘</p>’;

    thanks.

    Tony V