Category Archives: WordPress

anz-egate payment method for wp-commerce plugin

Working on ANZ-egate payment method for WP-Commerce Plugin

anz-egate payment method for wp-commerce plugin

Working on ANZ-egate payment method for WP-E-commerce plugin (which is completed and here is the link to download).

Helpful resources:

There are certain issues so i strongly discourage using this plugin right now. I am busy with something else at the moment so if you are a php developer you can try and extend this plugin to make it complete.

Current status: Live, doing good. Continue reading

Fixing WordPress asking FTP connection in localhost running on XAMPP in Ubuntu

Recently i had this issue. I would go to wordpress admin plugins page and try to delete a plugin. It would ask me for FTP connection details. I tried different combinations but it didn’t work. In fact i don’t know anything about FTP connection details on my local machine yet but i was able to fix this one with the help of some kind guys over the internet. Continue reading

A WordPress plugin to delete duplicate users by ID, user_login or user_email etc.

Description: This plugin provides a way to delete duplicate users by ID, user_login or user_email.

An user-base cleaning script! In a case, thousands of users are entered by tempring with the basic wp_user table structure.. where ID was converted to just int field with no PRIMARY KEY or INDEX associated, date field (user_registered) was converted to decimal and user_email field was changed to accept only 20 characters (varchar 20) .. etc.. and thus thousands of records were entered through a script with duplicate email addresses, user_logins and even with duplicate IDs!

Note: At the moment, this script takes care of ID, user_login and user_email fields only. One can easily extend it to check other fields as well.

You can download this plugin by visiting the plugin hosted page at wordpress.org here, http://wordpress.org/extend/plugins/duplicate-user/

How to delete duplicate MySQL records with duplicate field value (as ID)

For some reason i had duplicate entries in my WP database. The ID field in wp_users table was tempered with and was changed to Non Auto-Increment to insert records on the will. I deleted all ID=null records manually and then tried to change it to AUTO INCREMENT but it came up with Duplicate Entry error and then i found that it had duplicated/multiple entries with same IDs as well. Here’s the remedy i had to apply in order to delete those duplicate entries and change ID field to AUTO INCREMENT once again. Continue reading

Briefly unavailable for scheduled maintenance. Check back in a minute

“Briefly unavailable for scheduled maintenance. Check back in a minute”

If this message appears on you wordpress website for more than you anticipated if might mean that your wordpress update failed due to some reason. You can get rid of this message by deleting a .maintenance file which wordpress places at your site root when it starts to update and deletes it when upgrade is successfully completed. Continue reading

How to remove html { margin-top: 28px !important; } from wordpress header

To remove html { margin-top: 28px !important; } from wordpress header go to /wp-includes/admin-bar.php and edit around line 672 (in WordPress 3.3)

Alternatly you can add a remove_action filter in you active theme/functions.php file like this, as this is a part of _admin_bar_bump_cb function which is defined in above mentioned file: Continue reading

Template drop down list missing in edit page in wordpress

Last night i installed a new theme to this blog of mine and after setting basic things up when i went to edit my archives page at admin end the Template drop-down in Page Attribute box was missing. Strange. I searched over the issue and found some good resources explaining ‘how and why’ of the problem and some remedies as well to bring the Template Drop down(box??) back. Here are two of them: Continue reading