viewtopicde kısılerın altında album ıconu olusturuyor ve ıcon tıklayınca o kısının kısısel albumune gıdıyor
===============================================================================
sorum şu;
uyenın kişisel albümü varsa iconun gözükmesini istiyorum
bu yapılabilinirmi?
================================================================================
- Kod: Tümünü seç
##############################################################
## MOD Title: Smart Linking
## MOD Author: Jaeboy < admin@jaeboy.com > (James) http://jaeboy.com
## MOD Description: linking the album mod to the user's private gallery
## from viewtopic after his/her post
## MOD Version: 1.1
##
## Installation Level: (easy)
## Installation Time: 2 Minutes
## Files To Edit: (4)
## - viewtopic.php,
## - languages/lang_english/lang_main.php
## - templates/subSilver/subSilver.cfg
## - templates/subSilver/viewtopic_body.tpl
##
## Included Files: (1)
## - templates/subSilver/images/lang_english/icon_photo.gif
##
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Author Notes:
##
## v1.1 - 30 May, 2003
## - Image and language translated to phpbb by MJ < mj@phpbbfm.net > - http://phpbbfm.com
##
## MOD Licensed under GPL
## Image Copyrighted 2003 Mar
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
copy icon_photo.gif to templates/subSilver/images/lang_english/icon_photo.gif
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
'MINI_POST_IMG' => $mini_post_img,
#
#-----[ ADD, AFTER ]------------------------------------------
#
'PHOTO_GALLERY' => '<a href="'.append_sid("album_personal.$phpEx?user_id" . "=$poster_id").'"><img src="' . $images['icon_gallery'] . '" alt="' . $lang['Personal_gallery'] . '" border="0" /></a>',
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.PROFILE_IMG}
#
#-----[ ADD, BEFORE ]------------------------------------------
#
{postrow.PHOTO_GALLERY}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/subSilver.cfg
#
#-----[ FIND ]------------------------------------------
#
$images['icon_edit'] = "$current_template_images/{LANG}/icon_edit.gif";
#
#-----[ ADD, BEFORE ]------------------------------------------
#
$images['icon_gallery'] = "$current_template_images/{LANG}/icon_photo.gif";
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ ADD, BEFORE ]------------------------------------------
#
$lang['Personal_gallery'] = 'Personal Photo Album';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM