Love The Way I Work

Monthly archive

June 2006

StatCounter Module for Drupal

in Blogging/Plugin/Project by

StatCounter is a free yet reliable invisible web tracker, highly configurable hit counter and real-time detailed web stats. For more detail please visit StatCounter website.

StatCounter Module adds the StatCounter tracking system to your drupal website. This module is modified from Google Analytics Module by Mike Carter.

Requirements

  • Drupal 4.7
  • StatCounter Installing Code

Installation

Copy the ‘statcounter’ module directory in to your Drupal modules directory as usual.

Usage

  • In the settings page enter your StatCounter installing code.
  • You will also need to define what user roles should be tracked. Simply tick the roles you would like to monitor.
  • All pages will now have the required JavaScript added to the HTML footer can confirm this by viewing the page source from your browser.
  • ‘admin/’ pages are automatically ignored by StatCounter.

Change Log

  • 06/27/2006: Upload StatCounter v 1

To Do

  • Add StatCounter installing code at sidebar to visible code as alternative

Download

Ah.. leganya…

in Journal by

Setelah menunggu dua tahun akhirnya tiba juga saat yang dinanti-nantikan. Hari ini aku harus mempertanggungjawabkan apa yang kukerjakan selama ini. Hari “pembantaian” tiba juga. Semua perasaan campur aduk, antara senang, bingung, takut, harap-harap cemas, dan segala macem perasaan yang gak keruan aja. Walaah kok malah gini ya. Tapi apapun yang terjadi ya harus dihadapi khan? Gak peduli apapun nanti hasilnya, yang penting kita udah melakukan bagian kita.

Dulu sempet tertunda maju sidang, ya… namanya juga ada aral merintang. Mau kecil atau besar namanya halangan ya tetep aja bikin down. Tapi gak perlu lama-lama. Bangkit lagi dan perbaiki semuanya. Blom ada kata terlambat bila mau berusaha dan bertindak. Ya gak sich?

Persiapan udah oke, tapi makin dipelajari kok malah tambah bingung ya. Mungkin karena grogi kali ya. Waduh gimana dunk?!? Karena susah tidur, malem sebelumnya malah nonton pertandingan piala dunia. Brazil lawan Ausie. Tapi gak seru ah… Aku matiin setelah babak kedua abis. Lha kok?!?! Itu namanya emank udah selesai maen bolanya… Huahahahah 😀 Pesen dari Bapak sich:

Yang tenang, persiapkan dengan baik, dan banyak berdoa.

Waa tambah semangat nich… Coba tambah satu lagi pesennya kaya gini:

Yang tenang, persiapkan dengan baik, dan banyak berdoa. Tenang wis nanti tak-tembung-ke

Waa bisa kaya apa tambah semangatnya huahahaha… isin aku… Restu orang tua khan paling menenangkan perasaan. Tentunya gak mau mengewakan orang tua donk. Ayo yang semangat!!!

Hari ini sidang jam 11 siang. Ternyata gak “dibantai” kok. Pak dosen-nya baek2 semua. Kata Bang pembimbing II, beliau2 ini adalah “The Dream Team”. Soale terkenal baeknya. Kok bisa dapet penguji ini? Gini ceritanya: Sekarang harus cari sendiri pengujinya. Gak boleh manja lagi dicariin dosen penguji ama TU Lab. Waduh ini repotnya. Rada gampang2 susah juga cari penguji sendiri. Enaknya ya kita bisa pilih sendiri penguji “impian” kita. Nah susahnya cari jadwal yang sesuai dengan penguji tersebut. Satunya bisanya pagi, satunya siang, eh lainnya malah sore. Cari penguji sempet bikin drop juga. Harus jalan bolak-balik PAU – Jurusan eh sekarang namanya sekolah Elektro. Dari hari Rabu sampai Jum’at pagi baru bisa mendapatkan kepastian dosen penguji. Sebenernya penginnya dosen dari Lab yang menyelenggarakan program studi, tapi karena banyak dosen yang berhalangan, ya terpaksa penguji dari dosen Lab lain tapi masih dalam lingkungan elektro. Buah dari perjuangan yang melelahkan dan pantang menyerah akhirnya mendapatkan “The Dream Team”. Waa… saya ucapkan terima kasih kepada Pak Dosen yang berkenan menjadi penguji tesis saya. Tapi walaupun baek, tetep harus bertanggung jawab juga lho. Gak boleh seenaknya sendiri… 😀

