Category Archives: WordPress

Installing MariaDB 10 on Ubuntu 13.04

Upon installing Ubuntu 13.04 x64 server onto new hardware and transferring my content to the new host, MySQL 5.5 was giving me too many service-blocking problems. I’m also having SSL cert problems with Anon.is, so I’m using Yawnbox.com again for my WordPress blog.

MariaDB is supposed to have official Raring repositories out soon, but you can use the repos for 12.10 until this without issue:

https://downloads.mariadb.org/mariadb/repositories/

sudo apt-get install software-properties-common sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db sudo add-apt-repository ‘deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu quantal main’

sudo apt-get update sudo apt-get install mariadb-server

 

Advertisements

Editing WordPress’ BuddyPress image header

Researching how to do this took way to long–these are simple notes to help others. My goal was to use a taller image, in the header, in the default BuddyPress theme. Below is what worked for me–adjust accordingly.

EDIT: (line 156)

 /*path*/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/default.css

FROM:

 padding-top: 25px;

TO:

 padding-top: 250px;

EDIT: (line 94)

 /*path*/wp-content/plugins/buddypress/bp-themes/bp-default/functions.php

FROM:

 define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'bp_dtheme_header_image_height', 133 ) );

TO:

 define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'bp_dtheme_header_image_height', 363 ) );

And that’s it! Cheers