ein paar habe ich schon ausprobiert, komme damit aber nicht klar.
Code: Alles auswählen
************************
Installation from Portal Hack
************************
1.Upload admin_portal.php into you Admin Folder
2.Create a link in overall_header.tpl to a file named 'portal.php'
3.Go Into your Adminpanel and go to 'Create Portal'
Here you can set up some Options and edit the Code from the Portal
You should know at least some HTML and PHP
(4.)
To use the recent function upload recent.php (http://www.phpbbhacks.com/viewhack.php?id=191)
and change the value from:
$phpbb_root_path to "/"
Delete the text:
/board
in the line
echo "<tr><td align=\"left\"><span class=\"gensmall\">»» </span> <a href=\"/viewtopic.php?t=" . $line['topic_id'] . "\" class=\"genmed\">" . $k . "</a></td>";
(5.) To use the calendar function upload calendar.php (http://www.phpbbhacks.com/viewhack.php?id=152)
6. Have Fun !
Code: Alles auswählen
#################################################################
## Title: ezPortal for phpBB2
## Version: 1.0.0
## 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 like PHPNuke,
## PostNuke, etc. But it looks like a portal. You should customize/modify/improve it
## to fit your fantasy ;)
## NOTE: This portal-file must be placed in phpBB directory
##
## Installation Level: Easy
## Installation Time: 20 Minutes
##
## Files To Edit: 3
## includes/page_header.php
## language/lang_english/lang_main.php
## templates/subSilver/overall_header.tpl
##
## Included Files: 2
## portal.php
## fetchposts.php
## templates/subSilver/portal.tpl
##
#################################################################
##
## Author Note:
##
## Copyright © Smartor, 2002
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
##
## Revision History:
##
## v1.0.0
## - Initial Release
##
#################################################################
## Demo/Discussion Forum: http://smartor.is-root.com
#################################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]----------------------------------------
#
'U_INDEX' => append_sid('index.'.$phpEx),
#
#-----[ AFTER ADD ]-----------------------------------
#
'U_PORTAL' => append_sid('portal.'.$phpEx),
#
#-----[ 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>
#
#-----[ 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['Welcome'] = 'Welcome';
$lang['Comments'] = 'Comments';
$lang['View_comments'] = 'View Comments';
$lang['Remember_me'] = 'Remember me';
$lang['View_completed_list'] = 'View completed 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 ?
#
# 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 #)
# 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';
#
# <html>
# <head>
# <title>Redirecting...</title>
# <script language="JavaScript">
# self.location.href=portal.php;
# </script>
# </head>
# <body>
# </body>
# </html>
#
# o Method 3: I think maybe you can find out method 3 yourself ;)
#
#----------------------------------------------------------
# CONFIGURATION FOR ANNOUCEMENTS/NEWS AND POLL
#
# Open: portal.php
#
#
# Find: $announcements_forum_id = 1; // Change this with yours
#
# Change 1 with your announcement forum ID
#
#
# Find: $poll_forum_id = 1; // Change this with yours
#
# Change 1 with your forum ID that you want to fetch poll from
#
#
#--------------------------------------------------------------------
#
# EoM