phpbb 2 kurdum Ezportal Yardımı istiyorum.

phpBB 2.0.x sürümleri için MODlar hakkında ihtiyacınız olan desteği buradan sorarak alabilirsiniz.
Kilitli
AtRocKSion
Kayıtlı Kullanıcı
Mesajlar: 13
Kayıt: 05.07.2008, 03:07

phpbb 2 kurdum Ezportal Yardımı istiyorum.

Mesaj gönderen AtRocKSion »

merhaba arkadaşlar daha önce hiç portal kurmadım phpbb2 forumu indirip kurdum. daha sonra ezportal dosyasını da indirdim.

kurulum makalesi(yeni başlayanlar için)ni okudum. ezPortal_v2.txt dosyasının içinde yazanları uygulamaya çalıştım kodlar şöyle:

Kod: Tümünü seç

##############################################################
## MOD Title: ezPortal for phpBB 2.0.x
## MOD Author: Smartor < smartor_xp@hotmail.com > (Hoang Ngoc Tu) http://smartor.is-root.com
## MOD 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.
## MOD Version: 2.1.8e
## 
## Installation Level: Easy
## Installation Time: 10 minutes
## Files To Edit: login.php
##                includes/page_header.php
##                templates/subSilver/overall_header.tpl
##                language/lang_english/lang_main.php
## Included Files: phpbb_root/portal.php
##                 phpbb_root/fetchposts.php
##                 phpbb_root/templates/subSilver/portal_body.tpl
##                 phpbb_root/images/smartorsite_logo.gif
##
## Generator: MOD Studio [ ModTemplateTools 1.0.2108.38030 ]
##############################################################
## Author Notes: 
##
##	Copyright © Smartor, 2002-2004
##
##	For any concerns please contact me or Minc at http://smartor.is-root.com
##
##############################################################
## This MOD is released under the GPL License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
## Intellectual Property is retained by the MOD Author(s) listed above
##############################################################
## MOD History:
## 
## v2.1.8e
##	- Name-Link in the welcome-block resulted in a "hacking-attempt"-message.
##		Code-change see: http://smartor.is-root.com/viewtopic.php?p=77191#77191
##
## v2.1.8d
##	- URL could sometimes not get stripped propperly on the portal, updated fetchposts.php
## v2.1.8c
##	- fixed another typo in portal_body.tpl
##	- made install-file easymod-compatible
## v2.1.8b
##	- fixed my mistakes in portal_body.tpl :(
## v2.1.8a
##	- updated instructions for phpBB 2.0.10
##	- fixed some HTML code (small changes)
## 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
##
## ezPortal FAQ:		http://smartor.is-root.com/viewtopic.php?t=14355
##
## Guides on...
## - How ezPortal works
## - How to move a block
## - How to place a block into the center column ("read-full-style") 
## are available at http://www.smartor.oftheweek.de/dload.php?action=category&cat_id=6
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################

#
#-----[ COPY ]------------------------------------------
#
# copy portal_body.tpl to all installed templates
copy phpbb_root/portal.php to portal.php
copy phpbb_root/fetchposts.php to fetchposts.php
copy phpbb_root/templates/subSilver/portal_body.tpl to templates/subSilver/portal_body.tpl
copy phpbb_root/images/smartorsite_logo.gif to images/smartorsite_logo.gif
#
#-----[ 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']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";
#
#-----[ REPLACE WITH ]------------------------------------------
#
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($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']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";
#
#-----[ REPLACE WITH ]------------------------------------------
#
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($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 ]------------------------------------------
#
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&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>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp; 
#
#-----[ IN-LINE 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>
#
#-----[ IN-LINE 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; 
#
#-----[ 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';
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
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 META tag - if you cannot apply the 1st method)
	create file index.html in phpBB root directory (without #)

	<html>
	<head>
	<title>Redirecting...</title>
	<meta http-equiv="refresh" content="0;url=portal.php">
	</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 4 to <meta http-equiv="refresh" content="0;url=forum/portal.php">


 o Method 3: I think maybe you can find out method 3 yourself ;) like JavaScript, etc.

#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
# 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
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
login.php dosyasını indirdiğim dosyada bulamadım. yahut ingilizcem yetersiz kaldı.. yukardaki kodların türkçe desteklisi varsa gönderebilir misiniz?

yoksa kurulumun nasıl yapılacağını yanlış mı anladım?

of keşke öğrenebilsem :( 10 dk lık olduğu yazıyor halbuki.

anasayfada portal görünümü, anasayfadaki portaldan yapılacak üyelik girişlerinin ve kayıt işlemlerinin forumda da geçerli olmasını istiyorum. amacım bu..
kullanacağım site www.biyokimyageraz.org

cevaplarınızı bekliyorum. lütfen yardım edin :(
Kilitli

“2.0.x MOD Destek” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 3 misafir