mail_order korregiert auf mail_orders."; break; case "0.1.5": // SQL queries for v0.1.5 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist."; break; case "0.1.6": // SQL queries for v0.1.6 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist."; break; case "0.1.7": // SQL queries for v0.1.7 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist."; break; case "0.1.8": // SQL queries for v0.1.8 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Problem mit Speicherung der Einstellungen beseitigt."; break; case "0.1.9": // SQL queries for v0.1.9 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Menüpunkte im Gast-/Mitgliedsbereich können nicht mehr aufgerufen werden, wenn die Erweiterung deaktiviert ist."; break; case "0.2.0": // SQL queries for v0.2.0 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Seit Patch 340 überflüssige HTML-Tags entfernt."; break; case "0.2.1": // SQL queries for v0.2.1 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Templates member_frameset-back.tpl und member_frameset-send.tpl nach member_order_back.tpl und member_order_send.tpl umbenannt."; break; case "0.2.2": // SQL queries for v0.2.2 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Es wird nun überprüft ob auch genügend Empfänger eingegeben worden sind und ob auch genügend empfangsbereit sind."; break; case "0.2.3": // SQL queries for v0.2.3 $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD order_min bigint(20) not null default '10'"; // Update notes (these will be set as task text!) $UPDATE_NOTES = "Minimum an Empfänger pro Mailbuchung einstellbar. Standart: 10 Empfänger"; break; case "0.2.4": // SQL queries for v0.2.4 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Anzahl mindestens einszustellende Empfänger wird nun auch angezeigt."; break; case "0.2.5": // SQL queries for v0.2.5 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Speicherung der Einstellungen klappt."; break; case "0.2.6": // SQL queries for v0.2.6 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Fehler in Mailbuchung behoben: Es wurde beim Ermitteln der nötigen {!POINTS!} die maximale Anzahl von Usern in der Kategorie gewählt und nicht die vom Mitglied eingegebene. Resultat: Das Script beschwerte sich, der User hätte nicht genügend {!POINTS!} auf dem Konto. Ein Rechenbeispiel:
  1. Das Mitglied wählt eine Kategorie XYZ mit maximal 15 Empfängern aus.
  2. Es stellt die Mailart "3 {!POINTS!} Kosten / Mail" ein.
  3. Es hat aber nur {!POINTS!} für 10 Empfänger und gibt 10 ein.
  4. Das Script hatte bis zu dieser Version 3 {!POINTS!} * 15 = 45 {!POINTS!} gerechnet, hat das Mitglied mehr oder gleich 45 {!POINTS!}, fiehl dieser Fehler nicht auf.
  5. Hatte es aber, wie hier im Beispiel 31 {!POINTS!}, konnte es nicht mehr buchen.
  6. Jetzt ist der Fehler endlich weg! Machen Sie dies bitte Ihren Mitgliedern bekannt.
