Posts marked with "WordPress" in categories

Make Better WordPress Minify Work On OpenShift

If you run a WordPress blog on OpenShift, you might not be able to run the Minify plugins. These plugins won’t work if your OpenShift app is directly installed from the WordPress catridge they provide. This happens because the plugins, themes and other directories of wp-content are linked directories which means they’re fake. The folders are just shortcuts of the original folder situated in app-root/data. This makes the minify plugin hard to find the source of the file. Hence it won’t work.

... [READ MORE]

Fix WordPress Database Error "MySQL server has gone away.."

If you run a WordPress blog and see the error “MySQL server has gone away for query…..” on your error logs a lot, you are certainly in trouble. When this happens, your blog will be down. It happened to this blog and I started searching for a solution. Finally I got a solution and it works. It’s a simple solution. All you have to do is add 2 lines after a specific code. Let’s get right on it.

... [READ MORE]

How To Remove Smart Quotes From Posts In WordPress

If your WordPress blog contains code snippets, WordPress will make the quotes in the codes look fancy. The quotes will become something like **‘ **and . If you can’t see it well, here it is :

**‘ **’

When a reader of your blog copies your code, the special characters (quotes) will be copied with the code instead of the real code quotes. When this happens the code won’t work. This happened to me yesterday. I immediately tried to find a solution and I found the perfect solution. I’m going to share that perfect solution. There is a plugin named Unfancy Quotes on WordPress, but it didn’t do the job. Here’s what I did to remove Fancy Quotes.

... [READ MORE]

How To Create A Simple Password Strength Checker In jQuery

A lot of new hacking methods are coming day by day. So it’s the programmers duty to make their user’s password secure. Here is a simple Password Strength Checker created using jQuery. The code contain a function got from WordPress (I modified it) which is the core component of the checker. This checker will check the following on the password :

  1. Have minimum value of 4 characters.
  2. Whether the username matches with password
  3. Whether the password contain small a-z characters and capital A-Z characters.
  4. Whether the password has numeric characters and special characters.

If all of the above criteria is matched, the checker will give a Strong Password message.

... [READ MORE]

Subins Games : A new Game site from Subins

This is my 5th project. The Subins Games. This site is for playing games. 

Functions

  • Commenting
  • Score saving
  • Play History
  • Add your game
  • Game stats
 (And adding new ones!)
Like all the other projects this project has used Javascript Library Jquery and the server side language is PHP.
This site’s games is the combination of old PFOGB and G2E.
The main problem I faced was the merging of two blogs to one. It was very difficult to merge manually.
So I used WordPress in my localhost to import posts from blogger and exported the posts in XML format.
Then I used PHP to insert the XML file contents to MySql Database. Thankyou WordPress.
... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab