[2.0.20] Category Icon with ACP Control

[url=http://www.phpbbturkey.com/mods.html:34cnv4ga]phpBB 2.0.x MOD Veritabanımızda[/url:34cnv4ga] yayınlanan ve tarafınızca eklenen tüm yeni phpBB 2.0.x sürümleri için MODların duyuruları buradan yapılmaktadır. MODlar hakkında ihtiyacınız olan desteği lütfen [b:34cnv4ga]2.0.x MOD Destek[/b:34cnv4ga] forumuna başlık açarak sorunuz.
Kullanıcı avatarı
phpBB-TR
Kayıtlı Kullanıcı
Mesajlar: 588
Kayıt: 24.12.2006, 13:34
Konum: İstanbul
İletişim:

[2.0.20] Category Icon with ACP Control

Mesaj gönderen phpBB-TR »

MOD Adı: Category Icon with ACP Control / Kategori İkonu ACP Kontrollü
Yazar: ycl6
MOD Açıklaması: Kategori ikonu eklemenizi/değiştirmenizi sağlar..


MOD Versiyon: 1.0.0

Dosya İndir: Category_Icon_1.0.0.zip
Boyut: 66290 Bytes

_______________________-

Mesaj Güncellendi. Linkler düzeltildi, sorunlar giderildi..
En son phpBB-TR tarafından 27.05.2007, 22:25 tarihinde düzenlendi, toplamda 3 kere düzenlendi.
ilhanfire
Kayıtlı Kullanıcı
Mesajlar: 87
Kayıt: 26.02.2007, 18:13
İletişim:

Mesaj gönderen ilhanfire »

eline sağlık iyi güzel ama bizim tema dosyalarında bu kodları uygulamakda zorlanıyoruz subsilver kullanmadığımız için. nasıl yapabiliriz ben bu kodu uygulamak istiyorum.

temadaki ilgili kodları versekte bu başlık altında mı düzeltsek acaba ??
Kullanıcı avatarı
PessimiStyle
Kayıtlı Kullanıcı
Mesajlar: 99
Kayıt: 22.02.2007, 05:00
Konum: İstanbul-Sakarya
İletişim:

Mesaj gönderen PessimiStyle »

arkadaşım subsilver olmak zorunda değil. modda subsilver olarak gösterilen yerleri kendi temana göre uyarlayabilirsin. Çoğu temanın kodları aynı zaten..
ilhanfire
Kayıtlı Kullanıcı
Mesajlar: 87
Kayıt: 26.02.2007, 18:13
İletişim:

Mesaj gönderen ilhanfire »

merhaba ben kendi temamı istenilen kodlara göre uyarlıyamadığım için yazdım zaten bu mesajı eğer bana yardımcı olabilirseniz temayı ilgili kodlara göre bu başlık altında düzeltelim istiyorum.
Kullanıcı avatarı
phpBB-TR
Kayıtlı Kullanıcı
Mesajlar: 588
Kayıt: 24.12.2006, 13:34
Konum: İstanbul
İletişim:

Mesaj gönderen phpBB-TR »

temandaki bu modla ilgili hangi dosyayı düzenleyemediysen, eklentiye at, yapayım :wink:
ilhanfire
Kayıtlı Kullanıcı
Mesajlar: 87
Kayıt: 26.02.2007, 18:13
İletişim:

Mesaj gönderen ilhanfire »

2 dosyada değişiklik yapamadım kontrol edip doğrusunu eklerseniz sevinirim.
Dosya ekleri
iSTEK_VE_TEMaDAKi_ALAN.rar
(1.06 KiB) 154 kere indirildi
Kullanıcı avatarı
phpBB-TR
Kayıtlı Kullanıcı
Mesajlar: 588
Kayıt: 24.12.2006, 13:34
Konum: İstanbul
İletişim:

Mesaj gönderen phpBB-TR »

Mod bende yok..phpBB.com'da yenilendi..Eğer category icon modunu bir arkadaşımız yayınlarsa düzenlerim..
ilhanfire
Kayıtlı Kullanıcı
Mesajlar: 87
Kayıt: 26.02.2007, 18:13
İletişim:

Mesaj gönderen ilhanfire »

merhaba arkadaşım mod bilgisine ihtiyacın yok. gerekli bilgilerin hepsini ben dosyanın içine yazdım zatem. sadece dosyayı indirip okuman yeter.

çok acil bekliyorum şehir dışına çıkmadn yapayım bu modu. teşekkürler
Kullanıcı avatarı
phpBB-TR
Kayıtlı Kullanıcı
Mesajlar: 588
Kayıt: 24.12.2006, 13:34
Konum: İstanbul
İletişim:

Mesaj gönderen phpBB-TR »

arkadaşım, senin modunla buradaki mod farklı..!! Sen forum ikondan söz ediyorsun ! Ben, kategori ikondan !
ilhanfire
Kayıtlı Kullanıcı
Mesajlar: 87
Kayıt: 26.02.2007, 18:13
İletişim:

Mesaj gönderen ilhanfire »

ben anlamadım bu işi. benim uygulamak istediğim mod ile mesajlarımızın yazılı olduğu bu mod aynı değil

bendeki mod

Kod: Tümünü seç

######################################################## 
## MOD Title:		Forum Icon with ACP Control (Default)
## MOD Version:		1.0.4
## MOD Author:		Mac (Y.C. LIN) < ycl_6@sinamail.com > http://endless-tw.net
##
## MOD Description:	This mod allow admin to give each forum a icon in the ACP
##			Icons will show on index
## 
## Installation Level:	Easy 
## Installation Time:	3 Minutes 
##
## Files To Edit:	8
##	index.php
##	viewforum.php
##	admin/admin_forums.php
##	language/lang_english/lang_admin.php
##	templates/subSilver/admin/forum_admin_body.tpl
##	templates/subSilver/admin/forum_edit_body.tpl
##	templates/subSilver/index_body.tpl
##	templates/subSilver/viewforum_body.tpl
##
## Included Files: 	n/a
##
################################################################# 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ 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/ 
############################################################## 
## Author Notes:
##	Set your forum icon image paths as those rank images
##
##	If you wish to using the LIST BOX option,
##	you have to follow the instruction in EXTRA folder. Please DO NOT using the below code!
##	Both options CANNOT be used together.
## 
############################################################## 
## MOD History: 
##
##   2003-11-04 - Version 1.0.0
##      - Initial Release
##
##   2003-11-08 - Version 1.0.1
##      - Checked for 2.0.6 competibility, no change in coding
##
##   2003-11-15 - Version 1.0.2
##      - Corrections were made for phpBB MOD Database submission
##
##   2003-12-01 - Version 1.0.3
##      - Forum icon selectable using list box (Option 2)
##	- Add forum icon image to Forum Administration main panel
##	- Add forum icon image to corresponding the viewforum.php
##
##   2004-02-11 - Version 1.0.4
##      - Fix ListBox no-picture problem when icon is slected for the first time
##		People using the default option DOES NOT need to upgrade
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
# 
#-----[ SQL ]------------------------------------------ 
#
# Remember to change the table prefix used on your database
ALTER TABLE `phpbb2_forums` ADD `forum_icon` VARCHAR( 255 ) default NULL;

# 
#-----[ OPEN ]------------------------------------------ 
# 
language/lang_english/lang_admin.php

# 
#-----[ FIND ]------------------------------------------ 
#
$lang['Forum_status'] = 'Forum status';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
$lang['Forum_icon'] = 'Forum icon'; // Forum Icon MOD

# 
#-----[ OPEN ]------------------------------------------ 
#  
admin/admin_forums.php

# 
#-----[ FIND ]------------------------------------------ 
# 
				$forumstatus = $row['forum_status'];


# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
				$forumicon = $row['forum_icon']; // Forum Icon MOD

# 
#-----[ FIND ]------------------------------------------ 
# 
				$forumstatus = FORUM_UNLOCKED;

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
				$forumicon = ''; // Forum Icon MOD

# 
#-----[ FIND ]------------------------------------------ 
# 
				'L_FORUM_STATUS' => $lang['Forum_status'],

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
				'L_FORUM_ICON' => $lang['Forum_icon'], // Forum Icon MOD

# 
#-----[ FIND ]------------------------------------------ 
#
				'DESCRIPTION' => $forumdesc)

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
				'DESCRIPTION' => $forumdesc,
				'ICON' => ( $forumicon ) ? $forumicon : '', // Forum Icon MOD 
				'ICON_DISPLAY' => ( $forumicon ) ? '<img src="' . $phpbb_root_path . $forumicon . '" />' : '' // Forum Icon MOD 
				)

