Kod: Tümünü seç
##############################################################
## MOD Title: Seo For Humanizmic
## MOD Version: Beta: 0.3.0
## MOD Author: yakusha < n/a > (www.yakusha.net) http://www.**********
## MOD Description:
## -- EN: A litte humanizm and seo :)
## -- TR: Biraz insaniyet, biraz seo :)
##
## Installation Level: Easy
## Installation Time: 10 minutes
## Files To Edit: (10)
## - overall_header.html
## - index_body.html
## - viewtopic.php
## - forumlist_body.html
## - search_result.html
## - viewforum_body.html
## - viewtopic_body.html
## - ucp_main_front.html
## - ucp_main_bookmarks.html
## - ucp_main_subscribed.html
##############################################################
## Included Files: n/a
## License: Open Source :)
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## ucp_main_subscribed.html ve viewtopic.php ile ilgili değişiklikler opsiyonel olarak sunuluyor.
##############################################################
## MOD History:
## 2007-05-31 - Version 0.3.0
## * Header optimize moduyla birleştirildi
## * Geçerli zamanın gösterimi eklendi
##
## 2007-05-08 - Version 0.2.0
## * ucp_main_bookmarks.html, ucp_main_subscribed.html dosyasıyla ilgili değişiklikler eklendi.
## * 2007-05-08 tarihli cvs ye göre komut zinciri yeniden güncellendi.
## * topic sayfasında yeni mesajlar ikonunun görünmemesi hatası düzeltildi...
##
## 2007-04-24 - Version 0.1.0
## initial release.
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#---[ + ] --- [ OPTIONAL ] ----------------------------
## EN:
## Topic page title fix
## if user clicking topic title on topic page, link as starting 1.post :)
## TR:
## topic sayfasında, topic başlığından ilgili ilk mesaja dönmesi için aşağıdaki ilk değişikliği yapınız
## sadece start değerini kaldırıyoruz, böylece başlığa tıklayınca, ilgili sayfayı yenilemek yerine
## ilk mesaja dönecektir.
##
#--- [ OPEN ] ----------------------------
viewtopic.php
#--- [ FIND ] ----------------------------
$viewtopic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&start=$start&$u_sort_param" . (($highlight_match) ? "&hilit=$highlight" : ''));
#--- [ REPLACE ] ----------------------------
$viewtopic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&$u_sort_param" . (($highlight_match) ? "&hilit=$highlight" : ''));
#---[ - ] --- [ OPTIONAL ] ----------------------------
#
#-----[ OPEN ]------------------------------------------
#
overall_header.html
#
#-----[ FIND ]------------------------------------------
#
<a name="start_here"></a>
<div id="page-body">
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
<div id="message" class="rules">
<div class="inner"><span class="corners-top"><span></span></span>
<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
#
#-----[ REPLACE ]------------------------------------------
#
<a name="start_here"></a>
<div id="page-body">
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
<div id="message" class="rules">
<div class="inner"><span class="corners-top"><span></span></span>
<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
<span class="corners-bottom"><span></span></span>
</div>
</div>
<!-- ENDIF -->
<ul class="linklist">
<li>
<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> • <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a>
<!-- IF S_USER_LOGGED_IN --> • <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->
</li>
<li class="rightside">{CURRENT_TIME}<!-- IF S_USER_LOGGED_IN --> | {LAST_VISIT_DATE}<!-- ENDIF --></li>
</ul>
#
#-----[ OPEN ]------------------------------------------
#
index_body.html
#
#-----[ FIND ]------------------------------------------
#
<!-- INCLUDE overall_header.html -->
<p class="right<!-- IF U_MCP --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>
<!-- IF U_MCP --><p> [ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ENDIF -->
<ul class="linklist">
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_USER_LOGGED_IN --> • <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> • <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
<!-- IF S_USER_LOGGED_IN and not S_IS_BOT --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
</ul>
<!-- INCLUDE forumlist_body.html -->
#
#-----[ REPLACE ]------------------------------------------
#
<!-- INCLUDE overall_header.html -->
<ul class="linklist">
<li><!-- IF U_MCP -->[ <a href="{U_MCP}">{L_MCP}</a> ]<!-- ENDIF --></li>
<!-- IF S_USER_LOGGED_IN and not S_IS_BOT --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
</ul>
<!-- INCLUDE forumlist_body.html -->
#--- [ OPEN ] ----------------------------
forumlist_body.html
#--- [ FIND ] ----------------------------
<dd class="lastpost"><span>
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{L_POSTED_ON_DATE} {forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<!-- ENDIF --></span>
</dd>
#--- [ REPLACE ] ----------------------------
<dd class="lastpost">
<span>
<!-- IF forumrow.LAST_POST_TIME -->
<dfn>{L_LAST_POST}</dfn><a href="{forumrow.U_LAST_POST}">{forumrow.LAST_POST_TIME}</a>
<br /> {forumrow.LAST_POSTER_FULL}
<!-- ELSE -->
{L_NO_POSTS}
<!-- ENDIF -->
</span>
</dd>
#--- [ OPEN ] ----------------------------
search_result.html
#--- [ FIND ] ----------------------------
<dd class="lastpost"><span>
{L_POST_BY_AUTHOR} {searchresults.LAST_POST_AUTHOR_FULL}
<a href="{searchresults.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{L_POSTED_ON_DATE} {searchresults.LAST_POST_TIME}<br /> </span>
</dd>
#--- [ REPLACE ] ----------------------------
<dd class="lastpost">
<span>
<a href="{searchresults.U_LAST_POST}">{searchresults.LAST_POST_TIME}</a>
<br />{searchresults.LAST_POST_AUTHOR_FULL}
</span>
</dd>
#--- [ FIND ] ----------------------------
{L_POST_BY_AUTHOR} {searchresults.TOPIC_AUTHOR_FULL} {L_POSTED_ON_DATE} {searchresults.FIRST_POST_TIME}
<!-- IF not searchresults.S_TOPIC_GLOBAL -->{L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a><!-- ELSE --> ({L_GLOBAL})<!-- ENDIF -->
#--- [ REPLACE ] ----------------------------
{searchresults.TOPIC_AUTHOR_FULL} | {searchresults.FIRST_POST_TIME}
<!-- IF not searchresults.S_TOPIC_GLOBAL -->| <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a><!-- ELSE --> ({L_GLOBAL})<!-- ENDIF -->
#--- [ OPEN ] ----------------------------
viewforum_body.html
#--- [ FIND ] ----------------------------
<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{L_POSTED_ON_DATE} {topicrow.LAST_POST_TIME}</span>
</dd>
#--- [ REPLACE ] ----------------------------
<dd class="lastpost">
<span>
<a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_TIME}</a>
<br />{topicrow.LAST_POST_AUTHOR_FULL}
</span>
</dd>
#--- [ FIND ] ----------------------------
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} {L_POSTED_ON_DATE} {topicrow.FIRST_POST_TIME}
#--- [ REPLACE ] ----------------------------
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{topicrow.TOPIC_AUTHOR_FULL} | {topicrow.FIRST_POST_TIME}
#--- [ OPEN ] ----------------------------
viewtopic_body.html
#--- [ FIND ] ----------------------------
<p class="author"><a href="#p{postrow.POST_ID}">{postrow.MINI_POST_IMG}</a>{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> {L_POSTED_ON_DATE} {postrow.POST_DATE} </p>
#--- [ REPLACE ] ----------------------------
<p class="author"><a href="#p{postrow.POST_ID}">#{postrow.POST_ID}</a> {postrow.MINI_POST_IMG} | <strong>{postrow.POST_AUTHOR_FULL}</strong> | {postrow.POST_DATE} </p>
#--- [ OPEN ] ----------------------------
ucp_main_front.html
#--- [ FIND ] ----------------------------
<dd class="lastpost"><span>{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{L_POSTED_ON_DATE} {topicrow.LAST_POST_TIME}</span>
</dd>
#--- [ REPLACE ] ----------------------------
<dd class="lastpost">
<span>
<a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_TIME}</a><br />{topicrow.LAST_POST_AUTHOR_FULL}
</span>
</dd>
#--- [ FIND ] ----------------------------
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} {L_POSTED_ON_DATE} {topicrow.FIRST_POST_TIME}
#--- [ REPLACE ] ----------------------------
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{topicrow.TOPIC_AUTHOR_FULL} | {topicrow.FIRST_POST_TIME}
#--- [ OPEN ] ----------------------------
ucp_main_bookmarks.html
#--- [ FIND ] ----------------------------
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} {L_POSTED_ON_DATE} {topicrow.FIRST_POST_TIME}
#--- [ REPLACE ] ----------------------------
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{topicrow.TOPIC_AUTHOR_FULL} | {topicrow.FIRST_POST_TIME}
#--- [ FIND ] ----------------------------
<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><br />
{L_POSTED_ON_DATE} {topicrow.LAST_POST_TIME}</span>
</dd>
#--- [ REPLACE ] ----------------------------
<dd class="lastpost"><span> <a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_TIME}</a><br />{topicrow.LAST_POST_AUTHOR_FULL}</span></dd>
#--[ + ] - [ OPTIONAL ] ----------------------------
#
#--- [ OPEN ] ----------------------------
#
ucp_main_subcsribed.html
#
#--- [ FIND ] ----------------------------
#
<!-- BEGIN forumrow -->
<li class="row<!-- IF forumrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
<dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC});">
<dt><a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />
<!-- IF forumrow.LAST_POST_TIME -->{L_LAST_POST} {L_POST_BY_AUTHOR} <!-- IF forumrow.U_LAST_POST_AUTHOR --><a href="{forumrow.U_LAST_POST_AUTHOR}">{forumrow.LAST_POST_AUTHOR}</a>
<!-- ELSE -->{forumrow.LAST_POST_AUTHOR}<!-- ENDIF --> <a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> {L_POSTED_ON_DATE} {forumrow.LAST_POST_TIME}
<!-- ELSE -->{L_NO_POSTS}<!-- ENDIF -->
</dt>
<dd class="mark"><input type="checkbox" name="f[{forumrow.FORUM_ID}]" id="f{forumrow.FORUM_ID}" /></dd>
</dl>
</li>
<!-- END forumrow -->
</ul>
<!-- ELSEIF S_FORUM_NOTIFY -->
<p><strong>{L_NO_WATCHED_FORUMS}</strong></p>
<!-- ENDIF -->
<!-- IF .topicrow -->
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_WATCHED_TOPICS}</dt>
<dd class="lastpost">{L_LAST_POST}</dd>
</dl>
</li>
</ul>
<ul class="topiclist cplist">
<!-- BEGIN topicrow -->
<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC});">
<dt style="<!-- IF topicrow.TOPIC_ICON_IMG -->background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG});<!-- ENDIF -->" title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
<!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} {L_POSTED_ON_DATE} {topicrow.FIRST_POST_TIME}
</dt>
<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{L_POSTED_ON_DATE} {topicrow.LAST_POST_TIME}</span>
</dd>
<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>
</dl>
</li>
<!-- END topicrow -->
#
#--- [ REPLACE ] ----------------------------
#
<!-- BEGIN forumrow -->
<li class="row<!-- IF forumrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
<dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC});">
<dt><a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a>
</dt>
<dd class="lastpost"><span>
<!-- IF forumrow.LAST_POST_TIME -->
<a href="{forumrow.U_LAST_POST}">{forumrow.LAST_POST_TIME}</a><br />
<!-- IF forumrow.U_LAST_POST_AUTHOR --><a href="{forumrow.U_LAST_POST_AUTHOR}">{forumrow.LAST_POST_AUTHOR}</a>
<!-- ELSE -->{forumrow.LAST_POST_AUTHOR}<!-- ENDIF -->
<!-- ELSE -->{L_NO_POSTS}<!-- ENDIF -->
</dd>
<dd class="mark"><input type="checkbox" name="f[{forumrow.FORUM_ID}]" id="f{forumrow.FORUM_ID}" /></dd>
</dl>
</li>
<!-- END forumrow -->
</ul>
<!-- ELSEIF S_FORUM_NOTIFY -->
<p><strong>{L_NO_WATCHED_FORUMS}</strong></p>
<!-- ENDIF -->
<!-- IF .topicrow -->
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_WATCHED_TOPICS}</dt>
<dd class="lastpost">{L_LAST_POST}</dd>
<dd class="mark">{L_MARK}</dd>
</dl>
</li>
</ul>
<ul class="topiclist cplist">
<!-- BEGIN topicrow -->
<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC});">
<dt style="<!-- IF topicrow.TOPIC_ICON_IMG -->background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG});<!-- ENDIF -->" title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
<!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{topicrow.TOPIC_AUTHOR_FULL} | {topicrow.FIRST_POST_TIME}
</dt>
<dd class="lastpost"><span><a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_TIME}</a> <br />{topicrow.LAST_POST_AUTHOR_FULL}</span></dd>
<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>
</dl>
</li>
<!-- END topicrow -->
#--[ - ] - [ OPTIONAL ] ----------------------------
#--- [ SAVE AND CLOSE ALL FILES ] ----------------------------