All Articles by Sangkrit

Register/transfer domain names at http://system.sangkrit.net and mail to system@sangkrit.net to get your web/app made/managed as per the budget allocated.

4508 Articles

How To Restrict Other Servers From Accessing Your Files ?

If your site stores popular image files then for reducing bandwidth usage you can use this Apache hack for denying servers to access your files. Open your sites .htaccess file for editing and add the following code:

<FilesMatch “.(gif|jpe?g)$”>
SetEnvIf Referer “^http://([^/]*.)?mydomain.com/” request_ok = 1
Order Allow, Deny
Allow from env=request_ok
</FilesMatch>

This restricts other domains form accessing all GIF or JPG files in  your website.

How To Send An Image In Facebook Chat ?

Facebook provides no such type of feature which can help you to send an image to your friend while chatting but still you can send images to your friends from Facebook chat while you are chatting with them. Follow these steps:

  1. Visit this URL – http://smileyti.me/
  2. Click Choose file and choose the image you like to send from your computer.
  3. Verify yourself as a living-being by entering Captcha.
  4. Click Upload Now.
  5. It will give you some code.
  6. Copy that code and paste it in your Facebook chatbox.
  7. Press Enter.

That’s all. Pressing enter will send your image to your friend. Image will get visible on both the ends, you can start discussing about it.

How To Access Facebook Messages Received From Strangers ?

Facebook message which you receive from your friends are displayed in the message section but for accessing messages sent to you by strangers you have to follow these steps:

  1. Login to your Facebook account.
  2. No need to visit traditional message menu.
  3. Click Facebook Home.
  4. On the left sidebar there is a messages link under news feed
  5. Click ‘messages’ there.
  6. Click ‘others’ from the drop down.
  7. Now it will show you the messages from strangers.

Best Free FTP Client For Mozilla Firefox

If you use Mozilla Firefox then FireFTP is a free, secure, cross-platform FTP/SFTP client available for you. It provides easy and intuitive access to FTP/SFTP servers.

Features:

  1. Directory comparison
  2. SFTP, SSL encryption
  3. Quick transfer of files
  4. 4GB Download Limit
  5. Syncing directories
  6. Integrity checks
  7. Search/filtering
  8. Remote editing
  9. File hashing
  10. Drag & drop

Home page: https://addons.mozilla.org/en-US/firefox/addon/684

https://addons.mozilla.org/firefox/downloads/latest/684

Facebook Got More Than 83 Million ‘Fake’ Users

Facebook has revealed that it believes more than 83 million Fake IDs are registered on there social network.

Company filings says that 8.7% of its 955 million active Facebook users might not be real.

Duplicate profiles => 4.8% of the users

User-misclassified accounts => 2.4%

Undesirable User IDs => 1.5%

Estimated Fake User Profiles => 83.09 million

Estimated fake user profiles are classified into three groups:

First group is of duplicate user profiles which Facebook Inc. defines: account that a user maintains in addition to his or her principal account.

Second is User-misclassified where FB users create profiles for business, organisations, Gods and also of non-human entities like pets.

Third is Undesirable profiles against Facebook’s terms of service like profiles created for sending spams, messages, ads or other content.

A BBC investigation suggests,

“Companies are wasting large sums of money on adverts to gain “likes” from Facebook members who have no real interest in their products. A security expert has said some of the profiles appeared to be “fakes” run by computer programs to spread spam.”

Facebook’s business model relies on targeted advertising that promotes gathering of likes from users.

Now slowly companies are realizing that gathering millions of fake likes is of no use when members are itself not interested in their products and large number of likes come from fake Ids which are used only for one or two time and are created for a single purpose only. This can seriously harm Facebook’s business    but Facebook Inc. is not taking it as a serious issue. May be they are planning to gain registered IDs more than the total world population.

Nice Blogging Tool That Finds People Asking Questions About The Things You Know

InboxQ helps you to create better blog topics by finding people who are willing  to know something about the information and things you know.

How it works ?

  1. It Creates a campaign targetting questions you can answer.
  2. You answer the questions directly from your own Twitter account.
  3. Hence you earn more followers and customers.
  4. See it in action in the following video:
[iframe][/iframe]

How to start ?

  1. Visit InboxQ.
  2. Click Get Started.
  3. Enter your keywords. You can enter keywords from 3 to 10, one in each line.
  4. Click Preview Questions
  5. Answer them. These all are in twitter. Create related blog posts  and share with these people.

When you click Answer Question; it prompts you to login with twitter. After logging in you can answer the question or reply your blog post URL related to that particular question.

WordPress Hack For Adding Signature After Posts Content

Open your theme’s function.php and add the following code. Remember changing text after equal sign with your own.

function custom_content_after_post($content){
if (is_single()) {
$content .= ‘<p>Load Your Content Here</p><img src=”‘. get_template_directory() .’/images/signature.png” alt=”Your Name” />’;
}
return $content;
}
add_filter( “the_content”, “custom_content_after_post” );

You may also use WordPress Signature Plugin for doing so. It allows WP users to put signatures below every post. After installing and activating it you can easily access it by navigating to WP-Admin Dashboard >> Tools >> WPSignature.

Become Google’s Verified Author For Your WordPress Blog

After getting Google’s verified authorship you will be seeing your blog post search results with the screen shot of your Google Plus Profile Image. As show below:

Google Search Results, Before And After Activating Google’s Verified Authorship

For doing this in your blog results, follow these steps

Open your theme’s header.php file and add the following given code block in head section –

<link rel=”author” href=”https://plus.google.com/107466614529996508363/posts” />

Remember:

  • Change the profile URL with your Google Plus Profile URL in the above given code block.
  • Head section is between <head> and </head> tag so add the given code in between these tags.

Now open your theme’s function.php file and the following action at last:

add_action(‘wp_head’, ‘add_google_rel_author’);
function add_google_rel_author() {
echo ‘<link rel=”author” href=”https://plus.google.com/107466614529996508363/posts” />’;
}

  • Visit your Google+ Profile.
  • Click Edit and make your +1s pubic.
  • Scroll down to  contributors section.
  • Under the heading “Contributor to” add your blog’s address.

That’s all. Next Google’s re-crawl to your blog pages will start showing your face in Google search results. So wait for it. You can  reduce this time by writing a new blog post.

Tablets And Smartphone Running Latest Version Of Android

Google released the new updated distribution chart for Android platform. Following table information is based on the number of Android devices that have accessed Google Play within a 14-day period ending on the data collection date as mentioned below:

Version

Codename

API Level

Distribution

1.5

Cupcake

3

0.2%

1.6

Donut

4

0.5%

2.1

Eclair

7

4.2%

2.2

Froyo

8

15.5%

2.3 – 2.3.2

Gingerbread

9

0.3%

2.3.3 – 2.3.7

Gingerbread

10

60.3%

3.1

Honeycomb

12

0.5%

3.2

Honeycomb

13

1.8%

4.0 – 4.0.2

Ice Cream Sandwich

14

0.1%

4.0.3 – 4.0.4

Ice Cream Sandwich

15

15.8%

4.1

Jelly Bean

16

0.8%

Historical Data

Screen Sizes and Densities

 

 

Open GL Version

Outlook.Com Is Loaded With Vast Privacy Issue

I am using Gmail since long and will keep using it. Microsoft Outlook.Com is loaded with vast privacy issue of contemporary world.

Outlook.Com Keeps Your Mail Without Your Permission Even After You Delete It And You Think It Is A Cool Feature

It offers you a feature for Recovering Deleted Mails even after emptying your trash you can get your mails back from Deleted directory’s link “recover deleted messages.”

This might be useful sometime but it is the most serious flaw. Outlook.com doesn’t respect your privacy. Its spying on you. Its a CIA agent. You can get your deleted messages back; it means all of your content is safe on their server even after removing it permanently.

When you delete anything on Gmail it moves to Trash bin. You can restore it from there but if you want to delete it permanently then you empty the trash bin and your mail is completely gone and you are free. But in case of Outlook.com where you delete your mail, it moves to trash, you empty the trash bin for removing your mails permanently from your account but it is still there. You don’t know where it it. You cannot see it but it is there on the server and they tell that this vast privacy issue is a cool feature.

If You Think That Outlook Offers Unlimited Space, you are Wrong. Microsoft Is Misguiding You.

On Internet there is nothing like unlimited. Anyone who offers you unlimited space, bandwidth or anything is fake. Internet runs on hardware not space and hardware cannot provide anything which is unlimited. Google is honest and respects science-mathematics so it tells you the truth that they offer you 10 GB storage. Outlook.com is just opposite and it came from the proprietary background of Microsoft so they trick on you. Open and clear fact is that on Outlook.com you can receive email with maximum size of 25 MB which is similar to Gmail. If Outlook.Com is better than Gmail then it should increase this size. Saying that you give Unlimited storage doesn’t matter because one can backup the mails on other machine but receiving mail more than 25 MB might be a step ahead. Then also I will not be using Outlook.Com because still it has privacy issue and proprietary background.

Google integrates Google+ network with your mailbox. May be none of your friends use it. May be they are using Facebook,  Twitter and LinkedIn which easily gets integrated with Outlook. Is that actually matters for you, if yes then I am sure you will be using Facebook Email Service for all of your mails and Facebook Search for finding things.

People who are more close to science and math use Google like Linus Torvalds because they understand the technical superiority and honesty of Google.

How can you trust anything from Microsoft. You know what its founder says:

“I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it”

And what he actually does, he choose toppers knowing that toppers work day and night for merit.

Microsoft is misleading you, tricking you since a very long time. They are selling the most insecure operating system at very high rates (and also in parts). So it is better to change your mind if it is bending towards the wrong side. Don’t use Microsoft products. Don’t use Outlook. They are less scientific. Use Linux as  it is free and open. Use Google as it is honest and scientific.

When Your Facebook Group Chat Stops Working

If your Facebook group chat is not working or suddenly it stopped working and your are checking Facebook group settings to find out the problem and enable Facebook Group Chat. Then you must know:

You cannot enable chatting in any Facebook group which has more than 250 members because Facebook group chat automatically gets disabled when the number of group members exceeds the default limit of 250.

There are only two conditions when Facebook Group Chat stops working:-

When your Group Chat Settings are Off

SOLUTION – Visit your group >> Select Edit settings >> Check Send Me Group chat messages

When Group members are more than 250

SOLUTION – You cannot do anything for this because members are more important than chat. Use Group Wall for discussions. You may tag your friends in a post by using @ followed by the name and it drops down the name suggestion. Select it and add friend for the public message. It sends a notification to the person you have added in your post.

Disable Comments On WordPress Media Attachments

Using WP Plugin

Download and activate Disable Comments plugin. Using this plugin admins can easily disable comments site wide or according to post type. After installation it can be accessed from settings menu of admin area dashboard.

Using WP Hack

Add this code in your theme’s function.php file:

function filter_media_comment_status( $open, $post_id ) {
$post = get_post( $post_id );
if( $post->post_type == ‘attachment’ ) {
return false;
}
return $open;
}
add_filter( ‘comments_open’, ‘filter_media_comment_status’, 10 , 2 );

Google Has Changes Google Play’s Content Policy; Now No More Intrusive Ads

Google is developing a positive experience for Google Play. Some are saying that Google is trying to move away from its Wild West image and that is good. From now the content of your app in Google Play must be rated in accordance with our Content Rating Guidelines which means:

All the developers must be labeling their applications in accordance with Google Play ratings system. It has four different levels:

  • Everyone
  • Low maturity
  • Medium maturity
  • High maturity

All applications should adhere to the Google Play Developer Content Policy. Now following items in the list must not be added in Google Play by any how –

  1. No Sexually Explicit Material
  2. No Violence and Bullying
  3. No Hate Speech
  4. No Impersonation or Deceptive Behavior
  5. No unauthorized publishing of others Personal and Confidential Information
  6. No infringe on the intellectual property rights of others
  7. No Illegal Activities
  8. No Gambling
  9. No Dangerous Products like transmitting of viruses, worms, defects, Trojan horses, malware etc.

Applications must not create unpredictable network usage that has an adverse impact on a user’s service charges or an Authorized Carrier’s network.

For Spams in Google Play Store:

  1. No repetitive content posting.
  2. No attempt to manipulate search ranking at Google Play Store  by misleading keywords in product’s description.
  3. Product descriptions should not be misleading or loaded with keywords in an attempt to manipulate ranking or relevancy in the Store’s search results.
  4. No attempt to change the placement of any Product by multiple rating done by any how.
  5. No submission of apps that are created by some automated tool or service by the operator of that service on behalf of other persons.
  6. No submission of apps with primary functionality of driving traffic to a particular website.
  7. No submission of apps with primary functionality of providing a webview of other’s website without permission
  8. No sending of SMS, email etc on the behalf of the user without permission. You must provide user with the ability to confirm content and intended recipient.

Developer must use  Google Play’s payment system for charging for Apps and the developers who are offering additional content, services or functionality within an application downloaded from Google Play must use Google Play’s payment system as the method of payment, except in case payment is primarily for physical goods or services and if payment is for digital content or goods that may be consumed outside of the application itself. View Details