"; break; case "0.2.7": // SQL queries for v0.2.7 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Fehler mit __MIN_VALUE behoben."; break; case "0.2.8": // SQL queries for v0.2.8 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Konstantenproblem beseitigt."; break; case "0.2.9": // SQL queries for v0.2.9 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Problem mit nicht funktionierenden Mailbuchungen beseitigt."; break; case "0.3.0": // SQL queries for v0.3.0 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Basis-Modul order.php abgesichert, wenn Erweiterung nicht aktiviert ist."; break; case "0.3.1": // SQL queries for v0.3.1 $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD order_select varchar(255) not null default 'userid'"; $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD order_mode enum('ASC', 'DESC') not null default 'DESC'"; // Update notes (these will be set as task text!) $UPDATE_NOTES = "Beworbene URL wird nun getestet."; break; case "0.3.2": // SQL queries for v0.3.2 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Datumsformat festgelegt auf ausführlich."; break; case "0.3.3": // SQL queries for v0.3.3 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Unter Einstellungen - Mailbuchungsseite war immer die Tabellenspalte Mitgliedsnummer ausgewählt."; break; case "0.3.4": // SQL queries for v0.3.4 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Dateiamenskonflikt zwischen den Erweiterungen support und order behoben."; break; case "0.3.5": // SQL queries for v0.3.5 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Das Mitglied konnte geziehlt die Anzahl Mailbuchungen durch Abspeichern seines Profiles beeinflussen. Der Fehler war eine falsche Tabellenspalte. Dies war max_mails, die durch das Mitglieder veränderbar ist und zur Festellung der Maximalen Mailbuchungen herangezogen wurde."; break; case "0.3.6": // SQL queries for v0.3.6 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Im Modul order (inc/modules/order.php) wurde fehlerhafterweise die Erweiterung beg getestet."; break; case "0.3.7": // SQL queries for v0.3.7 // Update notes (these will be set as task text!) $UPDATE_NOTES = "SQL-Anweisungen mit SQL_QUERY_ESC() abgesichert."; break; case "0.3.8": // SQL queries for v0.3.8 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Mailbuchungsseite korregiert."; break; case "0.3.9": // SQL queries for v0.3.9 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Erneuten Fehler in Mailbuchungsseite behoben."; break; case "0.4.0": // SQL queries for v0.4.0 // Update notes (these will be set as task text!) $UPDATE_NOTES = POINTS."-Abzug klappt wieder. Danke an Andreman!"; break; case "0.4.1": // SQL queries for v0.4.1 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Abspeichern von Einstellungen repariert."; break; case "0.4.2": // SQL queries for v0.4.2 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Vorbereitung auf die neue Mediendaten v0.0.4."; break; case "0.4.3": // SQL queries for v0.4.3 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Neue Urlaubsschaltung mit integriert."; break; case "0.4.4": // SQL queries for v0.4.4 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Ein WHERE ext_active='Y' tauchte bei einigen Betreibern auf und ist mit dieser Version beseitigt."; break; case "0.4.5": // SQL queries for v0.4.5 // Update notes (these will be set as task text!) $UPDATE_NOTES = "De-/Aktivieren des mit dieser Erweiterung verknüpften Modules eingebunden."; break; case "0.4.6": // SQL queries for v0.4.6 $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_member_menu (action, what, title, sort, visible, locked) VALUES ('order', '', 'Mailbuchungen', 3, 'Y', 'N')"; $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_member_menu (action, what, title, sort, visible, locked) VALUES ('order', 'order2', 'Framekiller-Mails', 2, 'Y', 'N')"; $SQLs[] = "UPDATE "._MYSQL_PREFIX."_member_menu SET action='order', sort='1', title='Klick-Mails' WHERE what='order' LIMIT 1"; // Update notes (these will be set as task text!) $UPDATE_NOTES = "Mitgliedsmenü komplett umgebaut."; break; case "0.4.7": // SQL queries for v0.4.7 // Update notes (these will be set as task text!) $UPDATE_NOTES = "Fehlerhinweis bei deaktivierter Erweiterung verbessert."; break; } break; default: // Do stuff when extension is loaded $DUMMY = LOAD_CONFIG("0"); $_CONFIG['order_min'] = $DUMMY['order_min']; // Order at least X mails $_CONFIG['order_max'] = $DUMMY['order_max_full']; // Ordering mode: as much as possible or as much as the user want's to receive $_CONFIG['order_select'] = $DUMMY['order_select']; // Sorting mode for selecting users while looking some up for mail delivery $_CONFIG['order_mode'] = $DUMMY['order_mode']; // Ascending or descending sort order for above unset($DUMMY); // Do daily reset only when installed and extension version is at least 0.1.1 if ((defined('__DAILY_RESET')) && (!mxchange_installing) && (mxchange_installed) && (admin_registered) && (GET_EXT_VERSION("order") >= "0.1.1")) { // Reset mail order values $result_ext = SQL_QUERY("UPDATE "._MYSQL_PREFIX."_user_data SET mail_orders='0' WHERE mail_orders > 0", __FILE__, __LINE__); } break; } // Language file prefix $EXT_LANG_PREFIX = "order"; // Extension is always active? $EXT_ALWAYS_ACTIVE = 'N'; // ?>