A “Shout-Out” to Andrew who made a small contribution today. Breaking the non-contribution streak I was on. There is still an outstanding bounty up for grabs. I guarantee whoever snatches that up will be pleasantly surprised at the return they get from the Chrome App. As you can see from a post I did last week. The potential for traffic and brand recognition is almost unfathomable. The following graph is the current statistics for Pligg’s own Demo. You could probably imagine what it’s like for a real live active site.

On with today’s Tutorial Thursday post.
One question I get a lot is “how do I add Google Adsense to my Pligg site?” Well the answer is so simple it may shock you. You do not have to make template edits, nor do you have to worry about overwriting them when you upgrade using the following method.
So in this example we are going to be placing a large banner 728×90 leaderboard . In between the header and the content area. How are we going to do this? Were going to use the Admin Snippets module that comes with Pligg.
Load up the Admin Snippes from the Pligg admin panel. Click on create a new snippet. Enter a name for this snippet. Lets call it “top banner”. Then select the area you want the banner to appear. In this case we use the dropdown list to select. tpl_pligg_content_start. Then you will see alarge text box where you can add your adsense code.
Important note is to wrap the code google has generated for you in {literal} tags. So it will look like the following
{literal}
<——–Place Google Adsesnse Code In-between The Literal Tags——>
{/literal}
Then click on save. That’s all there is to it. Now your visitors will see that advertising banner on every page. Sometimes it’s good to put a little space after the advertising banner, or you may want to center it. So you would do the following
{literal}<center>
<——–Place Google Adsesnse Code In-between The Literal Tags——>
{/literal}<br /><br /></center>
That will center the banner and provide 2 line spaces underneath it. Now lets say you wanted to put a large rectangle 336×280 ad in your sidebar? You would go back to the Snippets main page. Click on add a new Snippet. Name it something like “Sidebar Ad” you’ll want to select tpl_pligg_sidebar2_start from the dropdown menu. Then you can follow the same instructions above.
The good thing about the Snippets module is that it stores these little pieces of code into the database and not in the template files themselves. I hope this little tutorial is easy to follow and makes sense.
As always, I hope that you will take a moment to make a contribution. You can see why it’s so important to me, you can get yourself some free stuff , and it also makes you feel all warm and fuzzy inside knowing you helped out a total stranger in need. Try it!
If you wish to give a tangible item, you can always check out the wishlist.
Tune in tomorrow.
~ ChuckRoast