Following is the email message for developers:

Hello Google Play Developer,

We are constantly striving to make Google Play a great community for developers and consumers. This requires us to update our policies when we launch new features, like subscription billing, and also when we see unhealthy behavior, like deceptive app names and spammy notifications. This email is to notify you that we’ve made some changes to our policies which are highlighted below.

– We’ve added clearer details to the payment policy, and guidelines on how we will handle cancellations in our new subscription billing feature

– We are restricting the use of names or icons confusingly similar to existing system apps in order to reduce user confusion

– We are providing more detail on the kinds of dangerous products that are not allowed on Google Play. For example, apps that disclose personal information without authorization are not allowed.

– We are giving more examples of practices that violate the spam policy.

Additionally, we are adding a new section that addresses ad behavior in apps. First, we make it clear that ads in your app must follow the same rules as the app itself. Also, it is important to us that ads don’t negatively affect the experience by deceiving consumers or using disruptive behavior such as obstructing access to apps and interfering with other ads.

Please take a look at the Google Play Developer Program Policy at http://play.google.com/about/developer-content-policy.html to see all the changes and make sure your app complies with our updated policies.

Any new apps or app updates published after this notification will be immediately subject to the latest version of the Program Policy. If you find any existing apps in your catalog that don’t comply, we ask you to fix and republish the application within 30 calendar days of receiving this email. After this period, existing applications discovered to be in violation may be subject to warning or removal from Google Play.

Regards,

Google Play Team

How To Configure Apache WebSite To Use Multiple Ports ?

  1. Open httpd.conf file in your host.
  2. Find Listen 80 and on the next line add Listen 8080
  3. Find VirtualHost section for your Site config.
  4. Add *:8080. It should look like this: <VirtualHost *:80 *:8080>
  5. Restart Apache
  6. Test your work by hitting your site to the new port number. Example: http://www.yoursite.com:8080

This would be helpful for you if your ISP is blocking any port. You can add an alternate port in your website. Here we have used port 8080 but you are free to use any other.

Creating Temporary And Permanent Redirects Using Apache

301 is a permanent redirect and 302 is a temporary redirect. 301 redirect is used when you want to redirect pages without penalizing them in search engines. And 302 redirect is used when you want to set up temporary redirect for keeping your page rank better in search engines. Learn more.

How To Set Up Permanent Redirect Using Apache ?

Open your site’s .htaccess file.

If there is no .htaccess redirect then create a new text file in your site’s root.

Add this line at the very end of your .htaccess file:

Redirect 301 /REDIRECT_PATH NEW_URL

Where:

REDIRECT_PATH = Directory path on your web server. And

NEW_URL = Is the path you want the pages redirected to.

Save the file and test your URL.

Example: 

Redirect 301 /tags/lamp/ https://www.sangkrit.net/tags/lamp/

How To Set Up Temporary Redirect Using Apache ?

Open your site’s .htaccess file.

If there is no .htaccess redirect then create a new text file in your site’s root.

Add this line at the very end of your .htaccess file:

Redirect 302 /REDIRECT_PATH NEW_URL

Where:

REDIRECT_PATH = Directory path on your web server. And

NEW_URL = Is the path you want the pages redirected to.

Save the file and test your URL.

Example:

Redirect 302 /tags/lamp/ https://www.sangkrit.net/tags/lamp/

Difference Between Permanent And Temporary Redirects

301 redirect is a permanent redirect whereas 302 is a temporary redirect. Permanent redirects tell search engines that old URL is out so that they can pull this new URL in it’s place. 301 is used when you want to preserve the page index and keep the page rank.

Ubisoft Uplay Has Been Blocked By Firefox

Ubisoft Uplay has been blocked by Firefox. It got a security vulnerability that can be exploited by malicious websites to gain control over the user’s system. All Firefox users who have installed this addon are affected so Firefox suggests other users who are currently using this addon to remove it but they are free to continue if they accept the risks described.

How To Protect wp-config.php And .htaccess Files In WordPress ?

You can block access to your site’s wp-config file from browser by adding following code in your .htaccess file:

# Block access to wp-config
<files wp-config.php>
order allow,deny
deny from all
</files>

For blocking access to your .htaccess file add this code inside your .htaccess file:

# Block access to htaccess
<files .htaccess>
order allow,deny
deny from all
</files>

Note:.htaccess file is present in your site’s root at the same place where you find wp-config file.