Re: Having installation problems [ Started by avin89 in Looking for jobberBase developers : 5 replies ]
Can you please post here the $__instances['live'] part from your config.envs.php file? Also, the content of your root .htaccess file.
Welcome to jobberBase Developer Community!
You are not logged in. Please login or register.
We've just added a new category for forums dedicated to local communities.
If you're interested in starting a community in your country or even city, please write us at hello@jobberbase.com and we'll make it happen.
We're also looking for moderators on each local community -- so email us :).
jobberBase Community » Posts by putypuruty
Can you please post here the $__instances['live'] part from your config.envs.php file? Also, the content of your root .htaccess file.
The file is called layout.css in the hireme theme.
Hi, Ralf!
Can you please explain this as I didn't understand what you meant:
[quote]As I would post a text instead of that job, it would be great to turn visibility on/off on the jobposting page.[/quote]
Hi!
Actually, you can't find out. When someone applies to a job, his/her email address is not saved in the database.
To be able to link to the city, open _includes/class.Job.php and do the following:
- add the following line
[code]var $mCityAsciiName = false;[/code]
below the line
[code]var $mCityId = false;[/code]
- add the following text
[code], cit.ascii_name as city_ascii_name[/code]
after
[code]cit.name AS city_name[/code]
- add the following line
[code]$this->mCityAsciiName = $row['city_ascii_name'];[/code]
below the line
[code]$this->mCityId = $row['city_id'];[/code]
- inside the GetInfo() method, add the following line
[code]'location_uri' => $this->GetLocationUri(),[/code]
below the line
[code]'location' => $this->mLocation,[/code]
- add the following method
[code]
private function GetLocationUri()
{
if ($this->mCityId == 0)
return 'jobs-in-other-cities';
return URL_JOBS_IN_CITY . '/' . $this->mCityAsciiName;
}
[/code]
below
[code]
private function IsLocationAnywhere()
{
return $this->mCityId == 0 && $this->mLocationOutsideRo == '';
}
[/code]
Then, when you build the l …
To be able to link to the company, open _includes/class.Job.php and do the following:
- add the following line
[code]var $mCompanyUrl = false;[/code]
below the line
[code]var $mCompany= false;[/code]
- add the following line
[code]$this->mCompanyUrl = $sanitizer->sanitize_title_with_dashes($this->mCompany);[/code]
below the line
[code]$this->mCompany = $row['company'];[/code]
- inside the GetInfo() method, add the following line
[code]'company_url' => stripslashes($this->mCompanyUrl),[/code]
below the line
[code]'company' => stripslashes($this->mCompany),[/code]
Then, when you build the link to the company, use this
[code]<a href="{$BASE_URL}{$URL_JOBS_AT_COMPANY}/{$job.company_url}/" title="{$job.company|escape}">{$job.company}</a>[/code]
Hope it helps!
Hi!
I assume that your 500 Internal Server Error is caused by the .htaccess file. You have Apache 1.3 and you should thus use the .htaccess files found in the docs/install-apache-1.3 folder inside the jobberbase .zip file instead of using the .htaccess files that come by default (those are for Apache 2.X)
Hi!
To change the text, you need to edit _templates\hireme\_translations\translations_en.ini and _templates\hireme\_translations\_emails\emails_en.xml. There might be some texts hardcoded directly in the template files or PHP code but just do a simple content based search and you'll find them.
I also doubt the fact that you can 'get away' without a database password. I recommend that you check this out as it clearly outputs 'Access denied for user 'root'@'web2.vital.x10hosting.com' (using password: NO)'
To be able to link to the category, open _includes/class.Job.php and do the following:
- below the line
[code]var $mCategoryName = false;[/code]
add the following line
[code]var $mCategoryVarName = false;[/code]
- add the following text
[code]b.var_name as category_var_name,[/code]
after
[code]b.name AS category_name,[/code]
- add the following line
[code]$this->mCategoryVarName = $row['category_var_name'];[/code]
below the line
[code]$this->mCategoryName = $row['category_name'];[/code]
- inside the GetInfo() method, add the following line
[code] 'category_var_name' => $this->mCategoryVarName,[/code]
bellow
[code]'category_name' => $this->mCategoryName,[/code]
Then, when you build the link to the category, use this
[code]<a href="{$BASE_URL}{$URL_JOBS}/{$job.category_var_name}/" title="{$job.category_name}">{$job.category_name}</a>[/code]
Hope it helps! …
I had time to investigate this and I'm posting now the solution.
Open _templates/default/job.tpl and remove the following line
[code]{$translator->translate("jobs.published_at", "<strong>`$job.created_on`</strong>")}[/code]
then add the following
[code]$('#number-views').prepend('{/literal}{$translator->translate("jobs.published_at", "<strong>`$job.created_on`</strong>")}{literal}');[/code]
before the line
[code]Jobber.SendToFriend.init();[/code]
I just hope that it will solve your problem.
Hi!
What you want to do is actually pretty simple because the category name is always available for a job. You only have to add the following line to home.tpl and jobs-list.tpl in the _templates/default folder, in the position where you want to show the category name
[code]{$job.category_name}[/code]
So, for example, if you add [b]<strong>[{$job.category_name}]</strong>[/b] before [b]<a href="{$BASE_URL}{$URL_JOB}/{$job.id}...[/b] in jobs-list.tpl, whenever you're on a category page or when you are viewing the search results, you will see something similar to [Programmers]web developer 2 at Foo Inc. in London, UK
Hope it helps!
Hi!
To achieve what you want, do the following:
- open page_write.php and replace these lines
[code]
if (isset($apply_online) && $apply_online == 'on')
{
$apply_online = 1;
}
else
{
$apply_online = 0;
}
[/code]
with
[code]$apply_online = 0;[/code]
- open _templates/default/publish-write.tpl and remove the following
[code]
<fieldset><input type="checkbox" name="apply_online" id="apply_online" class="no-border" {if $job.apply_online == 1 || $is_apply == 1}checked="checked"{/if}{if !isset($job.apply_online) && !isset($is_apply)}checked="checked"{/if} /><label for="apply_online">{$translations.publish.apply_online}</label></fieldset>
[/code]
That should do it.
Hope it helps!
Problem fixed offline - it was caused by an incorrect permission on the admin folder.
You could try re-uploading the all-jobs-header.tpl and jobs-list files into the _templates/default folder and the page_all_jobs.php file into your root folder.
Be sure that you've copied the .htaccess files - the original ones should work unchanged.
If it still doesn't work, it might be a xampp configuration problem (most likely, Apache's mod_rewrite module is not correctly configured). As this is not jobberbase related, you should google around.
From you error log, it is obvious that the user/password combination is wrong - it says Access denied and it also tells you that no password was set for the root user. I doubt that you can connect without having a password set.
You should review the config.envs.php file to be sure that the database credentials are correct.
Hi!
From what I can see in the screenshot, it should work.
The problem could be caused by the fact that your hosting doesn't allow using external SMTP providers. Maybe you should ask them.
Hi!
I'm sorry, I didn't have time to implement the solution but I hope I'll find some time this week.
From what I saw in your screenshot, you've entered the database related settings directly in the config.php file but this is not the correct way. You should configure the database access info in the config.envs.php file.
The first thing that comes into my mind is setting the date when the job was posted through Javascript, after the job's detail page loads. Because the Google Bot doesn't index Javascript (well, almost true), it shouldn't find the date.
If you don't manage on your own, I'll post here the solution in a couple of days. But be aware that even if my solution would work, it would take some time for Google to reindex everything.
Hi!
I'm pretty sure that you're [i]app_url[/i] is wrong in config.envs.php. It must be [b]http://localhost/jobberbase/[/b] (notice the ending slash). If the app_url is wrong, then the CSS file is not found and that's why you see a broken layout.
Hi!
Just open page_apply.php and remove the following lines:
[code]
// delete uploaded file (cleanup)
if ($attachment != '')
{
unlink(APP_PATH . FILE_UPLOAD_DIR . $attachment);
}
[/code]
That should be all.
Hi!
Sorry, I don't understand what you are trying to achieve. Can you post a screenshot or try to explain it once again?
Hi!
I know this is a little bit outdated, but maybe it can be a starting point if you know a little PHP - http://www.jobberbase.com/forum/topic993-how-to-create-a-banner-section.html
Page [ 5 of 38 ] Posts by putypuruty [ 101 to 125 of 942 ]
jobberBase Community » Posts by putypuruty
Powered by FluxBB
[ Generated in 0.053 seconds, 4 queries executed ]