The problem(s): With some upgrades of the WordPress 2.5 branch, the Popularity Contest WordPress plugin is not working properly. Also, people trying to activate the Popularity Contest plugin on a brand new WordPress install are getting a fatal error or a “doesn’t exist” message when attempting to activate the plugin.
The solution(s): I actually ran into this problem on a fresh install of WordPress. After several attempts, I was unable to figure out the problem myself. Thankfully, a quick Google search showed a post over at WPGuy which gave details on fixing both problems!
Here is what you need to know if you have this problem:
Fix problems with the upgrade to WordPress 2.5
Open your Popularity Contest plugin (edit it) and search for this code:
require('../../wp-blog-header.php');
And replace it with this:
require('../wp-blog-header.php');
Fix problems with a new install of WordPress 2.5
In addition to doing the above, you need to search for the following code:
if (isset($_GET['activate']) && $_GET['activate'] == ‘true’) {
And replace it with this:
if (isset($_GET['action']) && $_GET['action'] == ‘activate’) {
I went through both of these steps on my fresh WordPress install and it fixed the problem perfectly!
In the past we’ve talked about how to add a print button to your WordPress theme. Today I wanted to give you the javascript code you need to create an Email This button on your WordPress blog.
Before getting to the code, I wanted to first say that this code is designed to allow readers to click on the button and have it open up their default email software and create a subject and link that point to the post the reader is currently visiting. This code is not designed to allow readers to contact the blog author.
If you are wanting your readers to be able to contact you, I recommend you use one of the many great contact form WordPress plugins available. You should never embed your email address into some HTML code because it will be picked up by spam bots. Contact forms prevent spammers from finding your email address. The other thing you can do is offer “EmailAddress AT EmailCompany DOT com” (which your email address information filled in) to avoid spammers.
Okay, so back to the Email button code. Here is the javascript you will need:
<script type="text/javascript">
<!-- Begin
function isPPC() {
if (navigator.appVersion.indexOf("PPC") != -1) return true;
else return false;
}
if(isPPC()) {
document.write('<a class="contact" HREF=\"mailto:\?subject\=Take a look at this page I found, ‘ + document.title + ‘?body=You can see this page at: ‘ + window.location + ‘\” onMouSEOver=”window.status=\’Send your friends e-mail about this page\’; return true” TITLE=”Send your friends e-mail about this page”>Email to a Friend<\/a>’);
}
else { document.write(’<a class=”contact” HREF=\”mailto:\?body\=Take a look at this page I found titled ‘ + document.title + ‘. You can see this page at: ‘ + window.location + ‘\” onMouSEOver=”window.status=\’Send your friends e-mail about this page\’; return true” TITLE=”Send your friends e-mail about this page” rel=”nofollow”>Email This!<\/a>’);
}
// End –>
</script>
This will create an email where the reader can enter in someone’s email address and send them a link to your post/page.
If you ever visit our actual website, you’ve probably noticed the “Print This” button that we display below each post. Depending on the type of website or blog you are running, having a button like this may be a good fit for your blog. I’ve found it to be good to have this button available to readers for any type of website that offers tutorials, recipes, guides, or pretty much anything that might require a visitor to print something you’ve written.
If you think you’d like to offer your readers the option to print something on your blog, here is the code I use on my blogs (uses Javascript):
<a href="javascript:window.print()" rel="nofollow">Print This!</a></span>
It prints the page you are on, so it is probably best to use it mostly on post and pages. If you place it on the blog’s homepage, it will print the entire homepage, not just that post.
Yesterday I wrote a post titled When Has Stealing Content Gone to Far? At the time of publishing that post, I wasn’t really sure how it would be received because of the subject matter. So far all feedback has been pretty positive, so I decided to write a quick follow up post talking about how to deal with getting your content stolen. Thanks to Laurence for the idea.
As most people should know, when you publish content, pictures, or whatever else on the internet, there is always some risk that things will get scraped or stolen completely from your website/blog. Despite everything falling under copyright protection, people sometimes get away with it because it is often difficult to enforce.
So, what can do you to deal with content theft? Here are two things readers suggested that may help:
- Terms and Conditions - Create a clear terms and condition policy that is findable on your website. It may not help, but it certainly can’t hurt anything. Throw it in the footer of your blog or somewhere that it is accessible.
- Use Internal Links in your Posts - In addition to the SEO benefits of working on your internal linking structure, scraped and sometimes stolen content will often include these links back to your website.
Hopefully those methods will help avoid this in the future, but what can you do when your content has already been stolen?
- Contact the Offender - Depending on the situation, some sites may have a contact form or some way to contact the thief. You can also try checking the domain whois records. This is a good way to request they delete your stolen content and stop stealing your content in the future. Though most know they are doing so, a few might not be aware that this is illegal.
- Take Action Against the Offender - If the first option doesn’t yield any results or there is no way to contact the owner, there are two ways to take action against the thief. If they use Google AdSense to monetize the site (most do), you can report them to Google by clicking on the “Ads by Google” link in the lower right corner of the AdSense box and provide them feedback. I believe stolen content is actually one of the default options you can check. The other thing you can do is contact the hosting company and let them know they are hosting websites that are doing illegal practices. I’ve heard of people have some success going this route, so it is a great last resort.
So, that is what I have. What do you do to deal with scrapers and content thiefs?
P.S. Ironically enough, unless there is some sort of screening process that I’m not aware of, this post will be scraped at least 3 times shortly after publication. Am I the only one that finds humor in that?








