Showing posts with label tricks. Show all posts
Replace Threaded Comments With Google + Comments in Blogger
.jpg)
Switching To Google + Comments
To enable Google Plus comments for your Blogger blog, you will first have to connect your account to your Google+ account. To do this, just follow these steps.
- Log into your Blogger dashboard, and choose a blog you want to connect
- Click on the Google+ button from the left sidebar
- Click on the Get Started button on the top-left side to connect your account. This will not appear if your account is already linked.
- Follow the simple instructions to connect your blog.
- Once connected, you will see an option Use Google+ comments on this blog. Checking this will enable the new Google Plus commenting system.
Displaying Google comments on custom templates
To do that, you can revert your Blog Widget to defaults in your template HTML editor via the following steps.
- From inside your blog's dashboard, click on Template from the left sidebar.
- Click on Edit HTML
(Before moving on, we'd suggest you backup your template, just in case anything goes wrong)
- Click on the Revert Widget templates to defaults button
- Now, Be careful to select Blog1 Widget from the list. Do not select any other, as it will reset other widgets to default as well.
<b:if cond='data:blog.pageType == & quot;static_page"'><b:if cond='data:post.showThreadedComments'><b:include data='post' name='threaded_comments'/><b:else/><b:include data='post' name='comments'/></b:if></b:if><b:if cond='data:blog.pageType == & quot;item"'><b:if cond='data:post.showThreadedComments'><b:include data='post' name='threaded_comments'/><b:else/><b:include data='post' name='comments'/></b:if></b:if>
Carefully look at the bolded code, and then replace them with the following line of code.
<b:include data='post' name='comment_picker'/>
If you want to display comment count, you can simply modify the above line of code
<b:include data='post' name='comment_picker'/>
Still not working? Please feel free to mention your queries in the comments below. And please try to be as relevant as possible. Thank you :)
Sunday, 28 April 2013
How to Enable Google + Comments on Custom Blogger Templates
Since we know that Blogger recently implemented Google Plus comments on their Blogger platform, and we know that many bloggers like you have gone ahead and implemented this new functionality to your blogger blogs. But a lot of our readers have been asking us how to add Google Plus comments, or Google Plus comments API to Blogger custom templates? This feature turns on and off smoothly for default templates. But most bloggers don't use default templates. For them, we have compiled this short tutorial on how to implement Google Plus commenting system on custom Blogger Templates.
Enabling Google Plus comments
To Enable Google + Comments on blogger,first log into your Blogger account, and click on the blog you want to add Google Plus comments to. Now, click on the Google+ option on the left sidebar. You must be the admin of a blog to be able to view this option.
Now, you need to upgrade our account, and integrate it with Google Plus if you haven't already done so. You will get a "Get Started" button if you haven't. Follow the simple instructions, and then move on to the next step.
Check the option that says Use Google+ Comments on this Blog - For default templates, this is pretty much all you need to do.
For custom templates, here's what you need to do;
- Click on the Template tab from the left sidebar, and then click on Edit HTML.
- From the code editor, press Ctrl + F, and search for the following line of code
<div class='comments' id='comments'>
- After the above code Just paste the Below Code.
<div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl'expr:data-viewtype=' data:post.viewType'/>
Take care not to make a mistake while editing. And it would be a good idea to backup your template (Backup/Restore option at the top-right), just in case.
For comments to work on custom templates, you need to add the code as well as to enable it.
Wednesday, 24 April 2013
Six ways to improve your blog with Google+
Here are the Six things that a Blogger should know to improve his Blog
Add Google+ buttons and gadgets
Help readers to follow and share your posts on Google+ with the +1 button, Google+ badge and Google+ Followers gadget. Visit the Layout tab, click "Add a gadget" and select the Google+ gadgets that you'd like to add.

Turn on Google+ Comments to bring comments on your posts together in one place, including posts about your content in Google+.
Share your posts with a new audience
Share your blog posts publicly on Google+ and encourage your readers to re-share. Add hashtags when you share to tie your posts to relevant themes and trending topics, increasing their visibility.

