Attachment mod ; mesajda eklenti gozukmuyo..

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

Attachment mod ; mesajda eklenti gozukmuyo..

İleti exados 30.10.2007, 10:01

Sistemimde attachment mod kurulu( 2.4.5 versi.)yalnız ben bu modu 2-3 ay evvel ekledigim mesajların mesajlarımda çıkmaması icin editlemistim.Yani kullanıcı bir eklenti eklediginde mesajı onizlerse dosya eklentisi cikiyo ancak mesaj icinde gozukmuyodu.Cunku bunu eklenti modundaki goruntunun hos olmamasi yuzunden yapmistim(resim'lerde ve dosyalardaki cerceveler hos degildi..)

Resimli olarak demek istedigimi anlatmaya calistim ,resimleri assgida bulabilirsiniz;

mesajı onizle diyince sorun yok ;

Resim


ekler bolumunde de eklenmis gozukuyo


Resim


ancak mesajı yolla diyince eklentim gozukmuyo ve mesajı editlemek uzere girdigim zamanda mesak eki yuklenmemis gozukuyo

Resim


simdi bu modun mesajlarımda da gozukmesini istiyorum .Acaba hangi dosyalarda nasil bir degisiklik yapabilirim

Size install.txt dosyasinda lazim olabilecek dosyaları ve hatanın kaynaklandıgı bir takım php isimlerini yolluyorum


install.txt dosyası icinde ki editler

bu arada privmsgs.xx.tpl dosyalarından suphelenmiyorum ancak ozel mesaj yollamam ve eklentilerimin gozukmesi eksiksiz oldugu icin sizlere bir fikir verebilir ..

Suphelendigim dosyalar

viewtopic.php
viewforum.php
viewtopic_body.tpl
viewforum_body.tpl
posting_body.tpl


İNSTALL.TXT DOSYAM


Kod: Tümünü seç
#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/posting_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 258
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">

#
#-----[ REPLACE WITH ]---------------------------------------
#
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {S_FORM_ENCTYPE}>

#
#-----[ FIND ]---------------------------------------------
# around line 462
   {POLLBOX}

#
#-----[ BEFORE, ADD ]---------------------------------------
#
   {ATTACHBOX}

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

#
#-----[ FIND ]---------------------------------------------
# around line 13
               <span class="postbody">{MESSAGE}</span>

#
#-----[ AFTER, ADD ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
               <!-- BEGIN postrow -->
               {ATTACHMENTS}
               <!-- END postrow -->

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

#
#-----[ FIND ]---------------------------------------------
# around line 26
            <td colspan="2"><span class="postbody">{postrow.MESSAGE}</span></td>

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 26 (directly in that line)
{postrow.MESSAGE}</span>

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------
#
{postrow.ATTACHMENTS}

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

#
#-----[ FIND ]---------------------------------------------
# around line 15
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
  <tr>

#
#-----[ AFTER, ADD ]---------------------------------------
#
   <td align="right">
   <!-- BEGIN switch_box_size_notice -->
   <table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
   <tr>
      <td colspan="3" width="175" class="row1" nowrap="nowrap"><span class="gensmall">{ATTACH_BOX_SIZE_STATUS}</span></td>
   </tr>
   <tr>
      <td colspan="3" width="175" class="row2">
         <table cellspacing="0" cellpadding="1" border="0">
         <tr>
            <td bgcolor="{T_TD_COLOR2}"><img src="templates/subSilver/images/spacer.gif" width="{ATTACHBOX_LIMIT_IMG_WIDTH}" height="8" alt="{ATTACH_LIMIT_PERCENT}" /></td>
         </tr>
         </table>
      </td>
   </tr>
   <tr>
      <td width="33%" class="row1"><span class="gensmall">0%</span></td>
      <td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
      <td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
   </tr>
   </table>
   <!-- END switch_box_size_notice -->
   </td>

#
#-----[ FIND ]---------------------------------------------
# around line 106
     <td width="55%" valign="middle" class="{listrow.ROW_CLASS}"><span class="topictitle">&nbsp;<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 106 (directly in that line)
<span class="topictitle">&nbsp;<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}

#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
#
{listrow.PRIVMSG_ATTACHMENTS_IMG}

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

#
#-----[ FIND ]---------------------------------------------
# around line 23
   <td valign="top" colspan="2" class="row1"><span class="postbody">{MESSAGE}</span></td>

#
#-----[ REPLACE WITH ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
   <td valign="top" colspan="2" class="row1"><span class="postbody">{MESSAGE}</span>
   <!-- BEGIN postrow -->
   {ATTACHMENTS}
   <!-- END postrow -->
   </td>

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

#
#-----[ FIND ]---------------------------------------------
# around line 47
     <td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span></td>

#
#-----[ REPLACE WITH ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
     <td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span>
<!-- BEGIN postrow -->
   {ATTACHMENTS}
<!-- END postrow -->
     </td>

#
#-----[ FIND ]---------------------------------------------
# around line 74
      <input type="submit" name="delete" value="{L_DELETE_MSG}" class="liteoption" />

#
#-----[ AFTER, ADD ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
<!-- BEGIN switch_attachments -->
      &nbsp;
      <input type="submit" name="pm_delete_attach" value="{L_DELETE_ATTACHMENTS}" class="liteoption" />
<!-- END switch_attachments -->

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

#
#-----[ FIND ]---------------------------------------------
# around line 41
        <td> <b><span class="gen">{INTERESTS}</span></b></td>
      </tr>

#
#-----[ AFTER, ADD ]---------------------------------------
#
<!-- BEGIN switch_upload_limits -->
      <tr>
         <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_UPLOAD_QUOTA}:</span></td>
         <td>
            <table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
            <tr>
               <td colspan="3" width="100%" class="row2">
                  <table cellspacing="0" cellpadding="1" border="0">
                  <tr>
                     <td bgcolor="{T_TD_COLOR2}"><img src="templates/subSilver/images/spacer.gif" width="{UPLOAD_LIMIT_IMG_WIDTH}" height="8" alt="{UPLOAD_LIMIT_PERCENT}" /></td>
                  </tr>
                  </table>
               </td>
            </tr>
            <tr>
               <td width="33%" class="row1"><span class="gensmall">0%</span></td>
               <td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
               <td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
            </tr>
            </table>
            <b><span class="genmed">[{UPLOADED} / {QUOTA} / {PERCENT_FULL}]</span> </b><br />
            <span class="genmed"><a href="{U_UACP}" class="genmed">{L_UACP}</a></span></td>
         </td>
      </tr>
<!-- END switch_upload_limits -->

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

#
#-----[ FIND ]---------------------------------------------
# around line 26
     <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 26 (directly in that line)
{topicrow.NEWEST_POST_IMG}

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------
#
{topicrow.TOPIC_ATTACHMENT_IMG}

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

#
#-----[ FIND ]---------------------------------------------
# around line 39
            <td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 39 (directly in that line)
{postrow.SIGNATURE}

#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
#
</span>{postrow.ATTACHMENTS}<span class="postbody">
Kullanıcı avatarı
exados
Üye
Üye
 
İleti: 142
Kayıt: 11.01.2006, 17:05

Re: Attachment mod ; mesajda eklenti gozukmuyo..

İleti WILT 30.10.2007, 19:48

Aynısı özel mesajda oluyor mu? Olmuyorsa şüphelenmekte haklısın o dosyalar adına. Yaptığın kod değişikliklerini tekrar gözden geçir derim.
Galatasaray Basketbol Portalı
"Ne gülüyorsun, bu anlattığım senin hikayen!"
Kullanıcı avatarı
WILT
Üye
Üye
 
İleti: 284
Kayıt: 03.02.2007, 10:27
Konum: İstanbul

Re: Attachment mod ; mesajda eklenti gozukmuyo..

İleti exados 30.10.2007, 21:46

özel mesajda böle bir sorun yok.En az 100 kez editledim ,viewtopic.php ve viewtopic_body.tpl de degistirmedigim kod kalmadi yok gozukmuyo.Yani eger mesaj atarken goruntule dersem sorun yok ancak submit yani yolla dersem mesaj icinde eklenti yok .sadece yazdigim mesaj gidiyo.Sonra bu yazilan mesajın icine girdigimde de hicbir sekilde dosya atilmamis gibi gozukuyo..
Kullanıcı avatarı
exados
Üye
Üye
 
İleti: 142
Kayıt: 11.01.2006, 17:05


Soru(n)lar & Tartışmalar



Kimler çevrimiçi

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

cron