Announcement!

Bid Oh Bid Directory - Bid your link to get higher position now!

Information

You are currently browsing the CypherHackz.Net weblog archives for the year 2006.

You are reading Make your Own Wordpress Theme - Part 4. To read other parts, click on the link below.

In Part 4, we will learn steps taken to make our comments.php file. First I will show you how to create the layout for the comments and then we will put the tags needed.

This comments.php will be called by our index.php file when we view our entry in single or page. The function that will call the file is

<?php comments_template(); ?>

Note: This part is kinda tricky. So make sure you give 300% of consentration. :d

Read more…

You are reading Make your Own Wordpress Theme - Part 3. To read other parts, click on the link below.

Now we will going into the hard part. Index.php file is the core file in our theme file.

Hopefully your index.php will look like this. (Read Part 1 - The Layout )

Code (html4strict)
  1.  
  2. <div id="main">
  3.  main
  4.  </div> <!– close main –>
  5.  

Read more…

You are reading Make your Own Wordpress Theme - Part 2. To read other parts, click on the link below.

Part 2 will be more detail on things and functions needed to put in your Wordpress header file. Open your header.php file.

Code (php)
  1.  
  2. <html>
  3. <head>
  4. <title>My Wordpress Theme</title>
  5. </head>                 
  6. <body>
  7. <div id="wrapper">
  8. <div id="header">
  9. </div> <!– close header –>
  10. <div id="content">
  11.  

Read more…

After I released my first Wordpress theme to public, I make another theme for my site, CypherFS Royale . Then an idea sparkling into my head. Why not I make a tutorial on how to make Wordpress theme to public? I’m sure there are many peoples are looking to make their own theme for their website. So lets get started.

But before we proceed, I want to tell you first that this tutorial only covers on how to set the layout and the tags or functions needed to make your Wordpress theme works perfectly. It is really basic. I will not teach you html, css and php here. You need to learn them by yourself. There are many tutorials available on the net. I’m sure you can found them in ease.

Ok, I split this tutorial to 7 parts. Here are some details for each part.

Read more…

cypherhackznewlook

Hey guys! What do you think with the new look of CypherHackz.Net? I start coding the template on 4th December and because of this site use graphic as the background, so it takes time to finish it up. At first I want to use this theme on this coming 19th December as a birthday gift for the domain. It will become one year old. but I can’t wait ya know. Lol…

This theme name is CypherFS Royale. I chose Royale as the name because the idea of this design is from my XP theme which is Royale.

But the problem is the html file is too big. About 60kb per page. Do you know how to reduce it? The best html file should be below 20kb.

This theme should valid XHTML and CSS but because I use the feedburner chicklet and some other scripts make it not valid anymore. Duh…

Btw does this site load slow? [tags]site, theme, wordpress[/tags]

James emailed me on how I display my adsense in certain posts. As you can see on my homepage, there is an adsense above the content in my first post. And after the first post, there is another post that has adsense but without content. To do it, you just need to put a counter. We create the counter by using PHP.

First we need to declare the variables that we want to use.

$postnum - This variable use for count how many posts in the loop
$showads# - This variable is use the adsense that we want to display.

Note: Replace the # with number, eg: 1, 2, etc.

Ok here is the trick. Put this PHP code before the loop.

Code (php)
  1.  
  2. <?php
  3. $postnum = 1; //Define the initial value
  4. $showads1 = 1; //This mean it will be display in post #1
  5. $showads3 = 3; //This mean it will be display in post #3
  6. ?>
  7.  

Read more…

Usually the FeedBurner chicklet that we see is like this

How about if we change it to something different like

or or

To do it, just put this following code &label=hacked after the image url. It is really simple. :d [tags]hack, tweak, feed, feedburner[/tags]

Digital Inspiration [via Quick Online Tips]

Ha3. Know what? I got my first AdSense check today. Kinda happy. About one year (that link was posted in Malay) I’m waiting to get this check. Lol… How lame… My blog will be one year old this coming 19th December and I guess this check is a gift from Google. :d

I took some pics of my adsense check but couldn’t transfer them to my comp because I didn’t bring my phone camera cable with me. Duh…

It is not really hard to make money from adsense. If your site has good traffics, you can earn the money easily. Btw my site is not really high in traffics. That’s why I waited about a year just want to hold this check. :)

Beside than AdSense, I had join other site monetizing such as Text Link Ads and AdBrite. Currently Text Link Ads is my primary online money incomes. :d[tags]adsense, check, cheque, money[/tags]

As we know, Firefox has problem with the memory usage. It makes the Firefox load slow, use too many resources and drag our computer down. Here are 5 tips on how you can use to handle and improve Firefox memory usage.

1. Reduce memory usage when minimize
This tip will reduce the memory usage when each time you minimize your Firefox. Actually what it does is, Firefox will let Windows to claiming back the memory used when it minimize.

  1. Start up Firefox
  2. Type in about:config in the address bar and hit Enter
  3. Right click and choose New > Boolean
  4. Type config.trim_on_minimize in the pop-up box and hit Enter
  5. Select True and hit Enter.
  6. Restart your Firefox

2. Fixed cache capacity
Every time new page is loaded, Firefox will cache the page so it doesn’t need to load again to be redisplayed. By default, this setting was set to -1 which mean, Firefox use the cache memory depends on your RAM size. Here is how to fix the cache capacity use for your Firefox.

  1. Start up Firefox
  2. Type about:config in the address bar and hit Enter
  3. In the filter, enter this string browser.cache.memory.capacity
  4. If you set to 0, Firefox will not cache any pages. If you want to customize to other value, read here.

Note: browser.cache.memory.enable must be True if you decide to change the integer.

Read more…

I submitted my entry about Tips on how to name your AdSense Channels to Ezine Articles last month and recently I got an email from them that the article I sent has successfully approved on their website.

I decided to submit the article because I think it is worth to share with others especially the adsense publishers on how they can name their adsense channels for better tracking in the reports. The format that I use to rename my channels is really easy. Here is the format that I use:

[site/theme]_[file]-[location]-[ads type]

Explanations for the format above has been explained in my post. For more details, read the entry here, Tips on how to name your AdSense Channels.

The first article that I submitted to Ezine Articles is about How to Advertise Your Blog. It is mainly focus about how you can use free services such as Ezine Articles to promote your blog. Read the entry here and start advertise and promote your blog. :)

Btw I have a question to ask. Do you mind if your articles got plagiarised?[tags]adsense, channel, articles, promote, blog[/tags]