|
BLUE CRYSTAL GROUP |
Contents
Jobs mod
|
Works on PMD: Version Fully compatible with PMD PRO version 1.1.8 &
up
Release date: 11/13/09
Author: Blue Crystal group
Description: Advertisers can enter jobs
Terms:
· You can not re-sell
this modification or use it as a base for other modifications and sell it.
· You are free to modify this code for
your own purposes. You may install this mod on one instance of phpmydirectory for which you hold a valid phpmydirectory license.
DISCLAIMER:
Blue Crystal does not warrant the merchantability of this modification, and all
liability is limited to any amount paid. Installation of this modification is
done at your own risk. Backup your scripts before making changes to them.
Also backup your configuration files.
Mod Package
|
The zip
file you have received has two folders:
Modified
code - The modified code is code from PMD that has been changed.
You can upload the contents of this folder if you have not made any change
to your own files.
New code
- The New Code are new files that will have to be uploaded as part of the
installation.
Installation
|
Please
read the entire set of instructions before doing the install.
INTEGRATION
To integrate
the changes, you will have to take the modified code from the files sent and
merge it with your existing code.
The
modified code is mostly added code so most of the time you just have to copy
additional lines of code that you will find in the “modified code” folder and
copy it on place into your own files.
LOADER
Some of
the modified files have a “loader”. The loader
are lines of code is used for some of the Blue Crystal modification to
facilitate the integration of code and if you already have a Blue Crystal
modification, you may already have installed the loader in some
scripts. If you have, do not repeat the code. The loader.php code needs to be called only once.
The BCG
loader lines are similar to these:
/**** BCG mod loader STARTS HERE ****/
$filename=''; // The filename may vary
$methodName='require_once';
require_once(PMDROOT.'/bcg/loader.php');
/**** BCG mod loader ENDS
HERE ****/
INTEGRATION
To copy the
modified code from the distribution folder to your files in the staging
directory, open each file on the modified code folder and
Look for the blocks of code marked as BCG mods:
// BCG
mod starts
...
// BCG mod
ends:
In the template files, the added code is marked
as follows:
<!-- BCG job mod starts here ->>
...
....
<!-- BCG Job mod ends here ->>
While
doing the update consider these:
· Most scripts only require adding a few
lines of code
· PMD base code does change and you
will find that your code does not match line by line the code we sent. When
copying the modified lines of code, first see in which line number they are in
our delivered code and what lines are before and after the modified code
and then, locate the before an dafer lines on
the original code
· All modified code will have a line with
BCG on it so you can search for BCG and will
· Most modifications include adding new
lines of code as opposed to changing existing lines. If some lines need
to be changed or deleted, that will be clearly stated in the modified code.
For instance to integrate listing.php
Open your own listing.php
file
Look
for the lines:
|
if($listing['www_allow'] AND !empty($listing['www'])) { if ($_GET['action'] == 'print') { $template_content->set('www',$listing['www']); |
Insert the following lines before the above listed lines
|
/**** BCG LOADER STARTS HERE ****/ /*********************************/ /*********************************/ $filename=''; $methodName='require_once'; require(PMDROOT.'/bcg/loader.php'); /*********************************/ // YOU MUST HAVE ONLY ONE LOADER PER SCRIPT. IT WILL LOAD ALL BCG MODS //**** BCG LOADER ENDS HERE ****/ |
Steps to
do the integration
1. -
Extract the contents of the zip file to new folder.
We'll refer to this folder as the distribution folder
2. –
Create a folder that we will call the “staging folder”
3.-
Download from your site to the staging folder, all the files that exist in
modified folder that you will find in the distribution folder
4.- Copy
the code from each of the modified files to your own files as per these
guidelines
Modified
Script for this modification:
The
modified scripts are listed on the "Modified files" folder of the mod zip file
5.
Download .htaccess
The last
line is:
</IfModule>
Enter
the following lines before the last line
#BCG job mod
starts here
RewriteRule ^(.+)/jobs\.html$ listing_jobs.php?id=$1
[L]
#BCG job mod ends here
Upload .htaccess
6.- Copy
the files on the jobs-new-files directory to your main directory
7.-
Execute the install job script
with http://your_URl/bcg_install_jobs.php
The
install script will ask you for a license number. The license is a number of
the form 999-9999-9999-9999 and is unique by domain.
You will
find your license number on the receipt you received when you purchased the
modification or you can find it on your order history on the Blue Crystal web.
License
number on your order history (example)

The
system should respond with :
Jobs tables creation
done
If the
response is any other than that, please send Blue Crystal a copy of the message
you received and stop the installation
8 .- Make
sure you have a copy of your production system files
9.-
Upload the files from the modified-files folder in your staging area to your
main directory
10. Set
up configuration
10.1 In
memberships, assign what membership types are going to have jobs.
10.2
Assign the job field to all categories

Click on
Edit fields
Select the job group

Edit the field and click on add
to all categories
End of
installation
Then go
to configuration settings and set the number of jobs allowed to the listings
that will have Jobs
Special notes
|
Users can
activate and de-activate jobs. The number
of jobs set in membership counts active and inactive.
Frequently Asked Questions
|
How
can an applicant submit their resume?
Applicants
to jobs can send their resumes when they send an e-mail to expres
their interest. When they send the e-mail, they can attach a resume.
Where
does the system pick up the e-mail address for the application?
The
listing owner when setting a job, can select that the
contact format is by e-mail. At that time, they will enter the e-mail address
where they will receive the e-mails from applicants
Most reported
problems
|
1.-
Search Does not work
The
search feature uses MYSQL search and by default most MySQL installations, MYSQL
will not return records if:
· There are less than 4 records in the
table
· The search keyword
is 3 characters long or less
· The keyword appears in a large number
of records in the table.
Contacting Blue
Crystal Group
|
Should you have any issues with the
software, questions or concerns, the quickest way to contact us is by
means of our Forum
http://bluecrystalgroup.com/support/forum
or by e-mail to support@bluecrystalgroup.com
We’ll
get back to you inside a business day.