All posts by sanljiljan

Performance optimizations, enable caching

Our Classified script support caching/minimizing javascript and css, and also caching websites html for almost instant loading after caching (SSD disk is suggested for better performance).

To enable this feature in application\config\cms_config.php add:

$config['litecache_enabled'] = TRUE;
$config['jscsscache_enabled'] = TRUE;

Additional performance improvements can be done with browser caching, guide: https://gtmetrix.com/leverage-browser-caching.html

You can also enable gzip compresson on your server for better page speed:

http://stackoverflow.com/questions/3641197/how-to-specify-vary-accept-encoding-header-in-htaccess

For best performance, you can also use some dedicated server with built-in caching engine like a2hosting turbo accounts:

a2_hosting_logo

Geo SVG maps supported in Classified script

More then 150 Geo SVG maps included for many countries included directly in script

NOTE: If you need geo map, change widget on homepage and generate wanted map via admin ->listings->Neighborhoods->Generate geo map

If you want to add your custom SVG map, it’s not so easy but possible, guide: geo-location-guide

Guide for our WordPress Themes/Plugins SVG maps: http://listing-themes.com/nexos-wp/docs/img/desc2/svg_map_wp.pdf

From script v1.6.0 we added support for even more maps (> 260 additional maps) https://www.amcharts.com/svg-maps
For support Just download new map in folder “templates\boomerang\assets\svg_maps”

List:

World
USA
Europe
Africa
Afghanistan
Albania
Algeria
Andorra
Angola
Anguilla
Antigua and Barbuda
Argentina
Armenia
Australia
Austria
Azerbaijan
Bahamas
Bangladesh
Barbados
Belarus
Belize
Benin
Bermuda
Bhutan
Bolivia
Brazil
Brunei
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Canada
Cape Verde
Central African Republic
Chad
China
Colombia
Comoros
Costa Rica
Croatia
Cuba
Cyprus
Côte d’Ivoire
Democratic Republic of the Congo
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Ethiopia
France
Gabon
Georgia
Germany
Ghana
Greece
Greenland
Grenada
Guatemala
Guinea
Guinea-Bissau
Guyana
Haiti
Honduras
Hungary
Iceland
India
Indonesia
Iran
Iraq
Ireland
Israel
Italy
Jamaica
Japan
Jordan
Kazakhstan
Kenya
Kyrgyzstan
Laos
Lebanon
Lesotho
Liberia
Libya
Liechtenstein
Lithuania
Luxembourg
Macedonia
Malawi
Malaysia
Mali
Mauritania
Mexico
Moldova
Mongolia
Montenegro
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
North Korea
Norway
Oman
Pakistan
Panama
Papua New Guinea
Paraguay
Peru
Poland
Portugal
Qatar
Republic of Congo
Romania
Russian Federation
Saint Kitts and Nevis
Saint Lucia
Saint Vincent and the Grenadines
Saudi Arabia
Senegal
Serbia
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Korea
Spain
Sri Lanka
Sudan
Suriname
Swaziland
Sweden
Switzerland
Syria
Taiwan
Tajikistan
Tanzania
Thailand
The Gambia
Togo
Trinidad and Tobago
Tunisia
Turkey
Turkmenistan
Uganda
Ukraine
United Arab Emirates
United Kingdom
Uruguay
Uzbekistan
Venezuela
Yemen
Zambia
Zimbabwe

Grid or Columns number on results

Each template is designed for different columns num in row which best suits design so we suggest to purchase design with wanted number of columns.

You can also customize if you are familiar with basic coding, in our script hints:

You should find all template files with result listings, some hints: http://iwinter.com.hr/support/?p=5891

After that, example for widget from classified template:

screenshot_2

Same thing in results.php template file (used for ajax calls)

screenshot_3

And in result_item, changes is also required:

screenshot_4

Example for 4 columns:

screenshot_3

 

 

Forbidden issues, youtube link

On some servers with mod_security users experienced forbidden issue when ad youtube link to content or form submission.

This can also happen with any other content when mod_security recognize as “unsecure”, and it can even block your IP completely and you can’t access website anymore.

To solve this issue your server admin must disable mod_security or add some rules to enable links submission via form.

Regarding hosting providers, my scripts are tested and work perfectly on:

a2_hosting_logo

Add new listing category

This article is suitable for this script only: Classifieds Multipurpose Portal – Infinity Market

  1. Add new category in Admin->Listings->Categories->Add New
    Screen: http://geniuscript.com/classified/documentation_infinitymarket/#!/add_listing_category
  2. Add new related fields in Admin->Listings->Fields->Add field
    Screen: http://geniuscript.com/classified/documentation_infinitymarket/#!/listings_fields
  3. Hide fields not related to your new category in Admin->Listings->Dependent fields->Add dependent field->check fields that you wish to hidden
    Screen: http://geniuscript.com/classified/documentation_infinitymarket/#!/dependent_fields

And this is everything… you should not unlock or remove any field at all because this will break other categories to work properly.

PDF and characters issue

For pdf functionality you need PDF addon. If not included in your script can be purchased here:

https://codecanyon.net/item/real-estate-pdf-export/21264560

PHP PDF library only supports croatian and english characters. Customizations for other langauges can be added in application\libraries\Pdf.php

Hints:

screenshot_3

If you found solution for your language will be nice if you can share it with us so we can integrate it into future updates. ( NOTE: You will receive free gift from us ;-) )

Thanks

 

SPAM issues, captcha configuration

Some users complaining on SPAM issues, even when using standard captcha. We implemented recaptcha for this case in v1.5.9

Guide:

  1. Update script to min. v1.5.9, guide to update is available on bottom of item page where you purchased product, and can be downloaded on same place as you download product
  2. Get your recaptcha keys on page: https://www.google.com/recaptcha
  3. Insert recaptcha keys in application\config\cms_config.php:
    $config['recaptcha_site_key']   = "your-site_key";
    $config['recaptcha_secret_key'] = "your-secret_key";

Also your server should have in php.ini or recaptcha will not work properly:

allow_url_fopen = On;

Standard captcha is supported from v1.4.9 and is included by default: http://iwinter.com.hr/support/?p=54

Google Maps API error on Portal

Quick solution:

  1. Update script to latest version v1.5.9
  2. Get you Maps API key from Google: JavascriptAPIKEy
  3. In Admin->Settings->System settings enter your “Google Maps API key”

Description and changes in older script versions:

From 22 June 2016,  Google blocking GoogleMaps libraries all new domains and some old.

Usage limits description: https://developers.google.com/maps/documentation/javascript/usage

Continue reading