Eklenti sahibi:Burak
ßu eklenti en son konulari gösterir.
Eklentideki latest-threads-on-forumhome-112.xml dosyasını plugin system den ****** edin
Sözcük Gruparı - GLOBAL kısmından yeni bir sözcük grubu ekleyin
Kod:
isim : latest_threads
içerik : Son Konular
Forumhome templatesinde bul
Kod:
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
altına ekle;
Kod:
<!-- latest threads -->
<if condition="$show['latestthreads']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latestthreads')"><img id="collapseimg_forumhome_latestthreads" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latestthreads].gif" alt="" border="0" /></a>
$vbphrase[latest_threads]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_latestthreads" style="$vbcollapse[collapseobj_forumhome_latestthreads]">
<tr>
<td class="alt2"> </td>
<td class="alt1"><div class="smallfont">$threadbits</div></td>
</tr>
</tbody>
</if>
<!-- /latest threads -->
forumhome_latestthreadbit Adinda yeni bi template olusturun ve içeriğine alttaki kodları ekle;
Kod:
<div class="smallfont">
<if condition="$show['firstnew']">
<a href="showthread.php?t=$thread[threadid]&goto=newpost"><img src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a>
</if>
<if condition="$show['icon'] && !$show['firstnew']">
<img src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" />
</if>
<a href="showthread.php?t=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a>
<em>$vbphrase[last_post]:</em> $thread[date] <if condition="$vboptions['yestoday'] != 2"><span class="time">$thread[time]</span></if> <phrase 1="member.php?find=lastposter&t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>
» $vbphrase[replies]: $thread[replycount]
» $vbphrase[views]: $thread[views]
</div>
ßunu olusan templateye ekleyin.
ßunu 10 olarakda yapabilirsiniz
latest-threads-on-forumhome-112.xml
Assadakini bulun