Pierre_02
Forum Replies Created
-
Hi Scott π !
You’re kidding π ! No need for apology here, I will be really happy when you have added this functionnality π !
TIA.
Amicably,
Pierre.
Hi Scott π !
The function I use to parse email addresses is in this thread :).
It search for email addresses in the content part (but I think you’ll have to adapt it to search everywhere) and call the native WP functionantispambotfor each address.Happy to know that it will be implemented in a future release π !
Amicably,
Pierre.
Hi Steve :).
Ok thanks for the information and the quick support :)!
Amicably,
Pierre.
Hi Scott :).
Sorry I did not be clear enough… As I can’t use forms with static content, I use email addresses in my contact page as link like this:
<a href="mailto:mymailaddress@mydomain.com">Contact me</a>but as I don’t want that spambots recovers easyly my emails addresses, I write a special function that parse the content and transform each email address it found by using the native WP function “antispambot”.
So, when SS parse my pages it see the email link that have been transformed by the native function of WP. An it is unable to realize that’s an email address, that the problem.
So I stop to use my function to protect links with “mailto” and everything is workin now.
What I ask to you is to do the job from the plugin. Exactly as I was doing it :).
So, as soon the plugin discover a link containing a “mailto” it call itself the native WP function “antispambot” and everybody will be happy, because emails addresses will be correctly protected :)!
As I said you in my last answer : Like, actually, we canβt use form (at least in an easy way), it will be a really cool feature to protect our email addresses ;).I hope that this time I’ve been enough clear ;).
Amicably,
Pierre.
Forum: Plugins
In reply to: [Simply Static - The Static Site Generator] Bug with iframeHi Scott π !
Thanks here too for the quick answer π !! It’s seems that there’s a double problem, here :)…
SS mangle the HTML but my theme too (Divi) because they use a lot of shortcodes to “gnerate” the render of pages. So they have the same problem than SS when they parse that part of code.
I just write a ticket to their support to report the problem.Anyway, a big thanks to resolve the problem from your part π !
Amicably,
Pierre.
Forum: Plugins
In reply to: [Simply Static - The Static Site Generator] “Protect” php filesHi Scott,
thanks for the quick answer π ! I’ve found a quick and dirty trick to “protect” my file by setting its rights to 0444 :).
BTW, everything works fine :).Amicably,
Pierre.
Forum: Plugins
In reply to: [Simply Static - The Static Site Generator] Export to FTP(S)Hi Scott :).
Ok :(, I’ll tried to be patient :)…
Amicably,
Pierre.
Forum: Plugins
In reply to: [Simply Static - The Static Site Generator] paginated pages not workingHi.
I had a similar problem on one of my website, but I can confirm that pagination works with Simply Static. aviboy2006, believe me, you should investigate on your website, there’s a “broken” link or ressource somewhere in your website making that page generated ;).
PS. I had a look to your website and the dynamic content you have, is not adapted to static content ;)…
Amicably,
Pierre.
Already done two times (three with today) by mail at help@wptimecapsule.com.
I hope that this time, I’ll get an answer…Amicably,
Pierre.
Forum: Plugins
In reply to: [Backup and Staging by WP Time Capsule] Why register at wptimecapsule.com?Good question :)… I’d like to know too.
Forum: Plugins
In reply to: [Simply Static - The Static Site Generator] Contact form not workingHi Nicolas.
All the things become statics, so actually, except the use of a Google form or something similar, there’s no way to make it works :(…
Amicably,
Pierre.
Forum: Plugins
In reply to: [Backup and Staging by WP Time Capsule] Is it working with MultisiteHi Surbma.
It just have been implemented today π but I’m not sure how to correctly use it…
Hi Scott π !
It makes a long time π !! I would like to suggest a feature about the email address obfuscation.
As SS have problem when email are protected by the native WP function “antispambot” when it’s called before the static generation of webpages, I’ve stopped to use it. But I’d like to ask you if you can implement it by your side :).
So BTW, each time SS will find an URL beginning by “mailto:” this is YOUR plugin that will do the job by calling the “antispambot” function :).
Like, actually, we can’t use form (at least in an easy way), it will be a really cool feature to protect our email addresses ;).TIA.
Amicably,
Pierre.
Hi Scott π !
I have tried the last release (1.6.2) but the bug still exist. If I don’t call ‘add_filter’ everything works fine. But if I do it (like in the line bellow : `add_filter(‘the_content’,’search_and_replace_email’);
the_content();`function search_and_replace_email ($string) { $pattern = "/[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})/i"; preg_match_all($pattern, $string, $matches); foreach ($matches[0] as $email) { $string = str_replace($email, antispambot($email), $string); } $string = str_replace("mailto:", antispambot("mailto:"), $string); return $string; }<a href="http://domain.tld/contact/mailto:mail@domain.tld">mail@domain.tld</a>
I think that your function is “lost” as the antispambot is passed before and Simply Static think that it is a “standard” URL :(…Any solution to protect email ?
TIA.
Amicably,
Pierre.
Hi lolo08 π !
This is tipically a problem of “rights”. I think that your theme use a font from an other domain (Google ?) or from your WP hosted subdomain.
But on the website hosting your static file the server can’t access to this font…
I’m practically sure that if you have access to your .htaccess file in the domain who host your static files your problem will be resolved by adding these lines π<FilesMatch “\.(eot|ttf|otf|woff)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>Amicably,
Pierre.