Thursday, 19 September 2013

Modify WordPress AutoSave Interval


Here we're again! Another post about my favorite Pokemon WordPress core file. YES! YES! YES, this post is also about Daniel Bryan wp-config.php file.

When editing a post, the changes you make are automatically saved every 2 minutes. It seems bit weird, but you can actually change the setting for longer delays in between auto-saves, or decrease the setting to make sure you never lose changes.

And we don't need a crappy plugin for this simple hack. Technically, it's not even a hack, but a simple option described in original WordPress codex.

Modify WordPress AutoSave Interval:

To modify autosave interval simply open wp-config.php (located in root of WordPress installation) and add following code to the end of file:

define('AUTOSAVE_INTERVAL', 160 );  // seconds

Replace 160 with your custom autosave interval (in seconds).

Save your config.php file & that's it!

Friday, 13 September 2013

How To Disable Or Limit WordPress Post Revisions

Post Revisions are a feature introduced in WordPress 2.6. A revision is automatically stored in your database, whenever you save or draft a post or a page. Earlier this year, I posted an article about Deleting Old WordPress Post Revisions at this link.

Today we're going to learn a very simple tweak to disable or limit WordPress post revisions without installing any crappy plugin, which saves a lot of space. We just have to add a little snippet to your our config.php file.

Limit WordPress Post Revisions:

To limit Post revisions simply open wp-config.php (located in root of WordPress installation) and add following code to the end of file:

define('WP_POST_REVISIONS', 3);

Replace 3 with maximum number of Post revisions per post/page.

Disable WordPress Post Revisions:

To disable Post revisions simply open wp-config.php (located in root of WordPress installation) and add following code to the end of file:

define('WP_POST_REVISIONS', false );

 Save your config.php file & that's it!

Monday, 9 September 2013

Editing WordPress wp-config.php File


Editing WordPress core files is a very risky and hard job, especially for WordPress beginners like me. Yea, I'm using WordPress only from last four months, but I have learned a lot from it.

The wp-config.php file is one of the most important files in WordPress. It contains the login information for WordPress to connect to your database as well as table prefix, secret keys, e.t.c. Editing wp-config.php file is very easy, but this file looks a bit scary so beginners usually keeps themselves away from it.

If you installed WordPress using your hosting provider's install wizard, then wp-config.php file will be in your root directory. If you installed WordPress using FTP, then you can find wp-config.php (named as wp-config-sample.php) file in your WordPress download. Don't forget to rename wp-config-sample.php to wp-config.php.

Adding Database Info:

To change the wp-config.php file for your installation, you will need this information:

Database Name
Database Name used by WordPress
Database Username
Username used to access Database
Database Password
Password used by Username to access Database
Database Host
The hostname of your Database Server. A port number, Unix socket file path or pipe may be needed as well. 

Find following lines in your wp-config.php file:

define( 'DB_NAME',     'database_name_here' );
define( 'DB_USER',     'username_here' );
define( 'DB_PASSWORD', 'password_here' );
define( 'DB_HOST',     'localhost' );

It's not that hard. We just have to replace above text with our database's info.

Set Database Name:

Replace 'database_name_here', with the name of your database, e.g. MyDatabaseName.

define( 'DB_NAME', 'MyDatabaseName' );

Set Database User:

Replace 'username_here', with the name of your username e.g. MyUserName.

define( 'DB_USER', 'MyUserName' );

Set Database Password:

Replace 'password_here', with the your password, e.g. MyPassWord.

define( 'DB_PASSWORD', 'MyPassWord' );

Set Database Host:

Replace 'localhost', with the name of your database host, e.g. MyDatabaseHost.
define( 'DB_HOST', 'MyDatabaseHost' );

That's it for this part. Now we have to follow one simple step to complete our wp-config.php file.

Adding Secret Keys:

Now we just have to add some unique keys to our wp-config.php file. Find following in your wp-config.php file:

