Contributions
Google Map
In einer eingebetteten Google-Map werden alle Versandadressen markiert: die
klassische Karte im Büro des Managers: Wohin wir überall in der Welt Ge-
schäftskontakte unterhalten.
In Abhängigkeit eines konfigurierbaren Wertes können Aufträge je nach
Warenwert farbig unterschieden werden. Per Klick auf den Marker öffnet
sich ein Infofenster, über welches dann der Auftrag in einem separaten
Fenster öffnen läßt.
Die Karte ist im Administrationsfenster im Bereich "Berichte" zu finden.
Screenshot: http://www.obd2-shop.eu/pub/preview.jpg
Diskussionsforum: http://forums.oscommerce.de/index.php?showtopic=55885
Expand All / Collapse All
This pack includes all.
How to install, Preview, files, languages, etc...
Improvements:
short links from orders.php
Show by status
More info in ballons, etc.
Bacause the processing with this file always get a timeout on my server, I have changed a little to the sql query only to ask for the unprocessed entries from the table orders. So you can start this script again and again to continue processing.
This GZIP-file only contain the file orders_to_latlng.php.
Update with English Translation.........
UPDATE FULL PACK with english translation..........
The package with a dutch translation and some corrections in the original installation text. Also a .sql file is made for the changes in the database. All files are placed in /catalog.
Changes in report.php:
Change :
'<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a>');
in :
'<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a><br>'.
'<a href="' . tep_href_link(FILENAME_REPORTS_GOOGLEMAP, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_GOOGLEMAP . '</a>');
In der Installationsbeschreibung findet man nicht wie und wo man den Eintrag in der Datei für die Box macht...
Es fehlt der Eintrag:
tep_admin_files_boxes(FILENAME_REPORTS_GOOGLEMAP, BOX_REPORTS_GOOGLEMAP) .
in der reports.php
sonst wird der Link im Adminbereich nie erscheinen....
no File!
Sometimes fopen is not allowed on servers, you can try this instead:
$url = str_replace (" ", "%20", $url); // Leerzeichen -> %20
//BEGIN MOD
$temp="";
$a_url = parse_url($url);
$url2 = "";
if (!empty($a_url['path'])) {
$url2.=$a_url['path'];
}
if (!empty($a_url['query'])) {
$url2.="?".$a_url['query'];
}
$fp = fsockopen($a_url['host'], !isset($a_url['port']) ? 80 : $a_url['port'], $temp, $temp, 5);
if (!$fp) {
echo "ERROR"; // oder andere Ausgabe !!
} else {
fputs($fp, 'GET ' . $url2 . " HTTP/1.0rnHost: " . $a_url['host'] . "rnrn");
do {
$line = chop(fgets($fp));
} while (!empty($line) and !feof($fp));
while (!feof($fp)) {
$content = fgets($fp);
}
}
fclose($fp);
//END MOD
list($statuscode, $accuracy, $lat, $lng) = split(",", $content);
No files attached
I gave it a try and translated the installation instructions
Hi, anybody can translate this contribution into english ?
Thanks
NO file attached
kleiner Fehler in der Reihenfolge korrigiert
In einer eingebetteten Google-Map werden alle Versandadressen markiert: die
klassische Karte im Büro des Managers: Wohin wir überall in der Welt Ge-
schäftskontakte unterhalten.
In Abhängigkeit eines konfigurierbaren Wertes können Aufträge je nach
Warenwert farbig unterschieden werden. Per Klick auf den Marker öffnet
sich ein Infofenster, über welches dann der Auftrag in einem separaten
Fenster öffnen läßt.
Die Karte ist im Administrationsfenster im Bereich "Berichte" zu finden.
Screenshot: http://www.obd2-shop.eu/pub/preview.jpg
Diskussionsforum: http://forums.oscommerce.de/index.php?showtopic=55885
Note: Contributions are used at own risk.