Added changes to constants.php / added ACP modules, etc
This commit is contained in:
294
contrib/update_board3portal_103.xml
Normal file
294
contrib/update_board3portal_103.xml
Normal file
@@ -0,0 +1,294 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||||
|
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
||||||
|
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
||||||
|
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.1.xsd">
|
||||||
|
<header>
|
||||||
|
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
||||||
|
<title lang="en-gb">board3 Portal - Update from version 1.0.0RC3</title>
|
||||||
|
<title lang="de">board3 Portal - Update von Version 1.0.0RC3</title>
|
||||||
|
<description lang="en-gb">Adds a portal to your forum.
|
||||||
|
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
||||||
|
|
||||||
|
Included language files:
|
||||||
|
» English (en)
|
||||||
|
» German (de)
|
||||||
|
|
||||||
|
More langages can be found in our International forums: http://www.board3.de/viewforum.php?f=13
|
||||||
|
|
||||||
|
</description>
|
||||||
|
<description lang="de">Fügt ein Portal deinem Forum hinzu.
|
||||||
|
Es hat diverse Boxen, die über das ACP an- / abgeschaltet und eingestellt werden können.
|
||||||
|
|
||||||
|
Dieses Portal basiert auf dem phpBB3 Portal a.k.a canverPortal ( www.phpbb3portal.com )
|
||||||
|
</description>
|
||||||
|
<author-notes lang="en-gb">i hope you get everything working. Further developement, new boxes for the portal or questions are welcome at www.board3.de</author-notes>
|
||||||
|
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.</author-notes>
|
||||||
|
<author-group>
|
||||||
|
<author>
|
||||||
|
<realname>Ice</realname>
|
||||||
|
<email></email>
|
||||||
|
<username>avaren</username>
|
||||||
|
<homepage>http://www.board3.de</homepage>
|
||||||
|
<contributions />
|
||||||
|
</author>
|
||||||
|
<author>
|
||||||
|
<realname>Kevin</realname>
|
||||||
|
<email></email>
|
||||||
|
<username>saint_hh</username>
|
||||||
|
<homepage>http://www.board3.de</homepage>
|
||||||
|
<contributions />
|
||||||
|
</author>
|
||||||
|
<author>
|
||||||
|
<realname>(N/A)</realname>
|
||||||
|
<email>nickvergessen@gmx.de</email>
|
||||||
|
<username>nickvergessen</username>
|
||||||
|
<homepage>http://mods.flying-bits.org/</homepage>
|
||||||
|
<contributions />
|
||||||
|
</author>
|
||||||
|
<author>
|
||||||
|
<realname>Walter</realname>
|
||||||
|
<email>w.bobeth@digitalfotografie-foren.de</email>
|
||||||
|
<username>Redbull254</username>
|
||||||
|
<homepage>http://www.digitalfotografie-foren.de</homepage>
|
||||||
|
<contributions />
|
||||||
|
</author>
|
||||||
|
<author>
|
||||||
|
<realname>Christian</realname>
|
||||||
|
<email></email>
|
||||||
|
<username>Christian_N</username>
|
||||||
|
<homepage>http://www.phpbb-projekt.de</homepage>
|
||||||
|
<contributions />
|
||||||
|
</author>
|
||||||
|
</author-group>
|
||||||
|
<mod-version>1.0.2</mod-version>
|
||||||
|
<installation>
|
||||||
|
<level>easy</level>
|
||||||
|
<time>300</time>
|
||||||
|
<target-version>3.0.2</target-version>
|
||||||
|
</installation>
|
||||||
|
<link-group>
|
||||||
|
<link type="dependency" lang="en-gb" href="http://www.phpbb.com/community/viewtopic.php?f=69&t=691155">Board3 Portal supports MOD Version Check. To use this feature, this mod has to be installed.</link>
|
||||||
|
<link type="dependency" lang="de" href="http://www.phpbb.com/community/viewtopic.php?f=69&t=691155">Board3 Portal unterstützt MOD Version Check. Um dieses Feature zu nutzen, muss dieser Mod installiert sein.</link>
|
||||||
|
<link type="template" lang="de" href="../xml/subsilver2.xml">subsilver2</link>
|
||||||
|
<link type="template" lang="en-gb" href="../xml/subsilver2.xml">subsilver2</link>
|
||||||
|
<link type="language" lang="de" href="../xml/de.xml">Deutsch</link>
|
||||||
|
<link type="contrib" lang="en" href="update_board3portal_101.xml">Update instructions for Board3 Portal Version 1.0.1</link>
|
||||||
|
<link type="contrib" lang="de" href="update_board3portal_101.xml">Updateanleitung für Board3 Portal Version 1.0.1</link>
|
||||||
|
<link type="contrib" lang="en" href="update_board3portal_100.xml">Update instructions for Board3 Portal Version 1.0.0</link>
|
||||||
|
<link type="contrib" lang="de" href="update_board3portal_100.xml">Updateanleitung für Board3 Portal Version 1.0.0</link>
|
||||||
|
<link type="contrib" lang="en" href="update_board3portal_100rc3.xml">Update instructions for Board3 Portal Version 1.0.0RC3</link>
|
||||||
|
<link type="contrib" lang="de" href="update_board3portal_100rc3.xml">Updateanleitung für Board3 Portal Version 1.0.0RC3</link>
|
||||||
|
<link type="contrib" lang="en" href="update_board3portal_100rc2.xml">Update instructions for Board3 Portal Version 1.0.0RC2</link>
|
||||||
|
<link type="contrib" lang="de" href="update_board3portal_100rc2.xml">Updateanleitung für Board3 Portal Version 1.0.0RC2</link>
|
||||||
|
<link type="contrib" lang="en" href="update_board3portal_100rc1.xml">Update instructions for Board3 Portal Version 1.0.0RC1</link>
|
||||||
|
<link type="contrib" lang="de" href="update_board3portal_100rc1.xml">Updateanleitung für Board3 Portal Version 1.0.0RC1</link>
|
||||||
|
<link type="contrib" lang="en" href="update_board3portal_021.xml">Update instructions for Board3 Portal Version 0.2.1</link>
|
||||||
|
<link type="contrib" lang="de" href="update_board3portal_021.xml">Updateanleitung für Board3 Portal Version 0.2.1</link>
|
||||||
|
<link type="contrib" lang="en" href="update_board3portal_020.xml">Update instructions for Board3 Portal Version 0.2.0</link>
|
||||||
|
<link type="contrib" lang="de" href="update_board3portal_020.xml">Updateanleitung für Board3 Portal Version 0.2.0</link>
|
||||||
|
<link type="contrib" lang="en" href="update_board3portal_010.xml">Update instructions for Board3 Portal Version 0.1.0</link>
|
||||||
|
<link type="contrib" lang="de" href="update_board3portal_010.xml">Updateanleitung für Board3 Portal Version 0.1.0</link>
|
||||||
|
<link type="contrib" lang="en" href="update_phpbb3portal_122.xml">Update instructions for phpBB3 Portal Version 1.2.2</link>
|
||||||
|
<link type="contrib" lang="de" href="update_phpbb3portal_122.xml">Updateanleitung für phpBB3 Portal Version 1.2.2</link>
|
||||||
|
<link type="contrib" lang="en" href="update_phpbb3portal_110b.xml">Update instructions for phpBB3 Portal Version 1.1.0b</link>
|
||||||
|
<link type="contrib" lang="de" href="update_phpbb3portal_110b.xml">Updateanleitung für phpBB3 Portal Version 1.1.0b</link>
|
||||||
|
<link type="language" lang="en" href="../xml/de.xml">German</link>
|
||||||
|
<link type="parent" lang="de" href="../install.xml">Installations-Anleitung</link>
|
||||||
|
<link type="parent" lang="en" href="../install.xml">Install instructions</link>
|
||||||
|
</link-group>
|
||||||
|
<history>
|
||||||
|
<entry>
|
||||||
|
<date>2008-09-27</date>
|
||||||
|
<rev-version>1.0.2</rev-version>
|
||||||
|
<changelog lang="en-GB">
|
||||||
|
<change>Release of version 1.0.2. (Cleanup)</change>
|
||||||
|
<change>ModX 1.2.1</change>
|
||||||
|
<change>Some tiny fixes</change>
|
||||||
|
</changelog>
|
||||||
|
<changelog lang="de">
|
||||||
|
<change>Release der Version 1.0.2. (aufräumen)</change>
|
||||||
|
<change>ModX 1.2.1</change>
|
||||||
|
<change>Ein paar kleine Fixe</change>
|
||||||
|
</changelog>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<date>2008-09-09</date>
|
||||||
|
<rev-version>1.0.1</rev-version>
|
||||||
|
<changelog lang="en-GB">
|
||||||
|
<change>Release of version 1.0.1.</change>
|
||||||
|
</changelog>
|
||||||
|
<changelog lang="de">
|
||||||
|
<change>Release der Version 1.0.1.</change>
|
||||||
|
</changelog>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<date>2008-09-08</date>
|
||||||
|
<rev-version>1.0.0</rev-version>
|
||||||
|
<changelog lang="en-GB">
|
||||||
|
<change>Release of version 1.</change>
|
||||||
|
</changelog>
|
||||||
|
<changelog lang="de">
|
||||||
|
<change>Release der Version 1.</change>
|
||||||
|
</changelog>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<date>2008-08-31</date>
|
||||||
|
<rev-version>1.0.0RC3</rev-version>
|
||||||
|
<changelog lang="en-GB">
|
||||||
|
<change>Added switch to choose if "views" and "replies" should be diplayed in extra colums. To solve problems of distroyed layouts in compact view of news and announcements. e.g. with thin styles.</change>
|
||||||
|
<change>subsilver2 style rework</change>
|
||||||
|
<change>Bugfixes, view: http://www.board3.de/bugtracker/viewcat.php?c=9</change>
|
||||||
|
</changelog>
|
||||||
|
<changelog lang="de">
|
||||||
|
<change>Spalten "Antworten" und "Zugriffe" können nun bei der kompakten Ansicht der aktuellen Beiträge / Bekanntmachungen ausgeblendet werden, um Probleme mit dem Layout bei z.B. schmalen Styles zu beheben.</change>
|
||||||
|
<change>subsilver2 wurde überarbeitet</change>
|
||||||
|
<change>Bugfixes, siehe: http://www.board3.de/bugtracker/viewcat.php?c=9</change>
|
||||||
|
</changelog>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<date>2008-08-20</date>
|
||||||
|
<rev-version>1.0.0RC2</rev-version>
|
||||||
|
<changelog lang="en-GB">
|
||||||
|
<change>Added new style / own CSS for easier style adaption - provided by Graphic Corner / Pfoti: www.graphic-corner.ch</change>
|
||||||
|
<change>Normal and inline attachments are displayed properly now in news / announcements text view. (Thanks to connect for the inline attachments solution)</change>
|
||||||
|
<change>Rework of the compact view of news / announcements. Topic folders and icons are now displayed. Complete style rework.</change>
|
||||||
|
<change>#unread link for news / announcements. (Thanks to Mike, for pushing us in the right direction)</change>
|
||||||
|
<change>Team bloc: possibillity to let non-system groups display</change>
|
||||||
|
<change>Support for handymans MOD Version Check. To use this feature, this mod has to be installed.</change>
|
||||||
|
<change>Update to ModX 1.2.0 - package structure adapted</change>
|
||||||
|
<change>Language files rework</change>
|
||||||
|
<change>PayPal block rework. All supported currencies can be chosen with a drop-down button. The amount to donate can be typed in.</change>
|
||||||
|
<change>Bugfixes, view: http://www.board3.de/bugtracker/viewcat.php?c=8</change>
|
||||||
|
</changelog>
|
||||||
|
<changelog lang="de">
|
||||||
|
<change>Neuer Style mit eigener CSS, zur einfacheren Anpassbarkeit an andere Styles - erstellt von Graphic Corner / Pfoti: www.graphic-corner.ch</change>
|
||||||
|
<change>Normale und inline Dateianhänge werden nun in der aktuellen Beiträge / Bekanntmachungen Text-Ansicht richtig angezeigt. (Danke an connect für die inline attachments Lösung)</change>
|
||||||
|
<change>Die kompakte Ansicht der aktuellen Beiträge / Bekanntmachungen wurde komplett überarbeitet. "Topic Folders" und Themen Symbole werden nun angezeigt. Der Style wurde komplett überarbeitet.</change>
|
||||||
|
<change>#unread Links für aktuelle Beiträge / Bekanntmachungen. (Danke an Mike, der uns in die richtige Richtung geschubst hat ;)</change>
|
||||||
|
<change>Team block: auch nicht-system Gruppen können nun angezeigt werden</change>
|
||||||
|
<change>Handymans MOD Version Check wird nun unterstützt. Um den Update Check zu nutzen, muss dieser Mod installiert sein.</change>
|
||||||
|
<change>Update auf ModX 1.2.0 - Packet Struktur angepasst.</change>
|
||||||
|
<change>Sprachdateien wurden überarbeitet. (Danke an Thomas.d)</change>
|
||||||
|
<change>PayPal überarbeitet. Alle von PayPal unterstützen Währungen können nun über einen Drop-Down-Button ausgewählt werden. Die zu spendende Summe kann man nun selbst eintippen.</change>
|
||||||
|
<change>Bugfixes, siehe: http://www.board3.de/bugtracker/viewcat.php?c=8</change>
|
||||||
|
</changelog>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<date>2008-05-03</date>
|
||||||
|
<rev-version>1.0.0RC1</rev-version>
|
||||||
|
<changelog lang="en-GB">
|
||||||
|
<change>Many bugfixes, view: http://www.board3.de/bugtracker/viewcat.php?c=6</change>
|
||||||
|
<change>Adaptions to phpBB 3.0.1</change>
|
||||||
|
<change>The link block can be edited in the ACP: add, delete links and order position</change>
|
||||||
|
<change>BBCode is now allowed in welcome message</change>
|
||||||
|
<change>Two custom blocks added, which can be filled with BBCode or HTML in the ACP. To use with ads, videos, images, whatever.</change>
|
||||||
|
<change>Complete rework of the News / Announcements. Implemented a achive system and pagnition. You can choose if you want to have the first or the newest post displayed in news.</change>
|
||||||
|
<change>Full MSSQL support</change>
|
||||||
|
<change>Forum list on the portal added</change>
|
||||||
|
<change>Show "Portal page" in "who is online"</change>
|
||||||
|
<change>Option to disable user permission check for News / Announcements</change>
|
||||||
|
<change>Style changer added</change>
|
||||||
|
<change>Attachment block: display attachments from one or more specific forums + attachments permission check added</change>
|
||||||
|
</changelog>
|
||||||
|
<changelog lang="de">
|
||||||
|
<change>Viele bugfixes, siehe: http://www.board3.de/bugtracker/viewcat.php?c=6</change>
|
||||||
|
<change>An phpBB 3.0.1 angepasst</change>
|
||||||
|
<change>Der Link Block kann nun über das ACP verwaltet werden: erstellen, löschen und positionieren von Links</change>
|
||||||
|
<change>Es kann nun BBCode in der Willkommens Nachricht benutzt werden</change>
|
||||||
|
<change>Zwei anpassbare Blöcke hinzu gefügt, die im ACP mit BBCode oder HTML gefüllt werden könen. Für Werbung, Videos, Bilder, was auch immer.</change>
|
||||||
|
<change>Aktuelle Beiträge und Bekanntmachungen wurden komplett überarbeitet. Es wurde ein Archivsystem und die Anzeige von Seitenzahlen hinzu gefügt. Zusätzlich kann man nun wählen ob man der Ersten oder Neuesten Beitrag bei den aktuellen Beiträgen angezeigt bekommen möchte.</change>
|
||||||
|
<change>MSSQL Unterstützung</change>
|
||||||
|
<change>Forum Liste auf dem Portal hinzugefügt</change>
|
||||||
|
<change>Anzeige "Betrachtet das Portal" in "Wer ist online?"</change>
|
||||||
|
<change>Option die Berechtigungsprüfung für aktuelle Beiträge / Bekanntmachungen ab zu stellen</change>
|
||||||
|
<change>"Mein Board-Style" hinzugefügt</change>
|
||||||
|
<change>Dateianhänge: Anhänge aus einem oder mehreren bestimmten Foren anzeigen lassen + Berechtigungsprüfung hinzugefügt.</change>
|
||||||
|
</changelog>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<date>2008-02-03</date>
|
||||||
|
<rev-version>0.2.1</rev-version>
|
||||||
|
<changelog lang="en-GB">
|
||||||
|
<change>Fixed a news/announcements permissions bug</change>
|
||||||
|
<change>Fixed a bug when no news posts were viewable due to account permissions</change>
|
||||||
|
<change>Fixed a bug in announcements/news/polls due to shadow topics left after a topic is moved</change>
|
||||||
|
<change>No longer required to be a founder to update/install, just an admin with "board" permissions</change>
|
||||||
|
</changelog>
|
||||||
|
<changelog lang="de">
|
||||||
|
<change>Fehler in der Berechtigungserkennung bei den aktuellen Beiträgen / Bekanntmachungen gefixt</change>
|
||||||
|
<change>Fehler bei den aktuellen Beiträgen / Bekanntmachungen / Abstimmungen gefixt</change>
|
||||||
|
<change>Man braucht nun nicht mehr als Gründer angemeldet zu sein</change>
|
||||||
|
</changelog>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<date>2008-02-03</date>
|
||||||
|
<rev-version>0.2.0</rev-version>
|
||||||
|
<changelog lang="en-GB">
|
||||||
|
<change>added subsilver2 templates (valid XHTML 1.0 Strict)</change>
|
||||||
|
<change>added upcoming birthdays, configurable in ACP / thanks to Kendoo</change>
|
||||||
|
<change>complete rewrite of the poll system - checking user permissions, multible polls and more</change>
|
||||||
|
<change>added forum names with link in news and announcements boxes</change>
|
||||||
|
<change>added portal log messages in the ACP</change>
|
||||||
|
<change>fixed several bugs: http://www.board3.de/bugtracker/viewcat.php?c=1</change>
|
||||||
|
<change>updated the MySQL installer</change>
|
||||||
|
</changelog>
|
||||||
|
<changelog lang="de">
|
||||||
|
<change>subsilver2 Templates hinzugefügt (valid XHTML 1.0 Strict)</change>
|
||||||
|
<change>Kommende Geburtstage, konfigurierbar im ACP / vielen Dank an Kendoo</change>
|
||||||
|
<change>Die Umfragen wurden komplett überarbeitet - Benutzer Berechtigungen werden geprüft, mehrere Abstimmungen sind möglich und mehr</change>
|
||||||
|
<change>Foren Namen mit Link in die aktuellen Beiträge und Bekanntmachungen hinzugefügt</change>
|
||||||
|
<change>Portal Log Meldungen im ACP hinzugefügt</change>
|
||||||
|
<change>Diverse Bugs gefixt: http://www.board3.de/bugtracker/viewcat.php?c=1</change>
|
||||||
|
<change>Der MySQL Installer wurde überarbeitet</change>
|
||||||
|
</changelog>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<date>2008-01-15</date>
|
||||||
|
<rev-version>0.1.0</rev-version>
|
||||||
|
<changelog lang="en-GB">
|
||||||
|
<change>Changes from "phpBB3 Portal 1.1.0Beta" to "board3 Portal - based on phpBB3 Portal Version 1.0.0":</change>
|
||||||
|
<change>completet all missing ACP Control for several boxes</change>
|
||||||
|
<change>valid XHTML 1.0 Strict template</change>
|
||||||
|
<change>fixed several bugs</change>
|
||||||
|
<change>added several language variables</change>
|
||||||
|
<change>changed the language file path to /en/mods/</change>
|
||||||
|
<change>updated the install instructions</change>
|
||||||
|
<change>updated the MySQL installer</change>
|
||||||
|
</changelog>
|
||||||
|
<changelog lang="de">
|
||||||
|
<change>Änderungen von "phpBB3 Portal 1.1.0Beta" zu "board3 Portal - based on phpBB3 Portal Version 1.0.0":</change>
|
||||||
|
<change>Die ACP Verwaltung für diverse Boxen komplettiert</change>
|
||||||
|
<change>valid XHTML 1.0 Strict Template</change>
|
||||||
|
<change>Diverse Bugs gefixt</change>
|
||||||
|
<change>Diverse Sprachvariablen hinzugefügt</change>
|
||||||
|
<change>Pfad für die Sprachdateien ins Mod System integriert</change>
|
||||||
|
<change>Die Installationanweisungen komplett überarbeitet</change>
|
||||||
|
<change>Den MySQL Installer komplett überarbeitet</change>
|
||||||
|
</changelog>
|
||||||
|
</entry>
|
||||||
|
</history>
|
||||||
|
<meta name="generator" content="Phpbb.ModTeam.Tools (c#)" />
|
||||||
|
</header>
|
||||||
|
<action-group>
|
||||||
|
<copy>
|
||||||
|
<file from="root/install_portal/*.*" to="install_portal/*.*" />
|
||||||
|
<file from="root/install_portal/schemas/*.*" to="install_portal/schemas/*.*" />
|
||||||
|
<file from="root/language/en/mods/lang_portal_acp.php" to="language/en/mods/lang_portal_acp.php" />
|
||||||
|
<file from="root/portal/block/announcements.php" to="portal/block/announcements.php" />
|
||||||
|
<file from="root/portal/block/news.php" to="portal/block/news.php" />
|
||||||
|
<file from="root/portal/includes/functions.php" to="portal/includes/functions.php" />
|
||||||
|
<file from="root/styles/prosilver/template/portal/block/search.html" to="styles/prosilver/template/portal/block/search.html" />
|
||||||
|
<file from="root/styles/prosilver/theme/portal.css" to="styles/prosilver/theme/portal.css" />
|
||||||
|
</copy>
|
||||||
|
<open src="includes/constants.php">
|
||||||
|
<edit>
|
||||||
|
<find><![CDATA[define('PORTAL_CONFIG_TABLE', $table_prefix . 'portal_config');]]></find>
|
||||||
|
<action type="after-add"><![CDATA[define('PORTAL_BLOCKS_TABLE', $table_prefix . 'portal_blocks');]]></action>
|
||||||
|
</edit>
|
||||||
|
</open>
|
||||||
|
<diy-instructions lang="en-gb">Browse to install_portal/install.php and run the installer, after successfull installation delete the installer.
|
||||||
|
subsilver2 user: please replace the root/styles/subsilver2/template/portal/block/announcements_compact.html file with the one from this package</diy-instructions>
|
||||||
|
<diy-instructions lang="de">install_portal/install.php aufrufen und ausführen, nach erfolgreicher Installation löschen
|
||||||
|
subsilver2 User: bitte ersetze die root/styles/subsilver2/template/portal/block/announcements_compact.html Datei mit der aus diesem Paket</diy-instructions>
|
||||||
|
</action-group>
|
||||||
|
</mod>
|
||||||
@@ -316,7 +316,9 @@ Deny from All
|
|||||||
<open src="includes/constants.php">
|
<open src="includes/constants.php">
|
||||||
<edit>
|
<edit>
|
||||||
<find><![CDATA[// Additional tables]]></find>
|
<find><![CDATA[// Additional tables]]></find>
|
||||||
<action type="after-add"><![CDATA[define('PORTAL_CONFIG_TABLE', $table_prefix . 'portal_config');]]></action>
|
<action type="after-add"><![CDATA[// Board3 Portal
|
||||||
|
define('PORTAL_CONFIG_TABLE', $table_prefix . 'portal_config');
|
||||||
|
define('PORTAL_BLOCKS_TABLE', $table_prefix . 'portal_blocks');]]></action>
|
||||||
</edit>
|
</edit>
|
||||||
</open>
|
</open>
|
||||||
<open src="includes/functions.php">
|
<open src="includes/functions.php">
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class acp_pallet
|
|||||||
|
|
||||||
define('IN_PALLET_ACP', true);
|
define('IN_PALLET_ACP', true);
|
||||||
|
|
||||||
$block_sql = 'SELECT * FROM phpbb_portal_blocks ORDER BY block_position ASC , block_order ASC';
|
$block_sql = 'SELECT * FROM ' . PORTAL_BLOCKS_TABLE . ' ORDER BY block_position ASC , block_order ASC';
|
||||||
$block_result = $db->sql_query($block_sql);
|
$block_result = $db->sql_query($block_sql);
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
@@ -141,7 +141,7 @@ class acp_pallet
|
|||||||
$template->assign_block_vars('table_row', $table_row);
|
$template->assign_block_vars('table_row', $table_row);
|
||||||
}
|
}
|
||||||
|
|
||||||
$l_title = 'ACP_ATTACHMENT_LAYOUT';
|
$l_title = 'ACP_PALLET_LAYOUT';
|
||||||
|
|
||||||
$this->tpl_name = 'acp_pallet';
|
$this->tpl_name = 'acp_pallet';
|
||||||
$this->page_title = $l_title;
|
$this->page_title = $l_title;
|
||||||
|
|||||||
@@ -44,21 +44,9 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_GENERAL_INFO',
|
'title' => 'ACP_PORTAL_GENERAL_INFO',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_GENERAL_SETTINGS',
|
'legend1' => 'ACP_PORTAL_GENERAL_SETTINGS',
|
||||||
'portal_advanced_stat' => array('lang' => 'PORTAL_ADVANCED_STAT' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_search' => array('lang' => 'PORTAL_SEARCH' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_leaders' => array('lang' => 'PORTAL_LEADERS' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_leaders_ext' => array('lang' => 'PORTAL_LEADERS_EXT' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
'portal_leaders_ext' => array('lang' => 'PORTAL_LEADERS_EXT' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
||||||
'portal_clock' => array('lang' => 'PORTAL_CLOCK' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_link_us' => array('lang' => 'PORTAL_LINK_US' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_birthdays' => array('lang' => 'PORTAL_BIRTHDAYS' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_birthdays_ahead' => array('lang' => 'PORTAL_BIRTHDAYS_AHEAD' , 'validate' => 'int' , 'type' => 'text:3:3' , 'explain' => true),
|
'portal_birthdays_ahead' => array('lang' => 'PORTAL_BIRTHDAYS_AHEAD' , 'validate' => 'int' , 'type' => 'text:3:3' , 'explain' => true),
|
||||||
'portal_random_member' => array('lang' => 'PORTAL_RANDOM_MEMBER' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_forum_index' => array('lang' => 'PORTAL_FORUM_INDEX' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
'portal_forum_index' => array('lang' => 'PORTAL_FORUM_INDEX' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
||||||
'portal_whois_online' => array('lang' => 'PORTAL_WHOIS_ONLINE' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_change_style' => array('lang' => 'PORTAL_CHANGE_STYLE' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_main_menu' => array('lang' => 'PORTAL_MAIN_MENU' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_user_menu' => array('lang' => 'PORTAL_USER_MENU' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_friends' => array('lang' => 'PORTAL_FRIENDS' , 'validate' => 'bool' , 'type' => 'radio:yes_no' , 'explain' => true),
|
|
||||||
'portal_max_online_friends' => array('lang' => 'PORTAL_MAX_ONLINE_FRIENDS' , 'validate' => 'int' , 'type' => 'text:3:3' , 'explain' => true),
|
'portal_max_online_friends' => array('lang' => 'PORTAL_MAX_ONLINE_FRIENDS' , 'validate' => 'int' , 'type' => 'text:3:3' , 'explain' => true),
|
||||||
|
|
||||||
'legend2' => 'ACP_PORTAL_COLUMN_WIDTH_SETTINGS',
|
'legend2' => 'ACP_PORTAL_COLUMN_WIDTH_SETTINGS',
|
||||||
@@ -72,7 +60,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_NEWS_SETTINGS',
|
'title' => 'ACP_PORTAL_NEWS_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_NEWS_SETTINGS',
|
'legend1' => 'ACP_PORTAL_NEWS_SETTINGS',
|
||||||
'portal_news' => array('lang' => 'PORTAL_NEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_news_style' => array('lang' => 'PORTAL_NEWS_STYLE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
'portal_news_style' => array('lang' => 'PORTAL_NEWS_STYLE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
'portal_show_all_news' => array('lang' => 'PORTAL_SHOW_ALL_NEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
'portal_show_all_news' => array('lang' => 'PORTAL_SHOW_ALL_NEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
'portal_number_of_news' => array('lang' => 'PORTAL_NUMBER_OF_NEWS', 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_number_of_news' => array('lang' => 'PORTAL_NUMBER_OF_NEWS', 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
@@ -90,7 +77,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_ANNOUNCE_SETTINGS',
|
'title' => 'ACP_PORTAL_ANNOUNCE_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_ANNOUNCE_SETTINGS',
|
'legend1' => 'ACP_PORTAL_ANNOUNCE_SETTINGS',
|
||||||
'portal_announcements' => array('lang' => 'PORTAL_ANNOUNCEMENTS' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_announcements_style' => array('lang' => 'PORTAL_ANNOUNCEMENTS_STYLE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
'portal_announcements_style' => array('lang' => 'PORTAL_ANNOUNCEMENTS_STYLE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
'portal_number_of_announcements' => array('lang' => 'PORTAL_NUMBER_OF_ANNOUNCEMENTS' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_number_of_announcements' => array('lang' => 'PORTAL_NUMBER_OF_ANNOUNCEMENTS' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
'portal_announcements_day' => array('lang' => 'PORTAL_ANNOUNCEMENTS_DAY' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_announcements_day' => array('lang' => 'PORTAL_ANNOUNCEMENTS_DAY' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
@@ -107,7 +93,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_RECENT_SETTINGS',
|
'title' => 'ACP_PORTAL_RECENT_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_RECENT_SETTINGS',
|
'legend1' => 'ACP_PORTAL_RECENT_SETTINGS',
|
||||||
'portal_recent' => array('lang' => 'PORTAL_RECENT' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_max_topics' => array('lang' => 'PORTAL_MAX_TOPIC' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_max_topics' => array('lang' => 'PORTAL_MAX_TOPIC' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
'portal_recent_title_limit' => array('lang' => 'PORTAL_RECENT_TITLE_LIMIT' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_recent_title_limit' => array('lang' => 'PORTAL_RECENT_TITLE_LIMIT' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
'portal_exclude_forums' => array('lang' => 'PORTAL_EXCLUDE_FORUM' , 'validate' => 'string', 'type' => 'text:10:200', 'explain' => true),
|
'portal_exclude_forums' => array('lang' => 'PORTAL_EXCLUDE_FORUM' , 'validate' => 'string', 'type' => 'text:10:200', 'explain' => true),
|
||||||
@@ -119,7 +104,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_WORDGRAPH_SETTINGS',
|
'title' => 'ACP_PORTAL_WORDGRAPH_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_WORDGRAPH_SETTINGS',
|
'legend1' => 'ACP_PORTAL_WORDGRAPH_SETTINGS',
|
||||||
'portal_wordgraph' => array('lang' => 'PORTAL_WORDGRAPH' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_wordgraph_max_words' => array('lang' => 'PORTAL_WORDGRAPH_MAX_WORDS' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_wordgraph_max_words' => array('lang' => 'PORTAL_WORDGRAPH_MAX_WORDS' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
'portal_wordgraph_word_counts' => array('lang' => 'PORTAL_WORDGRAPH_WORD_COUNTS' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
'portal_wordgraph_word_counts' => array('lang' => 'PORTAL_WORDGRAPH_WORD_COUNTS' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
'portal_wordgraph_ratio' => array('lang' => 'PORTAL_WORDGRAPH_RATIO' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_wordgraph_ratio' => array('lang' => 'PORTAL_WORDGRAPH_RATIO' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
@@ -131,8 +115,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_PAYPAL_SETTINGS',
|
'title' => 'ACP_PORTAL_PAYPAL_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend2' => 'ACP_PORTAL_PAYPAL_SETTINGS',
|
'legend2' => 'ACP_PORTAL_PAYPAL_SETTINGS',
|
||||||
'portal_pay_c_block' => array('lang' => 'PORTAL_PAY_C_BLOCK' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_pay_s_block' => array('lang' => 'PORTAL_PAY_S_BLOCK' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_pay_acc' => array('lang' => 'PORTAL_PAY_ACC' , 'validate' => 'string', 'type' => 'text:25:100', 'explain' => true),
|
'portal_pay_acc' => array('lang' => 'PORTAL_PAY_ACC' , 'validate' => 'string', 'type' => 'text:25:100', 'explain' => true),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@@ -142,7 +124,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS',
|
'title' => 'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS',
|
'legend1' => 'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS',
|
||||||
'portal_attachments' => array('lang' => 'PORTAL_ATTACHMENTS' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_attachments_number' => array('lang' => 'PORTAL_ATTACHMENTS_NUMBER' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_attachments_number' => array('lang' => 'PORTAL_ATTACHMENTS_NUMBER' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
'portal_attachments_forum_ids' => array('lang' => 'PORTAL_ATTACHMENTS_FORUM_IDS', 'validate' => 'string', 'type' => 'text:10:200', 'explain' => true),
|
'portal_attachments_forum_ids' => array('lang' => 'PORTAL_ATTACHMENTS_FORUM_IDS', 'validate' => 'string', 'type' => 'text:10:200', 'explain' => true),
|
||||||
)
|
)
|
||||||
@@ -153,7 +134,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_MEMBERS_SETTINGS',
|
'title' => 'ACP_PORTAL_MEMBERS_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_MEMBERS_SETTINGS',
|
'legend1' => 'ACP_PORTAL_MEMBERS_SETTINGS',
|
||||||
'portal_latest_members' => array('lang' => 'PORTAL_LATEST_MEMBERS' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_max_last_member' => array('lang' => 'PORTAL_MAX_LAST_MEMBER' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_max_last_member' => array('lang' => 'PORTAL_MAX_LAST_MEMBER' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@@ -185,7 +165,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_MOST_POSTER_SETTINGS',
|
'title' => 'ACP_PORTAL_MOST_POSTER_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_MOST_POSTER_SETTINGS',
|
'legend1' => 'ACP_PORTAL_MOST_POSTER_SETTINGS',
|
||||||
'portal_top_posters' => array('lang' => 'PORTAL_TOP_POSTERS' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_max_most_poster' => array('lang' => 'PORTAL_MAX_MOST_POSTER' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_max_most_poster' => array('lang' => 'PORTAL_MAX_MOST_POSTER' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@@ -196,7 +175,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_WELCOME_SETTINGS',
|
'title' => 'ACP_PORTAL_WELCOME_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_WELCOME_SETTINGS',
|
'legend1' => 'ACP_PORTAL_WELCOME_SETTINGS',
|
||||||
'portal_welcome' => array('lang' => 'PORTAL_WELCOME' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_welcome_guest' => array('lang' => 'PORTAL_WELCOME_GUEST' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
'portal_welcome_guest' => array('lang' => 'PORTAL_WELCOME_GUEST' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
'portal_welcome_intro' => array('lang' => 'PORTAL_WELCOME_INTRO' , 'type' => 'textarea:6:6', 'explain' => true),
|
'portal_welcome_intro' => array('lang' => 'PORTAL_WELCOME_INTRO' , 'type' => 'textarea:6:6', 'explain' => true),
|
||||||
)
|
)
|
||||||
@@ -208,12 +186,10 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_CUSTOM_SETTINGS',
|
'title' => 'ACP_PORTAL_CUSTOM_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_CUSTOM_SMALL_SETTINGS',
|
'legend1' => 'ACP_PORTAL_CUSTOM_SMALL_SETTINGS',
|
||||||
'portal_custom_small' => array('lang' => 'PORTAL_CUSTOM_SMALL' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_custom_small_headline' => array('lang' => 'PORTAL_CUSTOM_SMALL_HEADLINE' , 'validate' => 'string', 'type' => 'text:40:200', 'explain' => true),
|
'portal_custom_small_headline' => array('lang' => 'PORTAL_CUSTOM_SMALL_HEADLINE' , 'validate' => 'string', 'type' => 'text:40:200', 'explain' => true),
|
||||||
'portal_custom_small_bbcode' => array('lang' => 'PORTAL_CUSTOM_SMALL_BBCODE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
'portal_custom_small_bbcode' => array('lang' => 'PORTAL_CUSTOM_SMALL_BBCODE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
'portal_custom_code_small' => array('lang' => 'PORTAL_CUSTOM_CODE_SMALL' , 'type' => 'textarea:6:6', 'explain' => true),
|
'portal_custom_code_small' => array('lang' => 'PORTAL_CUSTOM_CODE_SMALL' , 'type' => 'textarea:6:6', 'explain' => true),
|
||||||
'legend2' => 'ACP_PORTAL_CUSTOM_CENTER_SETTINGS',
|
'legend2' => 'ACP_PORTAL_CUSTOM_CENTER_SETTINGS',
|
||||||
'portal_custom_center' => array('lang' => 'PORTAL_CUSTOM_CENTER' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_custom_center_headline' => array('lang' => 'PORTAL_CUSTOM_CENTER_HEADLINE' , 'validate' => 'string', 'type' => 'text:40:200', 'explain' => true),
|
'portal_custom_center_headline' => array('lang' => 'PORTAL_CUSTOM_CENTER_HEADLINE' , 'validate' => 'string', 'type' => 'text:40:200', 'explain' => true),
|
||||||
'portal_custom_center_bbcode' => array('lang' => 'PORTAL_CUSTOM_CENTER_BBCODE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
'portal_custom_center_bbcode' => array('lang' => 'PORTAL_CUSTOM_CENTER_BBCODE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
'portal_custom_code_center' => array('lang' => 'PORTAL_CUSTOM_CODE_CENTER' , 'type' => 'textarea:6:6', 'explain' => true),
|
'portal_custom_code_center' => array('lang' => 'PORTAL_CUSTOM_CODE_CENTER' , 'type' => 'textarea:6:6', 'explain' => true),
|
||||||
@@ -226,7 +202,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_MINICALENDAR_SETTINGS',
|
'title' => 'ACP_PORTAL_MINICALENDAR_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_MINICALENDAR_SETTINGS',
|
'legend1' => 'ACP_PORTAL_MINICALENDAR_SETTINGS',
|
||||||
'portal_minicalendar' => array('lang' => 'PORTAL_MINICALENDAR' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
'portal_minicalendar_today_color' => array('lang' => 'PORTAL_MINICALENDAR_TODAY_COLOR' , 'validate' => 'string', 'type' => 'text:10:10', 'explain' => true),
|
'portal_minicalendar_today_color' => array('lang' => 'PORTAL_MINICALENDAR_TODAY_COLOR' , 'validate' => 'string', 'type' => 'text:10:10', 'explain' => true),
|
||||||
'portal_minicalendar_day_link_color' => array('lang' => 'PORTAL_MINICALENDAR_DAY_LINK_COLOR' , 'validate' => 'string', 'type' => 'text:10:10', 'explain' => true),
|
'portal_minicalendar_day_link_color' => array('lang' => 'PORTAL_MINICALENDAR_DAY_LINK_COLOR' , 'validate' => 'string', 'type' => 'text:10:10', 'explain' => true),
|
||||||
)
|
)
|
||||||
@@ -237,7 +212,6 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_LINKS_SETTINGS',
|
'title' => 'ACP_PORTAL_LINKS_SETTINGS',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_LINKS_SETTINGS',
|
'legend1' => 'ACP_PORTAL_LINKS_SETTINGS',
|
||||||
'portal_links' => array('lang' => 'PORTAL_LINKS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
// Links require preprocessing
|
// Links require preprocessing
|
||||||
|
|||||||
@@ -496,6 +496,29 @@ if( $user->data['is_registered'] && $auth->acl_get('a_') )
|
|||||||
'module_auth' => ''
|
'module_auth' => ''
|
||||||
);
|
);
|
||||||
$modules->update_module_data($linkblock);
|
$modules->update_module_data($linkblock);
|
||||||
|
$palletlist = array(
|
||||||
|
'module_basename' => 'pallet',
|
||||||
|
'module_enabled' => 1,
|
||||||
|
'module_display' => 1,
|
||||||
|
'parent_id' => $portal['module_id'],
|
||||||
|
'module_class' => 'acp',
|
||||||
|
'module_langname' => 'ACP_PALLET_LIST_INFO',
|
||||||
|
'module_mode' => 'list',
|
||||||
|
'module_auth' => ''
|
||||||
|
);
|
||||||
|
$modules->update_module_data($palletlist);
|
||||||
|
$portallayout = array(
|
||||||
|
'module_basename' => 'pallet',
|
||||||
|
'module_enabled' => 1,
|
||||||
|
'module_display' => 1,
|
||||||
|
'parent_id' => $portal['module_id'],
|
||||||
|
'module_class' => 'acp',
|
||||||
|
'module_langname' => 'ACP_PORTAL_LAYOUT_INFO',
|
||||||
|
'module_mode' => 'layout',
|
||||||
|
'module_auth' => ''
|
||||||
|
);
|
||||||
|
$modules->update_module_data($portallayout);
|
||||||
|
|
||||||
// clear cache and log what we did
|
// clear cache and log what we did
|
||||||
$cache->purge();
|
$cache->purge();
|
||||||
add_log('admin', $page_title . ' installed');
|
add_log('admin', $page_title . ' installed');
|
||||||
@@ -856,6 +879,28 @@ if( $user->data['is_registered'] && $auth->acl_get('a_') )
|
|||||||
'module_auth' => ''
|
'module_auth' => ''
|
||||||
);
|
);
|
||||||
$modules->update_module_data($linkblock);
|
$modules->update_module_data($linkblock);
|
||||||
|
$palletlist = array(
|
||||||
|
'module_basename' => 'pallet',
|
||||||
|
'module_enabled' => 1,
|
||||||
|
'module_display' => 1,
|
||||||
|
'parent_id' => $portal['module_id'],
|
||||||
|
'module_class' => 'acp',
|
||||||
|
'module_langname' => 'ACP_PALLET_LIST_INFO',
|
||||||
|
'module_mode' => 'list',
|
||||||
|
'module_auth' => ''
|
||||||
|
);
|
||||||
|
$modules->update_module_data($palletlist);
|
||||||
|
$portallayout = array(
|
||||||
|
'module_basename' => 'pallet',
|
||||||
|
'module_enabled' => 1,
|
||||||
|
'module_display' => 1,
|
||||||
|
'parent_id' => $portal['module_id'],
|
||||||
|
'module_class' => 'acp',
|
||||||
|
'module_langname' => 'ACP_PORTAL_LAYOUT_INFO',
|
||||||
|
'module_mode' => 'layout',
|
||||||
|
'module_auth' => ''
|
||||||
|
);
|
||||||
|
$modules->update_module_data($portallayout);
|
||||||
|
|
||||||
// clear cache and log what we did
|
// clear cache and log what we did
|
||||||
$cache->purge();
|
$cache->purge();
|
||||||
@@ -1010,6 +1055,8 @@ if( $user->data['is_registered'] && $auth->acl_get('a_') )
|
|||||||
OR module_langname = 'ACP_PORTAL_MINICALENDAR_INFO'
|
OR module_langname = 'ACP_PORTAL_MINICALENDAR_INFO'
|
||||||
OR module_langname = 'ACP_PORTAL_CUSTOM_INFO'
|
OR module_langname = 'ACP_PORTAL_CUSTOM_INFO'
|
||||||
OR module_langname = 'ACP_PORTAL_LINKS_INFO'
|
OR module_langname = 'ACP_PORTAL_LINKS_INFO'
|
||||||
|
OR module_langname = 'ACP_PALLET_LIST_INFO'
|
||||||
|
OR module_langname = 'ACP_PORTAL_LAYOUT_INFO'
|
||||||
";
|
";
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
while ($row = $db->sql_fetchrow($result))
|
while ($row = $db->sql_fetchrow($result))
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ CREATE TABLE phpbb_portal_config (
|
|||||||
|
|
||||||
# Table: 'phpbb_portal_blocks'
|
# Table: 'phpbb_portal_blocks'
|
||||||
CREATE TABLE phpbb_portal_blocks (
|
CREATE TABLE phpbb_portal_blocks (
|
||||||
block_name varchar(64) NOT NULL,
|
block_name varbinary(64) NOT NULL,
|
||||||
block_type tinyint(1) DEFAULT '0' NOT NULL,
|
block_type tinyint(1) DEFAULT '0' NOT NULL,
|
||||||
block_enabled tinyint(1) DEFAULT '0' NOT NULL,
|
block_enabled tinyint(1) DEFAULT '0' NOT NULL,
|
||||||
block_position tinyint(1) DEFAULT '0' NOT NULL,
|
block_position tinyint(1) DEFAULT '0' NOT NULL,
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_anno
|
|||||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_links_array', 'a:2:{i:1;a:2:{s:4:"text";s:9:"Board3.de";s:3:"url";s:21:"http://www.board3.de/";}i:2;a:2:{s:4:"text";s:9:"phpBB.com";s:3:"url";s:21:"http://www.phpbb.com/";}}');
|
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_links_array', 'a:2:{i:1;a:2:{s:4:"text";s:9:"Board3.de";s:3:"url";s:21:"http://www.board3.de/";}i:2;a:2:{s:4:"text";s:9:"phpBB.com";s:3:"url";s:21:"http://www.phpbb.com/";}}');
|
||||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_announcements_replies_views', '1');
|
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_announcements_replies_views', '1');
|
||||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_news_replies_views', '1');
|
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_news_replies_views', '1');
|
||||||
|
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_welcome_guest', '1');
|
||||||
|
|
||||||
# Inserts who have to be checked at a later stage of the block pallet feature #
|
# Inserts who have to be checked at a later stage of the block pallet feature #
|
||||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_leaders_ext', '0');
|
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_leaders_ext', '0');
|
||||||
@@ -76,7 +77,6 @@ INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_foru
|
|||||||
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_top_posters', '1'); #
|
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_top_posters', '1'); #
|
||||||
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_leaders', '1'); #
|
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_leaders', '1'); #
|
||||||
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_advanced_stat', '1'); #
|
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_advanced_stat', '1'); #
|
||||||
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_welcome_guest', '1'); #
|
|
||||||
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_birthdays', '1'); #
|
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_birthdays', '1'); #
|
||||||
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_search', '1'); #
|
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_search', '1'); #
|
||||||
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_friends', '1'); #
|
# INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_friends', '1'); #
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ $lang = array_merge($lang, array(
|
|||||||
'ACP_PORTAL_CUSTOM_INFO' => 'Eigener Block',
|
'ACP_PORTAL_CUSTOM_INFO' => 'Eigener Block',
|
||||||
'ACP_PORTAL_MINICALENDAR_INFO' => 'Mini-Kalender',
|
'ACP_PORTAL_MINICALENDAR_INFO' => 'Mini-Kalender',
|
||||||
'ACP_PORTAL_LINKS_INFO' => 'Links',
|
'ACP_PORTAL_LINKS_INFO' => 'Links',
|
||||||
|
'ACP_PALLET_LIST_INFO' => 'Block Verwaltung',
|
||||||
|
'ACP_PORTAL_LAYOUT_INFO' => 'Portal Layout',
|
||||||
));
|
));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
40
root/language/de/mods/lang_pallet_acp.php
Normal file
40
root/language/de/mods/lang_pallet_acp.php
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package - Board3portal
|
||||||
|
* @version $Id$
|
||||||
|
* @copyright (c) kevin / saint ( www.board3.de/ ), (c) Ice, (c) nickvergessen ( www.flying-bits.org/ ), (c) redbull254 ( www.digitalfotografie-foren.de ), (c) Christian_N ( www.phpbb-projekt.de )
|
||||||
|
* @based on: phpBB3 Portal by Sevdin Filiz, www.phpbb3portal.com
|
||||||
|
* @translator (c) ( You - http://www.yourdomain.com )
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
if (empty($lang) || !is_array($lang))
|
||||||
|
{
|
||||||
|
$lang = array();
|
||||||
|
}
|
||||||
|
|
||||||
|
// DEVELOPERS PLEASE NOTE
|
||||||
|
//
|
||||||
|
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||||
|
//
|
||||||
|
// Placeholders can now contain order information, e.g. instead of
|
||||||
|
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||||
|
// translators to re-order the output of data while ensuring it remains correct
|
||||||
|
//
|
||||||
|
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||||
|
// equally where a string contains only two placeholders which are used to wrap text
|
||||||
|
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||||
|
|
||||||
|
$lang = array_merge($lang, array(
|
||||||
|
'MOVE_LEFT' => 'Move left',
|
||||||
|
'MOVE_RIGHT' => 'Move right',
|
||||||
|
));
|
||||||
|
|
||||||
|
?>
|
||||||
@@ -38,6 +38,8 @@ $lang = array_merge($lang, array(
|
|||||||
'ACP_PORTAL_CUSTOM_INFO' => 'Custom block',
|
'ACP_PORTAL_CUSTOM_INFO' => 'Custom block',
|
||||||
'ACP_PORTAL_MINICALENDAR_INFO' => 'Mini calendar',
|
'ACP_PORTAL_MINICALENDAR_INFO' => 'Mini calendar',
|
||||||
'ACP_PORTAL_LINKS_INFO' => 'Links',
|
'ACP_PORTAL_LINKS_INFO' => 'Links',
|
||||||
|
'ACP_PALLET_LIST_INFO' => 'Pallet list',
|
||||||
|
'ACP_PORTAL_LAYOUT_INFO' => 'Portal layout',
|
||||||
));
|
));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -101,7 +101,7 @@ if ( $load_center != TRUE )
|
|||||||
$where = '';
|
$where = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$block_sql = 'SELECT * FROM phpbb_portal_blocks WHERE block_enabled = 1'.$where.' ORDER BY block_position ASC , block_order ASC';
|
$block_sql = 'SELECT * FROM ' . PORTAL_BLOCKS_TABLE . ' WHERE block_enabled = 1'.$where.' ORDER BY block_position ASC , block_order ASC';
|
||||||
$block_result = $db->sql_query($block_sql);
|
$block_result = $db->sql_query($block_sql);
|
||||||
|
|
||||||
while ($block_row = $db->sql_fetchrow($block_result))
|
while ($block_row = $db->sql_fetchrow($block_result))
|
||||||
|
|||||||
Reference in New Issue
Block a user