Tuesday, December 3, 2013

Elements Blogger Template

Template Name: Elements

Release Date: May 2012

Author: Sora Templates

Designer: WpNow

Basic Instructions : How to install a Blogger Template
Features: Wordpress Look, Right Sidebar, 2 Columns, Elegant, Featured Content Slider, Fixed width, Dark, Tabbed widget, Top Navigation Menu 

Demo

Download

Screenshot




Updated : (03-07-2012)
  • Sidebar widgets now can be hid/expanded.
  • jQuery Tabs added.

Configure Featured Content Slider:
Login to blogger dashboard --> layout --> Edit HTML. Now scroll down to where you see the codes below:
  • <div id='mygallery'>
    <div class='imageElement'>
    <h2>Little Big Planet spawns festive level pack</h2>
    <p>Phasellus ...</p>
    <a class='open' href='#' title='Read More'/>
    <img class='full' src='.../image.jpg'/>
    <img class='thumbnail'/>
    </div>
    ..........
Now replace:
  • "#" with your featured post URL.
  • "image.jpg" with your slider image

Configure the dropdown menu:
Login to blogger dashboard --> layout --> Edit HTML. Now scroll down to where you see the codes below:
  • <ul class='menu'>
    <li><a href='#'><span>Home</span></a></li>
    <li><a href='#'>HTML Elements!</a>
    ..........
    <ul class='submenu'>
    <li><a href='#'>Celebrities</a></li>
    <li><a href='#'>Miscellaneous</a></li>
    ..........
Now replace "#" with your menu item URL.

How To Change Tab Names of Tab Widget:
find this:
  • <ul class='tabs-widget tabs-widget-widget-themater_tabs-1432447472-id'>
    <li><a href='#widget-themater_tabs-1432447472-id1'>Popular</a></li>
    <li><a href='#widget-themater_tabs-1432447472-id2'>Latest News</a></li>
    <li><a href='#widget-themater_tabs-1432447472-id3'>Latest Comments</a></li>
    </ul>

Monday, December 2, 2013

Turn off the lights with jQuery

 
For those who enjoy watching videos on the internet, this is a very useful script made with jQuery by Janko.

So what this script does? It will "turn off the lights" so that everything you have on the page will be fading to dark, less the video, so there will not be other elements that will distract us while watching a video and we will feel like watching a movie in a cinema.
You can see an example here by clicking on the link that says "Turn off the lights".

How to Add the Turn off the Lights Feature to Blogger/Blogspot


To put this effect of "lights" on the blog, just follow the steps below:

Step 1. Go to Template > Edit HTML

Step 2. Click anywhere on the code area and search for the following tag by pressing the CTRL + F keys:
</head>
Step 3. After you found it, paste the below script just above it:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function(){
$("#darkness").css("height", $(document).height()).hide();
$(".lightSwitcher").click(function(){
$("#darkness").toggle();
if ($("#darkness").is(":hidden"))
$(this).html("Turn off the lights").removeClass("turnedOff");
else
$(this).html("Turn on the lights").addClass("turnedOff");
});
});
//]]>
</script>
Note: if you already have one version of jquery added in the template, then remove the line in red.

