Friday, February 25, 2011

No to Marcos

Magnanankaw, bayani.  Mapangapi, bayani.  Diktador, bayani.  Maluho, bayani  Parang hindi bagay.  Ferdinand Marcos, bayani.  Di ba hindi, bagay?
A true hero will not call attention to himself nor demand attention and respect.  It is those who have something to gain that will insist on immortalizing a person or a name rather than ideals.
While rules may provide for presidents to be buried at the Libingan ng mga Bayani, correct me if I'm wrong, the essence of the Libingan is to honor and celebrate those who, majority of the time, whose impact helped Filipinos, the people, the society and the culture more than harm the same.  People there remind us what we should be and what we can do for the country.  Not how we can do the country.
We might be on the verge of encouraging criminals to steal, return half and get away scot free.   Put Marcos at the Libingan ng mga Bayani and we continue to encourage criminals to use stature steal and not return any with impunity.
Its not a matter of forgiveness or reconciliation.  Its a matter of preserving whatever decency and respect for ourselves that we have left.
Besides, the government breaks the rules every time, anytime. Why not break this one for old times sake? Don't bury him there or at least sit on the paperwork.
Si Gloria pa ilibing na diyan ;)  Peace ate Glo.

Friday, December 3, 2010

Flash Ad Banners Using Joomla! Banner Component

This post in the Joomla! Forum is a lifesaver.  Not only does it allow you to track clicks on flash ad banners using the built in Joomla! banner component, it also solves problems with dropdown menus appearing under those same banners.

Some note are here for fear of that post disappearing someday:

Goto /modules/mod_banners/helper.php and search for the old flash code.  Select all of it and paste the following:

        /*  Old Flash Code


         $html =   "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" border=\"0\" width=\"$width\" height=\"$height\">


                  <param name=\"movie\" value=\"$imageurl\"><embed src=\"$imageurl\" loop=\"false\" pluginspage=\"http://www.macromedia.com/go/get/flashplayer\" type=\"application/x-shockwave-flash\" width=\"$width\" height=\"$height\"></embed>


               </object>";


         */  


//HW: BOF New Flash Code that works with Clickthroughs, AND does not hide menus etc (WMODE)


         $clickurl = $item->clickurl;


         $html_flash =   "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" border=\"0\" width=\"$width\" height=\"$height\">


                  <param name=\"movie\" value=\"$imageurl\">


                  <param name=\"wmode\" value=\"opaque\">


               <embed src=\"$imageurl\" pluginspage=\"http://www.macromedia.com/go/get/flashplayer\" type=\"application/x-shockwave-flash\" width=\"$width\" height=\"$height\" wmode=\"opaque\"></embed>


               </object>";


         if ($clickurl != '') {  //Add a GIF based clickthrough IF there is a link supplied in teh 'Click url' for this banner in the banner manager.


            $html = '<div style="position:relative;z-index:1;" style="background:#fff;">';  //Add the banner clickthrough


            $html .= $html_flash;


            $html .= '<a href="'.$link.'" target="_blank" style="display:block;position:absolute;width:'.$width.'px;height:'.$height.'px;z-index:9999;top:0px;left:0px;border:none;background:none;"><img src="components/com_banners/x.gif" style="width:'.$width.'px;height:'.$height.'px;" alt="Banner Campaign" /></a>   ';


            $html .= '</div>';


         } else {  //Otherwise use the orignal code, so that the flash banner still goes to the right place... (instead of a blank page!)


            $html .= $html_flash;


         }


         //HW: EOF New Flash Code that works with Clickthroughs, AND does not hide menus etc (WMODE)

The only other thing to do is to upload the following single pixel gif file to the components/com_banners/ folder folder:x.gif. (Right click the x.gif link and "save file as").

Wednesday, November 17, 2010

Greentennial Run FAQ: November Update

Greentennial Run FAQ: November Update

Visit the Greentennial Run website to learn more about this fundraising activity dubbed as the "the most exciting run to start 2011". The One La Salle Scholarship Fund will benefit from this event

You will find the FAQ, race details, the latest updates, a newly established online runner's community, etc. Support the Greentennial Run.

Thursday, August 26, 2010

Jomsocial and Joomla! Templates

When you encounter problems with the facebook connect functionality, there are a couple of things to do.

  • Update Jomsocial to the latest version.
  • Update the template to the latest version.
  • Go to the file manager of your host and rename templates/your_template/html/com_community to com_community_off or something

Tuesday, August 10, 2010

Short and Sweet and Wrong: Facebook Video Download Take 2

  1. Go to the page of the video.  The URL should look something like http://www.facebook.com/video/video.php?v=012345678901
  2. View the source.  In the case of Firefox 3.6.3, Menu > View > Page Source or just punch Ctrl+U.  This should bring up another Firefox Window with a whole bunch of HTML code.
  3. Search the source by punching Ctrl+F or from Menu > Edit > Find.  Search for the following: video.ak
  4. Copy the URL encoded with escape characters.  Example

    http%3A%2F%2Fvideo.ak.fbcdn.net%2Fcfs-ak-ash2%2F48416%2F41%2F1015025843320577_63415.mp4
  5. Open another browser tab, and search for a url decoder.  Or use http://meyerweb.com/eric/tools/dencoder/ 
  6. Decode the URL from step 4.
  7. Go to http://www.textism.com/tools/textile/index.php and "download":decoded.url.you.got.from.step.6
  8. Convert Text to HTML
  9. Right mouse click download and save file as ...
  10. The browser should show you a download dialog box.  The file being offered for download is the video.
Let's see if this stands a short test of time.