While doing a little SEO research on one of the job boards managed by DeveloWare LLC, it was noticed that Google had indexed the jobs listed on the site like this: ProCollectionJobs.com. This is great news if you own a job board for the accounts receivable industry. However, it is also an issue. If the job expires and the content goes away what has that done for you next time google crawls the site and reads that page? To overcome this we have implimented a simple solution:
1) Notify any visitors that the job has been filled or has expired.
2) Let the job description display still for visitors to be able to learn more about that type of work and also for content and SEO reasons.
3) Remove the "Apply Now" button.
Keep in mind that you need access to the source code, for this you must have the full licenced version of smartjobboard. Here is how we accomplished the three items listed above:
You will need to open two files:
1) /system/user-scripts/classifieds/display_listing.php
2) /templates/SmartJobBoard/classifieds/display_job.tpl
In /system/user-scripts/classifieds/display_listing.php find the following lines and comment them out as shown below, they should be around line 33 or so…
//commetning the lines below will show the inactive job
//elseif (!$listing->isActive() && $listing->getUserSID() != UserManager::getCurrentUserSID()) {
// $errors['LISTING_IS_NOT_ACTIVE'] = false;
//}
This should effectively display the job even after it goes inactive….
Next, open /templates/SmartJobBoard/classifieds/display_job.tpl. Search for "$listing.Title". This will most likely be the first row in a HTML table tag "<table …><tr>". Add the following code so that it is the first table row:
<table width="100%">
{if !$listing.Active}
<tr colspan="2">
<td>
<h2>
<font color="red">This job has been filled or the job listing has expired! Use the quick search links below to search for other job opportunities in your area.</font><br />
</h2>
<a href="http://www.procollectionjobs.com/find_jobs/">Advanced jobs Search</a> |
<a href="http://www.procollectionjobs.com/browse_by_category/">Find jobs by Category</a> |
<a href="http://www.procollectionjobs.com/browse_by_city/">Find jobs by City</a> |
<a href="http://www.procollectionjobs.com/browse_by_company/">Find jobs by Company</a>
<br />
<hr>
</td>
</tr>
{/if}
Of course, replace the domain name with the domain of your site in the snippet above. You should find the table tag somewhere around line 165 or so…
Hope this helps somebody. We encourage your comments, let us know if it does or if you need help to edit the source code above.

