Daily Archives: May 12, 2008

Fotobook connected

Alright, so here is the deal. After a week trying to figure out how to connect and make Fotobook work in my WordPress plugins, I got it done and figured out. 😛

Here is what I did. Let say that you have WordPress already installed and configured. So you are going to go to Fotobook and download the last version. Once you download follow the installation instructions.

So here is what I did under the installation instructions that it made so special.

Steps:

  1. Make sure that you are logout of facebook and your cookies are clear in your web browser
  2. After activating my Fotobook I went and open the Fotobook settings
  3. Click on “Grant Permissions”
  4. A new window is going to pop up.
  5. Enter your facebook user name and password, then sign-in
  6. Is going to tell you that you could close this window. Close it.
  7. Then go back to your Fotobook setting, which would be step 3.
  8. Click “Apply Permissions”
    NOTE: DO NOT REFRESH OR HIT THE GO BUTTON IN YOUR WEB BROWSER OTHERWISE YOU WILL NOT BE ABLE TO FULLY CONNECT YOUR FACEBOOK WITH YOUR FOTOBOOK.
  9. Then your facebook account should appear under “Grant Permissions”
  10. Now click on “Go to Management”
  11. Click “Get Albums”

Now, you should your facebook and fotobook linked. If you are having any difficulties please contact the developer not me. I didn’t made the code.

Fixing wirelesscard in Ubuntu

One of my friends was having wireless card problems one he upgraded from Gutsy 7.10 to Hardy 8.04. The problem was that Hardy was recognizing the wireless card but it wasn’t installing the drivers because they were a third party drivers. Well, in order to do that and fix it I had to do this.

NOTE: THIS TUTORIAL WAS MADE USING LINUX UBUNTU 2.6.24 KERNEL. IT HASN’T BEEN TESTED ON OTHER DISTROS NEITHER OTHER KERNELS. DO IT AT YOUR OWN RISK.

Steps:

  1. Open the terminal
  2. type this
    sudo apt-get install build-essential
  3. copy and paste OR type this (each is a separate line in the terminal)
    wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2
    tar xjf b43-fwcutter-011.tar.bz2
    cd b43-fwcutter-011
    make
    cd ..
  4. then
    export FIRMWARE_INSTALL_DIR="/lib/firmware"
    wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
    tar xjf broadcom-wl-4.80.53.0.tar.bz2
    cd broadcom-wl-4.80.53.0/kmod
    sudo ../../b43-fwcutter-011/b43-fwcutter -w "/lib/firmware" wl_apsta.o
  5. Now reboot Ubuntu and you should be good to go.

Note that you FIRMWARE_INSTALL_DIR might change with the distro.

Remove “click to activate and use this control”

This hack or tutorial it is for web admins that what to remove the “click to activate and use this control” that appears in IE7 or above.

Steps:

  1. Goto your last <object> and write this below
    <script type="text/javascript" src="NoActiveAndUseThisControl-IE7.js"></script>
  2. Now, open notepad and copy and paste this code into notepad.
    theObjects = document.getElementsByTagName("object");
    for (var i = 0; i < theObjects.length; i++) {
    theObjects[i].outerHTML = theObjects[i].outerHTML;
    }
  3. Save As this file and name it as “NoActiveAndUseThisControl-IE7.js
  4. Now upload them into your server and you should be good to go ;).