headonfire
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: How to shroud an email address to prevent spamI completely agree with you. Same with contact forms. There are some people who just don’t like to submit them. Personally I’m trying to keep a minimalistic and ‘lazy’ approach – the less actions needed from user and the more straightforward they are – the higher conversion we get. Even 100 spam emails daily (and they are automatically filtered by Gmail anyway) is a small price for that.
Forum: Everything else WordPress
In reply to: How to shroud an email address to prevent spamcatacaustic, seems like contact form on your website is completely broken. See the screenshot: https://snag.gy/sQuB1.jpg
This NEVER happens to mailto: links ??
Forum: Everything else WordPress
In reply to: How to shroud an email address to prevent spamYes, I’ve heard a lot of horror stories about super smart harvesters. In our company we did a test. Created a site, created 2 brand new emails, published them on tthat website. 1st email was obfuscated, 2nd one – plain text. After 6 months we checked inboxes and spam folders. 2nd one was full of spam – more then 14000 letters. 1st one had less then 800. Conclusion: obfuscation helps. Not a 100% protection, definitely, but makes huge difference.
And one more thing to consider – emails on your custom domains are getting spammed automatically. There’s no need to harvest emails, just prepend domain name with a list of popular/standard names like admin, info, support, sales, office etc and you got it. And many standard cPanel setups on shared hosting accounts by default enable collecting emails sent to unknown address on the domain to primary account. In this case send email to [email protected] and it will be delivered to primary account.
Use Gmail. Obfuscate email address on the website. Stop worrying about spam. Works for years.
Forum: Everything else WordPress
In reply to: email addressBetter use it right way. WordPress has core function antispambot() which obfuscates your email address ‘hiding’ it from spam bots. Also, you don’t need to hardcode the email address into template, this code automatically picks up blog admin email.
<a class="email" href="mailto:<?php echo antispambot( get_bloginfo('admin_email', 'raw'), 1 ); ?>?subject=Hello" target="blank"><?php _e('Contact me', 'your_text_domain'); ?></a>
To hardcode custom email address into temlate use this:
<a class="email" href="mailto:<?php echo antispambot('[email protected]', 1 ); ?>?subject=Hello" target="blank"><?php _e('Contact me', 'your_text_domain'); ?></a>
replace
[email protected]
with the email you want to insert.Forum: Everything else WordPress
In reply to: How to shroud an email address to prevent spamIf you still need to put obfuscated but clickable email on your site, use this native WP function:
<a class="email" href="mailto:<?php echo antispambot( get_bloginfo('admin_email', 'raw'), 1 ); ?>?subject=Hello" target="blank"><?php _e('Contact me', 'your_text_domain'); ?></a>
Personally I hate contact forms and prefer to write emails. That’s why I always have a “send me an email” link on any website. And I don’t receive tons of spam. 10-50 spam messages a day, sometimes a bit more. I use my Gmail account from the first days of Gmail service existense and use it everywhere on the forums, blog, promotion websites etc. For such an old and populated email even 100 spam messages a day isn’t much.
Forum: Fixing WordPress
In reply to: WordPress Page Source on browsersOf course W3 Total Cache plugin (as well as many other caching plugins) does this. It’s minification, for faster page loads.
Forum: Fixing WordPress
In reply to: Threaded PostsThey should write that post parts in wp-admin or on the frontend?
For wp-admin I don’t see any problem here – logged in, edited (added something like reply), saved.
For frontend it can be done with some custom development with one of the forms plugins, both free and premium.
Another simple option is to create a regular post/page with some description on the discussion topic and let those authors talk in comments – actually comments are ‘Debate’ by their nature. And you can even style these comments or entire page to make it look different than other posts/pages.
Forum: Plugins
In reply to: [W3 Total Cache] Random Blank Pages – w3 total cacheluigidelgado, are you on shared hosting or vps? Have another idea to check. It’s working fine on my website but I already got my hand dirty on this issue, will try to figure out what’s wrong.
njs7227, seems we have the same scenario. You can check ping to your CDN and see if it’s high. But even with high ping CDN will be useful if your site receives high traffic – it will distribute requests and load. By high traffic I mean more that 1000000+ hits per day.
Forum: Fixing WordPress
In reply to: Could anybody help me solving this problem?The script does basically the same but with pure javascript (my version was for jQuery). And separating YouTube and Link inputs is logical. Glad you managed to make it work! Good luck! ??
Forum: Plugins
In reply to: [W3 Total Cache] Random Blank Pages – w3 total cachenjs7227, about this:
I thought a CDN was supposed to improve site’s performance but my findings were not supporting that.
It actually does. It makes pages load faster in most cases. Don’t rely only on scores. Every file hosted on CDN adds a redirect (request is actually made to a local origin and W3TC is redirecting it to CDN version). Google Page Speed, YSlow and other tools decrease your score because of that with a simple recommendation – ‘minimize redirects’. Check your site with https://tools.pingdom.com and review the results in detail.
Serving static files from CDN means that a user can send more simultaneous requests and download more files/assets at once. At the same time, serving large files from CDN decreases your server load, and it definitely improves overall performance, especially for high traffic websites. This makes a huge difference if you have short ping to CDN servers. I live in Ukraine, the closest and fastest S3 location is Ireland with 150-200ms ping. US locations are even slower. So, for any local ukrainian or russian visitor serving files from a local ukrainian server with 15-25ms ping will be much faster.Forum: Fixing WordPress
In reply to: Could anybody help me solving this problem?Check this: https://jsfiddle.net/grRPw/8/
Forum: Fixing WordPress
In reply to: Could anybody help me solving this problem?Okay, this text sounds like a YouTube manual.
Check this: https://jsfiddle.net/grRPw/5/Forum: Fixing WordPress
In reply to: Could anybody help me solving this problem?Added ‘lightbox’ class:
https://jsfiddle.net/grRPw/4/Didn’t understand you second comment about the first input, sorry ??
Try to write it in your language and translate via Google Translate, then paste the translation here. Maybe this way it will work better.Forum: Fixing WordPress
In reply to: Could anybody help me solving this problem?Ok, I got it. Basically, you need to trigger js function when clicking your buttons. This function gets the values from inputs, merges with predefined text (like https://youtube.com/embed before text, full A tag code etc) and adds the final result to textarea.
Check this: https://jsfiddle.net/grRPw/
Now it’ll be easier to understand what you need.Forum: Fixing WordPress
In reply to: Could anybody help me solving this problem?Things aren’t getting easier ?? Let’s try with schematic approach.
1. You have a form with fields:
– input text: youtube video id
– input text: video name (to use it in alt or title attribute?)
– input text: link name (the actual text of the link to be displayed?)
2. And buttons, they paste a code to textarea id=”comments”:
– button A: pastes a video embed html code into textarea
– button B: pastes a link to youtube URL into textarea, the link will open in lightboxRight?