# 
#-----[ FIND ]------------------------------------------ 
#
			// There is no problem having duplicate forum names so we won't check for it.
			$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ")

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
#
forum_status

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
, forum_icon

# 
#-----[ FIND ]------------------------------------------ 
#
				VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
#
, " . intval($HTTP_POST_VARS['forumstatus']) . "

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
, '" . str_replace("\'", "''", $HTTP_POST_VARS['forumicon']) . "'

# 
#-----[ FIND ]------------------------------------------ 
#
			$sql = "UPDATE " . FORUMS_TABLE . "
				SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
				WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
#
, forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . "

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
, forum_icon = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumicon']) . "'

# 
#-----[ FIND ]------------------------------------------ 
# 
					'FORUM_DESC' => $forum_rows[$j]['forum_desc'],

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
					'FORUM_ICON_IMG' => ( $forum_rows[$j]['forum_icon'] ) ? '<img src="' . $phpbb_root_path . $forum_rows[$j]['forum_icon'] . '" alt="'.$forum_data[$j]['forum_name'].'" title="'.$forum_data[$j]['forum_name'].'" />' : '', // Forum Icon Mod

# 
#-----[ OPEN ]------------------------------------------ 
#  
index.php

# 
#-----[ FIND ]------------------------------------------ 
# 
							$posts = $forum_data[$j]['forum_posts'];
							$topics = $forum_data[$j]['forum_topics'];

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
							$icon = $forum_data[$j]['forum_icon'];	// Forum Icon Mod

