Jan 18, 2012

Crazy Promotion: Buy Elegant Themes and get FREE 1 Year WordPress Hosting by WPWebHost

Crazy Promotion: Buy Elegant Themes and get FREE 1 Year WordPress Hosting by WPWebHost  阅读原文»

ElegantThemes banner by WPWebHost

 

It’s the beginning of the year 2012 and we have decided to throw in all the goodies for all you WordPress enthusiast out there to kickstart your WordPress sites. Nothing can be more perfect than to have a good and reliable hosting provider and what’s more if you can have a great premium WordPress Themes from one of our esteemed partner Elegant Themes.

We have decided to give one of the craziest promotion where it’s a BUY 1 FREE 1 DEAL. All you have to do is to sign up Elegant Themes from WPWebHost and you will get a free 1 year shared hosting account which is our Freedom Plan worth $143.40 a year for FREE!!!

 

Here’s why you want to sign up our Elegant Themes:

  • You will get the cheapest Elegant Themes for $29.00 instead of normal price $39.00
  • New client/new signups will get FREE Shared Hosting (Freedom Plan) for 1 Year worth $143.40
    (Coupon codes will be given upon paying for the Elegant Themes)
  • Existing client who wish to enhance their sites with Elegant Themes will get a free extend of 3 months hosting deals (add-on to your current hosting package) *Applicable for shared hosting only. Eg: Rookie, Freedom, Buddy

This Crazy BUY 1 FREE 1 WordPress Hosting Promotion by WPWebHost is valid till 31st January 2012.

Get your Elegant Themes Now and also your FREE Shared Hosting (Freedom Plan) from WPWebHost by clicking here.

Order Eleganttheme Membership Now

阅读更多内容

该邮件由 QQ邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订

Jan 17, 2012

Internet Blackout Day on January 18

Internet Blackout Day on January 18  阅读原文»

WordPress.org is officially joining the protest against Senate Bill 968: the Protect IP Act that is coming before the U.S. Senate next week. As I wrote in my post a week ago, if this bill is passed it will jeopardize internet freedom and shift the power of the independent web into the hands of corporations. We must stop it.

On January 18, 2012 many sites around the web — from small personal blogs tointernet institutions like Mozilla, Wikipedia, reddit, and I Can Has Cheezburger?– will be going dark in protest and to drive their visitors to sites like americancensorship.org to take action and help fight the passage of the Protect IP Act. So will WordPress.org.

If you want to join the protest by blacking out your WordPress site or applying a ribbon, there is now a variety of blackout plugins in the WordPress.org plugins directory. While joining the protest in this manner is laudable, please don’t forget to also make those phone calls to U.S. Senators — they’re the ones with the voting power.

阅读更多内容

该邮件由 QQ邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订

Jan 13, 2012

ColorLabs WordPress Themes Giveaway : Winner Announced

ColorLabs WordPress Themes Giveaway : Winner Announced  阅读原文»

 

Colorlabs Theme Giveaway by WordPress Hosting WPWebHost

 

Our latest Tweet and Win Giveaway which we collaborated with ColorLabs that was held on last December has ended. It’s time to announce the lucky winners for this game. We, WPWebHost team would like to congratulate the lucky 3 winners and they are:

@iAMZuperJei
@tip4pc
@herinxi

 

Congratulations to this 3 lucky winners again and you will receive our email shortly for further details.

To those who did not manage to win this giveaway, stay tuned as there will be next giveaway in a few days time and also there will be more surprises from WPWebHost. Thanks to all who participated this contest.

 

Followus onTwitterorLikeourFacebook pagefor more surprises and also exclusive giveaways.

 

 

阅读更多内容

该邮件由 QQ邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订

Jan 10, 2012

Simple guidelines for WordPress 3.3 updates

Simple guidelines for WordPress 3.3 updates  阅读原文»

 

If you have not yet updated your blog to WordPress 3.3, try using the auto-updating feature first. But make sure you have performed a back-up of your blog. If time is limited, pay attention to backup these important elements:

a.) root directory .htaccess
b.) wp-config.php
c.) wp-content directory
d.) other important scripts in your blog (custom-made and not part of the WordPress core files).
e.) WordPress database
f.) robots.txt � if you are using this.
g.) wp-includes/languages �if your blog uses a language file.

The auto-updating feature in WordPress would safely bring your site to maintenance mode and update the core files to WordPress 3.3 quickly and easily.

Case#1: Auto-updating Fails

If auto-updating encounters an issue; then you can safely revert back to the previous version by following the procedures below:

1.) Login to your server root directory using FTP/SSH or your hosting control panel.
2.) Find the file named as (with dot before the file name):
.maintenance
3.) Delete this file to remove the maintenance mode message in your site.
4.) Clear your browser cache and history then your site should return back to normal.
5.) You can now login to your WordPress admin again but the core files are still not updated to use the latest version.
Aside from timeout issues (which you can safely click auto-update again when your server is not anymore busy); one of the common causes why auto-updating does not work is in relation to file permissions and owner settings in Apache server. To troubleshoot:

1.) Check if your WordPress directory and folders are using correct file permissions, some guide:
a.) wp-content, wp-admin, wp-includes is using 755.
b.) WordPress core PHP scripts (index.php, etc.) are using 644.
c.) Other wordpress folders such as "upgrade", "themes", "uploads", "plugins", etc. will be using 755.

2.) If any of the above items are not in the proper file permissions, try changing them to designated permissions. You can use Filezilla FTP client to do these changes. To do this, login to your server using Filezilla; right click in affected WordPress folders or scripts then click "File permissions".

3.) Check if your WordPress directory is owned by you. To do this, login to your WordPress root directory and make sure all files and directories are owned by your assigned username (which you use when logging in FTP or SSH). See screenshot below:

In the above example, the username assigned by the hosting company is "phpdevel" and the WordPress directory is owned by this username also. This is correct. The group can be owned also by you or another party but it's the owner that is important. If the owner is not the same, you need to contact your hosting company.

3.) If all file permissions and ownerships are in place; try performing the auto-update again. It should be working fine.
If it still fails, delete .maintenance and you need to manually update WordPress core files. Read this guide on how to safely update WordPress core files manually.

Follow the steps in the first section: "Overview of the Upgrade Process" except that after "Step3. Verify the backups"; you need to bring your site to maintenance mode first by:

a.) Create a PHP script and named it as 503.php with the source code below:

<?php
header('HTTP/1.1 503 Service Temporarily Unavailable');
header('Status: 503 Service Temporarily Unavailable');
header('Retry-After: 10800');
header('X-Powered-By:'); ?>
<html>
<head>
<title>URGENT WEBSITE MAINTENANCE!</title>
</head>
<body>
<h1>Doing maintenance</h1>
<p>This site is under maintenance right now.</p>
<p>This should be ready again in under 3 hours.</p>
</body>
</html>

You can change the number of maintenance hours from 3 hours to any number of hours by converting the number of hours first to seconds and then replacing 10800 seconds in:

header('Retry-After: 10800');

b.) Open your current WordPress .htaccess and paste the code below starting on the first line of your .htaccess

RewriteEngine On
RewriteBase /
# Allow blog admin to access the website normally
RewriteCond %{REMOTE_ADDR} !^91\.210\.196\.8
RewriteCond %{REQUEST_URI} !^/503\.php
RewriteRule .* 503.php [L]

Replace 91.210.196.8 with your own IP address which you can find here. This will let you login and access your WordPress site normally while other visitors (bots, etc.) to your blog will be provided with a 503 temporary not available status.

c.) Upload your .htaccess and 503.php to your WordPress root directory.
d.) Check if 503 server header status are now returned in your blog using this server header status checker.

If the homepage now returns 503 header status then proceed with deactivating the plug-ins and the rest of the manual updating process as stated in this guide.

To remove maintenance mode, simply delete 503.php in your WordPress root directory and remove the maintenance code in your .htaccess.

Special case to those that are still using PHP 4 and MySQL 4: As of WordPress 3.2, the minimum hosting requirements is changed to PHP 5 and MySQL 5. So if you are still using PHP 4 or MySQL 4, you need to upgrade them first before upgrading WordPress to use WordPress 3.3.

Case#2: Auto-update successful but Returning with Errors

In this case, you have succeeded updated your blog to WordPress 3.3 but the site runs unstable or returning a lot of errors. There are two possible causes for this:

1.) Plug-in related issues.
2.) Theme related issues.

The first thing to check is whether plug-in related issues exist. To troubleshoot, refer to the steps below:

1.) Put your website in maintenance mode (refer to previous section for guide).
2.) Disable all plug-ins first. If you cannot access to admin panel for some reasons, you can read some guide here.
3.) Enable the plug-ins one by one and check your blog for the presence of errors or blog instability. If you are using a caching plugin, enable it last because it can be difficult to check if other plugins are working with caching enabled. Remember all the configuration settings so that you can safely revert to it.
4.) Continue doing this until a certain plug-in returns with error. This is an incompatible plug-in with WordPress 3.3. Disable them back.
5.) Continue with the rest of the plug-ins until you have completed testing all of them.
6.) Finally enable the cache plugin with the settings you have been using before. If it returns an error; then the caching plugin you are using is not compatible with WordPress 3.3.

What to do with incompatible plug-in?

1.) Contact the plugin developer for updates and report that the plug-in is incompatible with WordPress 3.3. In some cases, you can go to the plugin page in WordPress to check if it's compatible with version 3.3.
2.) If there is already an update available to sort out the incompatibility issues; update them before enabling them for use with WordPress 3.3.
3.) If there is no update available, you can either:

a.) Do not update to WordPress version 3.3 until the new version would be released.
b.) Remove the plug-in if the feature is not very important to your blog functionality and operation.
c.) Replace the plug-in with other compatible plug-in.

To troubleshoot for theme related incompatibilities. Follow the troubleshooting steps below:

1.) Put your site in maintenance mode.
2.) Login to your WordPress admin panel and change your WordPress theme to "Twenty Eleven".
3.) Check whether those errors are gone by switching to Twenty Eleven.

If the errors are gone, then your theme is not compatible with WordPress 3.3 you have to report that to the theme developer and have it fixed. If for some reason you cannot login to your admin dashboard; you need to login to your WordPress website via FTP/SSH and then manually remove all themes (do not forget to back up your original theme files) except "Twenty Eleven". This action would force WordPress to use Twenty Eleven.

Case#3: Theme errors due to overwritten WordPress core files

If you have edited your WordPress core scripts (which are not advisable) then updating to WordPress 3.3 can introduce errors because your changes will be overwritten.
To resolve this issue:

a.) Look for compatible plug-in that will replace the functionality removed by the update. Or edit only your theme files to add the features.
b.) Do not anymore edit the WordPress core files to prevent this issue from happening again in the future.
Finally for cases that are not mentioned in this post, you can refer to t

阅读更多内容

该邮件由 QQ邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订

Help Stop SOPA/PIPA

Help Stop SOPA/PIPA  阅读原文»

You are an agent of change. Has anyone ever told you that? Well, I just did, and I meant it.

Normally we stay away from from politics here at the official WordPress project — having users from all over the globe that span the political spectrum is evidence that we are doing our job and democratizing publishing, and we don’t want to alienate any of our users no matter how much some of us may disagree with some of them personally. Today, I’m breaking our no-politics rule, because there’s something going on in U.S. politics right now that we need to make sure you know about and understand, because it affects us all.

Using WordPress to blog, to publish, to communicate things online that once upon a time would have been relegated to an unread private journal (or simply remained unspoken, uncreated, unshared) makes you a part of one of the biggest changes in modern history: the democratization of publishing and the independent web. Every time you click Publish, you are a part of that change, whether you are posting canny political insight or a cat that makes you LOL. How would you feel if the web stopped being so free and independent? I’m concerned freaked right the heck out about the bills that threaten to do this, and as a participant in one of the biggest changes in modern history, you should be, too.

You may have heard people talking/blogging/twittering about SOPA — the Stop Online Piracy Act. The recent SOPA-related boycott of GoDaddy was all over the news, with many people expressing their outrage over the possibilities of SOPA, but when I ask people about SOPA and its sister bill in the Senate, PIPA (Protect IP Act), many don’t really know what the bills propose, or what we stand to lose. If you are not freaked out by SOPA/PIPA, please: for the next four minutes, instead of checking Facebook statuses, seeing who mentioned you on Twitter, or watching the latest episode of Sherlock*, watch this video (by Fight for the Future).

Some thoughts:

  • In the U.S. our legal system maintains that the burden of proof is on the accuser, and that people are innocent until proven guilty. This tenet seems to be on the chopping block when it comes to the web if these bills pass, as companies could shut down sites based on accusation alone.
  • Laws are not like lines of PHP; they are not easily reverted if someone wakes up and realizes there is a better way to do things. We should not be so quick to codify something this far-reaching.
  • The people writing these laws are not the people writing the independent web, and they are not out to protect it. We have to stand up for it ourselves.

Blogging is a form of activism. You can be an agent of change. Some people will tell you that taking action is useless, that online petitions, phone calls to representatives, and other actions won’t change a single mind, especially one that’s been convinced of something by lobbyist dollars. To those people, I repeat the words of Margaret Mead:

Never doubtthat a small group of thoughtful, committed citizens can change the world. Indeed, it is the only thing that ever has.

We are not a small group. More than 60 million people use WordPress — it’s said to power about 15% of the web. We can make an impact, and you can be an agent of change. Go to Stop American Censorship for more information and a bunch of ways you can take action quickly, easily, and painlessly. The Senate votes in two weeks, and we need to help at least 41 more senators see reason before then.Please.Make your voice heard.

*Yes, the latest episode of Sherlock is good. Stephen Moffatt + Russell Tovey = always good

阅读更多内容

该邮件由 QQ邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订

Jan 3, 2012

WordPress 3.3.1 Security and Maintenance Release

WordPress 3.3.1 Security and Maintenance Release  阅读原文»

WordPress 3.3.1 is now available. This maintenance release fixes 15 issues with WordPress 3.3, as well as a fix for a cross-site scripting vulnerability that affected version 3.3. Thanksto Joshua H., Hoang T., Stefan Zimmerman, Chris K.and the Go Daddy security team for responsibly disclosing the bug to our security team.

Download 3.3.1 or visit Dashboard → Updates in your site admin.

阅读更多内容

该邮件由 QQ邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订

Dec 28, 2011

Integrate a fully functional Q&A section in your WordPress website

Integrate a fully functional Q&A section in your WordPress website  阅读原文»

Do you want to add Q&A section in your WordPress website that is fully integrated with WordPress user management system and database? With this method, your Q&A section and your WordPress website share the same database and user-management system.

In this beginner tutorial, you will be using "Question2Answer" which is an open source Q&A platform that can provide similar functionality to top question and answer websites like StackOverflow. This tutorial will illustrate the complete steps of integrating this Q&A platform to your existing WordPress website. This also assumes you are installing WordPress in the root directory of your domain.

The integration is actually very simple; just follow the steps below:

Preparatory Steps before Uploading Question2Answer

1.) Download the latest Question2Answer version to your Desktop and extract it.

2.) First, you need to know the WordPress path in your server. To do this, open a notepad or any text editor, then copy and paste the code below:

<?php echo $_SERVER['SCRIPT_FILENAME']; ?>

Then save it as absolutepath.php

3.) Upload this script to your WordPress root directory (the same path where wp-load.php is found).

4.) Finally access this script using a web browser. Since you have installed WordPress in the root directory of your domain; you can enter this URL in the browser and press enter to get the path:

http://www.example.com/absolutepath.php

Or if you are using a sub-domain which is using WordPress in its root directory, you can run absolutepath.php like this:

http://subdomain.example.com/absolutepath.php

It should return this result in the browser such as:

/home/phpdevel/public_html/absolutepath.php

Remove the absolutepath.php from the above result, and then the remaining is your WordPress path. For example, this is the WordPress path based on the above result:

/home/phpdevel/public_html/

Take note of this path.

5.) Go to the extracted "Question2Answer" folder and find qa-config-example.php.

6.) Open qa-config-example.php and find this line:

define('QA_WORDPRESS_INTEGRATE_PATH', '/PATH/TO/WORDPRESS');

By default this is commented in PHP so you need to uncomment this line. Then replace:

'/PATH/TO/WORDPRESS'

With your WordPress path as determined in the previous steps:

define('QA_WORDPRESS_INTEGRATE_PATH', '/home/phpdevel/public_html/');

This is how it looks like after doing these changes, take note that the line is now uncommented:

Then save it as qa-config.php. You can now safely delete qa-config-example.php.

7.) Login to your server using an SSH client (recommended than using FTP because of security) and create a folder at the root directory of your WordPress website. Assign a good name to your WordPress Q&A section that makes it easy for your visitors to understand and make it SEO friendly. For example, if you are running a PHP programming website and would like your readers to ask a question, you can name the folder as: "php-programming-help". See the screenshot below showing this created folder at the root directory of your WordPress website:

8.) Using an SSH Client such as Filezilla, right click on the created folder and click "File permissions". Assign a file permission of 755 to this folder.

Uploading and Installation of Question2Answer

9.) It is time to upload Questions2Answer to your WordPress website. Using an SSH client; connect to your server and go inside the created folder for Question2Answer files (e.g. "php-programming-help" in the above example). This is how it looks with Filezilla GUI:

10.) Upload all the files and folders of the Question2Answer core files including the qa-config.php, .htaccess, etc. It can take some time, wait until all files are completely uploaded and then you can see it like this one below:

11.) Launch a web browser and then enter the Question2Answer URL to install the software. If your Q&A folder is named as QA; then the path to enter would be:

http://www.example.com/qa/

In the previous example on setting a php programing help section on your WordPress website, this is the URL to enter in the browser address bar:

http://www.example.com/php-programming-help/

12.) The first thing you would see is that Question2Answer will ask you to set up the database. Click the "Create Database" button.

13.) If you see the message "Your Question2Answer database has been created and integrated with your WordPress site." click "Go to Admin Center" then login as an administrator.

14.) Since Question2Answer is now integrated with WordPress database, login using your WordPress administrator credentials. Bear in mind that if you click the login link, it would be redirected to your WordPress login page.

15.) Finally after successful authentication, you should be able to see the Question2Answer:

The quickest admin configuration you could do is to set for user/SEO friendly URLs in your Q&A site integrated with WordPress which is supported since you are using htaccess. The rest are easy and simple. For configuration details and editing of your Q&A templates; you can go to the official website: for related documentation.

You can further secure your Q&A site by reading some tips here. Now if a user registers your site, it will automatically be managed by WordPress and all questions and answers would be saved in the same database used by WordPress.

阅读更多内容

该邮件由 QQ邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订
Older Posts Home