Seite 2 von 4

Verfasst: 28.12.2004 18:05
von bmf24
Meindt du das hier ???

Code: Alles auswählen

#################################################################
## Title: ezPortal for phpBB 2.0.x
## Version: 2.1.8
## Author: Smartor <smartor_xp@hotmail.com> - http://smartor.is-root.com
## Description: This Mod explains you how to create a portal for phpBB2 as simple as possible
##		This MOD is not exactly a full functional portal system (content management system)
##		but it looks like a portal. You should customize/modify/improve it to fit your fantasy ;)
##		It is very EASY to install and very HANDY to modify
##
## Installation Level: 	Easy
## Installation Time: 	10 Minutes
##
## Files To Edit: 4
##	login.php
##	includes/page_header.php
##	language/lang_english/lang_main.php
##	templates/subSilver/overall_header.tpl
##
## Included Files: 4
##	portal.php
##	fetchposts.php
##	templates/subSilver/portal_body.tpl
##	images/smartorsite_logo.gif
##
#################################################################
##
## Author Note:
##
##	Copyright © Smartor, 2002
##
##	For any concerns please contact me at http://smartor.is-root.com
##
#################################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
##
## Revision History:
##
## v2.1.8
##	- fixed a bug: disappear 'Read Full'
## v2.1.7
##	- removed 'Read Full' link on short announcements
##	- added a new option 'Exceptional Forums' for Recent Topics Block
##	- added poster name and posted time for Recent Topics Block
##	- added scrolling effect for Recent Topics Block
##	- changed the link on Recent Topics Block to the last post
## v2.1.6
##	- solved some small issues: log in/out, stats, date/time, etc.
##	- made phpBB 2.0.4 compatibled
## v2.1.5
##	- improved some HTML code :P
##	- fixed a serious security bug in Change Style Block
## v2.1.4
##	- fixed Shadow Topic bug (for both News and Recent Topics)
##	- added Search Block: it's very cool, included both phpBB Search and Google
## v2.1.3
##	- just update ChatBox Block instruction file
## v2.1.2
##	- due to some users are not familiar with HTML coding, i provide a new bordered template -looks much better in subSilver- for portal (only HTML thing, no new PHP code)
## v2.1.1
##	- added a missing language entry for Recent Topics Block
## v2.1
##	- added some blocks: Moreover.com Newsfeed, Recent Topics
##	- removed some un-needed HTML codes
##	- fixed some bugs
##	- added "I forgot my password" link
##	- fixed some language hardcode
## v2.0.2
##	- fixed some template problems
## v2.0.1
##	- added a lost language entry
## v2.0.0
##	- completed News Feature
## v1.0.4a
##	- fixed a JavaScript problem in this file
## v1.0.4
##	- updated some blocks
## v1.0.3
##	- Fixed some typos
## v1.0.0
##	- Initial Release
##
#################################################################
## Demo/Discussion Forum:     http://smartor.is-root.com
#################################################################


#
#-----[ OPEN ]------------------------------------------
#
login.php

#
#-----[ FIND ]-----------------------------------
#
redirect(append_sid("index.$phpEx", true));

#
#-----[ REPLACE WITH ]---------------------------
#
redirect(append_sid("portal.$phpEx", true));

#
#-----[ FIND ]-----------------------------------
#
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? $HTTP_POST_VARS['redirect'] : "index.$phpEx";

#
#-----[ REPLACE WITH ]---------------------------
#
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? $HTTP_POST_VARS['redirect'] : "portal.$phpEx";

#
#-----[ FIND ]-----------------------------------
#
redirect(append_sid("index.$phpEx", true));

#
#-----[ REPLACE WITH ]---------------------------
#
redirect(append_sid("portal.$phpEx", true));

#
#-----[ FIND ]-----------------------------------
#
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? $HTTP_POST_VARS['redirect'] : "index.$phpEx";

#
#-----[ REPLACE WITH ]---------------------------
#
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? $HTTP_POST_VARS['redirect'] : "portal.$phpEx";

#
#-----[ FIND ]-----------------------------------
#
redirect(append_sid("index.$phpEx", true));

#
#-----[ REPLACE WITH ]---------------------------
#
redirect(append_sid("portal.$phpEx", true));


#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php

#
#-----[ FIND ]----------------------------------------
#
	'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),

#
#-----[ AFTER ADD ]-----------------------------------
#
	// ezPortal
	'U_PORTAL' => append_sid('portal.'.$phpEx),
	'L_HOME' => $lang['Home'],


#
#-----[ OPEN ]----------------------------------------
#
templates/subSilver/overall_header.tpl

#
#-----[ FIND ]----------------------------------------
#
<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>

#
#-----[ REPLACE WITH ]--------------------------------
#
<td><a href="{U_PORTAL}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>


#
#-----[ FIND ]----------------------------------------
#
&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>

#
#-----[ DIRECT BEFORE, ADD ]--------------------------
#
&nbsp;<a href="{U_PORTAL}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{L_HOME}" hspace="3" />{L_HOME}</a>&nbsp;&nbsp;


