[MOD DESTEK]Arkadaşlar buradaki kodu çözemedim.

phpBB 2.0.x sürümleri için MODlar hakkında ihtiyacınız olan desteği buradan sorarak alabilirsiniz.
Kilitli
MetalHornet
Kayıtlı Kullanıcı
Mesajlar: 6
Kayıt: 12.09.2007, 18:50

[MOD DESTEK]Arkadaşlar buradaki kodu çözemedim.

Mesaj gönderen MetalHornet »

Kod: Tümünü seç

#
#-----[ 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
#
Kullanıcı avatarı
Mirach
Destek Ekibi Lideri
Destek Ekibi Lideri
Mesajlar: 1664
Kayıt: 27.03.2006, 01:06
Konum: İstanbul

Re: [MOD DESTEK]Arkadaşlar buradaki kodu çözemedim.

Mesaj gönderen Mirach »

ezportal kurulu sistemde ilk olarak portal.php sayfasının açılması için gerekli ayarları kapsıyor bu kodlar.

daha önce değişik bir metod sunmuştum.(aşağıdadır)

Kod: Tümünü seç

OPEN
includes/page_header.php

FIND
'U_INDEX' => append_sid('index.'.$phpEx

ADD AFTER
.'?forum=yes'

## line now - 'U_INDEX' => append_sid('index.'.$phpEx.'?forum=yes');

OPEN
index.php

FIND
include($phpbb_root_path . 'common.'.$phpEx);

ADD AFTER
if ( !$HTTP_GET_VARS['forum'] )
{
   require "portal." .$phpEx;
   exit;
} 
aşağıdaki kısımdaki kelimeleri dilediğiniz gibi değiştirebililirsiniz.

Kod: Tümünü seç

.'?forum=yes'
örnek link olarak : http://www.burhanabi.com/index.php?forum=burhanabi
Profilinde phpBB forumunun adresini girmemiş üyelere ve kurallara aykırı şekilde açılmış başlıklara destek verilmez.
Resim Resim Resim
MetalHornet
Kayıtlı Kullanıcı
Mesajlar: 6
Kayıt: 12.09.2007, 18:50

Re: [MOD DESTEK]Arkadaşlar buradaki kodu çözemedim.

Mesaj gönderen MetalHornet »

teşekkür ederim dostum 2 haftadır bununla boğuşup duruyordum sonunda bir sonuca vardım... :wink:
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 10 misafir