define( 'AUTH_KEY',         'put your unique phrase here' );
define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
define( 'NONCE_KEY',        'put your unique phrase here' );
define( 'AUTH_SALT',        'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
define( 'NONCE_SALT',       'put your unique phrase here' );

Put your unique keys in above spaces. You don't have to remember the keys, just make them long, random and complicated. You can change these keys at any time. You can also use WordPress' online generator to automatically generate these keys for you.

These secret key protects your site from getting hacked. A password like "password" or "facebook" is simple and easily broken. A random password such as "w<$4c$aPHmd%/*]`Oom>(hpdXW|0M=X={we6;Mphvtg+V.o<$|#_}qG(GaVDEsn,~*4i')" takes years to come up with the right combination.

That's it for this time. Now after adding/editing above details, your wp-config.php file is ready for some action. You can now save/update the file to your file manager's root directory to see it in action.

Saturday, 7 September 2013

How To Embed Facebook Posts To Your Blog



Update (7/9/13):

Facebook recently announced their official plugin to embed public statuses, photos and more. It has more feature than the outdated article version. You can easily get your embed code by visiting this page.

Getting The Embed Code From A Post:

You can also get the embed code directly from the post itself.  Only public posts from Facebook Pages and profiles can be embedded. Choose 'Embed Post' from the drop down menu that appears. You will get the embed code for the post.



Original Article (9/13/13):

There are bunch of Facebook widgets to embed like buttons, like boxes, subscribe buttons, and more. But there is no way to embed a status, photo, link or video directly from Facebook to your blog. Twitter tweets always have an option to easily embed any Tweet to your blog, website, or any html document.

By embedding a status, you can easily display a status on your website, without editing any bit of it. It's really helpful in displaying images on your blog, without uploading them into your blog. It was helpful for me in this post.

How To Embed A Facebook Status:

Tired of taking screen grabs of Facebook posts? SocialDitto makes it easy to embed a Facebook status update into any article or blog. You can easily grab your embed code in less than a minute by visiting SocialDitto. It's free, safe, easy, and quick. Don't forget to leave a comment.

You can check our live demo below:
Hardeep Asrani
Eminem & The Undertaker... -_-

Friday, 6 September 2013

5 Tips For Promoting Your Blog With Facebook


Facebook can help you gain a loyal following for your blog. However, you can’t just put your blog posts on Facebook and expect people to click on your links. You need to use some strategies in order to get lots of clicks.

Have a Good Image:

Facebook relies heavily on images. If your blog post doesn’t have a good image, it will likely get lost in the shuffle. Pick an image that will stand out. Also, make sure it represents your post and will resonate with your core audience. That way, it will get people’s attention and they will click to read the blog.

Interact with Your Audience:

People like to reciprocate. It’s human nature. Thus, if you interact with your fans, they will be more likely to interact with you. With that in mind, you need to take the time to read their status updates and blog posts. Comment and hit the like button from time to time. Then, people will be more apt to check your posts out.

Ask Them What they Want to Learn:

Use Facebook to ask people what they want to learn. You can create polls, or simply ask a question. Once you get some responses, let readers know that you will answer their questions in your next blog post. Then, write a blog that addresses those questions. This will attract a lot of readers. After all, people will love the fact that you created a post just for them.

Be Consistent:

Come up with a posting schedule and follow it. That way, people will know when to expect your blogs. Make sure your schedule is balanced so you don’t overwhelm people with blogs. For instance, you might want to post one to two blogs a week to your Facebook account instead of five. Five blogs will overwhelm Facebook users, but one or two blogs will grab their interest

Be Professional:

Spammers love Facebook. Because of that, it is essential that legitimate blog owners come across as professionals. That means you need a professional domain name. You also need a professional theme. Fortunately, both are easy to get. You can get a professional .com from different companies online. You can also find professional Premium WordPress templates online.

If you use these tips, you will be able to get more traffic to your blog. Then, you can create a solid following of loyal readers. Those readers will stay with you as long as you continue to provide quality content.
Author Author - Anny Solway is a dedicated writer at ThemeFuse – a leader in the Premium WordPress Themes area. She likes to discover new ideas about internet marketing, social media and blogging.
Join Us On: Facebook, Twitter, Dribbble

Wednesday, 4 September 2013

How To Remove WordPress Admin Bar Without Plugin


A blogger friend asked me about removing WordPress' admin bar without any plugin because he wanted to get rid of all small plugins from his directory. So I found this amazing php code on dfactory.eu.
Put any of the following codes in your Theme's function.php file:

Disable Admin Bar For Everyone:

// Disable Admin Bar for everyone
if (!function_exists('df_disable_admin_bar')) {

    function df_disable_admin_bar() {
       
        // for the admin page
        remove_action('admin_footer', 'wp_admin_bar_render', 1000);
        // for the front-end
        remove_action('wp_footer', 'wp_admin_bar_render', 1000);
         
        // css override for the admin page
        function remove_admin_bar_style_backend() {
            echo '<style>body.admin-bar #wpcontent, body.admin-bar #adminmenu { padding-top: 0px !important; }</style>';
        }     
        add_filter('admin_head','remove_admin_bar_style_backend');
       
        // css override for the frontend
        function remove_admin_bar_style_frontend() {
            echo '<style type="text/css" media="screen">
            html { margin-top: 0px !important; }
            * html body { margin-top: 0px !important; }
            </style>';
        }
        add_filter('wp_head','remove_admin_bar_style_frontend', 99);
      }
}
add_action('init','df_disable_admin_bar');

Disable Admin Bar For Everyone But Administrators:

// Disable Admin Bar for everyone but administrators
if (!function_exists('df_disable_admin_bar')) {

    function df_disable_admin_bar() {
       
        if (!current_user_can('manage_options')) {
       
            // for the admin page
            remove_action('admin_footer', 'wp_admin_bar_render', 1000);
            // for the front-end
            remove_action('wp_footer', 'wp_admin_bar_render', 1000);
           
            // css override for the admin page
            function remove_admin_bar_style_backend() {
                echo '<style>body.admin-bar #wpcontent, body.admin-bar #adminmenu { padding-top: 0px !important; }</style>';
            }     
            add_filter('admin_head','remove_admin_bar_style_backend');
           
            // css override for the frontend
            function remove_admin_bar_style_frontend() {
                echo '<style type="text/css" media="screen">
                html { margin-top: 0px !important; }
                * html body { margin-top: 0px !important; }
                </style>';
            }
            add_filter('wp_head','remove_admin_bar_style_frontend', 99);
           
        }
      }
}
add_action('init','df_disable_admin_bar');

Disable Admin Bar For Specific Users:

// Disable Admin Bar for specific user
if (!function_exists('df_disable_admin_bar')) {

    function df_disable_admin_bar() {
       
        // we're getting current user ID
        $user = get_current_user_id();
       
        // and removeing admin bar for user with ID 123
        if ($user == 123) {
       
            // for the admin page
            remove_action('admin_footer', 'wp_admin_bar_render', 1000);
            // for the front-end
            remove_action('wp_footer', 'wp_admin_bar_render', 1000);
           
            // css override for the admin page
            function remove_admin_bar_style_backend() {
                echo '<style>body.admin-bar #wpcontent, body.admin-bar #adminmenu { padding-top: 0px !important; }</style>';
            }     
            add_filter('admin_head','remove_admin_bar_style_backend');
           
            // css override for the frontend
            function remove_admin_bar_style_frontend() {
                echo '<style type="text/css" media="screen">
                html { margin-top: 0px !important; }
                * html body { margin-top: 0px !important; }
                </style>';
            }
            add_filter('wp_head','remove_admin_bar_style_frontend', 99);
           
        }
      }
}
add_action('init','df_disable_admin_bar');

That's it!

Wednesday, 28 August 2013

What Does “Great Website Architecture” Mean?

Getting a good amount of traffic for a website is something that everyone strives for, but what does one have to offer when people stumble upon a website? It is important to address several key points that make up a good website: it needs to be visually stimulating, it needs to have a comprehensive layout, it needs to allow people to get to the pages that they need without too much hassle, it needs to provide information about the blogger/artist/company and their work, showcase all that they have to offer, provide social media sharing capabilities, as well as have plenty of useful information about the niche that the blogger/artist/company is operating in.

source: documentation.ektron.com

Wow, that does sound like a lot, but it doesn’t have to be all that complicated. In fact the key is incorporating all these elements in your website design, but still managing to keep it concise and having a home page that allows quick navigation through the rest of the website. A good website is a perfect balance between utility and flashiness, with a big emphasis on content and media that provides the viewer with something to actually view. Let’s go into a bit more detail on the more important elements of effective website architecture.

The Great Homepage And Linking To Other Pages:

The homepage is you base of operations, so to speak. You will want to have links directly to your most popular pages and news of new offers, deals or events. This is where aesthetics meet functionality and where you have the opportunity to cram in colorful images and information using sliders, as well as have drop boxes that are effectively categorized to allow the viewers to find what they need. Now, a very important point is to avoid going link-crazy and having the viewer click through layers and layers of pages – everything they need should be within 2-3 clicks from the homepage.

Categorizing And Crosslinking Pages:

Being able to find what you need quickly is the most important thing for a person visiting your website, and this is where so often the designer drops the ball. Certain pages that can fit into multiple categories should be accessible through several different paths, and the categories themselves need to be effectively broken down depending on what you have to offer. For example, if you are selling cars you are hardly going to categorize them by color. In that case, you would have categories like hatchbacks, sedans, sports cars, minivans and so on. You could also have several categories based on secondary features that people are interested in - high mileage per gallon, good family cars and cars with the highest safety rating. A nice little Renault would fit into several of these categories and people would be able to get to that particular page through several different paths. Then on that Renault model page you mention that Renaults are some of the safest cars and you link to the page with all the other Renault models and the page that features the cars with the highest safety ratings. This way you make an interconnected web of relevant pages throughout the website.

The Layout Of A Good, Informative Page:

An informative page will feature all that a viewer needs – no less, no more. It is important to focus on elements that will allow the greatest usability of a page – how is it linked internally, does it link to other pages on the website are you cross-linking to other websites from the page? Within the page itself, navigation bars can help tremendously, particularly for e-commerce websites that might have several pages of products within a category and the subcategories help users find what they want without having to click through ten pages and scroll down each one. A blog page is essential for providing useful content and additional information, so that you don’t have to clutter up other pages – having access to recent and relevant posts enhances usability as well.

When looking at website architecture you need to be constantly thinking about the average user; what will they be looking for and how easy they will find it to navigate the website? Testing your website can help provide you with useful clues about optimizing your design features, but you will need a good base to begin with. So put yourself in the average Joe’s shoes and take another look at how your website is structured.

Author Author - Mark Taylor is a full time employee with Melbourne based web development company - Leading Edge Web - as a UX specialist and digital producer . Working closely with well-known brands and leading Australian companies , he helps define the optimum digital solution for their online presence. Mark also liaises with internal developers and creative teams in managing project scope
Join Us On: Facebook, Twitter, Google +

Monday, 19 August 2013

How To Post Your Twitter Tweets On Your Facebook Page

Updating multiple social networks at same time is a huge headache. We all use dlvr.it and other websites to automatically publish our blog's feed to social netoworks, but sometimes we just want to post more than just blog feed.

I run a pro-wrestling news website, with a live play-by-play Twitter and Facebook coverage of the shows and pay-per-views. I don't have enough time to most on various social media platforms at the same time, so I use Twitter's build-in feature to automatically publish my tweets on my blog's Facebook Page.

Yup, there is an option on Twitter to publish your tweets on your Facebook page, without any external plugins. It's very easy. Here we go:

Automatically Publish Your Twitter Tweets On Your Facebook Page:

Login to your Twitter account, and visit on Profile Settings. On the bottom of the page, click on Login to Facebook

After logging in, mark Post to my Facebook page option, and choose your Facebook page.

That's it. Replies and direct messages will not be posted on your page. You can also mark post retweets option as well.

Tuesday, 13 August 2013

How To Use Custom Post Thumbnail In Blogger


If you ever used self-hosted WordPress, then you might know about post thumbnail (featured post) feature. By using that feature, you can pick a custom image for your post's thumbnail, which is a great feature. I also use this feature on my wwefansnation.com.

I searched around the internet (just Google'd it) and found nothing like this for Blogger blogs. So I discover my own way to pick custom post thumbnail for Blogger. For this trick, we don't need any heavy JavaScript or CSS codes. It's a very little trick, even a newbie can easily use it.

By default, Blogger automatically uses first image of the article as post's thumbnail. So we'll add our thumbnail image to the top of our article, and we'll make it invisible with some CSS. Just add following html code to your post's top (in post editor's html editor):

<img src="Image-Link" style="display:none;"/>

Replace Image-Link with your image's link. Now your image will only appear as your post's thumbnail, and not in the post. This article is an example of this trick. You can visit archive pages to see this trick in action. Don't forget to post your comments.

Friday, 9 August 2013

How To Screen Capture Your PSP


Many PSP gamers wants to capture screenshots of their PSP games to share them with their friends and on tutorials. Even the above picture is a screenshot of my PSP. I used screen capture for almost every PSP tutorial (two posts yet) on this blog.

Taking screenshots of your PSP screen is not a hard task, but finding and installing a perfect plugin is pretty hard for new users. Don't worry, I'm here to solve this problem.

Requirements:

  • PSP USB Cable (To transfer files)
  • Laptop/Computer (To download & transfer files)

Installing ScreenVideo Capture Module:

Download ScreenVideo Capture Module from this link. It's .zip file, so extract it to a new folder of your computer. We just need following two files from this archive - capture.prx and capture.ini.

Connect your PSP to your computer via USB cable. Copy and paste capture.prx and capture.ini in the seplugins folder on the root of your PSP's Memory Stick. If your PSP doesn't have any seplugins folder then just create one on the root of your Memory Stick.

Now add following code to your GAME.txt, VSH.txt and POPS.txt files in seplugins folder. You can also create these three files in a simple notepad document if they're not already in your PSP.

ms0:/seplugins/capture.prx 1

Now switch off your PSP. Now turn on your PSP with the R button held to go into configuration mode. Go to plugins and activate all "capture.prx" plugins. That's it.

How To Take Screenshots:

To take screenshots press note button (the music note) to take a screenshot (saved in BMP format). Don't forget to run FastRecovery file before taking screenshots. Hold R and then note to start taking a video (your game will lag a lot in while capturing videos) and press note again to stop taking the video. This will be saved in GIF format.

Additional Settings:

You can also change the location on the PSP where screenshots will be saved by editing the capture.ini file.

The default is ms0:/PSP/PHOTO

DO NOT USE flash0:/ OR flash1:/ AS THIS MAY "BRICK" YOUR PSP

Wednesday, 7 August 2013

How To Play ISO Games On PSP Without Custom Firmware


Earlier this week, I wrote about installing CFW on your PSP to do some extra-ordinary PSP stuff. Playing ISO and CSO games in one of it. However, you can also play ISO/CSO games on your PSP without doing any modification in PSP.

Any Limits? - Yea, you can only play PSP games under 720MBs without hacking it. There are lot of games under 720 MBs, such as Call of Duty, God of War, Hero of Sparta, NFS Most Wanted, Burnout Legend and more.

Requirements:

  • PSP (Any model)
  • PSP USB Cable
  • Laptop/Computer (For transferring and converting files)
  • iso2eboot convertor (For converting ISO/CSO files to EBOOT - Download Here)

How To Play ISO/CSO Games On PSP Without CFW:

Everyone wants to play games on their PSP, but some of those are not always able to afford their favorite PSP UMD. UMDs are very costly for teenagers like us. Some guys like me just install CFW to play those pirated ISO/CSO games on their PSP, but some of them just afraid to install CFW, possibly because of the risk of bricking their PSP.

This way is very easy & there is no chances of bricking your PSP with this trick. So let's just start this tutorial.

So for playing ISO/CSO games on your PlayStation Portable you need to convert your ISO/CSO files to EBOOT.PBP files. That's so easy, we just need a convertor to do that.

Converting ISO/CSO Files TO EBOOT:

For ISO/CSO files, you need to download iso2eboot convertor from this link. Extract all files to a new folder. Converting to EBOOT is a bit complicated for new users, but don't worry, I'm here to help you with this picture tutorial.

  • First put your ISO/CSO file to iso2eboot convertor folder:


  • Now open the convertor icon and click on convert isos to eboot button:

It takes a bit time to convertor ISO to EBOOT. Sometimes more than you could ever expect, so don't worry about the loading.

After loading/converting, you'll see two new folders in your iso2eboot folder - PSP and ISO folder. The converter has stored your ISO file into ISO folder, and your EBOOT.PBP file on PSP folder.

  • Open iso2eboot's PSP folder and copy your game's folder (complete folder, not just EBOOT.PBP file) to your PSP's game folder.

That's it! Now you can easily play your favorite game without paying for it (Not Cool). So if you got enough money in your pocket, then paying for a game is a better idea. And if you don't have, then you can proudly use this trick.

Monday, 5 August 2013

Installing Pro CFW On Sony PSP 1000/2000/3000/GO


BWidgets is a blogsite about blogging, but why we're sharing PSP tutorials here? The answer is very simple. I recently bought a PSP 1000 model so I wanted to share some cool PSP tricks & tutorials with you all.

Before we start this tutorial, here are some simple FAQ about this tutorial:

FAQ:

Q. Can we play ISO/CSO games on PSP with this hack?
A. YES! YES! YES.

Q. Can we play ISO/CSO games on PSP without installing CFW?
A. Yes, but only games under 720MBs. Tutorials is available here.

Q. Do we need Pandora Battery to install Pro CFW?
A. NO! NO! NO!

Q. Any damage or chances of bricking my PSP?
A. Not much. Installing CFW is way too much easy these days, so don't worry about that.

Supported PSP Models:

  • PSP 1000 Series
  • PSP 2000 Series
  • PSP 3000 Series
  • PSP GO

Requirements:

  • A charged PSP 1000/2000/3000/GO with official Sony Firmware 6.6 (which, at the time of this writing, is the latest firmware released by Sony)
  • PSP USB Cable (To transfer files)
  • Laptop/Computer (To download & transfer files)
  • Pro CFW (Direct Download Link - Repository Link)

Update Your PSP To Firmware 6.60:

Skip this step if you already have Firmware 6.60 installed on your PSP.

In order to install Pro CFW on your PSP, you will need to first update your PSP to the 6.60 Official Sony Firmware. As of writing, 6.60 is the latest firmware released by Sony. If you have older version installed on your PSP. Then there are versions of Pro CFW that will run on older firmwares as well.

To install the latest 6.60 firmware, just visit Sony PlayStation's official website, or on your PSP (Settings > System Update > Update via Internet)

Installing Pro CFW:

This step is very easy, and usually takes less than five minutes. Don't worry, you can easily do this.

Download Pro CFW 6.60 from this link. The archive contains subfolders in the "PSP/GAME" folder. There are several files in the GAME folder, but we just need two for this hack: the FastRecovery and the PROUPDATE folders. Copy those two folders to your Memory Stick's game folder "PSP/GAME".

After adding the FastRecovery and the PROUPDATE folders to your PSP's memory stick, you'll see a few new applications in your PSP's game menu. The one you will want to run in order to install Pro CFW is "Pro Update". This scary screen will appear (but with different options as my PSP is already hacked):

Press X key in your PSP to install Pro CFW. After clicking on X button, screen will load several files, then it will ask you to press X key again in order to launch Pro CFW. That's it!

You can erase the "ProUpdate" folder from your PSP, but keep the "FastRecovery" folder.

Using CFW In Daily Use:

In order to use CFW in your daily use, you'll need to run FastRecovery file every time you reboot your PSP. It takes less than 10 seconds and doesn't requires any actions. That's IT! Welcome to the world of Pro PSP Users!

What's Next?

Thanks for reading this tutorial. I'll write more PSP articles soon on BWidgets. So if you're new to this blog, then don't forget to subscribe to our Feed with your favorite Feed reader or Email Updates. Don't forget to leave your comments, suggestions, or problems.

Saturday, 27 July 2013

Image Grabber (Remote Image Uploader) Plugin For WordPress


It's really irritating to manually download and update images from an another website to your own website. It takes to much time and data to do that. Remote image uploading setting makes it easy to upload any type of image from a link.

I recently found a great plugin for this job on CodeCanyon, but it was a premium plugin. So I searched on Plugin Directory with several different names and finally found a perfect plugin.

It's called, Remote Images Grabber, you can download this plugin at this link. Here is the original description of this plugin:

Fetches images from an URL or a piece of html-code, saves them directly into your blog media directory, and attaches to the appointed post. 

After installing this plugin, you'll get an option in your media upload dialog to directly upload images from a link to your blog.

How To Install Image Grabber:

  • Click here and download this plugin. Visit your WordPress' plugin page and install this plugin.
  • You can also install this plugin from your WP's plugin directory.
  • After installing, activate the plugin through the 'Plugins' admin menu in WordPress.

That's it for this time. Comment if you're having any troubles.

Monday, 22 July 2013

Adding Username Availability Checker To BuddyPress



Picking a username is a very hard task for everyone. So this plugin allows you to check for the availability of a user name on BuddyPress registration page. It's very useful plugin and it also gives a pro look to your BuddyPress registration page.

It makes easy for your readers to pick a suitable username, without refreshing the page. This plugin is developed by Brajesh Singh of BuddyDev.com.

How To Install BPDev Username Availability Checker:

  • Click here to download this plugin.
  • Go to WordPress Dashboard > Plugins > Add New > Upload
  • Upload .zip file that you downloaded from the first step.
  • Upload/Install and activate the plugin “Username Availability Checker”

Now it's time to check this plugin by logging out of your BuddyPress account. That's it for this time. Don't forget to join BuddyDev Premium Club for more BuddyPress plugins.

Sunday, 7 July 2013

How To Automatically Tag WordPress Posts


Tagging posts in WordPress is an another great way to make time traveling navigation more easy for your readers. It's a useful way to group related posts together. Tags are similar to, but more specific than, categories.

Tagging your new posts is very easy, but it's really a huge pain if you post way too much on your blog, or when it comes to tag previously posted posts.

As expected, there are several plugins, which automatically add tags to your WordPress posts. But it's really hard to find them in that crowded plugin directory. So, here are my two favorite plugins for this task.

1. Strictly Auto Tags:

Strictly Auto Tags is a very useful plugin by Strictly Software, which automatically adds the most relevant tags to your posts. I'm using this plugin on my wwefansnation.com, and it's a very helpful plugin for me. It scans an English language post for words that could be used as tags and then orders them so that the most relevant words get added. It won't add any grammar or useless words to your tags. This plugin is only designed for English language blogs.

2. Automatic Post Tagger:

This plugin is very different from Strictly Auto Tags plugin. In this plugin, you have to create a list of tags with related words for each of them and it'll add relevant tags automatically when a post is published or updated. You can also configurable maximum number of tags per post.

Got a great WordPress plugin? Don't forget to share with us in the comment section below, or you can also use our contact page to share them with us.

Saturday, 29 June 2013

Adding Arrow Key Navigation To Blogger

First of all, all credits to this amazing tutorial and script goes to our friends at Blogger Plugins. Don't forget to check their website for more great blogging tutorials.Also, I took above picture from their website. It's not copyrighted by them, but still they saved my time by creating this image. So thanks a lot guys!

Tons of big sites are using arrow key navigation to make their site more better, and it's a very useful plugin for readers. It saves a lot of time, as they don't have to look for those next or older post/page links. The code is very light, and would not effect your blog's loading at all.

Let's just get started with this easy plugin. You don't need to manually put any code into your Blog, you can install this plugin by clicking on above Add To Blogger button and that's it!!

Tuesday, 25 June 2013

How To Add Polls To WordPress



Polls are a great way to find out what your readers thinks about a specific thing or topic. Because your reader's opinion really matters, or maybe we just say that, but polls are a must have feature for all topic based sites.

By using polls, you can know your reader's interest, opinion, and many things. It all depends on how you use them. It's WordPress and you can also use polls in your posts, sidebars, or on an poll archive page.

So there are lots of plugins to add free polls on your WordPress site, but which one is best for us? It's not a really hard question - you can use WP Polls, which is free and fantastic. Official description of WP Polls reads:

Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your WordPress's blog post/page.

It's very great plugin to use, and you can also add a poll into your blog's posts, pages, or on sidebar widgets. It's extremely customizable via templates and css styles. It also gives you an option to set a Polls Archive page for your site to display all our current and old polls. Let's just get started with this plugin:

Installing WP Polls to WordPress:

  • Click here and download this plugin. Visit your WordPress' plugin page and install this plugin.
  • You can also install this plugin from your WP's plugin directory.
  • After installing, activate the plugin through the 'Plugins' admin menu in WordPress.

That's with this simple part. Now let's move on to second part.

How To Add A Poll:

After installing this plugin, WP Poll menu will appear in your WordPress's right menu section. You can add a new poll by simply clicking on that menu. You can also choose poll's expiring time, starting time, more. Just add your poll and click on Add Poll button.

Now visit Widget section of your WP, and add a WP Poll widget to your blog's sidebar, or wherever you want your poll to appear. You can also add your poll into a post or page by clicking on Poll icon in post/page editor.

You can also display WP Poll into your template by adding following php code into your template:

<?php if (function_exists('vote_poll') && !in_pollarchive()): ?>
    <li>
        <h2>Polls</h2>
        <ul>
            <li><?php get_poll();?></li>
        </ul>
        <?php display_polls_archive_link(); ?>
    </li>
<?php endif; ?>

You can get more details at this link.

Creating Poll Archive:

Creating a Poll Archive page for your blog is a great idea, and I really recommend this step. It's just too easy, you just need to enter a simple code into your page.

  • Create a new page and name it Polls or Poll Archive
  • Change page's permalink to: http://www.yourblog.com/pollsarchive/
  • Just put following code into your page and publish it:

[page_polls]

That's it! Don't forget to leave a comment!

Friday, 14 June 2013

How To Delete Unconfirmed WordPress Users



In past, I shared several articles to manage your WordPress users, such as changing usernames, and restricting usernames. It's time for another article related to WordPress users. It's really important to manage all users, even more if you're using BuddyPress.
Some registered users of your site may not really confirm their id by clicking on activation links, which really sucks, as they're just wasting your database's little space. Activation emails may be caught by spam filters, deleted unwillingly, or simply not understood.

Boone Gorges and CUNY Academic Commons created a very useful plugin called, Unconfirmed, which creates a Dashboard panel under the Users menu (Network Admin > Users on Multisite) that shows a list of unactivated user registrations.

For each registration, you can resend the original activation email, manually activating the user, or delete them. It's a really great and must use plugin for all. If you got some extra money, you can also donate some to keep this plugin up in development at this link.

How To Install And Use Unconfirmed:

  • Click here and download this plugin. Visit your WordPress' plugin page and install this plugin.
  • You can also install this plugin from your WP's plugin directory.
  • After installing, activate the plugin through the 'Plugins' admin menu in WordPress.
  • Now visit Dashboard > Users to manage unconfirmed users.

Hope this will keep your community up and clean. Don't forget to leave your responses, and I'll try to help and reach you all.

Wednesday, 12 June 2013

How To Activate New Facebook News Feed



Facebook has launched a new news feed design. It was introduced in March 2012, and right now is in BETA testing version. It's inspired by a "newspaper" and looks bit like Facebook's smart phone application. It has a very sleek UI, with a very nice off-canvas menu.

It's very user-friendly, and has lot of option to customize in your own style,You can choose from separate sections for friends, photos, music and other activity and updates. I used it, and it was pretty cool. To be honest, it's not very user-friendly at all, and is very confusing for new users.

How To Activate It:

  • Now click on "Join Waiting List", which is located on the bottom.

Now you're on news feed's waiting list. As it's a beta version, once the waiting list completes you will get a notification on the Facebook Home page to use it. That's it guys!

Tuesday, 11 June 2013

How To Use PHP On Blogger

We love Blogger, probably because it's free and is a Google Product. In April, I posted an article about some reasons why we should choose Blogger as our blogging platform, as I never miss a chance to promote my old articles.

As I noted in that article, Blogger is not a really good choice for a php developer, as it only supports html, css and javascript. However, there is a possible way to use your php files on Blogger, which is quite easy.

First we need a php hosting to host our php files. There are tons of free sites for php hosting, here are some:
awardspace.com
zymic.com
000webhost.com
Click here for more...

So just create an account on one of these free php hosting sites, and upload your php files in it. Now it's type to put your php files into your blog by iframing it or by using this code:

<object data="http://your-file.php" height="500" type="text/html" width="600"></object>

Now just replace red text in above code with your php file's link and publish it or post it on your blog.

That's the only possible way to do this... :)

Monday, 10 June 2013

How To Restrict Usernames In WordPress


It's really hard to run a WordPress blog, with BuddyPress and public registration. I'll post several article about managing your WordPress and BuddyPress users on BWidgets. Today, we'll kick off this series with a very basic tutorial.

In this tutorial, we'll learn about how to restrict usernames from your WordPress, so people may not use when registering for your site. By default, WordPress allow users to pick any username they choose as long as it isn't an already existing account and it doesn't include invalid characters.

Scott Reilly created a great plugin to restrict some usernames so they may not pick it. It's very important to restrict several usernames, including contact, admin, feedback, user, moderator, and more.

When attempting to register with a restricted username, vistors will see an error notice that says: ERROR: This username is invalid. Please enter a valid username.

How To Install And Use Restrict Usernames:

  • Click here and download this plugin. Visit your WordPress' plugin page and install this plugin.
  • You can also install this plugin from your WP's plugin directory.
  • After installing, activate the plugin through the 'Plugins' admin menu in WordPress.
  • Go to the Users -> Name Restrictions admin settings page (which you can also get to via the Settings link next to the plugin on the Manage Plugins page) and specify username restrictions.

That's IT! You can put your responses, problems and requests in the comment section below... :)

Wednesday, 5 June 2013

Adding reCAPTCHA To BuddyPress Registration

We all hate spam and spammer way too much. They always annoy us everywhere on internet, our blogs, comments, Facebook, Twitter, forums, and everywhere. It's a great idea to prevent some of these spammers by using a CAPTCHA. It's impossible for them to pass a CAPTCHA, since they're just a spam bot without any brain.

Google's reCAPTCHA is a great way to knock these spammers out. Over 200,000 sites use reCAPTCHA, including household names like Facebook, Ticketmaster, Twitter and Craigslist. I have added a reCAPTCHA on my BuddyPress' registration at this link. It also looks good and professional. It's easy to add reCAPTCHA to your BuddyPress' registration page, you just need to read this tutorial carefully. Here we go:

Installing BuddyPress reCAPTCHA:

First we must install BuddyPress reCAPTCHA on our WordPress. You can download this by clicking here.

  • Click here and download this plugin. Visit your WordPress' plugin page and install this plugin.
  • You can also install this plugin from your WP's plugin directory.
  • After installing, just click on active.

Finish with this part. Now, first we'll create our reCAPTCHA keys then we'll add our key to this plugin. This doesn't have a user panel, so we have to do it manually. Let's start our second step:

Getting Our reCAPTCHA Keys:

Now we need two reCAPTCHA keys from their website - first is public key, and second is a private key. Here is how to get both of these:

  • Visit this link and login with your Google Account.
  • Following form will appear, fill this form with your website url and click on Create Key:


  • Now after clicking on Create Key,  you'll get both keys - public key, and the private key. Now copy these codes into a notepad document, and check next step:

Adding reCAPTCHA Keys To BuddyPress:

It's final step, and it's not that hard.You must edit the 'bp-recaptcha.php' file to make your settings.

  • Visit your WordPress Dashboard > Plugins > Edit Plugins
  • Choose BuddyPress reCAPTCHA plugin
  • Now choose bp-recaptcha.php file
  • In bp-recaptcha.php add your your public key and private key in following spaces:


  • Click on Update/Save and That's IT!
Don't forget to leave your responses. Also guys, you can check full personal blog at this link.

Monday, 3 June 2013

How To File A DMCA Complaint Against WordPress.com Blog


It's really sucks when someone is copying your content without giving you credits of your work, even more if he copied full article, even your images.

A WordPress.com blog, http://www.rnhckr.wordpress.com , was coping our article, without giving me credits for my original work. So I went to his website and comment on copied post to give me credits of my work. That kiddo edited my comment to:

Thanks! I'm copying this article.

I was really mad when I saw that he edited my comment. So, I filed a DMCA complain against his WordPress.com blog. As you can see, his blog is no more.

You can also file DMCA complain against a WordPress.com blog if he's violating your copyrights. It's easy and very effective.

If you believe that someone is infringes one or more of WordPress' TOS, then you can file a DMCA complain against them to get it removed of the web. First, you should to contact that person to remove your content, but if he's still not removing, then filing a DMCA is a great idea.

How To File A DMCA Against WordPress.com Blog:

Before starting it, here is a quote from WordPress.com about DMCA complains:

If an Infringement Notice is valid, we are required by law to respond to it by disabling access to the allegedly infringing content. If you are a WordPress.com user and access to portions of your blog have been disabled for this reason, we will notify you. You then have the option to send us a written counter-notice (a Counter-Notice) stating why your content does not infringe copyrights and asking for access to be reinstated. 

To file a DMCA against WordPress.com blog, you must fill WordPress' online DMCA form, which is available at this link. It's pretty simple. Below are some info about form's filed, and what to fill.

  • First Name(required): Fill your first name.
  • Last Name(required): Fill your last/second name.
  • Company Name: Name of your company or simply put your blog's name.
  • Address Line 1(required): Just put your address in this filed.
  • Address Line 2: Put your second address, if there is any.
  • City(required): Simply put your city's name. I'm from Kanpur :p
  • State/Region/Province(required): Put your state/region/province's name in this field.
  • Zip/Postal Code(required): Put your Zip or Postal address. You must know your Zip code.
  • Country(required): Enter your country's name.
  • Telephone Number(required): Put your telephone number in this field. Don't worry girls, they won't call you.
  • Email Address(required): Put your primary email in this field.
  • Copyright holder you represent (if other than yourself): Name of the copyright holder you represent, if it's not your own content.
  • Location of copyrighted work (where your original material is located)(required): Put links to your own original article of your blog, where the original articles are located.
  • Please describe the copyrighted work so that it may be easily identified(required): Give a brief description of your copyrighted work and the copied content. Like you can write, "this article is written and copyrighted by me, and this or that blog copied it without my permissions." Don't forget to be nice.
  • Location (URL) of the unauthorized material on a WordPress.com site (NOT simply the primary URL of the site - example.wordpress.com; you must provide the full and exact permalink of the post, page, or image where the content appears, one per line) (required): Put links of the copied work. Don't forget to enter the direct link of that copied content and describe it. Don't forget to mention, if that blog is copying from other blogs or is violating other TOS.
  • If the infringement described above is represented by a third-party link to a downloadable file (e.g. http://rapidshare.com/files/...), please provide the URL of the file (one per line): Only if that link is represented by a third-party link to a downloadable file. It's not required.
  • Two Check Boxes: Now check both of these checkboxes.
  • Signed on this date of (today's date, MM/DD/YYYY)(required): Today's date in MM/DD/YYYY format.
  • Signature (your digital signature is legally binding)(required): Your digital signature, which is your full name.

After filling above fields, just click on Submit button!!

You'll soon receive an email from WordPress team about this complain. I just received following emails in about 12 hours:

Hi,

Thank you for your report. The website in question has been suspended for violating our Terms of Service.

Thanks,

Phil
WordPress.com | Automattic Inc.

Hope this information will help you. If you're going to copy this or any other articles, then don't forget to credit us for our content, If you believe that we're violating your copyrights, then don't forget to contact us :)

Sunday, 2 June 2013

Adding Google Custom Search Engine To Blogger


Every website and blog must have a search bar to make it easy for visitors to search something. Even our site has a small, but stylish search bar in top. It's a must have stuff for all bloggers and webmasters. You can try it, and you'll find out that our search bar is linked with Google's custom search engine.

Replacing your boring search engine with a custom Google search engine is an awesome idea. You can also turn your old search to Google CSE, but we'll discuss that stuff later. Plus, you can also earn money with your Google CSE, but we'll also discuss it later.

It's time for you to learn how to create your own custom Google search engine, which is 100% embeddable and customization. As I noted before, you can check a live demo in our blog's right top bar, or by clicking here.

Creating A Google CSE:

Creating your own Google custom search engine is quite easy, you just need to type some basic information about your search preference and that's it. Here we go:

  • Click on Add button and a form will appear


Now it's time to fill a simple form, with one on text field, and other options. As you can see in below picture, steps are just too easy.

  • In first field, enter your blog/site's URL, you can enter more than one URLs (one URL per field)
  • In second option, choose your preferred language (English if you're using Adsense)
  • In third field, you can edit your search engine's name, which is optional and is only visible to you
  • Finally, click on that Create button to finish your setup


Yea!! We're almost done with this section of this post. After clicking on Create button, following page will appear:

  • Just click on Get code to get your CSE's code. Also that Google Bot looks freakin' awesome!!

As you can see in above image, just copy that highlighted code, cuz we'll add that code in your blog. You can try different types of Google CSE forms and style by customizing it. Time for next step!

Adding Google CSE To Blogger:

Now you can add that Google CSE code to wherever you wanna display your search engine. You can also try it on a html document. But we'll add it to our blog. Here you go:

  • Go To Blogger> Layout > Add A Gadget > HTML/JavaScript
  • Paste your Google CSE form and save your widget.
That's IT

Customizing:

Now you can also customize this widget. There are two ways to customize it, first one is by Google CSE's option, and second way is with some CSS and HTML. In this post, we'll only discuss about first method.

Visit Google CSE > Select your custom search engine > Click on Look and feel option in right sidebar
Now in look and feel tab, you'll see lots of option to customize your search engine, like Layout, themes, customize, and thumbnails, as you see in below images.


You can try to customize your search with every option, without using any CSS. It's pretty simple. Also, don't forget to experiment with layout option, as it's a very great way to customize your search's layout. More tutorials and article about Google CSE are coming soon :)

Popular Posts

 
Powered by Blogger.