test 3
-
sssssssssssssssssss
How to ensure you get Facebook notifications when someone comments on your site
Disclaimer: How ironic is it that this post about how to ensure that you actually get Facebook notifications when someone comments on your site has amassed many comments from people saying that the method did not work for them, and I never noticed because I was not getting notification of comments. :/ I do not know when, but at some point this method stopped working dependably. I plan to look into this, but I also will update this post soon with another method for getting comment notifications.
Facebook’s Comments plugin is a great way to operate comments on your blog. It increases social interaction as people’s comments are shared on Facebook as well as on your page, and it reduces problems associated with anonymous commenters.
However, Facebook will not, by default, let you know when someone comments on your blog. In most cases, you will want to get notifications so you can maintain some moderation of the comments.
Visit the Facebook Comments Moderation tool page on the Facebook Developers site. Click “Settings” over on the right hand side. This will open some basic settings for your comments box.
You can enter your own name to select your Facebook profile as a moderator. Also, enter any other friends who will be monitoring comments for your site.
Here are the settings I recommend:
Facebook’s Comments plugin is a great way to operate comments on your blog. It increases social interaction as people’s comments are shared on Facebook as well as on your page, and it reduces problems associated with anonymous commenters.
However, Facebook will not, by default, let you know when someone comments on your blog. In most cases, you will want to get notifications so you can maintain some moderation of the comments.
Visit the Facebook Comments Moderation tool page on the Facebook Developers site. Click “Settings” over on the right hand side. This will open some basic settings for your comments box.
You can enter your own name to select your Facebook profile as a moderator. Also, enter any other friends who will be monitoring comments for your site.
Here are the settings I recommend:

Cache Your Zend Framework Config to Improve Performance, zend cache configuration
Caching in Zend Framework is operated by frontends while cache records are stored through
backend adapters (File, Sqlite,
Memcache...) through a flexible system of IDs and tags. Using those, it
is easy to delete specific types of records afterwards (for example: "delete all cache records
marked with a given tag").
Labels:
code,
H - How to,
PHP,
Zend,
Zend Framework
Multi Select List Add/Remove Item issue in jquery
Jquery code is as follow:
Form:
$('#addPop').click(function () {
if ($('#distriList option:selected').val() != null) {
var tempSelect = $('#distriList option:selected').val();
$('#distriList option:selected').remove().appendTo('#selectDistriList');
$("#distriList").attr('selectedIndex', '-1').find("option:selected").removeAttr("selected");
$("#selectDistriList").attr('selectedIndex', '-1').find("option:selected").removeAttr("selected");
$("#selectDistriList").val(tempSelect);
tempSelect = '';
} else {
alert("Before add please select any position.");
}
});
$('#removePop').click(function () {
if ($('#selectDistriList option:selected').val() != null) {
var tempSelect = $('#selectDistriList option:selected').val();
$('#selectDistriList option:selected').remove().appendTo('#distriList');
$("#selectDistriList").attr('selectedIndex', '-1').find("option:selected").removeAttr("selected");
$("#distriList").attr('selectedIndex', '-1').find("option:selected").removeAttr("selected");
$("#distriList").val(tempSelect);
tempSelect = '';
} else {
alert("Before remove please select any position.");
}
});
Form:
<div class="row">
<div class="col-sm-5">
<select id="distriList" name="distriList" multiple="multiple" class="form-control">
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
</select>
</div>
<div class="col-sm-2">
<a href="javascript:void(0);" id="addPop" class="btn btn-success"><span class="glyphicon glyphicon-plus"></span></a>
<a href="javascript:void(0);" id="removePop" class="btn btn-danger"><span class="glyphicon glyphicon-minus"></span></a>
</div>
<div class="col-sm-5">
<select id="selectDistriList" name="selectDistriList" multiple="multiple" class="form-control">
<option value="E">E</option>
<option value="F">F</option>
<option value="G">G</option>
<option value="H">H</option>
</select>
</div>
</div>
Enable Search References for Better Blogger SEO
Enable Search References for Better Blogger SEO
Blogger (Blogspot) upgraded their SEO features, and one of them allows you enable search references for better SEO effect on your blog.
Integrate Zend framework library in codeigniter, Including Zend Library within Codeigniter

First you need to download Zend libraries (Zend Framework 1.12.3 Minimal) from their official site.
Then copy the library folder to “Application/Libraries/” folder
Labels:
Blogger,
code,
Codeigniter,
Library,
PHP,
Zend,
Zend Framework
Download Picasa Web Albums Without Installing Picasa
Note: this post initially linked to a Greasemonkey script that no longer works, but it now offers an easier solution suggested in the comments.
Unlike other photo sharing sites, Picasa Web Albums offers a way to download an entire album, but that requires Picasa 2.5 or later. If you don't want to install the application or you use Mac or Linux, there are other ways to download a photo album.
For Firefox, you can use DownThemAll, probably the best download manager add-on. After installing the extension and restarting the browser, go to the album you want to download, click on the "RSS" link from the sidebar and you'll get the album's feed. Right-click on the page, select DownThemAll/DownThemAll in the contextual menu, expand the Filters section and check "Images". Don't forget to enter the folder where you want to save the photos.

Update: Read the comments to find a lot of interesting ways to download albums from Picasa Web.
Unlike other photo sharing sites, Picasa Web Albums offers a way to download an entire album, but that requires Picasa 2.5 or later. If you don't want to install the application or you use Mac or Linux, there are other ways to download a photo album.
For Firefox, you can use DownThemAll, probably the best download manager add-on. After installing the extension and restarting the browser, go to the album you want to download, click on the "RSS" link from the sidebar and you'll get the album's feed. Right-click on the page, select DownThemAll/DownThemAll in the contextual menu, expand the Filters section and check "Images". Don't forget to enter the folder where you want to save the photos.

Update: Read the comments to find a lot of interesting ways to download albums from Picasa Web.
Make thumbnail for related posts
You may know the code for related posts which I showed in previous post in Simplex Design blog. In this post ,I want to show you the code for adding thumbnail to related posts . This code is based on related posts code before but add some lines for thumbnail . I myself don't create this code ,I found it in Bloggerpluggins blog,and introduce it here ,I hope it helpful for you all .
You can take a look on related post with thumbnails at live demo

Here is steps for doing this hack :
1,Go to Dashboard ,continue to Layout --> Edit HTML .Checked on Expand Widgets template .
2,Look for </head>
and replace it with :
<!--Related Posts with thumbnails Scripts and Styles Start-->
<!-- remove --><b:if cond='data:blog.pageType == "item"'>
<style type="text/css">
#related-posts {
float:center;
text-transform:none;
height:100%;
min-height:100%;
padding-top:5px;
padding-left:5px;
}
#related-posts h2{
font-size: 1.6em;
font-weight: bold;
color: black;
font-family: Georgia, “Times New Roman”, Times, serif;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
}
#related-posts a{
color:black;
}
#related-posts a:hover{
color:black;
}
#related-posts a:hover {
background-color:#d4eaf2;
}
</style>
<script type='text/javascript'>
var defaultnoimage="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju4PMfrz8SVz72CEf3iyqExNSX__huAamArNkbJVc3TxF1j5g6n9BqI4-Ipa8wBEi7VRSW1MpFuI8UAjVfH0WTbvCToAG1wDEWRXXt3c5Y0KpQ1VnB-QbWVQfVNEiA4QdTrpSvKoMSQFY/s400/noimage.png";
var maxresults=5;
var splittercolor="#d4eaf2";
var relatedpoststitle="Related Posts";
</script>
<script src='http://blogergadgets.googlecode.com/files/related-posts-with-thumbnails-for-blogger-pro.js' type='text/javascript'/>
<!-- remove --></b:if>
<!--Related Posts with thumbnails Scripts and Styles End-->
</head>
This is CSS for formatting related posts section .
3,Find <div class='post-footer-line post-footer-line-1'>
or <p class='post-footer-line post-footer-line-1'>
if you don't find any of two lines above in templates ( for example ,in template I designed ^^) you can find this <p><data:post.body/></p>
and add the code below after these line :
<!-- Related Posts with Thumbnails Code Start-->
<!-- remove --><b:if cond='data:blog.pageType == "item"'>
<div id='related-posts'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != "true"'>
</b:if>
<script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels_thumbs&max-results=6"' type='text/javascript'/></b:loop>
<script type='text/javascript'>
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs("<data:post.url/>");
</script>
</div><div style='clear:both'/>
<!-- remove --></b:if>
<!-- Related Posts with Thumbnails Code End-->
There are some variables in this code and you can change its value for making related posts section as you want .
4,Save your template and you are done .
You can take a look on related post with thumbnails at live demo

Here is steps for doing this hack :
1,Go to Dashboard ,continue to Layout --> Edit HTML .Checked on Expand Widgets template .
2,Look for </head>
and replace it with :
<!--Related Posts with thumbnails Scripts and Styles Start-->
<!-- remove --><b:if cond='data:blog.pageType == "item"'>
<style type="text/css">
#related-posts {
float:center;
text-transform:none;
height:100%;
min-height:100%;
padding-top:5px;
padding-left:5px;
}
#related-posts h2{
font-size: 1.6em;
font-weight: bold;
color: black;
font-family: Georgia, “Times New Roman”, Times, serif;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
}
#related-posts a{
color:black;
}
#related-posts a:hover{
color:black;
}
#related-posts a:hover {
background-color:#d4eaf2;
}
</style>
<script type='text/javascript'>
var defaultnoimage="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju4PMfrz8SVz72CEf3iyqExNSX__huAamArNkbJVc3TxF1j5g6n9BqI4-Ipa8wBEi7VRSW1MpFuI8UAjVfH0WTbvCToAG1wDEWRXXt3c5Y0KpQ1VnB-QbWVQfVNEiA4QdTrpSvKoMSQFY/s400/noimage.png";
var maxresults=5;
var splittercolor="#d4eaf2";
var relatedpoststitle="Related Posts";
</script>
<script src='http://blogergadgets.googlecode.com/files/related-posts-with-thumbnails-for-blogger-pro.js' type='text/javascript'/>
<!-- remove --></b:if>
<!--Related Posts with thumbnails Scripts and Styles End-->
</head>
This is CSS for formatting related posts section .
3,Find <div class='post-footer-line post-footer-line-1'>
or <p class='post-footer-line post-footer-line-1'>
if you don't find any of two lines above in templates ( for example ,in template I designed ^^) you can find this <p><data:post.body/></p>
and add the code below after these line :
<!-- Related Posts with Thumbnails Code Start-->
<!-- remove --><b:if cond='data:blog.pageType == "item"'>
<div id='related-posts'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != "true"'>
</b:if>
<script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels_thumbs&max-results=6"' type='text/javascript'/></b:loop>
<script type='text/javascript'>
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs("<data:post.url/>");
</script>
</div><div style='clear:both'/>
<!-- remove --></b:if>
<!-- Related Posts with Thumbnails Code End-->
There are some variables in this code and you can change its value for making related posts section as you want .
var maxresults=5;the number of related post which will be showvar relatedpoststitle="Related Posts";title of related posts section
var defaultnoimage="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju4PMfrz8SVz72CEf3iyqExNSX__huAamArNkbJVc3TxF1j5g6n9BqI4-Ipa8wBEi7VRSW1MpFuI8UAjVfH0WTbvCToAG1wDEWRXXt3c5Y0KpQ1VnB-QbWVQfVNEiA4QdTrpSvKoMSQFY/s400/noimage.png";url of default image if it can't create thumbnailvar splittercolor="#d4eaf2";color of splitter line .4,Save your template and you are done .
Explorer – YooTheme 2009 December Joomla Template
Template name: ExplorerCopyright Business:YooTheme Commercial Template Club
Compatibility: Joomla 1.5NATIVE
Live Demo:http://demo.yootheme.com/dec09/
Merry Christmas 2009 Joomla 1.5 Template
Merry Christmas 2009 Free Joomla 1.5 Template Designed by siteground.com
Subscribe to:
Posts (Atom)











