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

phpBB 2 Style Support
討論的範圍包含版面排列、樣式、配置;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
malu829
星球普通子民
星球普通子民
文章: 8
註冊時間: 2004-02-05 16:14

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

文章 malu829 »

http://morningmusumenet.net/phpbb/portal.php
想請問一下這種格式要怎麼修改\r
怎麼在一個網頁上分成很多格子..有現在時間 ,友站推薦,單元導覽....
夢幻LUGIA
竹貓忠實會員
竹貓忠實會員
文章: 352
註冊時間: 2003-11-16 07:27
來自: 竹貓不忠實會員

文章 夢幻LUGIA »

有注意到網址嗎?那是一個"portal"〈有人說是入口〉
找找看就會有了

時鐘是用flash做的 :P
頭像
horacekao
星球普通子民
星球普通子民
文章: 15
註冊時間: 2002-04-24 10:28
來自: 小U三號機
聯繫:

文章 horacekao »

*****SPAM*****, that's Cool
StickyKid
竹貓忠實會員
竹貓忠實會員
文章: 1019
註冊時間: 2003-01-31 10:32
來自: Taichung, Taiwan
聯繫:

文章 StickyKid »

默....portal就是網站的入口囉
至於時鐘嘛.....都跟你用Flash Player了
難道還是用JAVA血的啊 ~XD
Helvetica is a feature-length independent film about typography.
malu829
星球普通子民
星球普通子民
文章: 8
註冊時間: 2004-02-05 16:14

文章 malu829 »

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

Could not query config information in admin_portal
聽說這麼版本有錯誤嗎..還是我安裝錯了
吉川拓也
竹貓忠實會員
竹貓忠實會員
文章: 1215
註冊時間: 2003-02-09 18:24
來自: [ G.I.T ]
聯繫:

文章 吉川拓也 »

你附加的檔案有放到對應資料夾嗎 ?
另外它的SQL語法執行了沒 ?
善用 搜尋 可以解決您 90% 的問題
頭腦清晰,選擇正確。 (╯▔︹▔)╯~╘═╛
malu829
星球普通子民
星球普通子民
文章: 8
註冊時間: 2004-02-05 16:14

文章 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
請問一下..我現在要怎麼做...
主題已鎖定

回到「風格問題討論」