Right I have my first fix. I will be editing this post with future changes so you can refer back to it and bookmark it by clicking the post number to the right.
Fix for no markers shown:
Edit:
/includes/functions_vbgooglemapme.php:
Goto line
49 which should start:
PHP Code:
$text_file .= "<marker mapid=\"
Replace that line with:
PHP Code:
$text_file .= "<marker mapid=\"". htmlspecialchars($get_xml_marker["mapid"])."\" title_map=\"".htmlspecialchars($get_xml_marker["title_map"])."\" lng=\"".htmlspecialchars($get_xml_marker["lng"])."\" lat=\"".htmlspecialchars($get_xml_marker["lat"])."\" userid=\"".htmlspecialchars($get_xml_marker["userid"])."\" username=\"".preg_replace("/\n|\r\n|\r/", "",nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["username"])))))."\" text_map=\"".preg_replace("/\n|\r\n|\r/", "", nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["text_map"])))))."\" type=\"".htmlspecialchars($gettype['googlemapmetype'])."\" pimage=\"".htmlspecialchars($pimage)."\" />\n";
/includes/cron/vbgooglemapme_cron.php:
Goto line
58 which should start:
PHP Code:
$text_file .= "<marker mapid=\"
Replace that line with:
PHP Code:
$text_file .= "<marker mapid=\"".htmlspecialchars($get_xml_marker["mapid"])."\" title_map=\"".htmlspecialchars($get_xml_marker["title_map"])."\" lng=\"".htmlspecialchars($get_xml_marker["lng"])."\" lat=\"".htmlspecialchars($get_xml_marker["lat"])."\" userid=\"".htmlspecialchars($get_xml_marker["userid"])."\" username=\"".preg_replace("/\n|\r\n|\r/", "",nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["username"])))))."\" text_map=\"".preg_replace("/\n|\r\n|\r/", "", nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["text_map"])))))."\" type=\"".htmlspecialchars($gettype['googlemapmetype'])."\" pimage=\"".htmlspecialchars($pimage)."\" />\n";
Run the scheduled task and your markers should return.
Basically I have modified the code to replace things like "&" with the xml safe "&" so no matter what anyone enters for the fields the xml should still be safe.
More tweaks to come including integration of the display groups being marker colour.