Host a group video chat conversation with your readers in a Google+ Hangout. You can live-stream it and post the final video on your blog.
Participate in Google+ Communities related to your blog. You can meet people interested in similar subjects and discover new topics to cover.
Spark up conversations with Google+ mentions
Add Google+ mentions to your posts to get someone's attention. Your mention will link to their Google+ page or profile, and you can notify them when you share.
Friday, 19 April 2013
How to add "Reply Button or Link" to Blogger Blog.
As you see on websites ,whether like youtube or forums,all these great websites have reply link attached to every comment published .Fortunately we can also ad reply link to our blogger blogs.
How to add "Reply Button or Link" to Blogger Blog.
- Go to Blogger > Select your Blog >Template > Edit Html.
- Back up your template first.
- Tick the " Expand Widgets" Box on the left top of html editor.
- Search For ]]></b:skin>
- And Paste the Below Code Just above it.
/*--------------CBT Reply Link --------------*/.MBT-replycomments{background:#ECEAEA;cursor:pointer;color:#fff;margin:5px 0;float:right;border:none;padding:4px;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;font:10px sans-serif;}.MBT-replycomments:hover{background:#E7E7E7;}
Make these Changes
- To Change the Link background on active mode edit #ECEAEA
- To Change the Link Background color on mouse hover edit #E7E7E7
- MBT Color Generator tool will be helpful
7. And just above it paste the below code
<dd class='comment-footer'>
<div class='CBT-replycomments'><a expr:href='"https://www.blogger.com/comment.g?blogID=*******************&postID=" + data:post.id + "&isPopup=true&postBody=%40%3C%61%20%68%72%65%66%3D%22%23" + data:comment.anchorName + "%22%3E" + data:comment.author + "%3C%2F%61%3E#form"' onclick='javascript:window.open(this.href, "bloggerPopup", "toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=650,height=650"); return false;'>Reply</a></div>
- You can change "Reply" text with your desired one.
- Replace with your BLOG ID. If your are logged into your blogger account then look at your browser address bar. You can clearly see a 18-19 digit code. Just copy it and paste it in place of *******************
- You can find "Blog ID" as shown below in the image
8. Save your template and you are done
Note:
I did not create the code.This code is create BY Mohammad Mustafa Ahmed Zai .
Who is the Admin of Mybloggertricks
Friday, 8 March 2013
Awesome Tips To Resize And Edit Images On Blogger & Picasa
If you are using Blogger then all images you upload on your blog will be storeed in Picasa. Picasa is a Free Google Service. What does this mean ? when you create a blog, Picasa automatically create an Album for your blog.This album will have the same name as your blog. And all your hosted images are served with Google CDN.
Well, You have uploaded an Image to your Blog, Now you want to Resize it Down (Scale it Down). What should you do? You could :
1.Edit the Local Image in an Image Editor.
2.Resize the Image and Save in your Computer.
3.Upload again to Blogger.
But You are doing a lenthy process and you will have to upload the image to your blog again.
You could use the inbuilt Image Resizing feature in Blogger (Picasa) ?.
In this article you will learn utilizing the In-built Image Resizing Feature with some Additional tips.
Here, I have a sample Image with the dimensions 2000px x 2000px Here is the Direct link which is hosted on my Server.
Here I uploaded the image to Blogger and the Blogger Hosted image URL is
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm_GYwF8W3ydXN3aQJBjq7joNeEw3kwGQJ_QqMCLabvt7NSOA2nIZ74kCLpc4x4TimgVhzlE7PQSDS7D1UsiiuGc3_8aT1VCXBjYxk0pF3pjmD8jYXh5UXpr7vVQK19rg_ItsCq9TInhGi/s1600/sample-2000x2000.jpg
In the this url, observe the path before file name. which is Image size s1600 and it is the default blogger dimension.
What does this means, the image dimensions is 1600 on largest side.
WHAT IF THE IMAGE WIDTHS AND HEIGHTS ARE VARIOUS ?
The first sample image is 2000 pxiels wide on both sides. If i uploaded the image to blogger which is resized to 1600 pixels on both sides. Check the Below Image.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm_GYwF8W3ydXN3aQJBjq7joNeEw3kwGQJ_QqMCLabvt7NSOA2nIZ74kCLpc4x4TimgVhzlE7PQSDS7D1UsiiuGc3_8aT1VCXBjYxk0pF3pjmD8jYXh5UXpr7vVQK19rg_ItsCq9TInhGi/s1600/sample-2000x2000.jpg
Here another Sample image which dimensions are 2000px x 1200px Here is the Direct Link and is hosted on my Server.
The Blogger Hosted Image is
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJgxeOvr11iFOxOCTGdUd1z2YWZGlIjCZQUmHZPxTSX13213bwWm4cGt373sUAlAdC__35rp8Rezj4GymswcjuRmjv-sjk6CntluueeLkA1YzVbBay5y85BDpAb2uyczmR0NmxmmldMJCj/s1600/sample-2000x1200.jpg
the above image width is 1600 and height is adjusted to corresponding to Original Image size ratio.
Another Example of Sample image which dimensions are 1200px x 2000px Here is the Direct Link and is hosted on my Server.
The Blogger Hosted Image is
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsE-tbRQ_k6q7DtGB_9fZ2qy_64O0BtNSV2E-LIeVZ6QecdA4z3DEexADM6QFb0y1H_2NaN6UfvE1EtuWUIKkuj0oZsOywmQTenqcIaZk1Sdelx_DuWjS6kzhAvG2ioWPRYW5XqoaMqzmg/s1600/sample-1200x2000.jpg
the above image height is 1600 and width is adjusted to corresponding to Original Image size ratio.
HOW TO RESIZE MY OWN IMAGES?
Upload the image to Blogger and get the Direct image link. If you want 250px width image, change s1600 to s250 (leading s is important and use any width you want.)
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJgxeOvr11iFOxOCTGdUd1z2YWZGlIjCZQUmHZPxTSX13213bwWm4cGt373sUAlAdC__35rp8Rezj4GymswcjuRmjv-sjk6CntluueeLkA1YzVbBay5y85BDpAb2uyczmR0NmxmmldMJCj/s250/sample-2000x1200.jpg
And now the image size is 250px width and hight is corresponding ratio to original image.
WHAT ABOUT IMAGE CROPPING ?
Picasa is also offering Image Cropping. which means, if you give a definitive image size, it will automatically cut the extra image on either sides and produce a perfect square image.
How To Crop Image ?
After changing the Image size just add the -c at end of image size. s200-c like so. take a look at image preview.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJgxeOvr11iFOxOCTGdUd1z2YWZGlIjCZQUmHZPxTSX13213bwWm4cGt373sUAlAdC__35rp8Rezj4GymswcjuRmjv-sjk6CntluueeLkA1YzVbBay5y85BDpAb2uyczmR0NmxmmldMJCj/s100-c/sample-2000x1200.jpg
IS IT GREAT? WHERE SHOULD I USE THIS?
I use this tricks all the time.
For example the image is very large. if you want to place the image in your post. but your site loads very slow.
so use the crop trick. take a crop image and place in your post and link the image to Original Image.
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJgxeOvr11iFOxOCTGdUd1z2YWZGlIjCZQUmHZPxTSX13213bwWm4cGt373sUAlAdC__35rp8Rezj4GymswcjuRmjv-sjk6CntluueeLkA1YzVbBay5y85BDpAb2uyczmR0NmxmmldMJCj/s1600/sample-2000x1200.jpg">
<img src="" alt="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJgxeOvr11iFOxOCTGdUd1z2YWZGlIjCZQUmHZPxTSX13213bwWm4cGt373sUAlAdC__35rp8Rezj4GymswcjuRmjv-sjk6CntluueeLkA1YzVbBay5y85BDpAb2uyczmR0NmxmmldMJCj/s100-c/sample-2000x1200.jpg"/>
</a>

Here is a Preview
ADDITIONAL TIPS
TIP 1
If you paste the Normal image link in your browser, it will show the image.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm_GYwF8W3ydXN3aQJBjq7joNeEw3kwGQJ_QqMCLabvt7NSOA2nIZ74kCLpc4x4TimgVhzlE7PQSDS7D1UsiiuGc3_8aT1VCXBjYxk0pF3pjmD8jYXh5UXpr7vVQK19rg_ItsCq9TInhGi/s1600/sample-2000x2000.jpg
But add the -d at end of image size. s1600-d like so, what will happen?
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm_GYwF8W3ydXN3aQJBjq7joNeEw3kwGQJ_QqMCLabvt7NSOA2nIZ74kCLpc4x4TimgVhzlE7PQSDS7D1UsiiuGc3_8aT1VCXBjYxk0pF3pjmD8jYXh5UXpr7vVQK19rg_ItsCq9TInhGi/s1600-d/sample-2000x2000.jpg
Instead of showing Image on browser, It show’s a download prompt box to download the image. which is cool to image galleries site, and you can give the downloadable image link to your visitors.
TIP 2
Here i found another picasa tip. Which is Video Embed Symbol. which add’s a Video Play Button Symbol to the image.
To get this, simple add the -o at end of image size. s420-o like so.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJgxeOvr11iFOxOCTGdUd1z2YWZGlIjCZQUmHZPxTSX13213bwWm4cGt373sUAlAdC__35rp8Rezj4GymswcjuRmjv-sjk6CntluueeLkA1YzVbBay5y85BDpAb2uyczmR0NmxmmldMJCj/s420-o/sample-2000x1200.jpg
These are very useful tips and save lot of time on image resizing. i use them all the time when ever i need. Hope you enjoyed this tips. and PLEASE SHARE! Thanks!