mikeknappe
Forum Replies Created
-
Hi Rajat,
thanks for the heads-up. After your reply, it was so obvious!!! Well, sorry for creating this ticket and having bothered you with that. It works perfectly now that I’ve disabled all the placement options.
Thank you very much and have a nice Halloween,
~MikeForum: Plugins
In reply to: [My Calendar - Accessible Event Manager] ICal and ICS doesn’t work any longerYou are right. It was the filter I added, to have an alarm on every appointment, because there is no field to add an alarm for an appointment on it’s own. Would be a nice feature in future by the way.
It work’s, again, if I use this:
'trigger' => '-120'Previously I had:
'trigger' => '-PT2H'Anyway, I’m confused about the feeds. Thunderbird Calendar and ICSx^5 are only able to work with the Google feed and not the ICS feed. What’s the main difference between both?
- This reply was modified 1 year, 8 months ago by mikeknappe.
Hi Joe,
ahhhh well therefore you’ve be reserved at this point, because it’s hard, if there are more than one appointment in the mini.
Hi Joe, thanks for the fix. The duplication is fixed, if the mini and main are visible on one page.
I don’t know, what happend, maybe it’s a side-effect of https://ww.wp.xz.cn/support/topic/missing-text-option-for-subscribe-and-export/ or another implementation. Hopefully you have tested it, but the latest release has the following problems:
1. If you change the month in the mini, the buttons won’t be displayed anymore. They disappear.2. If you chane the month in the main, the entry buttons export & subscribe will disappear too – only the buttons Google and iCal will remains; so the submenu itself will stay.
Currently I’ve no time to track the problem at this point. Hopefully you’ll find another solution to fix this behaviour.
Thanks for the fix Joe. Works well. Awesome.
A quick fix would be:
L237 mc_build_toggles( $( this ).attr( ‘id’ ) );
L271 function mc_build_toggles( id ) {
L272 if( id.length > 0 )
L273 id = ‘#’+id+’ ‘;
L274 const subscribe = $( id + ‘.mc-subscribe’ );
L275 const exports = $( id + ‘.mc-download’ );
L298 const toggles = $( id + ‘.mc-export button’ );You get the current id of the widget, transport it into the mc_build_toggles fnc and extend all selectors with the id.
Have a nice day!
I think it’s mainly because of mc_build_toggles() in mcjs.js
You don’t divide there, if it’s the mini widget or main widget. Therefore, if both widget (types) are displayed on one page, the double effect will be available.
Well, for those who want to use the hook:
/** * Filter information used to set an alarm on an event in .ics files. * * @hook mc_event_has_alarm * * @param {array} Alarm information passable tomc_generate_alert_ical()* @param {int} $event_id Event ID. * @param {int} $post Post ID. * * @return {array} */To use it, you create your own plugin or insert something like the following in the functions.php of your theme:
//Set a default calendar alarm for My Calendar Plugin function set_default_calendar_alarm( $retArr, $postId, $postArr ) { $retArr = array( 'TRIGGER' => '-PT2H' ); return $retArr; } add_filter( 'mc_event_has_alarm', 'set_default_calendar_alarm', 10, 3 );I’ve searched within the code and you have a hook, which can be used to modify the alarm for events. Which is awesome and helps a lot, but it would be nice to have a GUI for an event to set individual alarms for each event.
Beware of the plural: ICS is able to store more than one alarm and the current code is only able to insert one alarm for all events.Forum: Plugins
In reply to: [Real Cookie Banner: GDPR & ePrivacy Cookie Consent] Consent Error in MS EdgeFixed it. Turned on WP REST API, because Edge says:
Dev. Log Msg:
rest_login_required REST API restricted to authenticated users.Forum: Plugins
In reply to: [Contact Form 7] Parse mail tags programmaticallyAs far as I’ve read the code corretly, there is some function doing this:
wpcf7_mail_replace_tags
https://github.com/wp-plugins/contact-form-7/blob/721fd1d81ff871d359f61131f34307970795b412/includes/mail.php#L131Problem here, after some investigation. It’s using live posted data from a form:
$submission = WPCF7_Submission::get_instance(); $submitted = $submission ? $submission->get_posted_data( $tagname ) : null;Forum: Plugins
In reply to: [Contact Form 7 - PayPal & Stripe Add-on] Payment status not working@berry2710
It was a security setting in the interface of my webhoster, which prevented the IPNs.
DANG!
See: https://www.webdecker.de/artikel/items/strato-paypal-ipn-http-error-503.html
So, if you have the same behaviour search in Google for: PayPal IPN 503
Maybe your hoster has a security switch, too.Forum: Plugins
In reply to: [Contact Form 7 - PayPal & Stripe Add-on] IPN from PayPal doesn’t workIt was a security setting in the interface of my webhoster, which prevented the IPNs.
DANG!
See: https://www.webdecker.de/artikel/items/strato-paypal-ipn-http-error-503.html
So, if you have the same behaviour search in Google for: PayPal IPN 503
Maybe your hoster has a security switch, too.Forum: Plugins
In reply to: [Contact Form 7 - PayPal & Stripe Add-on] IPN from PayPal doesn’t workI mean, there is at least a call from PayPal, because after the transaction, the dummy file for registering the hook got written.
I finally tried to fetch the HTTP content within the
cf7pp_paypal_ipn_listenerlike in thecf7pp_paypal_ipn_handler.The simulator of PayPal has all content within it’s call during
cf7pp_paypal_ipn_listenerandcf7pp_paypal_ipn_handler. So I guess, there is only one HTTP Post of PayPal after the transaction like written in the docs:
https://developer.paypal.com/docs/api-basics/notifications/ipn/IPNIntro/#ipn-protocol-and-architectureSo what does that mean in the end? Currently my guess is the following: either the query towards PayPal is missing something, so that the response is empty or PayPal is sending nothing – whereas the IPN history says something else (see above). So what the heck is wrong here?
Hi marvel, afaik CF7 has now stripe support on it’s own. If you only need stripe and still having problems you could try the latest version of CF7.
https://contactform7.com/stripe-integration/
- This reply was modified 4 years, 6 months ago by mikeknappe.