Step 4. Now search for the ]]></b:skin> tag (click on the left arrow if needed (you may need and after the code has been expanded, search it again by using the CTRL + F keys)

Step 5. Just above it, add the following CSS styles:
/* Turn off the lights
----------------------------------------------- */
#lightsVideo {
position:relative;
z-index:102;
}
#switch {
max-width:640px;
text-align:left;
position:relative;
height:25px;
display:block;
margin: 25px 0 0 60px;
}
.lightSwitcher {
position:absolute;
z-index:101;
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW7_2CsHrIeaaJ8Sot2ESkfYIVGgpZ-BAF_RyHuf6lFL1TFnk1C-1LWJgNcNVDecyi9UhVWQvi7szB0WlcFU0D5F0-eKQgnVVBJEykXsAoR2tl0jszpQmGPAKjwxPIEQcovc9s8lRKy0BG/s1600/lights-on.png);
background-repeat:no-repeat;
background-position:left;
padding: 0 0 0 20px;
outline:none;
text-decoration:none;
}
.lightSwitcher:hover {text-decoration:underline;}
.turnedOff {
color:#ffff00 !important;
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR9lB3sE5hEH4_qwFUpanUTR1J0pJ5k3Q8tx2mtJo8KFYTwFucYrdqELEuvHQ59vagqFp7dK-Bn1edct_ZMgdl5tXeBKhov9AmTis_J6Vdo2_XwcOR8KnJYWru9SKZancuIpomn-UM41NQ/s1600/lights-off.png);
}
#darkness {
background:#000;
opacity:0.8;
filter:alpha(opacity=80);
position:absolute;
left:0;
top:0;
width:100%;
z-index:100;
}
Click on the arrow to expand the styles
Step 6. Search the </body> tag and add this html code just above it:
<div id='darkness'/>
Step 7. Click the Save Template button to save the changes.

Now, wherever you put your video, either a post or a HTML/Javascript gadget, use this code:
<center>
<div id="switch"><a class="lightSwitcher" href="javascript:void(0);">Turn off the lights</a></div>
<div id="lightsVideo">
...Here goes the code of the video...
</div>
</center>
Add the code of your video to where is indicated and that's it. Now you can enjoy your videos with the lights off!
Remember that this trick uses jQuery, so if you use Scriptaculous or Mootools you should apply a patch, and if you use another version of jQuery, you must use only one.

10 Tips and Tricks For Google Calendar You Should Know


Of all the various time management tools out there, the Calendar seems the most proper and useful. Whether it be a business meeting, your friend’s birthday, or just a simple daily reminder, a good Calendar can make life easier. Talking of which, the Google Calendar is one of the most efficient and handy tool for event and time management of all types. With its integration with several other Google services, it is the most useful of its kind. Now let’s take a look at 10 really useful tips and tricks for using Google Calendar.




1. Add famous interesting Calendars

In order to get the holidays and various sports events notifications, you can add up a whole new calendar of these kinds. Click on the arrow beside Other Calendars and click on Browse Interesting Calendars.

You can here subscribe to any famous calendar of your choice so as to keep track of worldwide events

2. Hide inactive hours

Hiding inactive comes in handy as you get to focus only on the important ones. Also, meetings and events are usually on office timings and the vacant spaces only create problems. Click on the Settings gear and then on Labs to select the hours to hide.



Enabling the option will allow you to manually hide any hours you don’t need on your Calendar.

3. Receive Email Notifications

Not always you can be hooked up on the Calendar website for event updates. Email notifications come in handy therefore. Calendar will automatically mail you on schedule the notifications and will keep you updated about any upcoming events. To do that, click on the downward arrow beside a calendar and click on Reminders and notifications to set the scheduling.

4. Quickly Add an Event

In order to quickly add an event details, just click on a time slot and a dialog box will open up asking for the details. Add up the agenda in the What field and click on Create event.



You can edit the detailed info about the event any time by just clicking on it.

5. View the Calendar Offline

Not 24/7, you can have access to the internet. Especially when you’re on road and need to check your meeting details, without an internet connection you are (or rather were) helpless. Google Calendar App for Chrome browser helps in you in such a situation. From the settings gear, click on Offline to get the app which will automatically sync your Calendar for offline viewing.



6. Add Weather Forecaster

Having an out-of-city meeting are we? And unaware of the weather situations there? Well, Google offers you to add live weather forecasting on your calendar which will keep you updated about the weather of various places and you can plan your approach carefully. Open up Settings from the gear and enter your location in the Location box and the Calendar will also include weather notifications.

7. Associate IFTTT (If This then That) Services

Google Calendar allows you to combine two different sources together to make the Calendar more effective. In simple words, you can sync your Google Calendar with your Facebook and it will add up your Facebook events notifications and details on the Calendar too. One most popular such scheme would be the adding up of events on Calendar via an SMS.



You can browse the various IFTTT recipes on the IFTTT website and easily add them up to your Calendar.

8. Add Tasks to Calendar

Adding up a checklist of your To-Do items in the Calendar is a nice way of keeping organized and be on time. You can add up Google Tasks to your Google Calendar and stay organized and informed. To do so, open up the Month view and click on any date. In the dialogue box that opens up, open the Task tab and add the details of the task.

9. Add a World Clock

When dealing with people or situations that reside outside of your country, a world clock is essential. Adding a world clock with the calendar helps you to stay informed about the various timings. The tool comes in handy when you have meetings abroad or your employer resides in a different Geographical location. Open up Labs from the settings gear and Enable the World Clock.

10. Enable Keyboard Shortcuts

No matter which app or tool we talk about, Keyboard shortcuts help in speeding up the task which can be really useful at times. There are several Keyboard shortcuts for the Calendar tool and you can enable them all from the General options in the Settings gear.

Got more great tips and tricks you want to share with us? Write to us in the comments section below. Peace :)

Can You Really Make Money with Google AdSense?


Yes, but if you want to make really good money with Google AdSense, you either have to have a ton of traffic or you have to be in a unique niche in which advertisers will pay a lot for clicks on their ads.


Google AdSense with niche sites

Finding those unique niches takes a bit of keyword research and usually doesn't happen by accident. There are many people in the business of hunting for these high-paying niches, creating websites strictly for the purpose of capitalizing on valuable keywords and making a lot of money in the process. If you want to see a real life example of building a site like this, check out Pat Flynn's very interesting series, Niche Site Duel.
There are tools to help you find great keywords. A free and popular tool for keyword research is the Google Adwords Keyword Tool. Court gave an overview of how to use it at the end of the video in this post.
A more robust tool for keyword research is Market Samurai. If you want to see how it works, check out their very informative tutorial videos.

 

Google AdSense with high traffic

For those of us blogging in niches without valuable keywords, high traffic is the key to making good money with AdSense. I know plenty of bloggers making hundreds (and in many cases thousands) of dollars every month with AdSense.
In my case, as of this writing I don't have my main AdSense ads up (I'm always experimenting you know). However, before I took them down, I was making several hundred dollars a month. My highest AdSense payout was $640.89 (April 2012). Otherwise my monthly payments in 2012 have hovered in the $400 range.
But that's just peanuts compared to many.
I recently bought Laurie Turk's online course called Mom Blog to Money Blog. Laurie gets 7 million pageviews a month on her craft blog (TipJunkie.com) and makes over $12,000 a month from Google AdSense alone.*
Another excellent (and free) resource to learn the ins and outs of Google AdSense is TentBlogger's A Blogger’s Guide to Earning More with Google Adsense series. If you're interested in getting more details about AdSense, this is a great place to start. Free is always nice.

 

Takeaways

There are no magic bullets. What works for one person won't necessarily work for another and vice versa. There are no guaranteed, across-the-board results either.
Google AdSense works well for some and not so well for others. It really depends.
If you're just starting to monetize your blog, I still think the best way to figure out what might work for you is to look at well-established bloggers in your niche and take note of the monetization methods they use. Start there.
But don't limit yourself either. Always experiment. Don't be afraid to try new things. And aim for a diverse number of income streams.
*If you're interested in Mom Blog to Money Blog, I definitely recommend you start a website first (I will shamelessly plug my How to Start a Blog series here) and only consider taking her course once you gain some good traction. Her course is definitely more suited to someone who has been blogging for a while and has a solid understanding of blogging basics. I believe the coupon code MONEY will still give you a 10% discount. Remember, she's been blogging since 2007 so she's been at it a while. Also, 7 million pageviews a month would be really, really hard to duplicate for the vast majority of us so our results are likely to vary drastically.

Watch these video

Protect your Adsense Account : Bad Clicks and Invalid Activity