Setelah melewati satu jam yang sangat menegangkan akhirnya dinyatakan lulus juga. Puji Tuhan. Waa.. leganya… Saya mengucapkan terima kasih kepada semua pihak yang mendukung saya selama ini. Mungkin saya gak bisa membaloas semua kebaikan dan pengorbanan yang diberikan. Mungkin saya tidak bisa membalas semuanya itu. Hiks.. jadi terharu gini ya…

Eit… jangan puas dulu. Masih banyak hal yang mesti dikerjakan. Perjuangan tidak berhenti sampai di sini. Ini adalah awal menuju langkah baru yang lebih jauh lagi. Tetap semangat dan terus berjuang. Be bold…

Kayanya asik kalau bagi-bagi tips waktu menghadapi sidang, ya paling tidak dari pengalaman penulis selama ini.

  1. Persiapan dan kuasai materi yang akan diajukan dalam sidang
  2. Buat presentasi jangan banyak-banyak. Cukup 20 halaman saja. Asumsi 1 halaman dibahas 1 menit. Nah pas 20 menit khan 🙂
  3. Persiapkan handout untuk mempermudah penguji untuk menyimak presentasi kita
    Lakukan perhitungan waktu yang tepat (+/- 20 menit). Soalnya kalo presentasi melebihi waktu yang ditetapkan, nilainya bakalan dikurangi. Lagian para pengujinya kalau lebih dari 20 menit udah kelihatan terkantuk-kantuk Hehehe… (maaf ya Pak :D)
  4. Latihan presentasi berulang-ulang di depan teman-teman, pembimbing II, atau pembimbing I. lebih baik “dibantai” mereka daripada “dibantai” oleh penguji. Hal ini akan lebih membuat kita menguasai materi. Ada pesen dari Dosen Pembimbing I begini:

    Kalo kamu presentasi di depan temen-temen kamu aja mereka gak ngerti, taruhan dech para penguji juga bakalan gak ngerti.

  5. Saat presentasi jangan panik atau grogi namun tetap tenang. Para penguji tahu kok kalo kita tegang, jadi gak perlu kita tunjukin ke mereka 😀
  6. Kita presentasikan bahan yang bener-bener kita kuasai dan apa yang selama ini kita kerjakan. Daripada nanti ditanya yang aneh2. Nah lho malah jadi pusing dan bikin konsentrasi bunyar.
  7. Jangan lupa penampilan juga perlu diperhatikan. Berpakaian yang rapi dan tidak kucel.
  8. Jangan lupa berdoa.

Oke dech. Semoga berhasil…

Using Images to increase Adsense Click Through Rate

in Adsense/Article/Blogging/Tutorial by

What is Clickthrough Rate?

In AdSense publisher reports, clickthrough rate (CTR) is the number of clicks an ad unit receives divided by the number of times the ad unit is shown (impressions).

Images can be use to increase our click through rate. I think it’s a great idea. You can view about this idea from:

Some Tips For Using Images

This tips come from IncreaseCTR.com:

  • Using images to increase our click through rate is a great idea, and it will also brighten up our site.
  • When picking images, try to choose ones that go with the theme of your site, nut architecture or abstract designs will most likely always look good on any site.
  • Make sure to customize your colors.
  • To make it easier, simply use your adsense control panel and make the ad with the colors you want.

Thx for the tips 😉

I’m going to provide you with some CSS codes to make 728×91 Leaderboard – Preview At Bottom Of Page like the tips above:

Download adsenseleaderboard.png and upload this image to your current images theme folder.

Add this CSS code to your current style.css:

.leaderboard {
     background-image: url(images/adsenseleaderboard.png);
     background-repeat: no-repeat;
     background-position: 0px 0px;
     padding: 53px 0px 0px 0px;
     margin: 10px 10px 10px 10px;
     width: 728px;
     clear: both;
}
.leaderboard p{
     margin: 2px 0px 0px 0px;
     padding: 0px;
     border-top-width: 1px;
     border-top-style: solid;
     border-top-color: #999;
}

When you insert your adsense code add this block:

<div class="leaderboard">
<p>
<!-- copy your adsense 728x91 Leaderboard code here -->
</p>
</div>

