Tag Archives: JQuery

Hash 1.1: IRC/HipChat-like chat system built on PHP, jQuery, HTML, & CSS

First off, this is my first post about Hash, a “secret” chat project I’ve been working on to replace my personal IRC woes (mainly IRC logging). Don’t get me wrong, I love IRC, but I also love HipChat, but I hate that HipChat list closed….you get the point. Plus I needed something dead simple, no logins, no signups, just chat…

Hash is a simple IRC-like, HipChat-like (mainly in that it has persistent chat), (PHP, jQuery, HTML/CSS)-based chat system. So anyone can use a Hash install to use.

Screenshot showing Hash collecting nick and hash names

Here’s how it works. All you do is create a room (which I call a hash, because you hash things out), and pick a nick. No login. No password, in fact two people (at the moment) could use a single nick or login as many. Then, chat. Notifications let you know when something new is said. Chat history is persistent.

It’s developer friendly, which only really means it’s easy to create rooms, share them, and assign people nicks because the chat uses ?hash=&nick= to start the person loading the hash off with a hash and a nick. Easy for inviting clients into chat rooms by just giving them a link.

Hash 1.1 will continue to make small improvements to make Hash more useful. I have been using it, and it appears to be stable enough to use, again for private purposes. Not sure about public use yet, but I need it for a few new things, and so 1.1 will get those features.

You can try out Hash on my site where you can make a hash and start chatting away with someone else. I’d love to see people use it and give feedback.

Want to help? Check out Hash on Github. There are some issues that need some help.

How I fixed: “Uncaught TypeError: Object [object Object] has no method tablesorter”

/Camp — Free classes on all things Web in the Scottsdale, Arizona area (Ad)

Trying to get this Tablesorter plugin to work I did the following to fix it:

Okay, so this is what I did to fix this. First, I noticed that the plugin extends the $ functions, so I had to make sure and use (right way)

$(document).ready(function() { 

Before, I was using this because I was using WordPress (wrong way)

jQuery(document).ready(function() { 

Then, I had to make sure that in they weren’t <td>‘s, but were <th>‘s

<table class="tablesorter" id="report">
            <tr class="head">
                <th class="id">ID</th>
                <?php foreach($definitions['report_fields'] as $field_key): ?>
                        <?php webfoots_e($definitions['fields'][$field_key]['label']); ?>
                <?php endforeach; ?>

Hope it helps!

Over @Stackoverflow