Have you ever wondered how Google actually generates an income? It has a very large network of ads, with which it earns and also shares some revenue with publishers (people who put up AdSense ads on their websites). It's a very elaborate system, with Advertisers trusting Google, and investing their money with it in order to grow their own exposure. Google then shares some of that revenue with the publishers. Now it naturally follows, that Google has to make provisions to maintain the trust of its advertisers, and for that, it has to ensure that publishers don't cheat, or use fraudulant methods of clicking on ads to glean more money out of advertisers. Such bad clicks might result in the ban of your AdSense account. So what can you do to prevent such a thing from happening, even if you're not creating any mischief on your side?



 Unfortunately, this happens to the best of us. You can't always control invalid click activity on your blog. Indeed, there are some bad fish out there who feel jealous or threatened from other blogs, so they perform invalid click activity in spite. In this way, even good publishers might come under the spotlight, let alone bad publishers who get banned outright.

If you were in Google's position, you would see how bad clicks are against the best interests of Advertisers, and ultimately those of Google. Advertisers wouldn't like it if they had to pay extra for clicks that didn't really help them. So Google has some tools that keep bad traffic and bad sites out of their network. Unfortunately, these tools can't tell when you're a good publisher who is just subjected to unknown bad-click activity. So to solve this problem, here are some changes Google is making that you might find helpful.



 Trusted publishers

Google will now be considering tenure more actively in response to detected invalid activity. If you are a good publisher, and don't have a notorious history, Google will just suspend your account, instead of terminating it. So you should always try to keep it on the safe side of Google. Also, Google is working on a new system wherein it will work more closely with publishers to ensure that they don't even face the inconvenience of getting their accounts disabled, provided that they are trusted publishers.

Activity reports

Google also will send you emails and notifications in case invalid activity is detected. It will let you know about the type of activity, so that you can get to root of the problem. It will also provide you further instructions on getting rid of the invalid activity. So keep checking your email at a regular basis.

Support

Google is now providing publishers with tools to help them submit appeals. The new forms let them tell Google about their plight in more detail, and provide more information. This would hopefully improve the process of submitting appeals and reconsideration requests to Google.
Google has also launched an expanded AdSense Academy, which will detail beginners and pros alike on the do's and don'ts of AdSense. In addition, Google is starting a video series that will explain AdSense policies, and discuss best practises.
We're really looking forward to seeing these changes being implemented, and we'll keep you updated on the latest happenings in this regard. Stay tuned, and keep reading :)

Friday, November 29, 2013

Add Floating Social Media Sharing Buttons To Blogger

The Floating Social Media Sharing is a very popular widget on all the top blogs and this is one of the ways to increase the number of times your posts get shared on Twitter, Facebook and other social networks.

This floating social bar has the following options: Facebook Like, StumbleUpon, Twitter Share, Digg This, Google+ and each of them comes with a live counter. You can add more sharing buttons or social bookmarking icons later if you want.

Blogger, WordPress, Facebook, Share

How to add the scrolling social bookmarking bar


Step 1. Log in to your Blogger Dashboard, select your blog and go to Layout 

Step 2. Click on Add A Gadget link

Step 3. From the pop-up window, scroll down and select HTML/Javascript 

Step 4. Copy the code below and paste it inside the empty box.

Step 5. Save the gadget.

The code to copy-paste (updated!):
<style type="text/css">
#social-buttons {
position:fixed;
bottom:15%; 
margin-left:-721px;
float:left;
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
background-color:#fff;
padding:0 0 2px 0;
z-index:10;
}
#social-buttons .button-share {
float:left;
clear:both;
margin:5px 5px 0 2px;
}
</style>
<div id='social-buttons' title="Get this from helplogger.blogspot.com">
<div class='button-share' id='like' style='margin-left:7px;'>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-send="false" data-layout="box_count" data-width="40" data-show-faces="false"></div>
</div>
<br /><div class='sbutton' style="margin-left: 2px;" ><a class='twitter-share-button' data-count='vertical' data-via='Helplogger' expr:data-counturl='data:blog.url' href='http://twitter.com/share' rel='nofollow'>Tweet</a><script src='http://platform.twitter.com/widgets.js'; type='text/javascript'></script>
<br />
<div class='button-share' style="margin-left: 3px;" id='su'>
<script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script>
</div>
<div class='button-share' id='digg' style='margin-left:3px;width:48px'>
<script src='http://widgets.digg.com/buttons.js' type='text/javascript'></script>
<a class="DiggThisButton DiggMedium"></a>
</div>
<div class='button-share' style='margin-left:3px;' id='gplusone'>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone size="tall"></g:plusone>
</div>
<div style="clear: both;font-size: 9px;text-align:center;">Get <a style="color: #3399BB;" href="http://helplogger.blogspot.com/">widget</a></div></div></div>
Customization:
  • Vertical alignment - Change the 15% value of bottom. The code positions the social bar relative to the bottom of your browser window. To fix the distance even when window is resized, specify the value in px (pixels) instead of %.
  • Horizontal alignment - Change the -721px value from margin-left. Negative value pushes the button to the left of the main blog column, positive value pushes it to the right. Increase or decrease the value based on your needs.
  • Twitter setting - Replace Helplogger with your Twitter username
  • Replacing and removing buttons - You can replace existing buttons with your own. Each button is represented by this code:
