WIKI das sich in phpBB integrieren läßt
Verfasst: 03.02.2005 11:34
Gibt es ein WIKI das sich möglichst gut in ein phpForum integrieren läßt. Vom Design und Suchmöglichkeiten?
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Hier nochmal wie sone Datei aussieht:#################################################################
##
## MOD Title: phpBB Wikipedia (German Version)
## MOD Author: ChaosLord <goccl@web.de> http://www.K405L02D.de/phpbb/
## MOD Co-Author: RagingAngel http://www.ragingangel.de/
## MOD Description: Wikipedia Content for phpbb.
## MOD Version: 1.0.0
##
## Installation Level: easy
## Installation Time: 5 Minutes
##
##############################################################
##
## MOD History:
##
## 1.0 - first release
##
##############################################################
##
## Development Environment
## -------------------------------
## Apache Version: 2.0.52
## MySQL Version: 4.1.8
## PHP Version: 5.0.3
##
#####################################################
## Dieser MOD ist unter GPL veröffentlicht worden. Keine Haftung und Gewähr durch den Autor nach GPL: http://www.gnu.de/gpl-ger.html
## This MOD is released under the GPL License. Intellectual Property is retained by the MOD Author(s) listed above. http://www.gnu.org
#####################################################
## Bevor Du diesen MOD installierst, solltest Du zur Sicherheit ein vollständiges Backup Deines Forums erstellen !!!
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD !!!
#####################################################
#
#-----[ COPY TO FOLDER ]------------------------------------------
#
COPY phpbb/wikipedia.php TO wikipedia.php
COPY phpbb/images/Wikipedia_german.gif TO images/Wikipedia_german.gif
#
#-----[ SAVE/CLOSE/UPLOAD ]----------------------------------
#
Code: Alles auswählen
<?php
/***************************************************************************
* wikipedia.php
* -------------------
* copyright : (C) 2005 ChaosLord
* email : goccl@web.de
*
****************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
// Start Session Management
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
$page_title = 'Wikipedia English Version';
$title = $_GET['title'];
function callback( $buffer )
{
$buffer = substr( $buffer, strpos( $buffer, '<!-- start content -->' ) );
$buffer = substr( $buffer, 0, strpos( $buffer, '<div class="printfooter">' ) );
$buffer = str_replace( "/wiki/", "wikipedia.php?title=", $buffer );
$buffer = preg_replace( '/\(<i>http(.*)wiki.phtml(.*)<\/i>\)/', "", $buffer );
$buffer = $buffer. "<br /><center><span class=\"copyright\">Fetched by Wikipedia.org © 2005 Wikipedia.org</span></center>";
return $buffer;
}
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
ob_start("callback");
include 'http://www.wikipedia.org/wiki/?title=' . $title;
ob_end_flush();
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
1. ein klares nein, aber versuchs eventl. innem nächsten release einzubaunGumfuzi hat geschrieben:1. mit dem Foren-Login posten bzw. brauchen die sich dann nicht mehr neu anmelden?
2. kann man die Datei auch für eine eigen Wiki nutzen (die mit MediaWiki erstellt wurde)?
3. wird dann damit auch die Wiki automatisch auf den Forenstyle agepasst?
sorry war mein fehler die deutsche version is nen bisl anders (utf8 - deshalb sone schicke zeichen da)Sydney hat geschrieben:Die Umlaute werden nicht richtig angezeigt und die Kästen sind weiß, bekommt man das auch anders hin?