# 
#-----[ FIND ]------------------------------------------ 
# 
								'FORUM_FOLDER_IMG' => $folder_image, 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
								'FORUM_ICON_IMG' => ($icon) ? '<img src="' . $phpbb_root_path . $icon . '" alt="'.$forum_data[$j]['forum_name'].'" title="'.$forum_data[$j]['forum_name'].'" />' : '',	// Forum Icon Mod

# 
#-----[ OPEN ]------------------------------------------ 
#  
viewforum.php

# 
#-----[ FIND ]------------------------------------------ 
# 
	'FORUM_NAME' => $forum_row['forum_name'],

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
	'FORUM_ICON_IMG' => ($forum_row['forum_icon']) ? '<img src="' . $phpbb_root_path . $forum_row['forum_icon'] . '" alt="'.$forum_row['forum_name'].'" title="'.$forum_row['forum_name'].'" />&nbsp;' : '',	// Forum Icon Mod Icon Mod

# 
#-----[ OPEN ]------------------------------------------ 
#  
templates/subSilver/admin/forum_edit_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
	<tr> 
	  <td class="row1">{L_FORUM_NAME}</td> 
	  <td class="row2"><input type="text" size="25" name="forumname" value="{FORUM_NAME}" class="post" /></td> 
	</tr> 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
	<tr> 
	  <td class="row1">{L_FORUM_ICON}</td>
	  <td class="row2"><input type="text" size="35" name="forumicon" value="{ICON}" class="post" />&nbsp;&nbsp;&nbsp;{ICON_DISPLAY}</td>
	</tr>

# 
#-----[ OPEN ]------------------------------------------ 
#  
templates/subSilver/admin/forum_admin_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
		<td class="row2"><span class="gen"><a href="{catrow.forumrow.U_VIEWFORUM}" target="_new">{catrow.forumrow.FORUM_NAME}</a></span><br /><span class="gensmall">{catrow.forumrow.FORUM_DESC}</span></td>

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
#
		<td class="row2"><span class="gen">

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
{catrow.forumrow.FORUM_ICON_IMG}&nbsp;&nbsp;

# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/index_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
#
colspan="2"

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
colspan="3"

# 
#-----[ FIND ]------------------------------------------ 
#
	<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
#
colspan="2"

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
colspan="3"

# 
#-----[ FIND ]------------------------------------------ 
#
	<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	<td class="row1" align="center" valign="middle" height="50">{catrow.forumrow.FORUM_ICON_IMG}</td>

# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/viewforum_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
	  <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a>

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
#
	  <td align="left" valign="bottom" colspan="2">

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
{FORUM_ICON_IMG}

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 

# EoM
yapmak istediğim şey

[ resmi görüntülemek için tıklayın ]

bu modu uygulamak istiyorum yardımcı olursanız sevinirim.

modun adresi

Kod: Tümünü seç

http://www.phpbbhacks.com/download/2285
indirdiğin dosyadaki 2 yeri değiştirip buraya eklersen sevinirim.
Kullanıcı avatarı
divane
Kayıtlı Kullanıcı
Mesajlar: 223
Kayıt: 20.03.2007, 23:09
İletişim:

Mesaj gönderen divane »

kardeş ne gibi bir yardım istiyorsun anlayamadım?
ne yapman gerektiği yazıyor zaten modun içinde ve buraya yapıştırdığın yazıda..
o subsilver yerine kendi temanı düşün işte aynı dosyalar senin temada da var..
cimbomlu
Kayıtlı Kullanıcı
Mesajlar: 99
Kayıt: 18.04.2007, 15:12
İletişim:

Mesaj gönderen cimbomlu »

arkadaş ya ne yapmak istediğini anlatırsan yardımcı olabiliriz ama walla bende anlamadım :D
Gençliğin buluşma noktası
Üye olun eğlenceye sağ tıklayın

GencForums.Com
Kullanıcı avatarı
phpBB-TR
Kayıtlı Kullanıcı
Mesajlar: 588
Kayıt: 24.12.2006, 13:34
Konum: İstanbul
İletişim:

Mesaj gönderen phpBB-TR »

Dediği dosyada düzenlenecek yerler var ama burada kategori ikondan bahsediyoruz, sen forum ikon.. İlgili yere mesajını atarsan daha iyi olur :wink:
Kullanıcı avatarı
everest
Kayıtlı Kullanıcı
Mesajlar: 142
Kayıt: 25.01.2007, 23:02
Konum: KONYA
İletişim:

Mesaj gönderen everest »

peki bu 2.0.22 de de kullanılabilir mi?
»»» The eclipsing ™ «««
Yardımlarından dolayı phpbbturkey'e teşekkürler...
Muhtaç olduğun kudret, damarlarındaki asil kanda, mevcuttur!..
Kullanıcı avatarı
phpBB-TR
Kayıtlı Kullanıcı
Mesajlar: 588
Kayıt: 24.12.2006, 13:34
Konum: İstanbul
İletişim:

Mesaj gönderen phpBB-TR »

everest yazdı:peki bu 2.0.22 de de kullanılabilir mi?
tabii ki kullanılabilir :wink:
Kilitli

“2.0.x MOD Duyuruları” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 2 misafir