Tech Sharing Blog

Web, Tech, Tips, Download Blog…

Advertisement

Archive for the ‘ Application ’ Category


iphone corporate plans 40% iPhone sold to corporate users
If you are thinking of most of the Apple iPhone user are the young and trendy young generation, than you are wrong. That is a study show that 40% of iPhone was sold to corporate customer and being use in business environment.
The main reason of this is because they treat  iPhone as a replacement for the laptop as they are migrated your laptop usage to a small iPhone. Most of the coperate users they may only use 1 or 2 apps that help in daily working life, so instead of spend USD 1,000++ to buy a new laptop, they rather to choose to have an iPhone that more handy and easy to carry.

Popularity: 1% [?]

I just started my new blog call (Share A Video) recently and the blog is mainly use to share all the video with my reader. And the video source are mainly the video I found is intereting from other web site such as facebook, youtube, and etc.

 

But I do face a problem where facebook don’t allow you to actually embed the video into other web site, after I googling for a while and finally found the script that help you to embed the video.

facebookvideos Embed facebook video in your blog


Every video uploaded on Facebook has a unique ID that you can find in the browser’s address bar (look for the value of parameter “v”).

Copy that number and replace it with xxx in the code below.



<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="224" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.facebook.com/v/xxx" /><embed type="application/x-shockwave-flash" width="400" height="224" src="http://www.facebook.com/v/xxx" allowscriptaccess="always" allowfullscreen="true"> </embed></object>


From now, you may watch the video from facebook in your web site or blog without need to register or log in into facebook account.


The following video is one of the video from facebook


Popularity: 2% [?]

zipeg logoZipeg is a free alternative to WinZip, WinRar, or StuffIt where Ziped support most of the common archive file format such as Zip, RAR, 7z, ARJ, LHA and many more. Zipeg is build on top of the powerfully 7zip engine and it have much more features then 7zip.


The killing features provide by Zipeg is the pictures and photo preview instantly or open in external application without extract it, just mouse over the selected file, a thumbnails will be display in the tool tips. By using this features, you may view the and search the file before you actually export it.


In addition, Zipeg also support the filenames in national alphabets in UTF-8, Unicode and codepage encodings. There is no any limitation in term of the archive file size and Zipeg is fully supported by Mac OSX and also Window XP/Vista.


File that supported by Zipeg:

  • .zip (Zip Archive)
  • .7z (7-zip Archive)
  • .rar (RAR: Roshal Archive)
  • .bz2 (BZip2 Archive)
  • .gz (GNU Zip Archive)
  • .tgz (Same as tar.gz)
  • .arj (ARJ Archiver Robert Jung)
  • .lzh (LHA/LZH Archive)
  • .z (Unix Compress)
  • .cab (Windows Cabinet)
  • .chm (Compressed HTML)
  • .cpio (Posix CPIO/PAX Archive)
  • .ear (Enterprise Archive)
  • .war (Web Archive)
  • .cbr (Comic Book Archive (RAR))
  • .cbz (Comic Book Archive (zip))

Click here to download Zipeg
Click here to go to Zipeg home page


Mouse over the picture or images file to view the thumbnail

Mouse over the picture or images file to view the thumbnail

You may also view the picture and images file in any of the photo viewing application

You may also view the picture and images file in any of the photo viewing application

Supported file list by Zipeg

Supported file list by Zipeg


Popularity: 3% [?]

Because of I need to handle a project in my comany which include the forum features, but the language is Chinese Simplify, so I manage to find out this 9 years old product.


phpBB is a free and open source forum application. phpBB was created in June 2000 as UBB-like forum solution using the PHP language and the latest version up to today is phpBB 3.0 ‘Olympus 3.5′ (Release at 31 May 2009). phpBB is available at no cost, released under the GNU General Public License.


I choose this as my forum in the new project is because it come with an intuitive adminstration system and extensive customisation capabilities. Besides that, it is capable to supporting hundreds of million of discussions in any language and boatst some of the largest forum communities on the Internet. phpBB is developed by six core developers, more than forty team members and is supported by a community of almost 300,000 users and developers up to today.


The lastest version support the UTF-8 encoding including the Simplify chinese , tranditional chinese encoding, Russian, Thai, Turkish and more. Besides that, it support most of the most common database in market such as MSSQL, MySQL, PostgreSQL, Oracle, Firefird, SQLList. The release of phpBB 3.0 is come with nearly 500 enhancements, modification and extenstion compare to the previous version.