<div class='sbutton'> BUTTON CODE HERE </div>
Enjoy!!! :)

Numbered comments on threaded comments for Blogger/Blogspot

In a previous tutorial you've seen how you can add numbered comments to your blogger blog, unfortunately, this trick worked only for those who don't have the reply option and are still using the old blogger commenting system. But we won't have any problem this time because this tutorial will show you how to add numbered comments with comment bubbles on the threaded comments, as well ;)

What the following CSS trick will do for you:
  1. When the general block of comments is initiating (.comments-content) a counter called countcomments activates and starts with an initial value of 1. 
  2. Then, each time the code flow goes through a review of any level, either the original comment or a reply (.comment-thread li), it will bring us in front (:before) of the comment's body the number that is the counter.
  3. Finally, this is incremented in the counter (counter-increment).
See the screenshot:
count comments, comment bubble, forum, blogger

Isn't that great? I'm pretty sure many of you have been waiting for this cool trick. So, let's begin applying it for our threaded commenting system.

Steps to add bubble comments count

Step 1: From your Blogger Dashboard, go to Template and click on the Edit HTML button:

... click anywhere inside the code area and press CTRL + F to open the Blogger' search box.

Step 2: Type the following tag inside the search box and hit Enter to find it:
]]></b:skin>
Note. you have to click on the arrow next to it, then search the ]]></b:skin> one more time 

Step 3: Add the following code just above ]]></b:skin>:
.comment-thread ol {
counter-reset: countcomments;
}
.comment-thread li:before {
content: counter(countcomments,decimal);
counter-increment: countcomments;
float: right;
z-index: 2;
position:relative;
font-size: 22px;
color: #555555;
padding-left:10px; 
padding-top:3px; 
background: url(
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrLdY4frC0v2PaIhl3vBbCKpAQb1r-tebb7jSR_sFFaiezSDKxrWRnSROn9yQmlmhJhxC1mn1J3PnKG_e-eqvUlnygLjeQ3a9E0SZS-2ew2e-BR5yZ0aCqS6j8gIjwb6DQxhfEqiC8OODX/s1600/comment+bubble2.png) no-repeat;
margin-top:7px; 
margin-left:10px; 
width: 50px; /*image-width size*/
height: 48px; /*image-height size*/ 

}
.comment-thread ol ol {
counter-reset: contrebasse;
}
.comment-thread li li:before {
content: counter(countcomments,decimal) "." counter(contrebasse,lower-latin);
counter-increment: contrebasse;
float: right;
font-size: 18px;
color: #666666;
}
Note:
  • if you want to have no bubble icon, remove the code in red (including the address in blue)
  • to change the comment bubble, replace the code in blue with the URL address of your own icon. If you're not sure what icon you should use, you can find some cool icons in my previous posts (see these tutorials here and here)
  • to change the position of comments count, increase/decrease the values (3 & 10) from padding-top and padding-left
  • to change the position of comments bubble/icon, change the values (10 & 7) from margin-left and margin-top
Step 4: Now Save the Template and you're done!

If you enjoy reading this blog, please share and subscribe. For any questions you may have, leave a comment below.