Tech Sharing Blog

Computer knowledge, news, product, SEO, earn money online sharing place

Advertisement

Archive for the ‘ Tips ’ Category

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: 12% [?]

Recover your mail client password

By on October 18, 2009

Mail Passview is a small password recovery tool that help you to recover your passwords and other account detail for the email clients such as

  • Outlook Express
  • Microsoft Outlook 2000 (POP3 and SMTP Accounts only)
  • Microsoft Outlook 2002/2003/2007 (POP3, IMAP, HTTP and SMTP Accounts)
  • Windows Mail
  • Windows Live Mail
  • IncrediMail
  • Eudora
  • Netscape 6.x/7.x (If the password is not encrypted with master password)
  • Mozilla Thunderbird (If the password is not encrypted with master password)
  • Group Mail Free
  • Yahoo! Mail – If the password is saved in Yahoo! Messenger application.
  • Hotmail/MSN mail – If the password is saved in MSN/Windows/Live Messenger application.
  • Gmail – If the password is saved by Gmail Notifier application, Google Desktop, or by Google Talk.


For each account, Mail Password will display the

  • Acccount Name
  • Application
  • Email
  • Server
  • Server Type (POP3/IMAP/SMTP)
  • User name
  • Password


Again, please bear in mind that if this application is misuse by some body else, this can be the tools to hack your email.


Mail PassView (205)

mailpv Recover your mail client password

Popularity: 6% [?]

Proxy server is a server that sites between a client application, such as a web browser and a real server. It intercepts all requests to the real server to see if it can fulfill the requirests it self. If not, it forwards request to the real server.

There main purposes for using the proxy server are:

  • to keep machines behind it anonymous (mainly for security)
  • to speed up access to a resource (via caching). It is commonly used to cache web page from a web server
  • to censor network services or content
  • to forge transmitted content before delivery, eg: to insert advertisements


There are diff types of proxy server in generals:

  • Transparent Proxy: it identifies itself as a proxy server and also make the original IP address available through the http headers. The generally use to cache websites but do not effectively provide any anonymity to those who use them.
  • Anonymous Proxy: it identifies it self as a proxy server, but does not make the original IP address available. of proxy server is detectable, but provides reasonable anonymity for most users.
  • Distorting Proxy: This type of proxy server identifies itself as a proxy server, but make an incorrect original IP address available through the http headers.
  • High Anonymity Proxy: This type of proxy server does not identify itself as a proxy server and does not make available the original IP address.


You may easily get the free proxy server list from the Internet by Google it with the key word of “Free Proxy server list”. Or you may just access the following web site for the free Proxy server list:


Please bear in mind that when you use the free public proxy server, your transmitted data through the Proxy server may capture or monitor by some body including your login detail and password.

Step to set up the Proxy on difference browser:

Mozilla Firefox:

Tools -> Options -> Advanced -> Network -> Settings -> Manual proxy configuration -> enter the Proxy server IP and Port number

setting proxy for firefox Proxy Server and browser configuration


Google Chrome:
Options -> Under the Hood -> Change proxy settings -> Connections -> LAN Settings -> Proxy Server -> check the “use a proxy….” -> enter the proxy server IP and port number

* Google Chrome is share the same Proxy server setting with Internet Explorer

google chrome set proxy step 1 Proxy Server and browser configuration

google chrome set proxy step 2 Proxy Server and browser configuration

Internet Explorer:
Tools -> Internet Option -> Connections -> LAN Settings -> Proxy Server -> check the “use a proxy….” -> enter the proxy server IP and port number

google chrome set proxy step 2 Proxy Server and browser configuration

Opera:
Tools -> Preferences -> Network -> Proxy Server… -> Select what ever Protocol to use the Proxy Server -> enter the proxy server IP and port number

opera set proxy Proxy Server and browser configuration

Popularity: 2% [?]

Check the page’s last update date

  1. Go to any web site as you like
  2. Delete the content in the URL address bar
  3. Enter the following script javascript:alert(document.lastModified)
  4. Press Enter
  5. This code will display any web page’s last update including the specific time, so by using the this script, you will know that the content you get is that the latest or not

tech share latest update URL Hidden Tricks to check pages last update

Tech share latest update is 11 Oct 2009 16:36:23


Popularity: 1% [?]

Tech.david-cheong.com is giving out the 10% dicount coupon for all the reader. You may redeem this discount coupon when you purchase any of the laptop sleeve from EC-Lifestyle.com

 discount coupon 10% off for all Pofoko Laptop sleeve discount code


How to use this discount code:

  1. Go to EC-Lifestyle
  2. Select the product you wish to buy
  3. Register and check out the product
  4. Confirm your shipping address and enter the the following discount code: 38147e19d3
  5. Select the payment type either using Paypal or local bank payment
  6. Click continue to proceed and you will get you updated total amount to checkout
  7. Confirm the total amount and proceed to the payment gateway for the payment
  8. Get your confirmation after payment
  9. The product will be ship on the next working day after the payment done 


