J-Board FAQ
From KitchenTwo
How are payments for listings handled?
J-Board uses PayPal to handle payments
Can I set the default period for a job listing?
Yes, this can be changed in the administration panel of J-Board
Can I make J-Board look like my site?
Yes, if you have some design/HTML skills you will easily be able to edit a theme or create a new one to fit the look of your site
Server Wide Licenses - can I resell the individual licenses?
Not directly.
Let me give an example, if you offer hosting to people at say $10 per month you can't say ask for an extra one off payment for a licence.
But, you could charge them say $15 per month for hosting that includes a free licence.
The main reason for this is that the licence is tied to your IP, so if your customer moves to another host they can't take the licence with them, if you charged a separate fee for it they might be upset about that. Whereas if it's part of the monthly hosting fee then it's more easy for them to understand.
We will be releasing some reseller licences at some point in the future which would allow you to directly resell them.
How do I broaden the search to include more fields?
This is unsupported, do at your own risk
If you are happy diving into some PHP code it wouldn't take too much to change the search function.
You need to edit /functions/inc_listings.php at the top you will see a function called
listing_chrono
In that function look for this line
if ($search_this) {$where = "AND title LIKE '%$search_this%'"; }
You could add more database table columns into this to broaden the search, maybe something like this
if ($search_this) {$where = "AND title LIKE '%$search_this%' OR location LIKE '%$search_this%'"; }
That should return listings that have the keyword in both title and locations, but I haven't tested it.
Back up the file before you make the change just in case something bad happens.
How do I change the number of listings on the front page?
This is unsupported, do at your own risk
To change the number of listings on the front page edit index.php and change
$limit_end = '10';
Add images to listings?
This is unsupported, do at your own risk
Letting clients upload images is a big task but it is possible to add images to listings if the image is hosted on the web somewhere.
Images Step 1
Open themes/theme_name/_addlisting.php and add this inside the form
<p> <label for="image">Sceenshot <font size="small" color="red">*</font></label> <input name="image" type="text" id="image" size="40" maxlength="150" value="http://yoururl.com/nophoto.jpg" /> <br/><span class="inputText">(The URL to a 250px x 210px image. Leave the default URL if you don't have an image)</span> </p>
Change yoururl.com in the above the URL of your default image to show if no image added.
Images Step 2
Edit /scripts/add_listing.php find this line
$title = prepare_value($_POST['title']);
Add this below it
$image = prepare_value($_POST['image']);
Then find these lines (around 52, 80, 107 and 139) edit all 4 to look like this
$sql = "INSERT INTO listing VALUES ('', '$category', '$title', '$company', '$location', '$description', '$con_url', '$email', '$owner_id', '$added', '$expire', '$status', '$image', '')";
Images Step 3
Now edit /themes/theme_name/_job.php
To display the image add this line where you want the image to display
<img src="<?php echo $listing['image']; ?>" alt="<?php echo $listing['title']; ?>" />

