adamsmithdlc123
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Subscriptions price queryHi, Id just like the option of pay in full and subscription at the same time. Is that what this is? https://woocommerce.com/products/all-products-for-woocommerce-subscriptions/
Would it keep our currently functionality and just add a pay now button also?
Hi, Im so sorry. I did alter it again and got it working. I want to apologise for wasting your time!
Thank you again!
My code in function.php :
add_filter( 'wwpdf_add_custom_font', ‘my_custom_font_name’, 10, 1 ); function my_custom_font_name() { $font = TCPDF_FONTS::addTTFfont( $font_file, $font_type, $enc, $flags, $outpath, $platid, $encid, $addcbbox, $linkbox ); return $font; } function write_something_after_waterwoo_writes( $pdf, $pageno ) { $pdf->Ln(); $pdf->Ln(); $pdf->Ln(); $pdf->Ln(); $pdf->Ln(); $pdf->Ln(); $pdf->Ln(); $pdf->Ln(); $pdf->SetFont('franklin', 'R', 11); $pdf->SetLeftMargin(124); $pdf->Write(15, "Valid Until: " . date('j, F Y', strtotime("+1 years"))); } add_action( 'wwpdf_after_write', 'write_something_after_waterwoo_writes', 1, 1);
Forum: Plugins
In reply to: [PDF Ink for WooCommerce - Stamp PDFs with Customer Data] Watermark positionHi,
Ive done the above, I couldn’t have done it without your help.
Thank you very much!
Forum: Plugins
In reply to: [PDF Ink for WooCommerce - Stamp PDFs with Customer Data] Watermark positionHi,
I cant quite figure it out. I want to thank you for your help with this.
I will keep plugging away and see how I get on.
Forum: Plugins
In reply to: [PDF Ink for WooCommerce - Stamp PDFs with Customer Data] Watermark positionIs there any documentation for those hooks I cant find any?
wwpdf_before_write’ and ‘wwpdf_after_write
Forum: Plugins
In reply to: [PDF Ink for WooCommerce - Stamp PDFs with Customer Data] Watermark positionOkay, thank you.
I’ll let you know how I get on.
Forum: Plugins
In reply to: [PDF Ink for WooCommerce - Stamp PDFs with Customer Data] Watermark positionRight that’s great thanks ill look into that.
I thought it would be as easy as just using add_shortcode in functions.php – creating a <br> and then using that in the “Custom text for footer watermark” section.
essentially i am just neeting:
Name
<br>
<br>
<br>
DateForum: Plugins
In reply to: [Contact Form 7] required fields not working with file uploaderI’ve found the solution.
Forum: Plugins
In reply to: [Contact Form 7] required fields not working with file uploaderCan you help with this please?
Forum: Plugins
In reply to: [Contact Form 7] required fields not working with file uploaderDo you want me to list all plugins?
Forum: Plugins
In reply to: [Contact Form 7] required fields not working with file uploaderTheres a lot of plugins, however – I have a lot of forms which work with fileupload/required fields. This one however is not, should it just work with all of the conditional fields I have for that specific area?
Forum: Plugins
In reply to: [Force Login] Whitelist Dynamic Registered user URLHi Kevin,
I found that it was a buddypres issue and the following code sorted the problem:
function my_forcelogin_bypass( $bypass ) {
// Allow all WooCommerce pages and endpoints
if ( class_exists( ‘WooCommerce’ ) ) {
if ( is_woocommerce() || is_wc_endpoint_url() ) {
$bypass = true;
}
}// Allow the new user activation URL
if ( function_exists( ‘bp_is_register_page’ ) ) {
if ( bp_is_register_page() || bp_is_activation_page() ) {
$bypass = true;
}
}return $bypass;
}
add_filter( ‘v_forcelogin_bypass’, ‘my_forcelogin_bypass’ );Thank you for your help with this.
ADam
Forum: Plugins
In reply to: [Force Login] Whitelist Dynamic Registered user URLActually, it looks like its a buddypress thing. Ill look into it further.
Forum: Plugins
In reply to: [Force Login] Whitelist Dynamic Registered user URLHi Kevin,
Yes that is correct. The activate page is fine there’s no problem with that. Its the token with it generated which is the issue.
this WordPress registration is standard functionality and is switched on in Settings > general and it nothing to do with any other plugins.
Adam