Thursday, March 31, 2005

Improvements / To-Do's

(Last Updated: 12 April, 2005)
  1. Integration with Blogspot's content to determine blog post title for corresponding comments

  2. Ability to control the number of last comment to display (Implemented on v0.3 onwards)

  3. Sharing of the same Javascript popup code as the Haloscan comment link. Currently, clicking on any of the last comment entry opens up a new window (Implemented on v0.2 onwards)

  4. Customizable prefix, ie. the current "From". (Implemented on v0.3 onwards)


Please feel free to suggest further improvements.

Thanks for supporting LastHalo.

Documentations

Documentations / Advanced Features:
(Last updated: 12 April, 2005)

  1. In general, this is the code you would be getting by installing LastHalo on your blog:
    <div class="lasthalo">
    <!-- Hyperlinks to the last comments -->
    </div>

    It is wrapped under a class "lasthalo". You can customised the style with CSS on your blog, if you are familiar with CSS.

  2. By default, each entries on LastHalo is separated with a <br />. You can change it into list form by adding a parameter to the script code.

    For unordered list, you would use the following code:
    <script language="javascript" type="text/javascript"
    src="http://lasthalo.uzyn.com/show.php?u=YOUR_USERNAME&list=ul">
    </script>

    For ordered list, you would use the following code:
    <script language="javascript" type="text/javascript"
    src="http://lasthalo.uzyn.com/show.php?u=YOUR_USERNAME&list=ol">
    </script>

    The entries would be separated with the <li> tags.

  3. Mouse over each of the entries will give you a snippet of the comment content.

  4. You can now specify the number of entries to be displayed. Simply use the 'n' parameter to specify the number of posts, from 1 to 10. The default 'n' value is 10.

    For example, to display 5 posts, you would use the following lines of code:
    <script language="javascript" type="text/javascript"
    src="http://lasthalo.uzyn.com/show.php?u=YOUR_USERNAME&n=5">
    </script>

  5. By using the parameter 'pre', you can now set LastHalo to display each entry with any prefix you like. As you may have noticed, the default value is now "By".

    As an example, to set prefix as "Kiss from", use the following codes:
    <script language="javascript" type="text/javascript"
    src="http://lasthalo.uzyn.com/show.php?u=YOUR_USERNAME&pre=Kiss+from">
    </script>

    Note that you should separate each words with a '+' and not a space.

    To remove prefix, you sould set prefix to null.
    ie. pre=null

  6. To customize postfix, simply use the 'post' parameter. The default value is an empty string, or null.

    An example to set postfix as "said", you would use the following codes:
    <script language="javascript" type="text/javascript"
    src="http://lasthalo.uzyn.com/show.php?u=YOUR_USERNAME&post=said">
    </script>

    Note that you should separate each words with a '+' and not a space.

Please combine each parameters with an ampersand (&).

Installation Instructions

Requirements:

You must be a Haloscan member.
This is a Haloscan-only feature. If you do not have an account with Haloscan, sign up for one here.

Installation instructions:
(Last updated: 1 May, 2005)

Simply include these lines of code onto your blogger template (or your other site if it uses the Haloscan commenting system)

<script language="javascript" type="text/javascript"
src="http://lasthalo.uzyn.com/show.php?u=YOUR_USERNAME">
</script>

With common sense, you should know that you should replace YOUR_USERNAME with your Haloscan username. Note that it's Haloscan username, not Blogger username.

Typically, you would want to include the code onto the sidebar.

We would really appreciate it if you could do us a small favour by linking back to us. The following code will display a small button on your blog that links to us.
<a href="http://lasthalo.uzyn.com">
<img src="http://lasthalo.uzyn.com/lhicon.gif" width="88" height="31" border="0" alt="Last Comments Add-On by LastHalo" / >
</a>



Last Comments Add-On by LastHalo

It's that simple! That is all you need to do to have LastHalo installed on your blog. If you want more customization options, please refer to the documentations and advanced features entry for further instructions.

Feel free to drop a comment here with your URL if you've installed it successfully on your blog.

LastHalo v0.1 Beta Released!

I'm proud to announce the release of LastHalo v0.1 Beta.

LastHalo is a "last comment" sidebar created for blog users who are using the Haloscan commenting system. Haloscan bloggers do not have to miss out on any recent updated comments anymore even if a user comments on an outdated post.

Feel free to have it installed your blog.
Installation instructions will be posted shortly.

Please also note that this is only a beta release.
Please report bugs here.

Thanks to -SL- for being the first proud user of LastHalo!

Have a nice day!