From e52d0095937c5152a98974d1a7fcc30d36068c08 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Fri, 13 May 2011 00:01:23 +0200 Subject: [PATCH] Updated files for first Beta release Fixed a few small bugs --- contrib/de.xml | 8 ++-- contrib/subsilver2.xml | 8 ++-- .../contrib/de.xml | 12 +++--- .../contrib/modx.prosilver.en.xsl | 0 .../contrib/subsilver2.xml | 12 +++--- .../modx.prosilver.en.xsl | 0 .../update.xml | 8 ++-- install.xml | 42 ++++++++++++++----- root/install/index.php | 1 + root/portal/includes/functions.php | 2 - root/portal/includes/functions_upload.php | 4 +- 11 files changed, 59 insertions(+), 38 deletions(-) rename contrib/{update_106_to_200a2 => update_106_to_200b1}/contrib/de.xml (96%) rename contrib/{update_106_to_200a2 => update_106_to_200b1}/contrib/modx.prosilver.en.xsl (100%) rename contrib/{update_106_to_200a2 => update_106_to_200b1}/contrib/subsilver2.xml (97%) rename contrib/{update_106_to_200a2 => update_106_to_200b1}/modx.prosilver.en.xsl (100%) rename contrib/{update_106_to_200a2 => update_106_to_200b1}/update.xml (98%) diff --git a/contrib/de.xml b/contrib/de.xml index 2288db8d..cf5d985e 100644 --- a/contrib/de.xml +++ b/contrib/de.xml @@ -38,7 +38,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 avaren http://www.board3.de - + @@ -54,7 +54,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 Christian_N http://www.phpbb-projekt.de - + @@ -72,7 +72,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 nickvergessen http://mods.flying-bits.org/ - + @@ -86,7 +86,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 - 2.0.0a2 + 2.0.0b1 easy diff --git a/contrib/subsilver2.xml b/contrib/subsilver2.xml index 935d885d..fc2ca490 100644 --- a/contrib/subsilver2.xml +++ b/contrib/subsilver2.xml @@ -38,7 +38,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 avaren http://www.board3.de - + @@ -54,7 +54,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 Christian_N http://www.phpbb-projekt.de - + @@ -72,7 +72,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 nickvergessen http://mods.flying-bits.org/ - + @@ -86,7 +86,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 - 2.0.0a2 + 2.0.0b1 easy diff --git a/contrib/update_106_to_200a2/contrib/de.xml b/contrib/update_106_to_200b1/contrib/de.xml similarity index 96% rename from contrib/update_106_to_200a2/contrib/de.xml rename to contrib/update_106_to_200b1/contrib/de.xml index f8d35a71..0cfcfd4a 100644 --- a/contrib/update_106_to_200a2/contrib/de.xml +++ b/contrib/update_106_to_200b1/contrib/de.xml @@ -6,8 +6,8 @@
http://opensource.org/licenses/gpl-license.php GNU General Public License v2 - board3 Portal - German Language Update for 2.0.0a2 - board3 Portal - Deutsche Sprache Aktualisiering für 2.0.0a2 + board3 Portal - German Language Update for 2.0.0b1 + board3 Portal - Deutsche Sprache Aktualisiering für 2.0.0b1 Adds a portal to your forum. It has several boxes wich can be turned on an off in the ACP and certain settings. @@ -38,7 +38,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 avaren http://www.board3.de - + @@ -54,7 +54,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 Christian_N http://www.phpbb-projekt.de - + @@ -72,7 +72,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 nickvergessen http://mods.flying-bits.org/ - + @@ -86,7 +86,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 - 2.0.0a2 + 2.0.0b1 easy diff --git a/contrib/update_106_to_200a2/contrib/modx.prosilver.en.xsl b/contrib/update_106_to_200b1/contrib/modx.prosilver.en.xsl similarity index 100% rename from contrib/update_106_to_200a2/contrib/modx.prosilver.en.xsl rename to contrib/update_106_to_200b1/contrib/modx.prosilver.en.xsl diff --git a/contrib/update_106_to_200a2/contrib/subsilver2.xml b/contrib/update_106_to_200b1/contrib/subsilver2.xml similarity index 97% rename from contrib/update_106_to_200a2/contrib/subsilver2.xml rename to contrib/update_106_to_200b1/contrib/subsilver2.xml index 9bfdff22..f095e831 100644 --- a/contrib/update_106_to_200a2/contrib/subsilver2.xml +++ b/contrib/update_106_to_200b1/contrib/subsilver2.xml @@ -6,8 +6,8 @@
http://opensource.org/licenses/gpl-license.php GNU General Public License v2 - board3 Portal - Update subsilver2 style for 2.0.0a2 - board3 Portal - Aktualisiere das subsilver2 style für 2.0.0a2 + board3 Portal - Update subsilver2 style for 2.0.0b1 + board3 Portal - Aktualisiere das subsilver2 style für 2.0.0b1 Adds a portal to your forum. It has several boxes wich can be turned on an off in the ACP and certain settings. @@ -38,7 +38,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 avaren http://www.board3.de - + @@ -54,7 +54,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 Christian_N http://www.phpbb-projekt.de - + @@ -72,7 +72,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 nickvergessen http://mods.flying-bits.org/ - + @@ -86,7 +86,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 - 2.0.0a2 + 2.0.0b1 easy diff --git a/contrib/update_106_to_200a2/modx.prosilver.en.xsl b/contrib/update_106_to_200b1/modx.prosilver.en.xsl similarity index 100% rename from contrib/update_106_to_200a2/modx.prosilver.en.xsl rename to contrib/update_106_to_200b1/modx.prosilver.en.xsl diff --git a/contrib/update_106_to_200a2/update.xml b/contrib/update_106_to_200b1/update.xml similarity index 98% rename from contrib/update_106_to_200a2/update.xml rename to contrib/update_106_to_200b1/update.xml index 61ed7797..c6def83b 100644 --- a/contrib/update_106_to_200a2/update.xml +++ b/contrib/update_106_to_200b1/update.xml @@ -38,7 +38,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 avaren http://www.board3.de - + @@ -54,7 +54,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 Christian_N http://www.phpbb-projekt.de - + @@ -72,7 +72,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 nickvergessen http://mods.flying-bits.org/ - + @@ -86,7 +86,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3 - 2.0.0a2 + 2.0.0b1 easy diff --git a/install.xml b/install.xml index 071f9be9..bea71fc3 100644 --- a/install.xml +++ b/install.xml @@ -6,8 +6,8 @@
http://opensource.org/licenses/gpl-license.php GNU General Public License v2 - board3 Portal 2.0.0 - Alpha 1 - board3 Portal 2.0.0 - Alpha 1 + board3 Portal 2.0.0 - Beta 1 + board3 Portal 2.0.0 - Beta 1 Adds a portal with several blocks to your forum. You can change the settings, move the blocks, add new blocks and more in the ACP. @@ -38,7 +38,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar avaren http://www.board3.de - + @@ -54,7 +54,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar Christian_N http://www.phpbb-projekt.de - + @@ -72,7 +72,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar nickvergessen http://mods.flying-bits.org/ - + @@ -86,7 +86,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar - 2.0.0a2 + 2.0.0b1 easy @@ -101,13 +101,13 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar Anleitung für das deutsche Sprachpaket Manual for subsilver2 Anleitung für subsilver2 - Manual for Updating B3P 1.0.6 to 2.0.0a2 - Anleitung für das Aktualisieren von B3P 1.0.6 zu 2.0.0a2 + Manual for Updating B3P 1.0.6 to 2.0.0b1 + Anleitung für das Aktualisieren von B3P 1.0.6 zu 2.0.0b1 - 2011-04-04 - 2.0.0a2 + 2011-05-17 + 2.0.0b1 Added missing IF $S_BLOCK_ICON Fixed select for displaying events @@ -123,6 +123,17 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar Added missing HTML file for center block of attachments module Fixed missing check for correct column when moving a module left or right Added possibility to add forumlist to top and bottom column + Corrected language var for module image as suggested by archivar + Moved link constants into module files + Remove php closing tag + Rewrote basic uploader for module zips + Modified class files for PHP5 -- PHP5 is now a requirement + Added check to prevent adding a module more than once + Added feature to hide portal name on acp configuration page for all modules (was only for latest bots module) + Added adm folder to allowed upload folders + Replace chmod with phpbb_chmod in uploader where needed + Added feature to open external links in a new window + Merged nickvergessen's phpbb3-tools-trim-message replacing old get_sub_taged_string function Fehlendes IF $S_BLOCK_ICON hinzugefügt @@ -139,6 +150,17 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar Fehlende HTML Datei des Dateianhänge Moduls für die mittlere Spalte hinzugefügt Fehlende Überprüfung auf richtige Spalte beim Verschieben der Module Möglichkeit hinzugefügt die Forenliste in die obere und untere Modulezeile hinzuzufügen + Sprachvariable für Modulbild, wie von archivar vorgeschlagen, abgeändert + Link Konstanten in Module verschoben + Schließenden Tag von PHP Dateien entfernt + Hochlade-Module für Modul Zips komplett neu geschrieben + Klassen Dateien für PHP5 modifiziert -- PHP5 ist jetzt eine Vorraussetzung + Überprüfung hinzugefügt, damit ein Modul nicht mehrmals hinzugefügt werden kann + Möglichkeits hinzugefügt den Modultitel auf der Konfigurationsseite im ACP zu verstecken + adm Ordner zu erlaubten upload Ordnern hinzugefügt + chmod mit phpbb_chmod ersetzt in Upload Modul + Möglichkeit externe Links in einem neuen Fenster zu öffnen hinzugefügt + nickvergessen's phpbb3-tools-trim-message hinzugefügt - ersetzt die alte Funktion get_sub_taged_string() diff --git a/root/install/index.php b/root/install/index.php index 4158399e..e0aac501 100644 --- a/root/install/index.php +++ b/root/install/index.php @@ -353,6 +353,7 @@ $versions = array( array(PORTAL_MODULES_TABLE, 'module_status', array('TINT:1', 1)), ), ), + '2.0.0b1' => array(), ); // Include the UMIL Auto file, it handles the rest diff --git a/root/portal/includes/functions.php b/root/portal/includes/functions.php index bdbcda7a..dc7f102e 100644 --- a/root/portal/includes/functions.php +++ b/root/portal/includes/functions.php @@ -581,8 +581,6 @@ function get_portal_tracking_info($fetch_news) { global $config, $user; - $time1 = microtime(); - $last_read = $topic_ids = $forum_ids = $tracking_info = array(); /** diff --git a/root/portal/includes/functions_upload.php b/root/portal/includes/functions_upload.php index 9ad1f43b..9205b63f 100644 --- a/root/portal/includes/functions_upload.php +++ b/root/portal/includes/functions_upload.php @@ -104,7 +104,7 @@ class portal_upload // Now we need to get the files inside the folders //$folder_contents = $this->cut_folder(scandir($mod_dir)); - $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($mod_dir)); // requires PHP >= 5.1.0 + $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($mod_dir)); // requires PHP 5 foreach($iterator as $cur_file) { @@ -114,7 +114,7 @@ class portal_upload $cut_pos = strpos($cur_path, '/'); // Only allow files in adm, language, portal and styles folder - if(!in_array(substr($cur_path, 0, $cut_pos), array('adm', 'language', 'portal', 'styles'))) + if(!in_array(substr($cur_path, 0, $cut_pos), array('adm', 'language', 'portal', 'styles')) && $cur_file->getFilename() != 'license.txt') { $file->remove(); $this->directory_delete($mod_dir);