I’m not an expert about CSS. Please leave your comment here. Any comments will be very much appreciated. Thanks a bunch.

Note: All images from IncreaseCTR.com, I had modified all images to make one image with size 728×50. Feel free to make your own image 😀

Good Luck…

e-gold

in Article by

What is e-gold?

e-gold (electronic gold) is a digital gold currency operated by Gold & Silver Reserve Inc. under e-gold Ltd., and is a system which allows the instant transfer of gold ownership between users. (Wikipedia)

History of e-gold

e-gold was founded in 1996 by Dr. Douglas Jackson and Barry K. Downey. Transactions using e-gold have grown dramatically since 2005. The total amount of gold bars (over three tonnes) in the e-gold system is approaching the size of the national reserves of smaller countries. e-gold now generates a substantial income from spend and storage fees ? it costs a few cents to make each e-gold “spend” and e-gold itself now earns well over a million USD per annum from fees.

e-gold Trends

These pictures are about e-gold trend according to Google Trends Labs on June 16, 2006
e-gold Trends
e-gold Trends Top Cities
Bandung city get 2nd rank 😉 Check it!

e-gold vs. PayPal

As of May 2006, e-gold had 3,784,689 grams of gold in storage, which is worth approximately US$86 million. There are typically 66,000 e-gold spends each day, with a total value each day of about US$10.5 million (that is, about 460 kilograms of gold). In comparison, PayPal handles transfers of approximately US$60 million per day.
e-gold Vs. Paypal Trends
e-gold Vs. Paypal Trends Top Cities
Check it!

We need e-gold exchange service to exchange our e-gold. It’s mean we can buy or sell our e-gold to real money through our local bank. In Indonesia we can use IndoChanger. But you can use your own e-gold exchange services.

Addition Notes

Several important things when we make transaction on Internet:

  • Do not use share computer. Use your private computer.
  • Please use Mozilla Firefox for more security browsing.
  • You can create your e-gold account here.
  • You can create your Indochanger account here for Indonesian.

Good Luck…

Site Meter

in Article/Blogging/Tutorial by

What is Site Meter?

Site Meter is a free, fast, and easy way to add a web counter to your web page. Not only does it display the number of visitors to your web site, it also keeps statistics on the number of visits each hour and each day.

Adding Site Meter to your web page

  1. Register to Site Meter.
  2. Login to your Site Meter.
  3. Go to Manager > HTML Code.
  4. Select the JavaScript or regular version from one of the boxes.
  5. Highlight the HTML code with your mouse.
  6. Copy it to your computer’s clipboard.
  7. Open your web page in an editor (like NotePad) that allows you to see the HTML of the page.
  8. Position the cursor in your page where you’d like the counter to go. A good place is at the bottom of the page right before the </BODY> tag. Paste it into your web page.
  9. Save your web page and upload it to your web server.

Adding Site Meter to WordPress

  1. Select the JavaScript code (containing your sitemeter id ?site=yourid?) with your mouse.
  2. Copy it to the clipboard.
  3. Login to WordPress.
  4. Click on the Presentations tab.
  5. Click on the Theme Editor tab.
  6. In the dropdown list at the top of the page, select the theme that you want to edit.
  7. Click on the Footer Template theme file from the list on the right side of the page.
  8. Paste the Site Meter code inside the div tag at the footer id of that template.
  9. Press the Update File button and Site Meter should show up on the pages of your weblog in the footer.

Adding Site Meter to WordPress – Plugin

Here is a WordPress plugin to automatically add the Site Meter tracking code to all your blog?s pages. It works with WordPress 1.5 and 2.0.

  • Download the plugin.
  • Unzip it and put the SiteMeter.php file into your plugins directory.
  • Go to the WordPress plugins page and click on Activate to turn the plugin on.
  • Go to the Options page and click on the Site Meter tab.
  • Enter the codename of your Site Meter account.
  • Press the Update Options button.
  • That?s all there is to it.

Advantages and disadvantages of Site Meter

It’s about my opinions, but feel free to have your own opinions 😉

  • It’s a free site tracker.
  • Stats by email, email us site meter statistic.
  • Ignore visits, block our own visit.
  • Have traffic prediction. I like this feature very much 😀
  • A visible site tracker, we must upgrade our membership to get an invisible one.
  • Often get 00:00 visit length if only one page view.

Link

Krakal WordPress Theme

in Project/Theme/Wordpress by

Well, after use some wordpress themes, I decide to create my own wordpress theme. Perhaps, it’s not a perfect theme.

This is my first wordpress theme and I hope it’s can be a nice wordpress theme. My wordpress theme’s name is Krakal, which one of beautiful beach in Yogyakarta, about 60 km from my home town 😀

This theme was inspirated from Audyasha theme which come from Kubrick theme. But now I made a lot of modification to this theme 😉

Screenshot

Krakal WordPress Theme Screenshot

Installation

  1. Download krakal.zip file
  2. Unzip the krakal.zip file
  3. Upload the krakal folder to your wordpress theme directory
  4. Activate krakal wordpress theme

This theme is still under developing so any suggestions will be appreciate very much 😉 So feel free to add any comments about this theme. Have a great day and good luck…

Download

Note

  • Use class=”alignright” tag for images to appear on right , class=”alignleft” tag for images to appear on left, and class=”centered” tag for images to appear on center.

Supported plugins

To Do

  • Widgets Support

Change Log

  • 07/17/2006: Remove bottom-block. Most user not use it. Edit footer text and fix CSS.
  • 07/07/2006: Upload new version (Krakal 1.0) with 2 column. See screenshot. For live demo please this site, currently I use it 😉
  • 06/09/2006: Add support to gravatars plugin
  • 06/08/2006: Initial public release

Link

Installing HTTP Server on Debian

in Debian/Linux/Tutorial by

This tutorial about installing HTTP Server on Debian Linux.

Installing Apache HTTP Server for HTTP (Web) Server Service

apt-get install apache2

Testing HTTP Server:
Open a web browser and enter http://localhost or its IP Address http://ip-address.

Installing PHP for Apache HTTP Server

apt-get install php4
/etc/init.d/apache2 restart
vi /var/www/testphp.php

Insert this following line into testphp.php file.

<?php phpinfo(); ?>

Save this new file.

Open a web browser and enter http://IP-Address/testphp.php .

Install PostgreSQL for Apache HTTP Server

apt-get install libapache2-mod-auth-pgsql
apt-get install php4-pgsql
/etc/init.d/apache2 restart

Mapping URLs to folders outside /var/www/

vi /etc/apache2/conf.d/alias

Insert this following line into the new file.

Alias /URL-path /location_of_folder/

<directory /location_of_folder/>
   Options Indexes FollowSymLinks
   AllowOverride All
   Order allow,deny
   Allow from all
</Directory>

Save a new file.

/etc/init.d/apache2 restart

Open a web browser and enter http://IP-Address/URL-path .

Done.. Good Luck…

Link

Installing PostgreSQL on Debian

in Debian/Linux/Tutorial by

Description

This tutorial is about howto installing PostgreSQL on Debian Server.

Installing PostgreSQL

apt-get update
apt-get install pgsql

Create Language

Example plpgsql

su postgres
createlang plpgsql template1
exit

Change authentication method

We need to edit file pg_hba.conf to change authentification method for accessing PostgreSQL database.

cp /etc/postgresql/pg_hba.conf /etc/postgresql/pg_hba.confbak
vi  /etc/postgresql/pg_hba.conf

Find this section

# TYPE  DATABASE  USER  IP-ADDRESS  IP-MASK  METHOD
# Database administrative login by UNIX sockets
local  all  postgres        ident sameuser
#
# All other connections by UNIX sockets
local  all  all        ident sameuser
#
# All IPv4 connections from localhost
host  all  all  127.0.0.1  255.255.255.255  ident sameuser
#
# All IPv6 localhost connections
host  all  all  ::1  ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff  ident sameuser
host  all  all    ::ffff:127.0.0.1/128  ident sameuser
#
# reject all other connection attempts
host  all  all  0.0.0.0  0.0.0.0  reject

Edit that section to

# TYPE  DATABASE  USER  IP-ADDRESS  IP-MASK  METHOD
# Database administrative login by UNIX sockets
local  all  postgres        ident sameuser
#
# All other connections by UNIX sockets
local  all  all        password
#
# All IPv4 connections from localhost
host  all  all  127.0.0.1  255.255.255.255  password
#
# All IPv6 localhost connections
host  all  all  ::1  ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff  password
host  all  all    ::ffff:127.0.0.1/128  password
#
# reject all other connection attempts
host  all  all  0.0.0.0  0.0.0.0  reject

Restart PostgreSQL Server

/etc/init.d/postgresql restart

Create a New Database

Example wordpress

su postgres
createdb -T template1 wordpress
exit

Create a New User

Example: User supriyadisw with password cak3p

su postgres
createuser supriyadisw -P
Enter password for new user: cak3p [enter]
Enter it again: cak3p [enter]
Shall the new user be allowed to create databases? (y/n) y [enter]
Shall the new user be allowed to create more new users? (y/n) n [enter]
CREATE USER
exit

Login to PostgreSQL

pgsql -U supriyadisw wordpress [enter]
Password: cak3p [enter]

Good Luck 😀

Site Trackers

in Article/Tutorial by

What is A Site Tracker?

A site tracker is a tool to tracking our website visitors. A site tracker not only counts and display our visitors, it also keep statistics on the number of our visitors each hour and each day. A site tracker also records our visitors if they return to the same page twice or more.

A Site Tracker Idea

Essentially, a site tracker idea is: we place a small piece of code on our site, when someone visits our site, that code is executed and the visitor’s public detail (eg. IP Address, Browser, Operating System, etc) are collected, analysed, and stored for reporting to us later.

Site trackers are better at tracking ‘real people’ as they track browsers NOT server requests. This often means a site tracker will have a significantly lower count than standard log file analysis. But it offers a more realistic figure of the visitors to our website and far more detail. (from statcounter)

How does a site tracker works?

  1. Get trackercode from site tracker services.
  2. Put trackercode to our site.
  3. Everytime someone visits our site, our trackercode sends valuable information about the visitor back to our log (inside our site tracker service)
  4. A site tracker organises all this information into lists and charts to make our analysis easier.
  5. We can view all lists and charts at our site tracker service.

Getting Started with site trackers

  1. Register or login to our site tracker services.
  2. Get trackercode.
  3. Put our trakercode to our site
  4. Analyse our stats!

Site trackers references

  1. StatCounter, a free yet reliable invisible web tracker, highly configurable hit counter and real-time detailed web stats. Insert a simple piece of our code on your web page and you will be able to analyse and monitor all the visitors to your website in real-time!
  2. Site Meter, a free, fast, and easy way to add a web counter to your web page. Not only does it display the number of visitors to your web site, it also keeps statistics on the number of visits each hour and each day.
  3. Performancing Metrics, a free professional grade blog statistics service aimed at professional bloggers.
  4. Google Analytics, it tells you everything you want to know about how your visitors found you and how they interact with your site.

Link

Google Adwords

in Google/Tutorial by

What is Google Adwords?

Google AdWords ads connect us with new customers at the precise moment when they’re looking for our products or services. With Google AdWords we create our own ads, choose keywords to help Google match our ads to our audience and pay only when someone clicks on them.Another definision; Adwords is Googles version of the pay-per-click advertising model. It allows us to display ads which link directly to our website when searches are done for our chosen keywords or keyphrases.

How to creating an AdWords Starter Edition account?

Use the simple one-page Starter Edition wizard to create your new account. Here’s how to do it:

  • Visit the AdWords home page.
  • Click the Click to begin button.
  • Select Starter Edition and then click Continue.
  • Select your ad location and language. First, pick the location where you would like your ad to appear. Then select the language in which you want to write your ad. Your ad will appear to users who have selected this as their primary language; please note that Google does not translate your ad.
  • Write your ad. Enter a headline and two lines of text, along with the URL your ad will link to.
  • Choose keywords. These are the search terms which can trigger the display of your ad.
  • Choose your currency. This is the currency you will use to pay Google for your AdWords ads. Most people choose their local currency, of course, but you may select any currency you like. This currency affects only how you pay Google; it is unrelated to any currencies you may use for transactions with your customers.
  • Set your monthly budget. Select one of the preset monthly amounts, or select the box at bottom and enter your own amount.
  • Click Continue.
  • Follow the instructions on the page titled Do you have a Google Account? to either enter your existing account information or create a new Google Account. When you are finished, click Create AdWords Account.
  • You’ll see a confirmation page saying that a verification message has been sent to your email address. Your ad will not start running until you have verified your account.
  • When the verification email arrives, follow the instructions to enter your billing information and agree to the AdWords terms and conditions. On the final setup page, click Save and Activate.

Link

Go to Top