Ralf

Topic: Leave job-url online

I'd like to have the job with it's url still online but not show them on the site. Not show them on the category, company- or city-search and search results.

Maybe it's possible to hide these jobs - any ideas?

As I would post a text instead of that job, it would be great to turn visibility on/off on the jobposting page.

Any ideas where to start that hack?

Thanks, Ralf

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

putypuruty

Re: Leave job-url online

Hi, Ralf!

Can you please explain this as I didn't understand what you meant:

As I would post a text instead of that job, it would be great to turn visibility on/off on the jobposting page.

Ralf

Re: Leave job-url online

I thought on the admin page, where you can change the job, we could add that switch, like a checkbox, to add a flag to the db or something like that.

I would add a text that says, the job has been filled and add some links to "find jobs from the same city" or "find jobs from the same company", so when google added that job to the index, we could keep that linking and fill it with something useful.

Did you get what I mean with visibility?

Cheers, Ralf

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

Ralf

Re: Leave job-url online

Hi Putypuruty (or anyone),

where can I find out more about how the search works? Where can I start? Any help appreciated.

Thanks, Ralf

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

putypuruty

Re: Leave job-url online

Ralf, I'd gladly help you in this matter but the problem is that at the moment I don't have the time (I'm in the final stages with my master's thesis wink)

Until then, I'm afraid you will have to try and sort it out for yourself. To find out about how the search works, you should study the

Code:
public function Search($keywords, $url_query, $start_page = 1)

method in the class.Job.php file. I know, it's a monster of a function wink

A very quick hack would be to play around in the page_job.php file. The condition

Code:
if ($job->Exists() && $job->GetTempStatus() == 0 && $job->GetActiveStatus() == 1)

decides if the job is shown or if a 404 is sent back to Google, for example, in case the job is no longer active. Playing around with the condition might help you on the short term.

PS: this feature request makes very much sense and it should make it into the next jobberbase version, IMHO. I'll think about implementing it in about 1 month.

Ralf

Re: Leave job-url online

Great news! I'd love to see something like that in the next release.

if we could automate what's being shown, that would be a killer feature ;o)

E.g. if a job is offline, the url is still shown - instead of the job we could display
a) jobs from the same company
b) jobs within the same category
c) search results (tbd.)

Unfortunately I don't speak php / mysql fluently enough to get this done. I think (from my poor programmers point of view) we could start at the end of page_job.php, where it says

Code:
    else
    {
        redirect_to(BASE_URL . 'job-unavailable/');
        /exit;
    }

and just still show the job, right? I would manually change the content of the job that was taken offline. That would be a great start for me already.
What do you think?
Sorry to disturb you from your master theses! ... just some distraction from time to time ;o)

Last edited by Ralf (2011-06-11 17:24:44)

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!