Maiskolben
Forum Replies Created
-
Forum: Plugins
In reply to: [ICS Calendar] Content-Security-Policythank you! M.
Forum: Plugins
In reply to: [ICS Calendar] Content-Security-Policyhey Room34,
surely! I will undo all changes for a while. Are two or three days enough?
btw: this is new to me, too! I just tried to implement more security to my site and here you might find interesting information to figure out, if I may send you some info:
Security Scan from Mozilla Observation, General CSP Info, “Why are we not using it” (its pointing to the level#1 Problems).
Hope you find something useful! :o)
Thank you very much and
kind regards,
M.- This reply was modified 4 years, 9 months ago by Maiskolben.
Forum: Plugins
In reply to: [WP-CalDav2ICS] Content-Security-Policy Issuesry again! thank you! ??
Forum: Plugins
In reply to: [WP-CalDav2ICS] Content-Security-Policy IssueI did and it seems there is a little prob with the compatibility between the CSP and the ICS Calendar Plugin. Thank you for the quick response and sorry for the missunderstanding! ?? ??
- This reply was modified 4 years, 9 months ago by Maiskolben.
- This reply was modified 4 years, 9 months ago by Maiskolben.
Forum: Plugins
In reply to: [ICS Calendar] Content-Security-Policydang, I just figured it out. it’s the directive
script-src ‘unsafe-inline’ https://source.de
style-src ‘unsafe-inline’ https://source.deand now the plugin displayed the calendar correctly, as you mentioned with using the drop-down-menue.
Thanks for your quick answer, witch solved the problem! But this makes using CSP nearly obsolete, as you can read under ‘…if you absolutely must use it’-Section from this page..
I tried sript-src ‘self’ https://source.de, but it doesn’t make a difference. Only the ‘unsafe-inline’ tag had solved the problem and thats not fitting the idea of using CSP as a additional security-layer.
Do you see the opportunity to implement the ‘nonce-‘ thing in future updates for all the inline scripts and styles, so I can use the script-src ‘nonce-xxxxxxxx’ whitelisting, instead of “switch” off the script filtering completely? That would make your plugin more CSP friendly and could be a great enhancement for the future. Or do you see another way to use fully integrated CSP with your plugin?
Thanks again!
kind regards,
M.- This reply was modified 4 years, 9 months ago by Maiskolben.
- This reply was modified 4 years, 9 months ago by Maiskolben.
Forum: Plugins
In reply to: [ICS Calendar] Remove empty months on grid dropdownTHAT would be a really nice option! ??
Forum: Plugins
In reply to: [WP-CalDav2ICS] Content-Security-Policy IssueHey Franz,
thanks for your response! I tried the ics validator, there are no erros in the ics. I try something again and will post my results here. Thank you!
regards, M.Forget it, you will get the answer as everytime: since version X there is no support on this plugin, but if you spend $19, we will answer your question. Find it disturbing? ??
Forum: Plugins
In reply to: [Ajaxify Comments - Ajax and Lazy Loading Comments] ?WPACRandom=1422036536020damn, save your users time and sell your plugin!
hey Renato, would you tell us how you gonna fix it?
Forum: Plugins
In reply to: [Timeline Express] How to init again after tab-changecan be closed.
Forum: Plugins
In reply to: [Timeline Express] How to init again after tab-changeHey Guys,
just figured it out:
.bind('easytabs:after',function() { mapp0.resize(); // for the mappress google shit $j( '#cd-timeline' ).masonry(); // starting the masonry builder after tab-change $j('.cd-timeline-block').each(function(){ // start to check if its hidden or not if($j(this).offset().top > $j(window).scrollTop()+$j(window).height()*0.75) { $j(this).find('.cd-timeline-img, .cd-timeline-content').addClass('is-hidden'); } }); $j(window).on('scroll', function(){ // bounce in if class is-hidden $j('.cd-timeline-block').each(function(){ if( $j(this).offset().top <= $j(window).scrollTop()+$j(window).height()*0.75 && $j(this).find('.cd-timeline-img').hasClass('is-hidden') ) { $j(this).find('.cd-timeline-img, .cd-timeline-content').removeClass('is-hidden').addClass('bounce-in'); } }); });
Kind regards,
Maik Solben
Forum: Fixing WordPress
In reply to: the_content(‘more…’);thank you for answering!
I found this piece of code for rewriting the content of get_the_content() to a new function, so that I can use a preg_match() to take only the img-tag…function deretwaswenigercontent($more_link_text = 'mehr »', $stripteaser = 0, $more_file = '') { $content = get_the_content($more_link_text, $stripteaser, $more_file); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); return $content; }
and for the archive.php (or whereever you want to display the_content() without images), you can use this line..
<?php echo preg_replace('/<img[^>]+./','', deretwaswenigercontent()); ?>
Thank you for your advice!
Maiskolben
Forum: Fixing WordPress
In reply to: the_content(‘more…’);nobody an idea?
Forum: Fixing WordPress
In reply to: The More-Tag and ImagesHello Diane!
Yes, in the archive.php I want to show the title of each post, and a short excerpt defined by the more-tag. Images will be displayed too, when I use the_content(‘more >>’);. But I don’t want to use the_excerpt();, though… cause if I do, I couldn’t define an individual excerpt viá the more-tag…