1
wcrwcr
Jobs 1.9 Stable - further versions, language and search
  • 2005/8/22 16:03

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Sorry for that John but I?m waiting for the confirmation email from http://www.jlmzone.com for a couple of hours, so I?ll post here

===========
First of all, thanks for such nice release. I liked the Mod very much.

I?m planing to use Jobs 1.9 on a production site but i?m a little apprehensive with the further versions, specially with the "resumes" feature.

Do You think that the upgrade process will be easy with any kind of update script?

Follows some considerations:

1. Missing language constant for the word "for" on the template file "jobs_item.html", here:

<{$submitter}> for <{$company}>

2. After the install, I can?t get rid of the word " Per hour" on the price?s drop down menu . I can?t found it on the DB too.

3. It seems that the search fucnction can?t do a search on some desirable fields ( at least for me ) such:

a. job?s requirements
b. salary
c. contact information
d. localization (city, state....)

So in order to get those fields searchable I did a test to include the "requirements" field and It?s working pretty well:

In the "search_inc.php" file I?ve just included the "requirements" field like that(just in case someone could be interested too):

function jobs_search($queryarray$andor$limit$offset$userid){
    global 
$xoopsDB;
    
$sql "select lid,usid,title,date,requirements FROM ".$xoopsDB->prefix("jobs_listing")." WHERE valid='Yes' AND date<=".time()."";
    if ( 
$userid != ) {
        
$sql .= " AND usid=".$userid." ";
    } 
    
// because count() returns 1 even if a supplied variable
    // is not an array, we must check if $querryarray is really an array
    
if ( is_array($queryarray) && $count count($queryarray) ) {
        
$sql .= " AND ((description LIKE '%$queryarray[0]%' OR title LIKE '%$queryarray[0]%' OR requirements LIKE '%$queryarray[0]%')";
        for(
$i=1;$i<$count;$i++){
            
$sql .= $andor ";
            
$sql .= "(description LIKE '%$queryarray[$i]%' OR title LIKE '%$queryarray[$i]%' OR requirements LIKE '%$queryarray[$i]%')";
        }
        
$sql .= ") ";
    }


I guess i?ll include the others fields too.

Thanks for sharing that module

2
wcrwcr
Re: Jobs 1.9 Stable - further versions, language and search
  • 2005/8/23 0:29

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi

Just a little bump

3
cezar1
Re: Jobs 1.9 Stable - further versions, language and search
  • 2005/8/24 20:49

  • cezar1

  • Just popping in

  • Posts: 17

  • Since: 2005/6/3 1


Is there anyway to change the "company" field to something else, "department" maybe? We are using this module (great module by the way) for our internal postings and it would make more sence for us to have department instead of company name.
If anyone could give me any pointers on how to change this I would be most thankful.

4
wcrwcr
Re: Jobs 1.9 Stable - further versions, language and search
  • 2005/8/24 21:05

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi cezar1

Despite of going a bit off-topic, that?s an easy one

Open your "jobs/language/english/main.php" file and look around line 96.

define("_JOBS_COMPANY2","Company : ");


change it to:

define("_JOBS_COMPANY2","Department : ");


and you?re done.

Hope it helps

5
cezar1
Re: Jobs 1.9 Stable - further versions, language and search
  • 2005/8/25 1:26

  • cezar1

  • Just popping in

  • Posts: 17

  • Since: 2005/6/3 1


Thank you for you reply and I am sorry if I posted in a wrong place.
I changed "Company" to "Department" in jobs/language/english/main.php and it did make a change when you are adding a new job, but under "The 10 Latest Job Listings" it still shows Company.
Do you know how I can change it here as well?

Thanks

6
wcrwcr
Re: Jobs 1.9 Stable - further versions, language and search
  • 2005/8/25 15:25

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Sorry

PLease take a look on same file on lines: 13,127 too

U also can do a whole search for that word in your language folder

See you

7
xooperman
I have finished the spanish version for jobs 1.9
  • 2005/8/25 16:00

  • xooperman

  • Not too shy to talk

  • Posts: 117

  • Since: 2005/5/11


Hello, i did translate to spanish the jobs 1.9


You can see it on http://www.primertrabajo.com, just on try out.

Finally i will use for another job site of mine which is http://www.economiayempleo.com

It´s my first module translation, so it might have some mistakes, although I think it´s quite accurate.



If you think the are things that must be changed, please tell me?


I LOVE XOOPS

8
xooperman
Re: I have finished the spanish version for jobs 1.9
  • 2005/8/25 19:01

  • xooperman

  • Not too shy to talk

  • Posts: 117

  • Since: 2005/5/11


Now is working properly on http://www.economiayempleo.com

If you want to check?

If you think is oK, how do i submit you the files?

9
jlm69
Re: I have finished the spanish version for jobs 1.9
  • 2005/8/25 20:32

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


xooperman,

I don't know spanish, but thanks for translating it,
you can send the language files to admin@jlmzone.com and I will put them for download.

Thanks alot,

John

10
jlm69
Re: Jobs 1.9 Stable - further versions, language and search
  • 2005/8/25 21:00

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


wcrwcr,

Thanks for pointing out the language problem, I have fixed it in the download. Or here are the changes:

About line 385 of the jobs/index.php file

AFTER

$xoopsTpl->assign('job_mustlogin', _JOBS_MUSTLOGIN );

ADD

$xoopsTpl->assign('job_for', _JOBS_FOR );

then about line 15 of templates/jobs_item.html
look for

<{$submitter}> for <{$company}>    

change to

<{$submitter}> <{$job_for}> <{$company}>    

Then update the module for changes to be applied, that's it.

As for the search I will do something with it over the weekend.

Thanks again,

John

Login

Who's Online

238 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 238


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits