Archive for August, 2009

Webmaster guidelines by Google

Wednesday, August 26th, 2009

http://www.google.com/support/webmasters/bin/answer.py?answer=35769

http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=34444

http://www.google.com/webmasters/checklist/

To place video in your blog:

http://www.viddler.com/

Video Google Webmaster:

http://www.youtube.com/googlewebmasterhelp

Site map tool:

http://code.google.com/p/sitemap-generators/wiki/SitemapGenerators

Post to Twitter Tweet This Post

  • Share/Bookmark

highlight author’s comments in 3 steps tested on 2.8.4

Tuesday, August 25th, 2009

Steps to highlight admin or author’s comments:

1)

Paste this:

.authcomment {
background-color: #B3FFCC !important;
}

At the end of (assuming your theme name is default and you are running xampp on local to test):
C:\xampp\htdocs\wp-content\themes\default\style.css

2)

C:\xampp\htdocs\wp-content\themes\default\comments.php

remove or comment out this:
<li id=”comment-<?php comment_ID() ?>”>
or
<li class=”<?php echo $oddcomment; ?>” id=”comment…

AND PASTE THIS (MAKE SURE YOU REMOVE DOUBLE QUOTES ” AND RETYPEWRITE THEM):

<li class=”<?php
/* Only use the authcomment class from style.css if the user_id is 1 (admin) */
if (1 == $comment->user_id)
$oddcomment = “authcomment”;
echo $oddcomment;
?>”

C:\xampp\htdocs\wp-content\themes\default\comments.php

3) REFRESH THE PAGE IF YOU HAVE ALREADY ADDED COMMENTS AFTER LOGIN TO YOUR BLOG.

Post to Twitter Tweet This Post

  • Share/Bookmark

Portable USB Server for PHP, Apache, mysql

Monday, August 17th, 2009

http://www.chsoftware.net/en/useware/mowesmixer/mowesmixer.htm?step=2&mode=update&flag=update&xflag=help

Post to Twitter Tweet This Post

  • Share/Bookmark

Browser based OS operating system

Monday, August 17th, 2009

WebOS/eyeOS:

http://www.eyeos.org/

Applications Created for WebOS/eyeOS:

http://www.eyeos-apps.org/

Post to Twitter Tweet This Post

  • Share/Bookmark

PHP Tips or PHP Rapid Development Framework

Wednesday, August 12th, 2009

http://www.smashingmagazine.com/2009/03/24/10-useful-php-tips-revisited/

Free Dev Frameworks:

http://cakephp.org/

http://solarphp.com/

Post to Twitter Tweet This Post

  • Share/Bookmark

How to unlock BlackBerry Pearl 8100 (I experimented for the one from T-Mobile)

Wednesday, August 12th, 2009

Blackberry 8100 Unlock Code Entry Instructions
1. Insert SIM into device
2. Power phone on and Turn off the radio (Turn Wireless Off option) VERY IMPORTANT.
3. Select “Options” THEN SELECT ADVANCED OPTIONS
4. Scroll down and select “SIM Card”
5. Type “MEPPD” (please note that you will not see what you type on the screen (1 button that contains P press only once not twice))
6. Type “MEPP then [ALT BUTTON (this is on left bottom keypad arrow gray and black)] then 2″ (please note that you will not see what you type on the screen) (if you followed instructions correctly you should see now a popup box that will ask you to enter unlock code that you have got from T-mobile or your carrier if you have this phone for more than 6 months from your carrier)
7. Enter the Unlock Code
8. Press enter
9. Reboot device. Device is now unlocked.

Post to Twitter Tweet This Post

  • Share/Bookmark

CSS for different browsers and Javascript condition

Monday, August 10th, 2009

<script>// <![CDATA[

if ((browser.isIE55 ¦¦ browser.isie6up) &#038;& browser.isWin32) {
document.write('
<link rel="stylesheet" href="is-is-teh-suxx.css" mce_href="is-is-teh-suxx.css" type="text/css">');
}
else
{
document.write('
<link rel="stylesheet" href="style.css" mce_href="style.css" type="text/css">');
}

// ]]></script>

Post to Twitter Tweet This Post

  • Share/Bookmark

to remove email and name restriction from a blog do this:

Thursday, August 6th, 2009

to remove email and name restriction from a blog do this:
untick “Comment author must fill out name and e-mail” in the Discussion settings page

Post to Twitter Tweet This Post

  • Share/Bookmark

wordpress remove email and url fields from blog comments form or allow anonymous comments

Thursday, August 6th, 2009

wordpress allowing anonymous comments:
Go to settings > general and make sure that “Users must be registered and logged in to comment” is not selected.

wordpress how to remove website and email fields from comments form:
Make a backup of your comments.php and look for something like the following and delete it:

/>

Post to Twitter Tweet This Post

  • Share/Bookmark

CSS How to make png transparent only for IE6

Thursday, August 6th, 2009

#logo{
#margin-left:-10px;
#margin-top:9px;
}

#logo a {
#background-image:url(../../images/logo.png);
#display:block;
#height:39px;
#text-decoration:none;
#width:223px;
#*-background: none;
#*-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=”../../images/logo.png”,sizingMethod=”crop”);

#cursor:pointer;

}

Post to Twitter Tweet This Post

  • Share/Bookmark