Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
'New Applicants' OS X Dashboard Widget for Vanilla (Now available!)
dan39
New
Edit: Jan 18 2007: The New Applicants Dashboard Widget for Mac OS X 1.0 is now available.
-------
Not sure if anyone out there has experience designing OS X Dashboard widgets, but if so, it would be great to have a Dashboard Widget that kept track of your New Applicants in Vanilla. That way, you wouldn't have to keep logging in everytime you wanted to see if new applicants had applied. I mocked something up as an example of what it might look like:
I think the best model for this widget would be the Mail Checker widget. You'd configure your admin login/password (and Vanilla URL) on the back, and when you click on the front of the widget, it automatically logs you in instantly and brings you right to the new applicants results page.
Anyone think they could pull this off?
-------
Not sure if anyone out there has experience designing OS X Dashboard widgets, but if so, it would be great to have a Dashboard Widget that kept track of your New Applicants in Vanilla. That way, you wouldn't have to keep logging in everytime you wanted to see if new applicants had applied. I mocked something up as an example of what it might look like:
I think the best model for this widget would be the Mail Checker widget. You'd configure your admin login/password (and Vanilla URL) on the back, and when you click on the front of the widget, it automatically logs you in instantly and brings you right to the new applicants results page.
Anyone think they could pull this off?
0
This discussion has been closed.
Comments
If I knew more about MySQL I would give this a go.
I have hacked a few Widgets to extract info from a static web page, however this one would be out of my depth.
I opened up the source of the Mail Checker Widget. It looks like it's able to figure out the number of unread messages based on the number of items in the individual's RSS/ATOM feed from their Gmail account.
The problem for Vanilla is that: (A) it looks like we'd need a new Add-On to activate the New Applicants feed, and (B) the feed would have to list every New Applicant — not a reduced feed of only 1 page of results like the RSS/ATOM feeds do in Vanilla.
To tell you the truth it would be helpful to all of us (even those without OS X) if we could have an RSS feed of New Applicants. I think I'll suggest that as a new Add-On.
I've never written a dashboard widget, but that seems like an acceptable solution - just package the widget and the extension together...
In fact, the new Leopard Widgets will allow you to just have that live snippet of the web page right in your dashboard. Instant widget for everyone with no extra coding...
Anyone know how to actually make a page like that. I tried it on my own and only came up with errors.
<?php /* Extension Name: Applicantcount Extension Url: http://notreadyet.com/ Description: Provides Applicant count. Version: 1.0 Author: Vanilla Users Author Url: http://lussumo.com/ */ if (!defined('IN_VANILLA')) exit(); $Context->Dictionary['Applicantcount'] = 'Applicantcount'; if ($Context->SelfUrl == 'extension.php' && ForceIncomingString('PostBackAction', '') == 'Applicantcount') { $UserManager = $Context->ObjectFactory->NewContextObject($Context, 'UserManager'); echo $UserManager->GetApplicantCount(); $Context->Unload(); die(); } ?>
Here's the URL to check the number of New Applicants:
http://yourdomain.com/extension/?PostBackAction=Applicantcount
Can anyone help me create a local HTML file with some JavaScript that can query the output from the URL above and display it in some HTML in the browser? I'm sure this is easy to do, but it's not my forte. And, that's pretty much all we need to create the basics of the widget. I should be able to do the rest from there.
And, it "should" be pretty easy to convert it to a Vista or Google widget once we're done.
BTW, Apple just released DashCode Beta today for Mac OS X Tiger 10.4. You can download it here after you sign up for a free developers account:
http://developer.apple.com/tools/dashcode/
1) Download and install the New Applicants Count XHR 1.0 add-on so that your widget has information to grab.
2) Go here to get the New Applicants Dashboard Widget for Mac OS X 1.0
Clicking on the widget comes up with an error 404 "page not found"...
http://path.to/forum/search/?PostBackAction=Search&Keywords=roles:Applicant;sort:Date;&Type=Users
Also, in the widget, now I can't click the i to spin it around and change the URL.
Posted: Saturday, 20 January 2007 at 8:59AM (AEDT)
I've just uploaded a new widget that works with regular URLs and friendly URLs. Download the widget again and give it a go.
Posted: Sunday, 21 January 2007 at 2:08PM (AEDT)