Generating a new administrator user in WordPress through SQL

If you need access to a website, built on WordPress, but you have SSH access only, you could still cope with the situation with a few line in the command line. Here are the steps you need to follow: Find the database credentials. They are usually in wp-config.php file under the web-root directory of your […]

Solution for cPanel and WHM being stuck on updates

It happens, although pretty rarely, for updates of WHM and cPanel to fail. Then you can access any of their pages and you are prompted to reload the page as if this would fix it. Solution for me was just to run the following command as root in a SSH session on the server:

My […]

Gifcast – easy GIF screencasting for Linux

I recently needed to record my screen and output it to a .gif file. I know it’s a weird thing to do – compared to webm video for example, gifs are way bigger in size, way lower quality and don’t have sound. So.. why? Well, mostly because in most cases GIFs are treated as images(because […]

Getting the BuddyPress user profile link

For an author’s profile link, use

to get the URL, and

to get an HTML link element, including display name. For the xprofile data, use

$field can be either the name of the field (like ‘Biography’) or the numerical field id.

Getting a specific URL parameter in jQuery

 

Illuminate WordPress Theme by siiimplethemes (ex MuThemes)

Link: http://themeforest.net/item/illuminate-minimalist-creative-wordpress-theme Authors: http://themeforest.net/user/Siiimple Pros: Cons: not quite finished multi-language support (you need to add the text domain in functions.php); slider on front page doesn’t work on IE7, although stated to do so; styles of pages and posts does not support lists, image aligns and probably other styles too;

Cannot find old WordPress plugin?

How to find old WordPress plugin? Look for it in the repository! Seriously! I was looking for XML Google Maps, as one of the best plugins out there for google maps, routes and stuff… so after I couldn’t find it through the search on http://wordpress.org/plugins, I  checked if the repository still remembers it: http://plugins.svn.wordpress.org/xml-google-maps Obviously it […]

Emails from the site are not received at the Google Apps mailbox of the same domain

There is a common problem with most hostings, when you setup Google Apps for serving the emails for your domain and you expect to receive notifications from your web application in the mailbox. The issue is caused by the “Local delivery” case. When sending emails from the code and the target is a mailbox in […]