1 頁 (共 1 頁)

[問題]依夢兒請進~

發表於 : 2004-06-20 18:59
elvising
我在你的forum註冊了,發覺你用frameset,cookie還可以正常運作
我以前也試過這樣做,但不同的是music box,forum,frameset主頁 的網域都不同
所以每次都要login,很麻煩\r
怎樣可以像你這樣,cookie可以正常運作呢?

還有,你的forum的標題color會漸變,我也想要這個效果~請賜教^^

發表於 : 2004-06-20 19:47
依夢兒
elvising 寫:怎樣可以像你這樣,cookie可以正常運作呢?
我只是照竹貓的教學設定我的 Domain name 而已。

網域名稱:morningmusumenet.net
Cookie 指定網域:(留白)
Cookie 名稱:(自己隨便用英文和數字取一個)
Cookie 路徑:/
Cookie 加密:關閉
Session 存活時間:3600

另外提醒你網站上的會員作以下設定會比較好(請把 morningmusumenet.net 換成你自己的網址):
一、開啟 IE 網頁瀏覽器。
二、工具 > 網際網路選項 > 隱私 > 編輯
三、請在網址欄位中輸入 http://morningmusumenet.net ,然後按一下右邊的允許
  IE 就會將 morningmusumenet.net 加入至下面的白色框框。
  請注意到 morningmusumenet.net 的右邊應該是顯示著自動允許
  如果不是顯示自動允許,請將滑鼠移到 morningmusumenet.net 上,按一下滑鼠右鍵,再選擇允許,就可以了。
四、然後連續按二次確定,退回原來 IE 的畫面,將 IE 關掉再重開,再登入本論壇。
  登入時請務必勾選自動登入,如果電腦不是您的,在您離開電腦前,記得要按登出
elvising 寫:還有,你的forum的標題color會漸變,我也想要這個效果~請賜教^^

代碼: 選擇全部

##############################################################
## Mod Title: HyperCell's for all pages
## Mod Version: 1.1.0
## Author: Corey Touchet (Lewt Haxxor on phpbb.com)
## Description: This is a mod to have hypercells work on all of your phpBB2 pages where it'll be usefull.
## CREDIT: Goes to the original author if I ever found out who he was and me for making sure this worked :)
##
## Installation Level: (easy)
## Installation Time: 10 Minutes
## Files To Edit: search_results_topics.tpl, index_body.tpl, viewforum_body.tpl, privmsgs_body.tpl
## Included Files: (n/a)
##############################################################
#  Version History
#  1.1.0 Fixed the {{T_TD_COLOR1}} typo.  Should of been {T_TD_COLOR1}
#
#  1.0.0 Original Release
#
##############################################################
## For Security Purposes, This MOD Cannot Be Posted Or Added At Any Non-Official phpBB Site
##############################################################

##############################################################
## Author Note: Please backup any files before you change them!
##
##############################################################

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

/yourphpdir/templates/subSilver/search_results_topics.tpl

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


<td class="row2"><span class="topictitle">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><br /><span class="gensmall">{searchresults.GOTO_PAGE}</span></td>

#
#-----[ REPLACE WITH ]------------------------------------------
#
#
#NOTE:  sometimes it's easier to comment out the line with a <!--  line to replace --> so you can easily restore files
#       via a telnet session if having to fix a forum from a remote place and dont have the backup with you.


<td class="row2" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{searchresults.U_VIEW_TOPIC}'"><span class="topictitle">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><br /><span class="gensmall">{searchresults.GOTO_PAGE}</span></td>

#NOTE:  this.style.backgroundColor="{T_TD_COLOR1}"  can be changed to any color to suit your forum.
#       Just replace the {T_TD_COLOR1} with any color code you want.
#       Hard codes such as #FFFFFF can be used but it is best to use the template system codes for colors.


#
#-----[ CLOSE ]------------------------------------------
#

/yourphpdir/templates/subSilver/search_results_topics.tpl





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

/yourphpdir/templates/subSilver/index_body.tpl

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

<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />


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

<td class="row1" width="100%" height="50" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor=""  onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />


#
#-----[ CLOSE ]------------------------------------------
#

/yourphpdir/templates/subSilver/index_body.tpl

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

/yourphpdir/templates/subSilver/viewforum_body.tpl

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

<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />


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

<td class="row1" width="100%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />


#
#-----[ CLOSE ]------------------------------------------
#

/yourphpdir/templates/subSilver/viewforum_body.tpl

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

/yourphpdir/templates/subSilver/privmsgs_body.tpl

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

<td width="55%" valign="middle" class="{listrow.ROW_CLASS}"><span class="topictitle"> <a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>


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

<td width="55%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{listrow.U_READ}'"><span class="topictitle"> <a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>

#
#-----[ CLOSE ]------------------------------------------
#

/yourphpdir/templates/subSilver/privmsgs_body.tpl

#
#------[Upload and impress!]-----------------------------
#

發表於 : 2004-06-21 16:40
22183389
Cookie 指定網域 =>一定得填,不然一堆特別設計的網站,都可以讀取你的COOKIE
Cookie 名稱 =>別留預設,把他改掉,名稱為英數較恰當

發表於 : 2004-06-21 21:11
elvising
22183389 寫:Cookie 指定網域 =>一定得填,不然一堆特別設計的網站,都可以讀取你的COOKIE
怎填呀?
如果是竹貓的話\r
是不是就填phpbb-tw.net呀?
還是\r 那個格式才對?

發表於 : 2004-06-23 08:12
依夢兒
22183389 寫:Cookie 指定網域 =>一定得填,不然一堆特別設計的網站,都可以讀取你的COOKIE
第一次聽到這種說法....
以前小竹子和竹貓的架設寶典裡面的教學都是說留白就好。XD

http://phpbb-tw.net/phpbb/viewtopic.php?p=99744#99744
http://phpbb-tw.net/phpbb/viewtopic.php?p=147960#147960

elvising 寫:如果是竹貓的話\r
是不是就填phpbb-tw.net呀?
phpbb-tw.net 是竹貓的網域名稱
前面不用加 http:// ,後面也不用加反斜線,你看我的上一篇範例就知道了。

至於 Cookie 指定網域,竹貓應該也是留白,不然小竹子就不會這麼說了。 :mrgreen:

發表於 : 2004-06-23 15:45
EllE~
依夢兒 寫:
elvising 寫:還有,你的forum的標題color會漸變,我也想要這個效果~請賜教^^
為什麼我弄不到這個效果呀???