Archive for the ‘Web’ Category

How to customize facebook profile badge or like box background

Friday, October 28th, 2011

I found this trick from this web.

The idea is by wrapping facebook code with your own customized DIV, such as:

<div id=”likeboxwrap” style=”width: 298px; height: 393px; background: #FFFFCC; border: 1px dashed #FF3300; overflow: hidden;”>

put fb code here

</div>

or anything alike..

 

<div id=”likeboxwrap” style=”background: white; border: 1px solid black; overflow: hidden;”>

put fb code here

</div>

How to get anyone’s twitter ID and subscribe to the RSS

Wednesday, October 5th, 2011

Just paste this URL to your browser address:

http://api.twitter.com/users/show/[your Twitter username].json

be sure to change the Twitter username accordingly (without the [ and ]).

When browser prompt for download, just open it with a notepad. You will see a bunch of text.

Find something like this;

“id_str”:”331383958″

331383958 is the ID.

Now if you would like to get the RSS for that user, use this:

http://twitter.com/statuses/user_timeline/[REPLACE_TWITTER_ID].rss

(again, without the [ and ]).

Beware with seller name “orlandosports” on ebay

Monday, September 26th, 2011

If you are searching for a seller name “orlandosports”, I hope you will find my review is useful to you. I’m writing this to warn potential buyers that this guys is not honest in the purchasing transactions. Do your best to avoid him/her, and try to look for some other alternative.

I bought a golf driver on 9th July 2011 which advertised as “ANTISLICE SQUARE OFFSET DRIVER GOLF CLUB + FREE HYBRID”. The item ID is 350475267149. It is also advertised as “NEW ANTISLICE SQUARE OFFSET HiMOI DRIVER GOLF CLUB HEAD”. I’m putting the product name so that anyone search for the product name might be getting this warning too.

About 2 weeks later, I got the item delivered to me. But how unfortunate, after a few rounds of driving range session, the driver head just broken. Looks like a quality issue.

So I sent a message to “orlandosports” asking for a replacement. I was requested to send the driver head back to USA. To do this, I need to pay the service charge for dismantling the driver head and also the courier charge to USA. Since Mr/Ms Orlandosports has agree to reimburse everything, I just did it without any hesitation. I sent it to:

o. sports
632 bellevue ave
clawson, mi 48017

The item was sent on 14 August 2011.

On 8th Sep 2011 I have the last communication with “orlandosports” which mention the replacement will reach me within 2-10 days, which suppose to be on 18th Sep and my messages later were not answered. Until this warning is written, I have not received any updates from “orlandosports”.

So I guess there goes my driver. I cannot write any bad feedback to the seller since the limit is only within 45 days which ended on 23 August 2011. The possibility is that, the seller just pretend to send a replacement but at the same time buying a time to avoid me giving him/her bad feedback.

Please be aware of this guy.

 

Buka Gold Investment Account di Public Bank

Thursday, August 25th, 2011

Pertama kali saya menulis tentang BullionVault (sistem pelaburan emas online) adalah pada tahun 2008. Pada masa itu harga emas sekitar $28k/kg. Hari ini harganya telah jauh berubah iaitu $56k/kg. Double dalam masa 4 tahun.

Dalam tahun 2008, setahu saya bank-bank di Malaysia belum ada facility untuk melabur emas secara online. Kebetulan saya meninjau laman web Public Bank, hari ini mereka telahpun menawarkan facility ini.

Saya telah pun buka akaun dengan Public Bank GIA ini beberapa hari lepas. Bagi yang belum tahu;

1. Anda memerlukan savings account dari branch yang sama

2. Buka akaun minima 10g

3. RM10 stamping fee

4. Anda boleh link dengan savings untuk access secara online

Selamat mencuba.

Filesonic plugin for Rapidleech & Unrar

Sunday, August 21st, 2011

If you are new to Rapidleech just like me, then getting things work error-free is quite a headache.

I signed up to the package offered by RapidleechHost.com where their ads saying the script support Filesonic, and I thought I will be using it hassle free. No, it was not. The first use, and I picked “use premium account” I got the error saying:

Error logging in – are your logins correct?

Okay, I was not sure what it was about. I sent a ticket to support, they replied saying they need more explanation. I did explain later, but I think I want to try to figure it out myself.

So here is the steps that I did and it end up with a success.

1. Download a fresh copy of Rapidleech here.

2. Create new folder and upload Rapidleech script into it. Such as http://yourname.rapidleechhost.com/myrapidleech. The first screen is configuration, just use the default and click save.

3. Then I checked on “List of Working Download Plugins“. Since I am working on Filesonic plugin, I did exactly what the first post said in this thread. That were:

a) Change rapidleech/configs/accounts.php

b) Update file DownloadClass.php

c) Update rapidleech/hosts/download/rapidleech_com.php

For (c), you need to again replace it with latest copy which can be found here.

4. Now the downloading from Filesonic is working, but you may not be able to UNRAR the files with the script, why? Just re-upload rar/unrar file using binary mode.

5. You might be getting the last error saying something about “secret key”, yeah… just make sure the file rapidleech/configs/accounts.php is not empty.

It is fixed, I get it up and running.

 

Good news for e-gold account holder

Thursday, August 18th, 2011

It looks like something good going to happen at e-gold.com, yeah at least for those with CIP approved. Latest news from e-gold blog, GSR and US government already in the process of monetizing the current gold value and the refund will be there soon. Read here and here.

DD Favourite Posts – how to list your favourite posts on WordPress

Sunday, February 6th, 2011

We have latest posts, or most commented posts, or even popular posts plugin – which all provide easy widget. Just drag and drop and wushhh.. those list now on your main page sidebar.

After a small modification requested by a client, I have an idea of publishing the favourite (favorite?) posts plugin. It will allow you to select your favourite posts to be highlighted on the main page. They will be sitting until you remove them. Yes, sticky posts I can say in forum-based language.

So have a check it’s here:

http://wordpress.org/extend/plugins/dd-favourite-posts/

WP Plugin & SVN

Sunday, February 6th, 2011

The long story at WP “Using Subversion” is not for everyone, at least not for Windows user with limited Linux knowledge.

So how do you actually put your plugin on WordPress and make it searchable and updatable via self-hosted WordPress dahsboard?

Let me put it this way.

1. You need to have a repository account. Apply here.

2. Download and install Tortoise SVN.

3. Create a SVN folder in your PC (any names). Right click and SVN Checkout. You will get 3 directories trunk, tags, and branches.

4. Fill trunk with your plugin files, make sure readme.txt comply with requirement. Use validator here.

5. Right click on trunk and Commit. Make sure all the files checked on the prompted windows.

6. Right click on trunk again, pick TortoiseSVN/Branch/Tag. Replace trunk with tags/1.0 (or your stable version in readme.txt)

7. Right click on tags and SVN Update

That’s it.

For more details and graphical view, visit this entry.

jquery.min.js & prototype.js – conflict and resolution

Saturday, February 5th, 2011

While I was writing a WordPress plugin for a client, it came to a situation where I need to use both jquery.min.js & prototype.js and this result in a conflict. After googling around I found this page citing the same problem. Still no luck after trying the suggested solution (jQuery.noConflict();).

It is the link in the comment from Ahsan Shahzad which save my day. Thanks!

Since both script use $()-function, I just need to be more specific on my jquery lines by adding adding the jQuery(function($){ bla; }); portion.

IE Error: Unterminated string constant

Tuesday, January 25th, 2011

So I found this error when viweing my intra application with IE7. No error with Mozilla Firefox.

After some debugging, I know the error come out from the onmousemove event. It is not specifically from this event alone, actually it is from a database content which is passed to this event. One of my user type in a special character, and when the string is passed to onmousemove event, it trigger an error such as the string is incomplete.