Geplaatst: 20 nov 2005, 14:25
Code: Selecteer alles
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" width="100%" height="50">
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a>
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
<span{catrow.forumrow.NEW_POSTS_LINK} class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
Code: Selecteer alles
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" width="100%" height="50">
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a>
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}"{catrow.forumrow.NEW_POSTS_LINK}>{catrow.forumrow.FORUM_NAME}</a>
Code: Selecteer alles
##############################################################
## MOD Title: Colored link if new post
## MOD Author: DaMnNaTiOn < fy [at] frankyang [dot] net > (Frank Yang) http://www.frankyang.net
## MOD Author: Mickroz < mickroz [at] mickroz [dot] nl > (Mike Kros) http://www.mickroz.nl
## MOD Description: Changes the color of the links if there are new posts
## MOD Version: 0.2.1
##
## Installation Level: Easy
## Installation Time: 10 minutes
## Files To Edit: index.php
## viewforum.php
## templates/subSilver/index_body.tpl
## templates/subSilver/viewforum_body.tpl
## language/lang_english/lang_main.php
## Included Files:
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
## Generator: MOD Studio [ ModTemplateTools 1.0.2232.38226 ]
##############################################################
## 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: Nothing :)
##############################################################
## MOD History:
##
## 2006-02-15 - Version 0.2.1
## - Fixed link colors not working.
## Added $lang['Link_color'] for easy color change.
##
## 2005-11-20 - Version 0.2.0
## - Added the link highlighting in viewforum.php
##
## 2005-11-19 - Version 0.1.1
## - Simplified the install, the color is now hardcoded in the php file instead of the css file
##
## 2004-11-26 - Version 0.1.0
## - Initial Release
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
$folder_alt = ( $unread_topics ) ? $lang['New_posts'] : $lang['No_new_posts'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$new_posts_link = ( $unread_topics ) ? ' style="color: ' . $lang['Link_color'] . ';"' : '';
#
#-----[ FIND ]------------------------------------------
#
'ROW_CLASS' => $row_class,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'NEW_POSTS_LINK' => $new_posts_link,
#
#-----[ OPEN ]------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------
#
$folder_image = $folder_new;
#
#-----[ AFTER, ADD ]------------------------------------------
#
$new_posts_link = ' style="color: ' . $lang['Link_color'] . ';"';
#
#-----[ FIND ]------------------------------------------
#
$folder_image = $folder;
#
#-----[ AFTER, ADD ]------------------------------------------
#
$new_posts_link = '';
#
#-----[ FIND ]------------------------------------------
#
$folder_image = $folder_new;
#
#-----[ AFTER, ADD ]------------------------------------------
#
$new_posts_link = ' style="color: ' . $lang['Link_color'] . ';"';
#
#-----[ FIND ]------------------------------------------
#
$folder_image = $folder;
#
#-----[ AFTER, ADD ]------------------------------------------
#
$newest_post_img = '';
#
#-----[ FIND ]------------------------------------------
#
$folder_image = $folder;
#
#-----[ AFTER, ADD ]------------------------------------------
#
$new_posts_link = '';
#
#-----[ FIND ]------------------------------------------
#
'ROW_CLASS' => $row_class,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'NEW_POSTS_LINK' => $new_posts_link,
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" width="100%" height="50">
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a>
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}"{catrow.forumrow.NEW_POSTS_LINK}>{catrow.forumrow.FORUM_NAME}</a>
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewforum_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{topicrow.U_VIEW_TOPIC}"
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
{topicrow.NEW_POSTS_LINK}
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]------------------------------------------
#
# Change #d82929 to any color you like
//Colored Link if new post MOD
$lang['Link_color'] = '#d82929';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Bee schreef:Rechtermuisknop en dan Save Target As... (Doel opslaan als...)
Code: Selecteer alles
##############################################################
## MOD Title: Colored link if new post
## MOD Author: DaMnNaTiOn < fy [at] frankyang [dot] net > (Frank Yang) http://www.frankyang.net
## MOD Author: Mickroz < mickroz [at] mickroz [dot] nl > (Mike Kros) http://www.mickroz.nl
## MOD Description: Changes the color of the links if there are new posts
## MOD Version: 0.2.2
##
## Installation Level: Easy
## Installation Time: 10 minutes
## Files To Edit: admin/admin_board.php
## index.php
## viewforum.php
## templates/subSilver/admin/board_config_body.tpl
## templates/subSilver/index_body.tpl
## templates/subSilver/viewforum_body.tpl
## language/lang_english/lang_admin.php
## Included Files: N/A
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## 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:
## You can run db_update.php or do the sql
## commands manually.
##############################################################
## MOD History:
##
## 2007-01-23 - Version 0.2.2
## - Fixed typo in install file.
## Added ACP field for easy color change.
## Created update file and db_update.php.
##
## 2006-02-15 - Version 0.2.1
## - Fixed link colors not working.
## Added $lang['Link_color'] for easy color change.
##
## 2005-11-20 - Version 0.2.0
## - Added the link highlighting in viewforum.php
##
## 2005-11-19 - Version 0.1.1
## - Simplified the install, the color is now hardcoded in the php file instead of the css file
##
## 2004-11-26 - Version 0.1.0
## - Initial Release
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################