112

Build your own Job Board with Jobberbase

I recently released a developer job board built with Jobberbase, an open-source job board software written in PHP/MySQL. While I can’t recommend it for a large job networking site, it is a great piece of software for adding a simple job board to your existing website. I thought I would give a quick rundown on its features, installation process, and some customization tips to get you started.

Features

Below, I’ve listed some of the features of Jobberbase:

  • Post jobs without an account.
  • Search for jobs (ajax).
  • Apply for jobs.
  • Administer jobs via admin panel (edit/delete/activate/deactivate).
  • RSS feeds.
  • Job widget.

Installation

These are the installation instructions from the Jobberbase readme.txt file:

  1. Make sure you have PHP 5+ and MySQL 4.1+ installed. Also, Apache module mod_rewrite should be enabled.
  2. Create a new database and import __db/jobberbase.sql into it.
  3. Open config.php and update the following constants so they suit your environment:
    - DB_HOST, DB_USER, DB_PASS, DB_NAME, NOTIFY_EMAIL, ADMIN_EMAIL, SITE_NAME
  4. Following directories need write access:
    /uploads (uploaded resumes are temporary stored here)
    /_templates/_cache (smarty cache)
  5. If your host doesn’t offer the mysqli PHP extension (find out from phpinfo()),
    you can use a mysql wrapper instead.Open config.php and just replace <require_once ‘_includes/class.Db.php’> with
    <require_once ‘_includes/class.Db.MySql.php’>.
  6. That’s it, open a browser and type in the URL (e.g. http://localhost/jobberbase/).
  7. The admin panel is available at http://localhost/admin/ with the default username “admin” and password “admin”.

Customizing It

After following the installation directions on the Jobberbase website, you should customize your new job site. A lot of Jobberbase sites end up looking exactly the same as the original, simply because they change the logo and nothing else. You don’t want to do that.

Jobberbase uses Smarty Templates

If you are not familiar with Smarty, you can read up on it here. Smarty templates are great because they separate the presentation layer from the application layer, which is always a good thing. However, you still have the ability to run your own code within the Smarty templates, which can sometimes be necessary as well. Smarty.net explains the reasoning well here:

One of Smartys primary design goals is to facilitate the separation of application code from presentation. Typically, the application code contains the business logic of your application, written and maintained in PHP code. This code is maintained by programmers. The presentation is the way your content is presented to the end user, which is written and maintained in template files. The templates are maintained by template designers.

After you’ve installed Jobberbase, you should have the following folder structure (minus the ‘phpmyadmin’ folder):

You are going to want to dive into the ‘css’ and ‘_templates’ folder to modify your site design. No need to touch anything else for now. The ‘css’ folder is pretty self-explanatory. Edit the CSS there. The ‘_templates’ folder has a lot more to look at:

These are your Smarty templates. As you can see, they are labeled quite well and you should be able to make the changes you need by editing these files. However, there are some things you should know about Smarty templates. For example, they don’t allow you to run any JavaScript unless you wrap the code in {literal} tags:


{literal}
  <script type="text/javascript">
  var smarty = "This code can now be run.";
  alert(smarty);
  </script>
{/literal}

When I first started using Smarty, not knowing the rules of the templates was enough to make me slam my face into my desk. But once you know it, it’s no problem. You can read more about Smarty here.

The main templates you may want to modify are of course the ‘header.tpl’ and ‘footer.tpl’ files but also take a look at the ‘sidebar.tpl’ file as well. This is a great place to add some customizations. I added a link to a twitter account that is set up to automatically post jobs every time one is approved.

Questions? Comments? Let me know in the comments below.

Comments have been disabled for this post.
Sort: Newest | Oldest

Good afternoon guys, sorry for interruption. I'm desperately searching for in mint condition or second-hand walk-in coolers, at a moral price. I want this refrigeration equipment because I'm trying to start up shelter locations around the world designed for homeless people and I need a place with eatery, kitchen area &amp; suitable kitchen equipment to preserve foodstuff. In case you know where I can discover it or want to donate your refrigeration equipment, please reply. Thanks. Have a good day!

can any help me. how to customize phplogin script to jobberbase

could you explain how you implemented Paypal into this jobber? thanks

Thanks for post, it very good

Thanks a lot for tutorial! :) Greetz from Poland.

This is indeed a very clean software script fot putting a job board.

Why do you not recommend it for large websites?

Smarty is a pretty outdated and idiotic technology. There are bytecode caches now that work much cleaner, faster, without mucking about in yet another proprietary template language.

Other than that, nifty software. I'd like your thoughts on why big networks should not be using this.

neat. could you explain how you implemented Paypal into this jobber? thanks

closest achat viagra kkm489

Thanks Chris! Great site! Have you tried to add an account module?
- a secure candidates login area where they can complete details about their work experience (using a structured web form - like a Resume Wizard) and also attach a resume/CV. When candidates they apply for a vacancy, their application(s) is logged onto a database so that Employers (who are registered with us) can review each application;
- a secure employers login area where employers can register with us, and set up new vacancies.
I would like to add this to my job board and am looking for a solution.

hi, nice theme.

Is your theme available for download? can i use it on my site? I can keep the footerlink to your alldevjobs site.

thanks

Thanks for these tips - the documentation on their site is a bit lacking to say the least!

Can anyone help me to get this going on my site? I've followed the instructions fully twice and each time I end up with the php rendering a big block of code like that below instead of actually rendering a page. My database is set up and my config seems right, my server is php5 compatible but try as I might I just cant get it to work.

"* @license You are free to edit and use this work, but it would be nice if you always referenced the original author ;) * (see license.txt). */ session_start(); if(!file_exists('config.php')) { die('[index.php] config.php not found, please rename.....etc etc "

The email from jobber always go to my SPAM when I downloaded it. *sigh..

Yes, this is something I am aware of, thank you for mentioning it though. I appreciate it!

Hi, just to let you know that the layout breaks when you click on "Apply Now" on a job description page (http://www.alldevjobs.com/job/91/ruby-on-rails-dev...)

This is fabulous... I am taking FOREVER to build my web site, because there is always something else I need.... and this was one of those things...

Will play around with it and so on, and then let you know how well I go...