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?
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 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.
Responses (6)
Erstwhile founder — 15th May 2009 (3 years ago) #
Hiya,
What are you trying to do?
Thanks,
Andrew
Member — 15th May 2009 (3 years ago) #
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
Erstwhile founder — 15th May 2009 (3 years ago) #
Try commenting out lines 526 through 533 of pay-to-blog.php.
Thanks,
Andrew
Member — 15th May 2009 (3 years ago) #
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') . ' (' . __('at') . ' ' . get_site_option( "pay_to_blog_3_cost" ) . ' ' . get_site_option( "pay_to_blog_currency" ) . '):
';
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') . ' (' . __('at') . ' ' . get_site_option( "pay_to_blog_12_cost" ) . ' ' . get_site_option( "pay_to_blog_currency" ) . '):
';
echo pay_to_blog_paypal_button_output(12);
echo '</p>';
thanks.
Tony V
Erstwhile founder — 15th May 2009 (3 years ago) #
Yep, those are the lines.
Thanks,
Andrew
Member — 15th May 2009 (3 years ago) #
thanks! worked perfectly
Tony V
Become a member