#
#-----[ OPEN ]----------------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]----------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------

#
#-----[ BEFORE ADD ]----------------------------------
#
//
// Smartor's ezPortal
//
$lang['Home'] = 'Home';
$lang['Board_navigation'] = 'Board Navigation';
$lang['Statistics'] = 'Statistics';
$lang['total_topics'] = " within <b>%s</b> topics"; // added in v2.1.6
$lang['Comments'] = 'Comments';
$lang['Read_Full'] = 'Read Full';
$lang['View_comments'] = 'View Comments';
$lang['Post_your_comment'] = 'Post your comment';
$lang['Welcome'] = 'Welcome';
$lang['Register_new_account'] = 'Don\'t have an account yet?<br />You can %sregister%s for FREE';
$lang['Remember_me'] = 'Remember me';
$lang['View_complete_list'] = 'View complete list';
$lang['Poll'] = 'Poll';
$lang['Login_to_vote'] = 'You must login to vote';
$lang['Vote'] = 'Vote';
$lang['No_poll'] = 'No poll at the moment';


#
#-----[ SAVE/UPLOAD ALL FILES ]------------------------------------------
#
# HOW TO MAKE YOUR WEBSITE OPEN TO FILE portal.php INSTEAD OF index.php ?
# You can use one of the following methods! Lots of luck!
#
#
# o Method 1: (for Apache server)
#	create/modify file .htaccess in phpBB root directory
#	add/edit this line:
#
#	DirectoryIndex index.html index.htm portal.php index.php
#
#
# o Method 2: {use JavaScript - if you cannot apply the 1st method)
#	create file index.html in phpBB root directory (without #)
#
#	<html>
#	<head>
#	<title>Redirecting...</title>
#	<script language="JavaScript">
#	self.location.href='portal.php';
#	</script>
#	</head>
#	<body>
#	</body>
#	</html>
#
#	if your phpBB was placed in a subdirectory to the
#	webroot, like: http://something.com/forum
#	you could create index.html in the webroot and modify the
#	line 5 to self.location.href='forum/portal.php';
#
#
# o Method 3: I think maybe you can find out method 3 yourself ;)
#
#--------------------------------------------------------------------
# CONFIGURATION FOR ezPortal
#
# OPEN: portal.php
#
# FIND:
//
// Set configuration for ezPortal
//

// Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
$CFG['welcome_text'] = 'Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^';

// Number of news on portal
$CFG['number_of_news'] = '5';

// Length of news
$CFG['news_length'] = '200';

// News Forum ID: separate by comma for multi-forums, eg. '1,2,5'
$CFG['news_forum'] = '1';

// Poll Forum ID: separate by comma for multi-forums, eg. '3,8,14'
$CFG['poll_forum'] = '1';

//
// END configuration
// --------------------------------------------------------
#
# Adjust the above values in portal.php
#
#--------------------------------------------------------------------
#
# EoM

Verfasst: 28.12.2004 18:10
von kratzer54847
ja genau

Verfasst: 28.12.2004 18:12
von bmf24
warum bin ich rausgeflogen ???
:evil: :evil: :evil: :evil: :evil:

Verfasst: 28.12.2004 18:14
von bmf24
Ok ich gehe morgen zu einem Übersetzungsbüro der mir
das pro Wort für 1,50 € übersetzt :)

spass bei seite ich verstehe nicht was da drin steht
wo muss ich anfangen ?

Verfasst: 28.12.2004 18:14
von kratzer54847
muss ich dieses Posting jetzt verstehen? :roll:

Verfasst: 28.12.2004 18:16
von bmf24
Muss du nicht aber wäre sehr nett von dir wenn
du mir ein wenig helfen würdest, das sind ja nur zwei Ordner
die ich einfügen muss, das wäre jetzt schon lange erledigt
:P :P :P :P

Verfasst: 28.12.2004 18:17
von kratzer54847
du hast doch eben selbst die Mod-Install-Anleitung noch einmal hier geschrieben. In dem von mir verlinkten Artikel in der Knowledgebase soltest du alles nötige finden,um den Mod zu installieren.

mfg Johny

Verfasst: 28.12.2004 18:18
von bmf24
Muss ich das hier tun ?

Code: Alles auswählen

## Files To Edit: 4
##   login.php
##   includes/page_header.php
##   language/lang_english/lang_main.php
##   templates/subSilver/overall_header.tpl
##
## Included Files: 4
##   portal.php
##   fetchposts.php
##   templates/subSilver/portal_body.tpl
##   images/smartorsite_logo.gif 

Verfasst: 28.12.2004 18:19
von kratzer54847
du musst die Datein nach der Anleitung bearbeiten.
hast du den Artikel gelesen? :roll:

Verfasst: 28.12.2004 18:22
von bmf24
Ja ich habe es gelesen ....
aber verstanden habe ich es nicht
weil ich die englische Sprache nicht sogut beherrsche
willst du das hören, ich weiss nicht ob es schlimm ist
für dich ....

Auf jeden Fall würde ich das in deutsch oder in Yarakisch
sehr gut vertehen ...