Wednesday, June 30, 2010

QR Code

I have just had to deal with a 2D QR Code, which is interesting and I want to share it with you


The online decoder can be found here: http://zxing.org/w/decode.jspx
Have fun QR Coding :>

Friday, June 25, 2010

vBulletin 4 .XML Converter

It's really inconvenient to develop plugins for vBulletin these days since the 2 systems (vBulletin 3 and vBulletin 4) use different template engines (or so called). After a lot of frustrations, I finally made a converter which will "read" your old .xml product file and make it vBulletin 4 compatible. Please note that it doesn't magically make the plugins work in vBulletin 4 (which involves a lot of things), it just makes sure the template will be parsed correctly in vBulletin 4's system just like how it's supposed to be done in vBulletin 3's. Changes are made under several aspects

  1. Variable accessing
    • Array accessing will be updated to the new way. No more $array[key], it should be {vb:raw array.key}
    • StyleVar accessing (via vb:stylevar)
  2. Phrasing (support both simple phrases and compound ones)
  3. IF/ELSE condition in template
The new .xml file will be saved in the same directory with the suffix _vb4. Okie, here is the code (in PHP, obviously)



You may want to change the $rootdir to different directory... Enjoy

Tuesday, June 8, 2010

YAFB 3.3.1 is out

After a long time being busy at a lot of personal things, finally I managed to release a maintenance version of YAFB to make it work with vBulletin 3. Also, as vBulletin 4.0.3 now has a built-in Facebook integration, many users want to migrate their Facebook users from YAFB to that integration. Hmm, it's obviously not a good move for YAFB but I decided to build the migration tool and it's available right away in this 3.3.1 release.

The super-thread for YAFB is still located here, happy facebooking!