Multi-language, soon!
Just wanted to let everyone know that we’re working on implementing a multi-language system in jobberBase! This is only possible because Ștefan Petre, the guy who created Interface for jQuery, has joined the jobberBase task-force :).
Therefore, version 1.4 (or just call it 2.0?) will be a huge step ahead for us!
Consider the SVN repository
It’s beginning to be a real challenge for me to manage the project, udpates and everyone’s questions, so please be patient :).
I know an upgrading guide would be nice, especially if you’ve installed version 1.1 and want some features from 1.3.
What you could do is checkout the code from Google Code SVN repository: http://jobberbase.googlecode.com/svn/
You can do it like this:
svn checkout http://jobberbase.googlecode.com/svn/trunk/ jobberbase-read-only
Then, you can compare what you have with the latest stuff…
I’m also working on setting up a wiki, where it’d be great to have some tutorials! If you wish to contribute to the project, one way you could is by writing short tutorials on various issues. The forums is a great place to find answers, but it’s getting a lot of new content which is hard to organize.
Aaaaanyway… keep it real :).
1.3 is out with goodies: admin panel
Yeeey, go on and download the latest and bestest jobberBase version, while it’s hot!
This is what the changelog says:
- Added an admin panel (thanks to Lavinia Creivean)
- Added a survey page: the ideal job (as seen on www.jobber.ro/jobul-ideal/)
- Improved pagination support (thanks to Mihai Mocanu)
- Fixed some bugs related to search
- Translated the sitemap page (forgot to do it, before :p)
The admin panel
Assuming you’ve installed jobberBase on localhost/jobberbase/, the admin defaults to localhost/jobberbase/admin/.
Default username: admin. Default password: admin. You may change these in the ‘admin’ database table.
The panel allows you to activate, deactivate and delete ads. It’s pretty straightforward and nothing fancy… but it does the job well!
“The ideal job” survey
localhost/ideal-job/ shows a survey like this. We did this on jobber.ro to find out what people think is an ideal job, then use the data to show companies what people are interested in.
If you don’t want this feature, just take out the link from _templates/header.tpl and the case ‘ideal-job’ section from index.php. Also job_params, job_requests and job_requests_params database table (they hold the data).
If you want to use this survey, though, but can’t figure out how to change stuff, please let me know and I’ll try to guide you. It’s a simple system I developed, but you may actually get better results using a professional survey-builder :).
That’s (almost) all, folks!
Of course, bug fixes are always there in any new release and this one has them, as well. Mostly small issues in the back-end.
Hope I didn’t miss anything.
Have fun! ![]()
Have you found the stats, yet?
Stats? What stats?
Well, I’ve created a page that displays some useful overall information about the site.
Assuming your URL is http://localhost/jobberbase/, the stats can be accessed at http://localhost/jobberbase/stats/.
You probably don’t want other people to see them, so you might want to protect the page somehow. On jobber.ro, I use an extra param (/stats/EXTRA_PARAM/) based on which I perform a basic authentication (if EXTRA_PARAM exists, display page). :p
What stats are available?
- A list of the latest job applications + total no. of apps + maximum apps per day, in the past 30 days + average apps per day, in the past 30 days.
- List of performed searches on the site + total no. of searches + max searches per day in the past 30 days + avg apps per day in the past 30 days.
On jobber.ro we also track the site widgets, like this:
Whenever someone clicks on a job ad she sees on a 3rd party site (that displays the jobber site widget), we save the referrer. This way, we know EXACTLY how many people actually used the site widget and how popular it is on their sites :).
Metrics is always good!
Enjoy! ![]()
How to implement reCAPTCHA
If you haven’t been spammed by bots, yet, you probably will soon be :D.
On jobber.ro, we use reCAPTCHA to prevent spam. It’s a hosted captcha provider and much more!
Step 1. Create an account with reCAPTCHA
Go ahead and create an account, download the PHP API (and copy recaptchalib.php in the _includes/ directory, and sign up for an API key.
Step 2. Add reCAPTCHA when posting an ad
config.php
Define 2 constants, one for public and one for the private API key:
define('CAPTCHA_PUBLIC_KEY', '12345_YOUR_PUBLIC_KEY');
define('CAPTCHA_PRIVATE_KEY', '12345_YOUR_PRIVATE_KEY');
Also add the following line (find the other require_once lines), which includes the recaptcha library:
require_once '_includes/recaptchalib.php';
_templates/publish-write.tpl
Right above the submit button’s fieldset, insert the following code:
<h2 class="publish_section">Anti-spam</h2>
<fieldset>
{literal}
<script type="text/javascript">
var RecaptchaOptions = {
theme : 'white',
tabindex : 9
};
</script>
{/literal}
{$the_captcha} <span class="validation-error">{if $errors.captcha}
<img src="{$BASE_URL}img/icon-delete.png" alt="" />{/if}</span>
</fieldset>
page-write.php
On line 2, we generate the html code that displays the captcha in the template:
$smarty->assign('the_captcha', recaptcha_get_html(CAPTCHA_PUBLIC_KEY));
Next, we perform a simple validation when posting the ad. Find the following line:
if ($_POST['action'] && $_POST['action'] == 'publish')
A couple of lines below it, after you initialize the $errors array, add this code:
$resp = recaptcha_check_answer(CAPTCHA_PRIVATE_KEY,
$_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid)
{
$errors['captcha'] = 'Incorrect code';
}
Then, we need to add the captcha validation in another section of page-write.php, the one that handles the ad edit. Find the following line and add the same code as above:
else if ($_POST['action'] && $_POST['action'] == 'edit'
That should be it :).
Enjoy!
Digg jobberBase
If you like jobberBase, you can now also digg the story! ![]()
Beware of jobberBase clone!
I just found this link on digg: osjobber.com.
It seems they have taken jobberBase, replaced most (not even all!) of the references to jobber/jobberBase/myself and launched it as osjobber.
How pathetic is that!?
Fixing the search
Hey, guys,
If you’ve tested jobberBase, you’ve probably found out by now that there are some issues with the search functionality.
If anyone has fixed some of the problems and wishes to contribute to the project, you are most welcome and will receive eternal gratitude and recognition :).
Enjoy!
2.000 downloads
Wow, it’s great to see that there’ve been 2.000 downloads of jobberBase!
If you have any feedback, please don’t hesitate to bring it on :).