Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Growl Notifications with messages for campfire and fluid

Growl what was said, who said it, and in which room (requires Fluid). Also, limit to growl when a word or something matching a regular expression is said.

Free Image Hosting at www.ImageShack.us

Free Image Hosting at www.ImageShack.us

REQUIREMENTS

INSTALLATION INSTRUCTIONS

Pre-requisite steps (you may have already done these):

Install:

  • Open up your Campfire app created by fluid
  • Click "UserScripts" in the menu bar, and select "Browse Userscripts.org..."
  • Search for this script (campfire growl should put it at the top result)
  • Click the install button - the script will install (!!! NOTE !!! - you must do this inside of your Campfire App, NOT safari !!! )
  • Click the "Userscripts" menu again, and click "Growl Notifications with messages for campfire and fluid"

NOTICES / CAVEATS

  • Growls (nor badges or dings) work in "Tab Mode". Apparently, webkit doesn't process JavaScript for background tabs, and there is no known work-around. Use seperate windows.

Verified working on MacOSX 10.5.2, Safari 3.0.4, Fluid >= 0.8.3



Apr 4, 2008
rogerdpack Scriptwright

Did you mean "neither growls nor ..." for that?


 
Mar 24, 2008
Tim Harper Script's author

technoweenie's awesome idea to "stick on your name" has been implemented. Everyone tell Rick what a great guy he is :)


 
Mar 10, 2008
Tim Harper Script's author

Technoweenie,

That's an awesome idea! I think for it to be useful for me, it'd have to be configurable per room. Perhaps we could make it store the settings using cookies, and then inject a small configuration pane with checkboxes:

Alert Me:

( ) - Always
( ) - When someone says _____ <->

My name on campfire is "Tim H.", and people only refer to me by "Tim".

I'd be happy to merge this in if you want to do it. Or, if I get some time, I'll do it and credit you generously. Thanks for your contributions not only to this script, but to the community in general. We're all better off for it.

Tim


 
Mar 7, 2008
rogerdpack Scriptwright

Wonder if it could make use of the latest fluid updates--like being able to click on the growl message to take you to the campfire window that would be nice. Custom icons would be sweet, too, but I'm not sure how to make them with fluid, and maybe instructions on making the growl messages stay up longer (or until you close them, in case you're AFK). Thanks for a sweet app! Rock on!


 
Mar 6, 2008
technoweenie Scriptwright

I posted mine as a revision, but I'll gladly move it if you wanted to include my changes.


 
Mar 6, 2008
technoweenie Scriptwright

Cool stuff. I made a slight mod to it so it only pings you if someone mentions you (like most irc clients)

Here's how to get your username:

Campfire.currentName = $('user_' + window.chat.userID).down('span').innerHTML;

Then, I put this if loop around the fluid growl call:

if(what.indexOf(Campfire.currentName.split(" ")[0]) != -1) {


 
Mar 5, 2008
Tim Harper Script's author

jimh,

Did you make sure that you clicked install from within the campfire module (not safari)?

Cordially,
Tim


 
Mar 5, 2008
jimh User

i clicked the install button but it just downloaded to my downloads folder. what gives?


 
Mar 4, 2008
TF User

BTW, has 37 signals contacted you about this? Someone should blog this.


 
Mar 4, 2008
TF User

This is awesome! Worked exactly as advertised. Finally, REAL growl messages for campfire!

Thank you for creating this


 
Mar 4, 2008
Tim Harper Script's author

Oh, and importantly, thanks to Todd Ditchendorf for creating FluidApp!


 
Mar 4, 2008
Tim Harper Script's author

Instructions have been updated for Campfire 0.8.3. Campfire rocks! Having the ability to extend it makes it even more awesome. Thanks, 37 signals!


 
Feb 19, 2008
Tim Harper Script's author

Just wanted to make a note here:

This script is working better than the badges.

I've always had problems with badges not showing in the new Campfire / Fluid setup (that 37signals hooked up). Since I've created and started using this script, I haven't failed to receive a single growl message. Yet, I often times fail to receive the badges!


 
Feb 19, 2008
Edwin Moss User

Awesome!

Finally, real growl messages!

Thanks.


 
Feb 19, 2008
rogerdpack Scriptwright

sweet works! With this app a dialog box comes up (that you can dismiss) whenever someone chats in campfire. Which immediately makes it more useful than pyro.
Thanks Tim!


 
Feb 18, 2008
Tim Harper Script's author

There was an error in the install script (the folder name for where to install the script to was wrong). I've updated and added more detail to the instructions. This has been successfully installed on at least 6 different computers that I know of :)


 
Feb 16, 2008
rogerdpack Scriptwright

Previous to installing greasekit I had to install SIMBL, then it worked. Skips an 'enable greasekit for safari' step, doesn't mention that you'll need to install fluid, too. When it says "created fluid app" this assumes you've created and saved a campfire app somewhere (just point fluid at whatever.campfirenow.com, save it as campfire). Unfortunately despite all that I now have a 'campfire' app, the specified campfirenow.com.user.js file saved to the right place, and greasekit on the menu for campfire app, but no "Growl Notifications..." visible. Hmm.


You could comment on this script if you were logged in.