csgraduate

csgraduate supports this item

Supported

Popular questions for this item

Customizations

For any custom requirements or work related to this script, please feel free to pm or send an email to ravi at finethemes.com Please note that customizations are done for a price.

Support

You can get help or support in variety of ways. Please follow these steps:

  1. Refer to the documentation shipped with the script. There’s a ‘Help’ folder in the script folder. Most of the topics pertaining to this script are explained there. You can refer to the same documentation here too.
  2. If this doesn’t help then you may refer to FAQs below.
  3. If you couldn’t find a solution to your problem through the above step, then please view the comments posted here. You can search the comments by clicking here. The comments section covers solutions and answers to most of the common issues.
  4. if you still couldn’t find your answer then you may contact me. I am usually online here as per the GMT +5:30 timezone.
  5. If none of the above works for you then please post your question in the comments section or send me a message through my profile page and I’ll reply as soon as I am available.

How to install this script?

There are help docs that comes with this package and they are located inside a folder named Help. You can refer to the Installation Steps here too

After instillation, when I visit my site, it shows: “Could not connect. Please try again.”

Download your website’s site.inc.php and make sure that it isn’t empty. If it is, then enter the following information in it and replace with actual credentials:

<?php
$host="Database host, usually it is localhost";
$database="Database name";
$username="Database Username";
$password="Database Password"; 
?>

If the content of site.inc.php already looks like above, then make sure that your database password doesn’t have a $ sign in it. You can change your database password and enter the new password in site.inc.php.

Newly added category or sub category isn’t visible in the search or add/edit listing form drop down.

Please make sure that you add category/sub category name in English and then its own language.

So if you’re adding a new category ‘Test’ and your default language of site is French then you’ll have to add it like this on ‘Category’ page:

Category name in English: My Category

Category name in French: ma catégorie

Then your new category will be visible in the drop down. Please do the same for any new sub category.

Images in listings and my profile are not showing up.

Make sure that following file/folders are fully writable: uploads, cache and index.html inside cache folder. The images won’t show up if they are not fully writable.

uploads folder is fully writable (linux command: chmod 777 uploads)

cache folder is writable (linux command: chmod 777 cache)

cache/index.html file is writable (linux command: chmod 777 cache/index.html)

If you use FileZilla client for FTP transfer then you can give 777 permission by right clicking on file/folder name and type 777 in ‘Numeric value’ box. While giving permissions to ‘uploads’ and ‘cache’ folder also select ‘recurse into subdirectories’ option.

Email system isn’t working i.e when someone tries to contact me through the contact page or through the listing contact form.

Make sure that you’ve specified correct values under ‘Email’ section of ‘Admin options’ page. It is recommended that you use gmail or google apps email and password and leave the authentication type to gmail. You can enable ‘Email debug’ option on ‘Admin Options’ page to see a detailed message on why email isn’t working.

If port 587 doesn’t work with your Gmail/Google apps email then try changing it to 465.

Please make sure that you enter your full email address and not just username.

If it still doesn’t work and you’re not using Gmail/Google Apps, then in config.php, locate

$SMTPAuth=true;

and change it to:

$SMTPAuth=false;

and test again.

I get a SMTP error when I try to use gmail as authentication type and my gmail/google apps email and password in admin options.

Please make sure that ssl module (for ex openssl) is enabled on your web server. If you don’t have access to your server configuration then ask your hosting provider to do it for you. This is required because Google smtp server only accepts secure/ssl connections.

Map isn’t showing the correct location.

allow_url_fopen or cURL module should be enabled in your PHP in order for Google geocoding to work. The geocoding won’t work if at least one of them is not enabled. Please contact your hosting provider and ask them to enable either one of those. If you’ve access to php.ini the edit it and add this line in the end

allow_url_fopen = on

or enable the cURL module in your php. Instruction for the same can be easily found on Google.

I get an error while I try to install this system.

The installation script will automatically check if some required files/folders are writable. If they are writable, it would prompt you for your MySQL host, database name, username and password. Otherwise it will show you the instructions to change the file/folder permissions.

Please note:- While creating a new database on your hosting account, please make sure that you give full privileges to it. In case of cpanel, you can specify that on 2nd step i.e after you specify database name, select ‘All’ option on the privileges page.

The sub category drop-down appears to be broken. And some other options doesn’t work either.

Please rename the file “jquery.multiselect.filter.js.txt” in the ‘js’ folder of the classified made easy script to “jquery.multiselect.filter.js” i.e remove .txt extension from the file name and this will fix this issue.

How to change the default # of pictures for a listing?

Open config.php and change

$reMaxPictures=15;

to whatever you want, for ex if you just want 5 pics by default then make it

$reMaxPictures=5;

In the search form, there’s a missing keyword between // i.e Keyword/Street//Postal code

Go to language tags page and add a new translation for keyword ‘ID’

Keyword: ID Translation: ID

and it would show up as

Keyword/Street/ID/Postal code on your search form.

How to show the expanded listings by default on the home page?

In order to show the expanded listings, a minor change is required in functions.inc.php

Open functions.inc.php and find the following line:

style=”display:none” class=’resultChild

and remove

style=”display:none”

from it and save and upload it back to your website.

This would show the expanded listings by default on the home page.

I get the following message while sending emails

Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' 

This is due to your php version. Open config.php in notepad etc and find this line

error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED));

remove it and add this instead:

error_reporting(E_ALL & ~E_NOTICE);

or if you still get the message then add this instead:

error_reporting(0);

How to change the default home page mode to show text listing instead of map listings?

In admin options, uncheck the option “Enable map mode for the home page?”.

I am unable to choose custom location while adding/editing a listing.

Please download the files again from codecanyon and replace the new header.php with the one you have on your web host.

There was a minor glitch regarding custom location that has been fixed in the new header.php file on 14-jun-2012

My website still seems to be in demo mode.

Open config.php and find:

$isThisDemo="yes";

and change it to:

$isThisDemo="no";

Openssl is enabled but email isn’t still working. I am using Gmail/Google apps email in admin options.

Please confirm from your hosting provider that port 587 or 465 aren’t blocked. if they are blocked then email system won’t work, if you’re using a Gmail or Google apps email in admin options.

I see a message ‘Input error: k: Format of site key was invalid’ below contact form.

This error is due to invalid reCaptcha keys or you mistakenly used public key in place of private key in admin options. Please check and correct that to solve this issue.

Google Maps geocoding isn’t working and markers aren’t shown at correct location.

If you purchased prior to 16th-March-2013 then please download and upload the new functions.inc.php file to fix the issue with Google map geocoding as otherwise the markers may not be shown at the correct location.

How to add links or other html code in the listings as currently links appear as plain text.

Currently the script filters all html added in the description field so a link would be shown as normal text. You can try this, in addReListing.php and updateReListing.php, look for this:

$redescription=mysql_real_escape_string(strip_tags($_POST['redescription']));

and change it to:

$redescription=mysql_real_escape_string(strip_tags($_POST['redescription'],'<a>'));

And then try posting a link with <a href=’http://...'>Link</a> format in the description.

Similarly, you can allow other html tags in the description. For ex, to allow <a>, <p>, and <font> tags, change the above mentioned code to:

$redescription=mysql_real_escape_string(strip_tags($_POST['redescription'],'<a><p><font>'));

How to define custom marker icons for version 1.3.4 and above?

In config.php, locate:

$customMarkers=false;

and change it to:

$customMarkers=true;

Then in images/markers folder upload your custom maker images in png format. The name of the markers should be the English name of your category in lower case with any space replaced with a hyphen -.

For ex: If your site’s default language is English and there are categories (as shown on Category page) Community, Buy – Sell then upload community.png and buy—-sell.png in the above mentioned folder. Note how space in the category name was replaced with a – and image names are in lower case.

Similarly, if you site’s default language is not English, for ex, french and there’s a category: my category whose french translation is ma catégorie then upload the png marker image with name my-category.png i.e. use English name of the category for marker’s image name.