phpBB also is a highly recomended forum application for those who like to customize and quickly integrate into any content management system or static web site because it come with very flexible framework, documented Application Programming Interfaces (APIs).


Click here for more phpBB forum features list
Click here to go to phpBB forum official page
Click here to go to phpBB forum download page


phpBB forum home page

phpBB forum home page

phpBB sample forum backend admin control paner

phpBB sample forum backend admin control paner

Popularity: 16% [?]

Just working out on the phpBB3.0 on the user registration integration with the main web site. Because of I plan to write the main web site using the coldfusion + MS SQL, so the only way as I may thinking of to do the integration is write a web service a like page for my coldfusion application to call.


After read through some forum, blog, web site and finally find out the way for the integration and here to share my simple PHPBB 3.0 user registration integration code.


  < ?PHP
  define('IN_PHPBB', true);
  /* set scope for variables required later */
  global $phpbb_root_path;
  global $phpEx;
  global $db;
  global $config;
  global $user;
  global $auth;
  global $cache;
  global $template;

  # your php extension
  $phpEx = substr(strrchr(__FILE__, '.'), 1);
  $phpbb_root_path = "../";

/* includes all the libraries etc. required */
  require($phpbb_root_path ."common.php");
  require($phpbb_root_path ."includes/functions_user.php");
  $use-->session_begin();
  $auth->acl($user->data);

// username of the user being added
$username = 'david';

// the user’s password, which is hashed before inserting into the data base
$password = 'password';

// an email address for the user
$email_address = 'admin@david-cheong.com';

// since group IDs may change, you may want to use a query to make sure you are grabbing the
// right default group...
$group_name = ($coppa) ? 'REGISTERED_COPPA' : 'REGISTERED';
$sql = 'SELECT group_id
        FROM ' . GROUPS_TABLE . "
        WHERE group_name = '" . $db->sql_escape($group_name) . "'
            AND group_type = " . GROUP_SPECIAL;

$result = $db->sql_query($sql);

$row = $db->sql_fetchrow($result);

$group_id = $row['group_id'];

// timezone of the user... Based on GMT in the format of '-6', '-4', 3, 9 etc...
$timezone = '8';

$language = 'zh_cmn_hans';

// here if the user is inactive and needs to activate thier account through an activation link
// sent in an email we need to set the activation key for the user... (the goal is to get it about
// 10 chars of randomization) you can use any randomization method you want, for this example,
// I’ll use the following...
$user_actkey = md5(rand(0, 100) . time());
$user_actkey = substr($user_actkey, 0, rand(8, 12));

// IP address of the user stored in the Data base.
$user_ip = $user->ip;

// registration time of the user, timestamp format.
$registration_time = time();

// time since the user is inactive. timestamp.
$user_inactive_time = time();

$user_row = array(
    'username'              => $username,
    'user_password'         => phpbb_hash($password),
    'user_email'            => $email_address,
    'group_id'              => (int) $group_id,
    'user_timezone'         => (float) $timezone,
    'user_dst'              => $is_dst,
    'user_lang'             => $language,
    'user_type'             => '0',
    'user_actkey'           => $user_actkey,
    'user_ip'               => $user_ip,
    'user_regdate'          => $registration_time,
	'user_dateformat'   	=> 'D M d, Y g:i a'
);

$user_id = user_add($user_row);

echo 'userid' . $user_id;

?>

Click here for PHP Cross Reference of Architecture PHPBB3

Popularity: 15% [?]

Lunar Calendar

By David on October 24, 2009

Wannianli.net is a calendar web site where you can check the Lunar calendar, festivals around the world and also world time.


On the home page, it will show this month calender and also the date time at the left hand side, once you mouse over the day in the calendar, it will show all the detail in that particular date. The date is range from year 1900 to year 2100.


Besides visit to the wannianli.net, you may also download the small window application which work almost the same with the web site but without the world time.


Click here to go to Wannianli home page
Click here to download wannianli window application

Wannianli web version

Wannianli web version


Wannianli window application

Wannianli window application

Popularity: 2% [?]

SEO Powered by Platinum SEO from Techblissonline