Posts Tagged ‘Tutorial’

Facebook – Increasing Privacy with Friend Lists

Friday, January 8th, 2010
by Philip Hoyos

Are you tired of chat messages from all you friends whenever you logon to Facebook? And who can see your pictures/photos, status and other privat information? Then this tutorial is for you.

In this tutorial you will learn how to increase your privacy using friends lists. Friend Lists can specifically be used to take control of who you can see in the News Feed and Chat. Friends Lists can also be used to take control of what others can see about you. This will enable you to control which friends can see what about you. (more…)

HowTo: Get a blank title in kubrick default theme

Thursday, June 19th, 2008
by Philip Hoyos

I have been asked if I knew how to stop the title showing up on top of the kubrick header, while it still maintains the title and description of the site. So here goes I hope it will help you.

First, get this plugin All-in-one-SEO 
Configuring this plugin should allow you the option of having a site title name, but without it showing up on top of the kubrick image header.

Secondly, remove the title from the kubrick image header.
In the WordPress admin site, you need to go to Design>Theme Editor>header.php
Here you will need to remove or comment out the code that looks like this: 

<div id=”header”>
<div id=”headerimg”>
<h1><a href=”<?php echo get_option(‘home’); ?>/”>
<?php bloginfo(‘name’); ?></a></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>
</div>

This is the code that generates the Title and blog description of your WordPress site.

iPhoto edit problem

Wednesday, May 21st, 2008
by Philip Hoyos

So I had a problem with iPhoto. Problem: Whenever I tried to edit a picture in iPhoto it didn’t work. Im currently running iPhoto 7.1.3, just so you know wether this will help you or not. I have my iPhoto dir located at an external hdd, though I don’t think it matters if it is on your hdd or an external hdd.

Problem description:
When trying to apply effect or edit with iPhoto, the changes didn’t affect the picture once I applied the changes. I figured it had something to do with my permissions to change the pictures that I couldn’t apply changes to. Though I couldn’t see any difference using Finder.

Solution
When you open iPhoto, press and hold down alt+option-key. This will bring up a dialog that looks like this

Rebuild Photo Library

Rebuild Photo Library

I chose Examine and repair Iphoto Library file permissions, and the dialog said that some permissions needed to be repaired. So thats what I did, and it worked out.

It is recommended to do a backup of your archive. I didn’t do it, and nothing is missing. I won’t recommend anyone doing the same, as worst case scenario would be to have all my pictures erased.

Anyway, this solution worked out for me, I hope it will help you too =)

HowTo: Change Kubrick header in default WordPress Theme

Tuesday, May 20th, 2008
by Philip Hoyos

I thought I wanted to have my own image as header, but it was damn near impossible to figure out where to do the change in the default kubrick theme that comes with WordPress. However, I found a solution =)

Find wp-content>themes>default>images>header-img.php

Find the above path on your site by accessing the site by FTP. Go to the path and use a text-editor to edit header-img.php

Now comment out the following like this

/* <- Remove If you want the color thing back.
// If we don’t have image processing support, redirect.

if ( ! function_exists(‘imagecreatefromjpeg’) )
die(header(“Location: kubrickheader.jpg”));

// Assign and validate the color values
$default = false;
$vars = array(‘upper’=>array(‘r1′, ‘g1′, ‘b1′), ‘lower’=>array(‘r2′, ‘g2′, ‘b2′));
foreach ( $vars as $var => $subvars ) {
if ( isset($_GET[$var]) ) {
foreach ( $subvars as $index => $subvar ) {
$length = strlen($_GET[$var]) / 3;
$v = substr($_GET[$var], $index * $length, $length);
if ( $length == 1 ) $v = ” . $v . $v;
$subvar = hexdec( $v );
if ( $subvar < 0 || $subvar > 255 )
$default = true;
}
} else {
$default = true;
}
}

if ( $default )
list ( $r1, $g1, $b1, $r2, $g2, $b2 ) = array ( 105, 174, 231, 65, 128, 182 );
Remove If you want the color thing back. -> */

That will remove the blue gradiant image, and instead turn the header black. To reveal the picture underneath you need to comment out a bit more:

/* <- Remove If you want the gradiant back.

// Blank out the blue gradiant
for ( $i = 0; $i < $h; $i++ ) {
$x1 = 19;
$x2 = 740;
imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $white );
}

// Draw a new color thing
for ( $i = 0; $i < $h; $i++ ) {
$x1 = 20;
$x2 = 739;
$r = ( $r2 – $r1 != 0 ) ? $r1 + ( $r2 – $r1 ) * ( $i / $h ) : $r1;
$g = ( $g2 – $g1 != 0 ) ? $g1 + ( $g2 – $g1 ) * ( $i / $h ) : $g1;
$b = ( $b2 – $b1 != 0 ) ? $b1 + ( $b2 – $b1 ) * ( $i / $h ) : $b1;
$color = imagecolorallocate( $im, $r, $g, $b );
if ( array_key_exists($i, $corners) ) {
imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $white );
list ( $x1, $x2 ) = $corners[$i];
}
imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $color );
}

Remove If you want the gradiant back. -> */

Thats it, you are done. Now your header will reveal kubrickheader.jpg, and not the generated gradient.

All you have to do is to upload your header image with the same dimensions(758×200), extension(.jpg) and name as the kubickheader.jpg. And replace the default header image.

This is my result

aetas_head.png

Update:

Thanks a lot for all your comments. I really appreciate it =)