The table has a field for Latitude & Longitude. This table seems to be filled with Coordinates at some times and at some times it is not...I just cannot define the logic when it is filled an when not....and when it is, by which subsystem:
CREATE TABLE xxxx_community_events
(
id
int(11) UNSIGNED NOT NULL,
parent
int(11) NOT NULL COMMENT 'parent for recurring event',
catid
int(11) UNSIGNED NOT NULL,
contentid
int(11) UNSIGNED DEFAULT '0' COMMENT '0 - if type == profile, else it hold the group id',
type
varchar(255) NOT NULL DEFAULT 'profile' COMMENT 'profile, group',
title
varchar(255) NOT NULL,
location
text NOT NULL,
summary
text NOT NULL,
unlisted
tinyint(1) NOT NULL,
description
text,
creator
int(11) UNSIGNED NOT NULL,
startdate
datetime NOT NULL,
enddate
datetime NOT NULL,
permission
tinyint(4) UNSIGNED NOT NULL DEFAULT '0' COMMENT '0 - Open (Anyone can mark attendence), 1 - Private (Only invited can mark attendence)',
avatar
varchar(255) DEFAULT NULL,
thumb
varchar(255) DEFAULT NULL,
cover
text NOT NULL,
invitedcount
int(11) UNSIGNED DEFAULT '0',
confirmedcount
int(11) UNSIGNED DEFAULT '0' COMMENT 'treat this as member count as well',
declinedcount
int(11) UNSIGNED DEFAULT '0',
maybecount
int(11) UNSIGNED DEFAULT '0',
wallcount
int(11) UNSIGNED DEFAULT '0',
ticket
int(11) UNSIGNED DEFAULT '0' COMMENT 'Represent how many guest can be joined or invited.',
allowinvite
tinyint(1) UNSIGNED DEFAULT '1' COMMENT '0 - guest member cannot invite thier friends to join. 1 - yes, guest member can invite any of thier friends to join.',
created
datetime DEFAULT NULL,
hits
int(11) UNSIGNED DEFAULT '0',
published
int(11) UNSIGNED DEFAULT '1',
latitude
float(10,6) NOT NULL DEFAULT '255.000000',
longitude
float(10,6) NOT NULL DEFAULT '255.000000',
offset
varchar(5) DEFAULT NULL,
allday
tinyint(11) NOT NULL DEFAULT '0',
repeat
varchar(50) DEFAULT NULL COMMENT 'null,daily,weekly,monthly',
repeatend
date NOT NULL,
storage
varchar(64) NOT NULL DEFAULT 'file',
params
text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;`!<