An introduction to support on Envato Market

  • Envato staff look over every item before it can be sold on Envato Market.
  • Technical items contain help files to introduce you to the item and its components.
  • Authors can choose to support their items but this is optional and may vary.

Author support for this item

The author of this item, csgraduate, will respond to buyers’ questions and provide limited support through this item’s comments.

Additional information from csgraduate:

Please check support related FAQ below.

Go to comments

Frequently Asked Questions

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 use this search tool to search the comments. 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.

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.

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.

How to change colors or theme of the search form of my website?

You can login as admin and select desired colors and theme on ‘Admin options’ page.

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.

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.

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(0);

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.

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?”.

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 and 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 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.

How to add/edit/delete a style option, for ex remove house and add detached in place of it?

You can do so by simply adding/editing/deleting the html option tag in 3 different files (reSearchForm.php, submitReListing.php and editReListing.php)

In reSearchForm.php, you’ll see that options are listed as:

<option value='<?php print $relanguage_tags["Residential"];?>' <?php if(in_array($relanguage_tags["Residential"],$reType)) print "selected='selected'"; ?> ><?php print $relanguage_tags["Residential"];?></option>

You can change the word ‘Residential’ to anything else. But the easier way would be to update its translation on ‘language tags’ page as each tag/keyword you see on site has a translation even if the site’s default language is set to ‘English’.

To add a new ‘style’ option, simply copy and paste a nearby option code and replace the keyword. For ex, if you want to add a new option ‘Detached House’, then copy the nearby option code for ex, :

<option value="<?php print $relanguage_tags["House"];?>" <?php if(in_array($relanguage_tags["House"],$reSubtype) && $any) print "selected='selected'"; ?> ><?php print $relanguage_tags["House"];?></option>

and just below it add:

<option value="<?php print $relanguage_tags["Detached House"];?>" <?php if(in_array($relanguage_tags["Detached House"],$reSubtype) && $any) print "selected='selected'"; ?> ><?php print $relanguage_tags["Detached House"];?></option>

Also don’t forget to add the translation for the newly added option, ‘Detached House’ in this case, on ‘language tags’ page as otherwise it won’t work.

You can remove any option by deleting the related option tag entirely.

Similarly add/edit/delete an option in submitReListing.php and editReListing.php files as well.

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 coded we added icons for french and english language assuming that images french.png and english.png are in flags folder.

How to change the ‘required’ fields to ‘non required’ in add/edit listing form?

You can make any field ‘non required’ in add/edit listing form by editing header.php, addReListing.php and updateReListing.php files. For ex to remove the bedroom/bathroom requirement, locate the following in header.php:

if(reBedrooms.length<=0) ......
if(reBathrooms.length<=0) .......

and change it to:

//if(reBedrooms.length<=0) ......
//if(reBathrooms.length<=0) .......

In addReListing.php and updateReListing.php, locate:

if(strlen($reBedrooms)<=0) .........
if(strlen($reBathrooms)<=0) .........

and change it to:

//if(strlen($reBedrooms)<=0) .........
//if(strlen($reBathrooms)<=0) .........

How to enable map zoom through mouse scrolling?

In js/v3map.js, locate:

scrollwheel: false,

and change it to:

scrollwheel: true,

How to access listings that match a certain criteria, such as city and/or query, directly through a link?

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

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://codiator.com/real-estate-made-simple/index.php?city=new%20york

2) http://codiator.com/real-estate-made-simple/index.php?requery=lorem

3) http://codiator.com/real-estate-made-simple/index.php?city=new%20york&requery=lorem

4) http://codiator.com/real-estate-made-simple/index.php?city=any&requery=lorem

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=$row['headline'];

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

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

and change it to:

$headline_slug=$row0['headline'];

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 my other 10 high traffic websites but 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 (2nd occurrence):

<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.4.7.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. If you are using hostgator and images aren’t appearing then also refer to: http://support.hostgator.com/articles/specialized-help/technical/timthumb-basics

Site login doesn’t work.

Please make sure that session.save path is set in php.ini and destination folder is fully writable as otherwise php sessions won’t work and you won’t be able to login.

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']));

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.

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.

Hi, 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();

Markers are not appearing anymore.

This is due to a recent Google maps update. To fix the issue, locate the following in header.php:

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

and change it to:

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

How to change city text box to a drop down with predefined cities.

In reSearchForm.php, locate:

<input size='32' style='width:225px;' type='text' class="form-control" name='city' value='<?php print htmlspecialchars($reCity, ENT_QUOTES, 'UTF-8'); ?>' id='reCity' placeholder='<?php print $relanguage_tags["City"];?>'>

and change it with ‘select’ options with desired city names. For ex:

<select id='reCity' name='city' class="form-control">
<option value='city1' <?php if($reCity=="city1") print "selected='selected'"; ?> >City1</option>
<option value='city2' <?php if($reCity=="city2") print "selected='selected'"; ?> >City1</option>
<option value='city3' <?php if($reCity=="city3") print "selected='selected'"; ?> >City1</option>
......

and then in header.php and js/v3map.js, locate:

input#reCity

and change it to:

#reCity

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,

What area is shown on the map?

The script automatically zooms the map as per # of listings so that all of them are visible in viewer’s screen. So if there are listings only in New York, then the map would be zoomed to that location automatically. If there are listings in California as well, then you’ll see entire US map i.e. from New York to California.

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

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.

Credits

Many thanks to Nicolas Mollet for providing Map Icons Collection on his website: http://mapicons.nicolasmollet.com

When to contact Envato Support

Authors are experts on their own items, but if you're having trouble using Envato Market you should come straight to Envato Support.

by
by
by
by
by
by