SEO slugs in classified script

Extra SEO module  can replace:
http://website.com/property/31/en/property_title with:

http://website.com/my-custom-slug.htm

This module is very server configuration
sensitive so no guarantee that will work on all servers.
But it is tested on https://www.a2hosting.com/refer/59624 and there works fine.

Guide to configure:

In application\config\cms_config.php add this lines:
$config['slug_enabled'] = TRUE;
$config['alt_enabled'] = TRUE;

Regarding nice SEO slugs:
and in slug.php you should change:
$script_folder = '/property-point/';
to your folder or use  '/' if your website was in root folder

additionaly, use htaccess_examples/slug.htaccess, move to www directory and rename to .htaccess

and in .htaccess you should change:
RewriteBase /property-point
to your folder name or leave only '/' if your website was in root folder.
mod_rewrite should be enabled without limitations on server for this...

In application\config\config.php you should have defined:
$config['index_page'] = 'index.php';

 

MySQLi version mismatch

Example issue:

Message: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50550 Library:100029

Sounds like server issue. PHP and MySQL versions not compatible.

Try this solution: https://stackoverflow.com/questions/10759334/headers-and-client-library-minor-version-mismatch

If this is localhost try with:

For localhost, you can for example (Windows guide):
Install portable XAMPP Version 5.6.3
Create folder in (depends where you install xampp): C:\xampp\htdocs\mywebsite

Date Format

Example for using custom date format on property.php template file:

<?php if(!empty($estate_data_option_37)): ?>
<p class="bottom-border">
<strong>Date:</strong>
<?php $date_variable = $estate_data_option_37; ?>
<?php echo date('j F Y', strtotime($date_variable)); ?>
</p>
<?php endif;?>

PHP documentation for date function: http://php.net/manual/en/function.date.php

37 is example field ID #, can be found in Admin->{listings}->fields

 

My location detection

To use this feature, you should enable location sharing in your browser:

screenshot_2

If you already click on never share then this feature will not work in your browser.

In that case you can reinstall your browser / reset your browser settings or google for solution like “enable location sharing in google chrome”

DirectAdmin installation guide

1.  Create database

screenshot_8

screenshot_9

Save this DB details

2. Upload script zip file via ftp to your domain public_html directory, rename it to script.zip

Extract this file: autoinstall and upload autoinstall.php also into public_html directory.

Start this autoinstall file directly from browser, link like:

http://your-website-domain.com/autoinstall.php

Of course, change your-website-domain.com with your real domain

After that open http://your-website-domain.com

Now you are ready to install script:

install

Save provided details and open your website:

installed1