konunun yanında smileyiniz çıksın

Eklentiler ile ilgili soru, sorun ve tartışmalar.

konunun yanında smileyiniz çıksın

İleti hellboy 09.10.2006, 16:22

helboy yazdı:Resim
alexis 'in yaptığı son x konu modunda smileyler çıkmıyo nasıl düzeltebilirim

acaba sorun burdanmı kaynaklanıyo
Resim


Modun kendisi aşağıdadır.

Kod: Tümünü seç
##############################################################
## MOD Başlık: Smilies in Topic Titles
## MOD Yazar: Suisse < chatwithbea@bluewin.ch > (Florian Segginger) http://www.techno-revelation.com
## MOD Açıklama: Shows smilies in topic titles
## MOD Sürüm: 1.1.1
##
## Kurulum zorluğu: Easy
## Kurulum süresi: 5 Dakika
## Düzenlenecek dosyalar: viewforum.php, viewtopic.php, search.php
## Yüklenecek dosyalar: n/a
##############################################################
## Yazar notları:
##   If you want to disable certain smilies because they are too big or just plain ugly,
##   you have to put
##   $topic_title = str_replace("code for smiley","",$$topic_title);
##   just before
##   $topic_title = smilies_pass($topic_title);   
##   In viewforum.php
##   You obviously have to change 'code for smiley' with the actual bbcode of the smiley
##   Example:
##      $topic_title = str_replace(":)","",$topic_title);
##############################################################
## MOD Geçmişi:
##
##   2004-04-4 - Sürüm 1.0.0
##      - This is the first release
##   2004-04-14 - Sürüm 1.1.1
##   - I have been notified of the fact that the smilies don't show in the search and getdaily page.
##     The hack is still as easy to install as before(Thank you, Juan Antonio Illescas!)
##    2004-04-15
##   - I removed the unexisting page to modify (getdaily.php). I don't know where it came from.
##     Apparently, search.php has changed from my version of phpbb, so I can't garantee you the
##     hack will display smilies on the search page if your version is greater than 2.0.6
##
##############################################################
## Bu modu eklemeden önce lütfen dosyaların yedeğini alınız.
##############################################################

#
#-----[ AÇ ]------------------------------------------
#
viewtopic.php

#
#-----[ BUL ]------------------------------------------
#
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

#
#-----[ SONRASINA EKLE ]------------------------------------
#
//Parse smilies to display topic title
$topic_title = smilies_pass($topic_title);

#
#-----[ AÇ ]------------------------------------------
#
viewforum.php

#
#-----[ BUL ]------------------------------------------
#
include($phpbb_root_path . 'common.'.$phpEx);

#
#-----[ SONRASINA EKLE ]------------------------------------
#
//Request the bbcode parsing php page, so we don't call an undefined function ;)
include($phpbb_root_path . 'includes/bbcode.' .$phpEx);

#
#-----[ BUL ]------------------------------------------
#
$topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $topic_rowset[$i]['topic_title']) : $topic_rowset[$i]['topic_title'];

#
#-----[ SONRASINA EKLE ]------------------------------------
#
//Parse smilies to show the title
//This is where you would put the code to disable certain smilies
$topic_title = smilies_pass($topic_title);

#
#-----[ AÇ ]------------------------------------------
#
search.php
 
#
#-----[ BUL ]------------------------------------------
#
if ( count($orig_word) )
{
$topic_title = preg_replace($orig_word, $replacement_word, $searchset[$i]['topic_title']);
}
 
#
#-----[ SONRASINA EKLE ]------------------------------------
#
//Parse smilies to show the title
//This is where you would put the code to disable certain smilies
$topic_title = smilies_pass($topic_title);
 

#
#-----[ BUL ]------------------------------------------
#
               if ($board_config['allow_smilies'] && $searchset[$i]['enable_smilies'])
               {
                  $message = smilies_pass($message);
 
#
#-----[ SONRASINA EKLE ]------------------------------------
#
                  //Parse smilies to show the title
                  //This is where you would put the code to disable certain smilies
                  $topic_title = smilies_pass($topic_title);
                  $post_subject = smilies_pass($post_subject);
 
#
#-----[ TÜM DOSYALARI KAYDET/KAPAT ]------------------------------------------
#
# Eklentinin Sonu
hellboy
Üye
Üye
 
İleti: 66
Kayıt: 28.04.2006, 16:59

Cvp: konunun yanında smileyiniz çıksın

İleti sabri ünal 30.12.2006, 02:41

ASYA yazdı:selam
bu mod simdi calisiyormu calismiyorumu ? :$
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 30.12.2006, 02:43

mod verirken altına aynı anda soru sormayın :) sonra cevap alamazsınız ve küplere binersiniz...

başlıklar bölündü ve temizlendi...

gelelim BENİM soruMa, bu mod mu? soru mu?

ben bir şey anlamadım, ona göre müdahale edelim.
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti ASYA 30.12.2006, 02:59

sorum vardi benim
cok özürdilerim yeniyim burada
bunu ekliyecegim fakat calisip calismadigini bilmiyorum o yüzden sormusdum :)
ASYA
Üye
Üye
 
İleti: 15
Kayıt: 28.03.2006, 18:30

Cvp: konunun yanında smileyiniz çıksın

İleti Simuzer 30.12.2006, 10:39

mod çalışıyor ancak, ALEXIS'in bu modunda da ufak bir değişiklik yapmak gerekir.

Kod: Tümünü seç
#
#------[ AÇ ]------------------------------------------------------------------------
#

includes/page_header.php

#
#------[ BUL ]------------------------------------------------------------------------
#

      'L_TITLE' => $last_x_row[$i]['topic_title'],

#
#------[ BUNUNLA DEĞİŞTİR ]------------------------------------------------------
#

      'L_TITLE' => smilies_pass($last_x_row[$i]['topic_title']),

#
##-----[ TÜM DOSYALARI KAYDET/KAPAT ]-------------------------------------------------
#
# SON


Bu yapılan değişiklik şu mod içindir.

Kod: Tümünü seç
#####################################################################################
## MOD Adı  : gelişmiş son x konu
## Yazar    : ALEXIS  < N/A >  (Alexis Canver)  www.canver.net
## Sürüm    : 1.0.1b   (phpBB 2.0.x)
Kullanıcı avatarı
Simuzer
Geliştirme Grubu
Geliştirme Grubu
 
İleti: 669
Kayıt: 09.11.2005, 09:34
Konum: İstanbul


Soru(n)lar & Tartışmalar



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir