1 頁 (共 1 頁)

[問題]請問早安少女-戀愛熱舞站的這種規格

發表於 : 2004-02-06 19:41
malu829
http://morningmusumenet.net/phpbb/portal.php
想請問一下這種格式要怎麼修改\r
怎麼在一個網頁上分成很多格子..有現在時間 ,友站推薦,單元導覽....

發表於 : 2004-02-06 21:25
夢幻LUGIA
有注意到網址嗎?那是一個"portal"〈有人說是入口〉
找找看就會有了

時鐘是用flash做的 :P

發表於 : 2004-02-07 17:54
horacekao
*****SPAM*****, that's Cool

發表於 : 2004-02-07 20:02
StickyKid
默....portal就是網站的入口囉
至於時鐘嘛.....都跟你用Flash Player了
難道還是用JAVA血的啊 ~XD

發表於 : 2004-02-08 01:19
malu829
謝謝大大...我在看了有關portal的文章後
於是下載了ezPortal Admin v1.0.5...
他的安裝方法是直接將檔案解壓縮放到phpbb裡嗎..我這樣做了以後
左邊有出現了"Portal 基本組態 "但是按進去後出現錯誤...
phpBB : Critical Error

Could not query config information in admin_portal
聽說這麼版本有錯誤嗎..還是我安裝錯了

發表於 : 2004-02-08 02:58
吉川拓也
你附加的檔案有放到對應資料夾嗎 ?
另外它的SQL語法執行了沒 ?

發表於 : 2004-02-08 10:29
malu829
我下載好的zip解壓縮後有
ezPortal Admin v1.0.5.txt
ezportal_admin_db_install.php
manual SQL table.txt
recent news block ( option).zip
admin資料夾==>裡面有admin_portal.php
templates資料夾==>裡面有subsilver資料夾==>裡面有admin資料夾==>裡面有portal_config_body.tpl

我就將admin資料夾,templates資料夾,ezportal_admin_db_install.php
放到我的www\phpbb裡面了
然後控制台出現了Portal 基本組態 但是按下去會錯誤
Template->make_filename(): Error - file does not exist

ezPortal Admin v1.0.5.txt的內容是\r

代碼: 選擇全部

######################################################## 
## Mod Title:   ezPortal Admin for phpBB2 with ezportal_admin_db_install
## Mod Version: 1.0.3
##
## Original Author: Marcus Thiel <thundercat@die-pretorianer.de>
## www.die-pretorianer.de
##
## Updating Author: Willie Yaw  <cyborg@cyborgworks.com>
##
##      and Author of  ezportal_admin_db_install.php
##
## Author ezPortal: Smartor <smartor_xp@hotmail.com> - 
## http://smartor.is-root.com
## Description:  This mod will add a small administration menu for the 
## ezPortal from Smartor
## 
## Installation Level:  easy
## Installation Time:  4-6 Minutes 
## Files To Edit:       1
##
##			/portal.php
##			/language/lang_english/lang_admin.php
##	and/or		/language/lang_german/lang_admin.php
##
## Included Files:      /admin/admin_portal.php
##			/templates/admin/portal_config_body.php
##                      /ezportal_admin_db_install.php
##
##
################################################################# 
## Security Disclaimer: This MOD Cannot Be Posted To Or Added At Any ## Non-Official phpBB Sites 
################################################################# 
## 
## Author Note: 
##	
##	I hope you enjoy this mod, i try to add more function in the 
##      future.
##	This is my first mod. If you find any bugs please send me an email.
##	The template uses classes from the fisubice template from 
##      www.forumimages.com.
##	Maybe you have to change some of the classes to get this template ##      work with
##	the subSilver
## 
#################################################################
## 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:
##
## v1.0.0
##	- Initial Release
##--------------------------------------------------------------
## January 2nd 2003   
##
##  v 1.0.3 Updated by Willie Yaw {aka} Cyborg <cyborg@cyborgworks.com>
##
##  1.added ezportal_admin_db_install.php and made minor change to 
##   portal_value
##   changed from  
##   portal_value ` VARCHAR( 255 ) NOT NULL ,
##   to
##   portal_value ` TEXT NOT NULL , "so as not to limit Welcome message
##   to 255 characters"
##   
##  2. made minor changes to portal_config_body.tpl
##   made Welcome Message input box bigger and with scroll bar
##   to make editing much easier.
##
##
##
#################################################################
#
#-----[UPLOAD to root and RUN ]------------------------------------------
#       
ezportal_admin_db_install.php ["Warning" delete after install!!!]
#
# 
#-----[ OPEN ]------------------------------------------ 
# 

/phpBB2/portal.php

# 
#-----[ FIND ]------------------------------------------ 
# 

$CFG['welcome_text'] =

# 
#-----[ REPLACE, WITH ]------------------------------------------ 
# 

// $CFG['welcome_text'] =

# 
#-----[ FIND ]------------------------------------------ 
# 

$CFG['number_of_news'] =

# 
#-----[ REPLACE, WITH ]------------------------------------------ 
# 

// $CFG['number_of_news'] =

# 
#-----[ FIND ]------------------------------------------ 
# 

$CFG['news_length'] =

# 
#-----[ REPLACE, WITH ]------------------------------------------ 
# 

// $CFG['news_length'] =

# 
#-----[ FIND ]------------------------------------------ 
# 

$CFG['news_forum'] =

# 
#-----[ REPLACE, WITH ]------------------------------------------ 
# 

// $CFG['news_forum'] =

# 
#-----[ FIND ]------------------------------------------ 
# 

$CFG['poll_forum'] =

# 
#-----[ REPLACE, WITH ]------------------------------------------ 
# 

// $CFG['poll_forum'] =

# 
#-----[ FIND ]------------------------------------------ 
# 
# Only if you have installed, the "number of recent topics" block !

$CFG['number_recent_topics'] =

# 
#-----[ REPLACE, WITH ]------------------------------------------ 
# 

// $CFG['number_recent_topics'] =

# 
#-----[ FIND ]------------------------------------------ 
# 
# Only if you have installed, the "last seen" block !

$CFG['last_seen'] =

# 
#-----[ REPLACE, WITH ]------------------------------------------ 
# 

// $CFG['last_seen'] =

# 
#-----[ FIND ]------------------------------------------ 
# 

if( $total_users == 0 )
{
	$l_total_user_s = $lang['Registered_users_zero_total'];
}
else if( $total_users == 1 )
{
	$l_total_user_s = $lang['Registered_user_total'];
}
else
{
	$l_total_user_s = $lang['Registered_users_total'];
}

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

// Read Portal Configuration from DB
define('PORTAL_TABLE', $table_prefix.'portal');

$CFG = array();
$sql = "SELECT * FROM " . PORTAL_TABLE;

if( !($result = $db->sql_query($sql)) )
{
	message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}

while ( $row = $db->sql_fetchrow($result) )
{
	$CFG[$row['portal_name']] = $row['portal_value'];
}

# 
#-----[ FIND ]------------------------------------------ 
# 
# Only if you have installed, the "last seen" block !
// 
// last seen hack 
// 
   $sql = "SELECT username, user_id, user_lastvisit FROM phpbb_users WHERE user_id > 0 AND user_level <> 1 ORDER BY user_lastvisit DESC LIMIT 10"; 

# 
#-----[ REPLACE, WITH ]------------------------------------------ 
# 

// 
// last seen hack 
// 
	$sql = "SELECT username, user_id, user_lastvisit FROM " . USERS_TABLE . " WHERE user_id > 0 AND username <> 'Anonymous' ORDER BY user_lastvisit DESC LIMIT " . $CFG['last_seen']; 

# 
#-----[ OPEN ]------------------------------------------ 
# 

phpBB2/language/lang_english/lang_admin.php

# 
#-----[ FIND ]------------------------------------------ 
# 

//
// That's all Folks!

#
#-----[ BEFORE, ADD ]-----------------------------------
#
//
// mod : ezportal Admin
//
$lang['EZPortal_Config'] = 'EZPortal Configuration';
$lang['EZPortal_Portal_settings'] = 'EZPortal Settings';
$lang['Welcome_Text'] = 'Welcome Message';
$lang['Number_of_News'] = 'Number of News';
$lang['News_length'] = 'News length';
$lang['News_Forum'] = 'News forum(s)';
$lang['Poll_Forum'] = 'Poll forum(s)';
$lang['Number_Recent_Topics'] = 'Number of recent topics';
$lang['Last_Seen'] = 'Last seen users on forum';
$lang['Comma'] = 'Separate forum ID(s) with a comma';
//
//  END ezportal Admin
//

# 
#-----[ OPEN ]------------------------------------------ 
# 

phpBB2/language/lang_german/lang_admin.php

# 
#-----[ FIND ]------------------------------------------ 
# 

//
// That's all Folks!

#
#-----[ BEFORE, ADD ]-----------------------------------
#
//
// mod : ezportal Admin
//
$lang['General_Portal_Config'] = '  EZPortal Konfiguration';
$lang['General_Portal_settings'] = '  EZPortal einstellungen';
$lang['Welcome_Text'] = 'Willkommensnachricht';
$lang['Number_of_News'] = 'Anzahl der News';
$lang['News_length'] = 'News l鄚ge';
$lang['News_Forum'] = 'News forum(s)';
$lang['Poll_Forum'] = 'Poll forum(s)';
$lang['Number_Recent_Topics'] = 'Anzahl der letzten Beitr輍e';
$lang['Last_Seen'] = 'Anzahl der letzten Besucher';
$lang['Comma'] = 'Separate forum ID(s) with a comma';
//
//  END ezportal Admin
//
# 
#-----[ OPEN ]------------------------------------------ 
# 

phpBB2/language/lang_italian/lang_admin.php

# 
#-----[ FIND ]------------------------------------------ 
# 

//
// That's all Folks!

#
#-----[ BEFORE, ADD ]-----------------------------------
#
//
// mod : ezportal Admin
//
$lang['General_Portal_Config'] = '  Configurazione EZPortal  ';
$lang['General_Portal_settings'] = '  Settaggi EZPortal';
$lang['Welcome_Text'] = 'Messaggio di Benvenuto';
$lang['Number_of_News'] = 'Numero delle News';
$lang['News_length'] = 'Lunghezza News';
$lang['News_Forum'] = 'News forum(s)';
$lang['Poll_Forum'] = 'Poll forum(s)';
$lang['Number_Recent_Topics'] = 'Numero dei Topic recenti';
$lang['Last_Seen'] = 'Ultimi visitatori sul forum';
$lang['Comma'] = 'Separa gli ID dei forum con una virgola';
//
//  END ezportal Admin
//
# 
#-----[ SAVE/UPLOAD ]------------------------------------------ 
# EoM
第一個修改的我沒有做..因為我找不到portal.php這個資料夾\r
請問一下..我現在要怎麼做...