If you enabled custom markers in config.php as mentioned above and don’t upload the marker images then makers won’t show up on map.

The default size of the png marker image is 32×37 but if you want to use a custom size image then you would need to edit an another file.

In js/v3map.js, locate:

var a_marker = {
            url: m_image,
            size: new google.maps.Size(32, 37),
            origin: new google.maps.Point(0, 0),
            anchor: new google.maps.Point(0, 37)
            };

and change 32,37 with the width, height of your custom marker image. Also change 37 in (0,37) with the height of the marker image.

How to hide the login form from normal visitors?

In loginForm.php, locate:

if($ptype!="checklogin"){

and change it to:

if($ptype!="checklogin" && $_GET['admin']){

the login form won’t be visible to normal visitors and you can access it using ?admin=1 in your url. For ex:

http://yourwebsite/?admin=1

How to add extra menu items or country flags to switch languages in the header?

To add custom menu links

In header.php, locate:

<li class=’favli’ id=’favli’ style=”display:none;”><a href=’#’><?php print __(“Favorite”);?></a></li>

and below it add:

<li><a href='http://LinkGoesHere'>Link Title</a></li>

To add country flags for language switch

In header.php, locate:

<li><a href="rss.php"><img border="0" src="images/rss.png" alt='rss'></a></li>

and just below it, add:

<li><a href='?lang=french'><img src='flags/french.png' border='0' /></a></li> <li><a href='?lang=english'><img src='flags/english.png' border='0' /></a></li>

For ex, in the above code we added icons for french and english language assuming that images french.png and english.png are in flags folder.

How to enable map zoom through mouse scrolling?

In js/v3map.js, locate:

scrollwheel: false,

and change it to:

scrollwheel: true,

How to hide/remove sub categories?

1) In reSearchForm.php, locate:

<div id='subcategoriesSection'>

and change it to:

<div id='subcategoriesSection' style="display:none;" >

2) then in submitReListing.php and editReListingForm.php, locate:

<div id='subcategoriesSection2'>

and change it to:

<div id='subcategoriesSection2' style="display:none;">

3) then in addReListing.php and updateReListing.php, locate:

if(strlen($reSubcategory)<=0) $errorMessage=$errorMessage."<br />".$relanguage_tags["Sub Category"];

and change it to:

// if(strlen($reSubcategory)<=0) $errorMessage=$errorMessage."<br />".$relanguage_tags["Sub Category"]; 

4) then in header.php, locate:

if(subCategories.length<=0)

and change it to:

// if(subCategories.length<=0)

How to view listings that match a certain criteria, directly through a link?

From Version 1.3.6 and onwards, you can pass query parameters to the url and view results in map or text mode, following query parameters are supported:

category – Specify category name exactly as it appears on your site.

subcategories – Specify subcategory name exactly as it appears on your site

requery – Any query

city – A city name (use ‘any’ to view results for all)

You can use also use their combination. Usage examples:

1) http://www.codiator.com/Classified-Made-Easy/index.php?city=new+york

2) http://www.codiator.com/Classified-Made-Easy/index.php?city=any&requery=lorem

3) http://www.codiator.com/Classified-Made-Easy/index.php?category=Community&city=new%20york

4) http://www.codiator.com/Classified-Made-Easy/index.php?category=Community&requery=lorem

5) http://www.codiator.com/Classified-Made-Easy/index.php?category=Community&subcategories=Artists

How to allow non English characters in friendly URLs?

All non English characters in url are converted to English characters. But you can allow non English characters to be used in url. Please locate the following in functions.inc.php:

$headline_slug=friendlyUrl($row['headline']);

and change it to:

$headline_slug=str_replace(" ","-",$row['headline']);

Similarly, locate this ($row0 instead $row):

$headline_slug=friendlyUrl($row0['headline']);

and change it to:

$headline_slug=str_replace(" ","-",$row0['headline']);

How to make friendly URLs to work on nginx web server?

Nginx have a different syntax for rewrite rules. In your nginx configuration file i.e. “Server Blocks” (aka virtual hosts for apache) for the related domain, add the following rewrite rules:

location / { 
rewrite /Home/?$ /;
rewrite ^/([^-]*)/([^-]*)/id-([^-]*)-([^-]*)-(.*)$ /index.php?ptype=viewFullListing&reid=$3&region=$4 last;
rewrite /Page-([0-9]+)/?$ /index.php?ptype=page&id=$1 last;
}

An example nginx server block for the domain “your-domain.com” whose files are located at ” /home/www/your-domain” would look like this:

server {
    server_name  your-domain.com;
    rewrite ^(.*) http://www.your-domain.com$1 permanent;
}

server{
        listen 80;
        server_name www.your-domain.com;
        root /home/www/your-domain;
        index index.php index.html index.htm;

location / {
rewrite /Home/?$ /;
rewrite ^/([^-]*)/([^-]*)/id-([^-]*)-([^-]*)-(.*)$ /index.php?ptype=viewFullListing&reid=$3&region=$4 last;
rewrite /Page-([0-9]+)/?$ /index.php?ptype=page&id=$1 last;

}

        location ~ \.php$ {
            fastcgi_pass    127.0.0.1:9000;
            fastcgi_index   index.php;
            fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include         fastcgi_params;
        }
}

What kind of hosting is recommended?

It is better to have a VPS, as you’ll get guaranteed resources and a dedicated IP address. Whereas, shared hosting plans don’t guarantee resources so your website may become slow as you never know how many other websites are competing against the server resources such as RAM, CPU and network bandwidth.

Recommended VPS hosting providers are:
Digital Ocean
Linode

The demo which has 5000 listings, is hosted on a Linode VPS and with 10 of my other high traffic websites and the performance is still very good.

How to hide the search form by default in the map view?

In index.php, locate:

<div id='showbar'

and change it to:

<div id='showbar'  style="display:block;" 

then, locate:

<div id="sidebar">

and change it to:

<div id="sidebar"  style="display:none;" >

How to place currency symbol after the price?

As of version 1.3.8.1, you can set an option in config.php. In config.php, locate:

$currency_before_price=true;

and change it to:

$currency_before_price=false;

How to change language of Google Maps?

Not all languages may be supported by Google maps. But you can try this:

In header.php, locate:

<script src="http://maps.googleapis.com/maps/api/js?v=3&sensor=false"></script>

and to change the language to french, change the above code to:

<script src="http://maps.googleapis.com/maps/api/js?v=3&sensor=false&language=fr"></script>

Here is the complete list of language codes that you can use with ‘language=’ query parameter above:

https://spreadsheets.google.com/a/finethemes.com/pub?key=p9pdwsai2hDMsLkXsoM05KQ&gid=1

When I try to login with Google or Yahoo account, it shows a message: “Forbidden You don’t have permission to access /glogin.php on this server.”

Your server probably have mod_security enabled so it is forbidding any request which has a URL in its query parameter. Please disable it or ask your hosting provider to do so as even timthumb i.e. the script that generates thumbs won’t work properly.

How to allow certain HTML tags in the description of a listing?

In addReListing.php and updateReListing.php locate:

$redescription=mysql_real_escape_string(strip_tags($_POST['redescription']));

It is recommended to allow only few html tags instead of completely removing the strip_tags function and allow all as then any member can break the formatting of your site by using incorrect html code. So to allow few html tags and remove all others. For ex, craigslist allows a set of html tags, lets say, <p>, <font>, <br>, <h2>, you can change the above mentioned line to:

$redescription=mysql_real_escape_string(strip_tags($_POST['redescription'],"<p><font><br><h2>"));

Facebook login on my website keeps redirecting back and forth and gives a redirect loop error.

Please make sure that cURL and openssl modules are enabled on your web server. Also make sure that following functions aren’t disabled: curl_exec and curl_multi_exec. As otherwise the curl session won’t be able to start and redirect loop would happen.

My website shows “404 Not Found error ” when I try to view a listing and friendly URLs are enabled on the ‘Admin Options’ page.

This error shows up if your web server doesn’t support rewrite rules i.e. either rewrite module (for ex mod rewrite) is not enabled and/or .htaccess is disabled by your server configuration by using a directive such as “Allowoverride none”.

To overcome this issue, you can enable rewrite module and make sure “Allowoverride” is set to “All”. Otherwise, you can simply disable firendly URL option on ‘Admin Options’ page.

How to change the date format, for ex to dd/mm/yy?

In functions.inc.php, locate:

//$listingDate= date('d/m/y', strtotime($listingDate));

and change it to:

$listingDate= date('d/m/y', strtotime($listingDate));

then in viewFullListings.php, locate:

printAttribute($row['dttm_modified'],"Date Listed");

and just above it, add:

list($row['dttm_modified'],$listingTime)=explode(" ",$row['dttm_modified']);
$row['dttm_modified']=date('d/m/y', strtotime($row['dttm_modified']));

How to use this script with a ssl domain?

You can use it with your ssl domain after doing some minor changes. In header.php, locate:

http://maps.googleapis.com/maps/api/js?v=3&sensor=false

and change it to:

https://maps.googleapis.com/maps/api/js?v=3&sensor=false

As the script uses geoip service which is free for non ssl domains but for ssl domains, you will need an inexpensive key from this link.

After getting the key locate the following in header.php:

http://www.geoplugin.net/javascript.gp

and change it to, replacing YOUR_KEY with the key you receive from geoplugin:

https://ssl.geoplugin.net/javascript.gp?k=YOUR_KEY

then locate:

$full_url_path = "http://" . $_SERVER['HTTP_HOST'] . preg_replace("#/[^/]*\.php$#simU", "/", $_SERVER["PHP_SELF"]);

and change it to:

$full_url_path = "https://" . $_SERVER['HTTP_HOST'] . preg_replace("#/[^/]*\.php$#simU", "/", $_SERVER["PHP_SELF"]);

Email SMTP settings are not working. How to use sendmail alternative?

In functions.inc.php, locate:

function sendReEmail

and change it to:

function sendReEmail1

then locate:

function sendReEmail2

and change it to:

function sendReEmail

It is taking too long for the page to load when a listing is being added or edited.

There’s an issue with sitemap submission when a listing is being added or edited so the page tends to hang. To fix this issue locate the following in addReListing.php and updateReListing.php:

pingSitemap();

and change it to:

//pingSitemap();

How to show satellite map by default? And how to add a map control to switch between satellite and road view?

Locate the following in js/v3map.js:

google.maps.MapTypeId.ROADMAP,

and change it to:

google.maps.MapTypeId.HYBRID,

and to show map control to switch between map types, locate:

mapTypeControl: false,

and change it to:

mapTypeControl: true,

It still shows some tags in English even when my site’s default language is not English.

You can add translations of those tags on ‘Language tags’ page.

I see 403 forbidden error when I try to update ‘Admin options’

This is probably due to mod_security module on your web server. Try disabling it and test again.

I get MySql error 1364 when I try to install the script.

This is caused by ‘STRICT_TRANS_TABLES’ setting in your MySql configuration file. You can disable it by locating and removing it in my.cnf or my.ini

For ex, locate:

sql-mode="STRICT_TRANS_TABLES ......., NO_ENGINE_SUBSTITUTION" 
(Here dots represents other settings)

and change it to:

sql-mode=".......,NO_ENGINE_SUBSTITUTION" 

i.e. just remove STRICT_TRANS_TABLES and nothing else and restart your MySql server.

I’ve a problem which I am unable to resolve.

I am usually online here as per the GMT +5:30 timezone. or feel free to contact me through the comments page or email at ravi@codiator.com

Show more

Contact the author

This author provides limited support for this item through this item's comments.

Item support includes:

  • Availability of the author to answer questions
  • Answering technical questions about item’s features
  • Assistance with reported bugs and issues
  • Help with included 3rd party assets

However, item support does not include:

  • Customization services
  • Installation services

View the item support policy

by
by
by
by
by
by