enter discount code at ec lifestyle 10% off for all Pofoko Laptop sleeve discount code

Enter the discount code when come to the payment page and select the payment type


discount coupon confirm 10% off for all Pofoko Laptop sleeve discount code

You will see the updated price on the next page after you enter the discount code



Popularity: 1% [?]

nod32 150x1501 NOD32 Antivirus free update Username and password

ESET delivers the fastest, most effective antivirus software with spyware and malware protection available to combat viruses, spyware, rootkits, and other internet attacks, keeping your identity and data safe from hackers and thieves.




 

There are 2 type of product in general:

  • ESET NOD32 Antivirus – Antivirus/Antispyware
  • ESET Smart Security – NOD32/Firewall/Antispam

Click here to download ESET NOD32 Antivirus and Smart Security
Click here to get your free ESET NOD32 product update username and password

nodupdate username password NOD32 Antivirus free update Username and password

eset nod32 30 02 NOD32 Antivirus free update Username and password

Popularity: 14% [?]

HTML table word wrap

By on September 21, 2009

I created a table to display a link which consist of a long verification code plus some variable to pass to the web site. There is no any space within the long url and query string. This is not the problem, the problem is on my table, because of the link is in one long string without any space, so when it display on the screen, the table is expanded.


I come across few solution, some people suggest that using the javascript to split the string in to 2 or more row when it excess the string lenght limit. I don’t think this is the best solution, and finally get the solution of control the table using the CSS.


WORD-BREAK:BREAK-ALL;

Syntax:

<table style=”word-wrap: break-word;” width=100>
     <tr>
          <td>long_long_long_long_long_long_long_long_long_long_long_long_long_long_long_long_string</td>
    </tr>
</table>

Popularity: 1% [?]

Uploading photo to Picasa via Email

By on September 20, 2009

Picasa now allow you to upload the photo in the new way by using email. You may get your photo on your Picasa web album by just sending the photo to to a secret email address, especially useful when you try to upload the photo from your mobile device.


This allows you to stream and caption photos on-the-go.

To get started, follow these steps:

  • Sign in to your Picasa account
  • Click on the Settings link on the top-right corner
  • On the General tabs, go to “Upload photos by email” section and check the “Allow me to upload photos by email.”
  • Enter the “secret word” with lenght between 6-15 characters. As you enter  this word, an email address appears.
  • Click the “Save Change” button
  • Upload your email by attach them to an email message and send it to the newly-created address


Use the email ‘Subject‘ line to add captions or to include the photos in a specific album. If the email ‘Subject’ line matches an existing online album title, your photos will be uploaded to that album. Otherwise the ‘Subject’ line will instead be added as a caption and the photos will be placed in the Drop Box album.


Take note that you can only attach up to 20 MB of photos in JPG, GIF and PNG formats.

email mail upload in picasa Uploading photo to Picasa via Email

Enabled mail upload function in your Picasa Web Album settings

uploading photo to picasa via email Uploading photo to Picasa via Email

Try uploading the photo from email to Picasa web albumCheck out the newly uploaded photo using email post

uploaded photo Uploading photo to Picasa via Email

Check out the newly uploaded photo using email post


Popularity: 1% [?]

Few days back, when I try to log into my Google Analytics to check my blog status, I’m suprise that my blog is not being tracking after I change to the new Masagana WP Theme. After try out few way including deactivate and activate back the analytics plugin, reinstall the plugin, but still no luck to make it work.


I try to google and finally found out that that’s not only my self have this problem, there are a lot of people who using the same blog with me also having the same problem.


I came across a post which highlights the solution to fix this issue.What has caused this issue is that a function has missing or left out from the theme which prevents WP Stats and Google Analytics from working. Apparently, the theme owner has forgotten to insert the function. To fix this issue, you need to edit the footer.php in your theme editor. From your WordPress’s admin panel, navigate to Design > Theme Editor > footer.php.


In the footer.php, just add the following code intot it, I believe the new downloaded Masagana WP Theme footer being encrypted, so just insert the code before the encrypted code to make it work.


<?php wp_footer(); ?>


Once done, update the file. WP Stats and Google Analytics should be working by now.

Popularity: 1% [?]

Fuser.com puts you at the center of all the conversatinos you care about by letting you easily manage your e-mail, facebook, myspace and twitter communications in one secure place, so you’ll never miss another message.


I believe most of the internet user may have more then one email account nowadays, and we used to login to each email account through the web mail to check your inbox. But it maybe troublesome if you need to login more then one email account just to check your email. Here come the Fuser.com that allow you to check all the conversations and email at one place.


After you register and verify your email account, just login to the Fuser.com and add your webmail account into Fuser. You may add more then one email account into Fuser.com and you may also add the social network account into Fuser.


To add any new email or social networking account just click on the “Add/Edit account” link at the left bar, to edit your account configuration such as adding a new Avartar, changing the password, changing the registered email, just click on the “setting” link at the top right bar.

[More]

Popularity: 1% [?]

SEO Powered by Platinum SEO from Techblissonline