Taking tutorial submissions! Please email them to dave[AT]icemelon[DOT]com for review. Thanks!

Latest Tutorials
IceMelon IM: Add IM Functionality to phpBB [Misc] Want to add site-wide member IM to your phpBB community? Sure you do. Simple step-by-step instructions inside.

IceMelon IM: Add IM Functionality to vBulletin [Misc] Want to add site-wide member IM to your vBulletin community? Simple step-by-step instructions inside.

Crawl Your Site for PageRanks [PHP] So you know your site has a PageRank of 8. What about the PRs of all the inner pages? This tutorial will teach how you to automate the process of grabbing all these PRs.

Create CAPTCHA images [PHP] Worried about bots? Then create CAPTCHA images to prevent bots from taking advantage of your site.

Convert SHN and FLAC files to MP3 [Misc] Low on disk space and have an insensitive ear? Here are some steps to converting SHN and FLAC files to MP3 format.

[View All]

Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m.

Awesome Tutorials

iRate!: Rate Your Blogger Entries
By dave

With iRate!, you can have visitors rate your Blogger entries. By modifying your Blogger Template slightly, you can give your readers the option of rating your entries. Each entry will have an unique rating. Here's an example: [http://dtang4.blogspot.com]

Moreover, you can generate lists of your top-rated entries. [http://www.icemelon.com/tutorials/15/iRate%21%3A_Generate_Top-Lists.htm]

Blogger Settings
Make sure that your Blogger settings are enabling the <$BlogItemTitle$> and <$BlogItemPermalinkUrl$> values.

In your Blogger Settings, from within Archiving, set Enable Post Pages? to "Yes." (This will activate the '<$BlogItemPermalinkUrl$>' variable.)


Also, in your Blogger Settings, from within Formatting, set Show Title Field to "Yes." (This will activate the '<$BlogItemTitle$>' variable.)


iRate!
Now, log in to iRate. (For more information on iRate!, check out the "free services" section of IceMelon.) Under Tips, look at the HTML from the 2nd bullet. You will need to modify that code to be used with Blogger. Below is an example.

E.g.
<SCRIPT 'http://www.icemelon.com/irate/rateitem.php?x=auto&enc=7c3594afac211ce9356648af58ed5595&y=12&cat=bloggerEntry&
redirectURL=<$BlogItemPermalinkUrl$>&itemURL=<$BlogItemPermalinkUrl$>&
id=<$BlogItemNumber$>&name=<$BlogItemTitle$>' TYPE='text/javascript'></SCRIPT>' TYPE='text/javascript'></SCRIPT>

Make sure the string after enc= and the number after y= match those values found in your account. These two values are unique to each account, so just blinding using the code above will not work!

After you've customized those enc and y's values accordingly, you can now edit your Blogger Template:

Edit 1) "post-footer" stuff:
Add this line:
| <a href="<$BlogItemPermalinkUrl$>#rate">Rate!</a>


Edit 2) "comments" stuff:
Add these 3 lines, the 2nd being the line of Javascript:
<a name="rate"></a>
<SCRIPT SRC='http://www.icemelon.com/irate/rateitem.php?x=auto&enc=7c359....
<p>


And that's it! Once your Blogger site is loaded, iRate! items corresponding to your weblog entries will automatically be generated.

Bug/Problem
As far as I know, there is one problem. If your Blogger entry title contains ', ?, or &, the iRate! entry title will not be generated correctly. The only fix for that is for you to change your actual entry title from within Blogger.

Any problems, questions? Email me with the email address on the bottom of this page.

P.S. Check out my new site TheManWhoSoldtheWeb.com, where I publish guides and scripts on Internet Marketing and SEO. Here is a limited time freebie: the Rapid Google Indexer.


» Bookmark this Tutorial
» Bookmark IceMelon
Icemelon -- iRate!: Rate Your Blogger Entries -- PHP, CSS, Javascript Tutorials, & More!
  © 2005-2010 Icemelon.com   Email: dave[AT]icemelon[D0T]c0m