Tekil Mesaj gösterimi
Alt 01-04-2007, 03:08 AM   #1 (permalink)
Usta Ezberci
Ezberim Üyelik BiLgilerim
Üyelik tarihi: Aug 2006
Üye No: 2
Mesajlar: 123
Ezberim Tşk İstatistikleri Tesekkür: 20
52 Mesajına
84 Kere Teşekkür Edildi
Ezberim Rep PuanLaması
Tecrübe Puanı: 12
Rep Puanı: 700
Rep Derecesi:
CÆM is a splendid one to beholdCÆM is a splendid one to beholdCÆM is a splendid one to beholdCÆM is a splendid one to beholdCÆM is a splendid one to beholdCÆM is a splendid one to beholdCÆM is a splendid one to behold
CÆM - MSN üzeri Mesaj gönder
Standart First Post Hack ( vBulletin.org daki gibi)



Eklentiyi kurdugunuzda vbulletin.org daki gibi ilk msj resimdeki gibi çıkacaktır.

Kurulumu ;

*product-firstpostonall.xml yi ürün yöneticisinden ****** ediniz.
*firstpost.gif dosyasını images klasörune atınız (resmi kendi sitenize göre editleyebilrsiniz.
*tema yöneticisinden yeni template ekleye gelin;
template adı:postbit_first
içine aşağıdakileri kopyalayıp atın;
Kod:
<!-- post #$post[postid] -->
<if condition="$show['spacer']">
    $spacer_open
    <div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
    <if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>    
</if>


<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="thead" colspan="4" $post[scrolltothis] align="center">
        <div class="normal" style="float:$stylevar[right]">
            &nbsp;
            <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
            <if condition="$show['inlinemod']">
            <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" />
            </if>
        </div>
        
        <div class="normal">
            <!-- status icon and date -->
                <a style="float:$stylevar[left]" name="post$post[postid]">
                    <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />&nbsp;
                </a> 
                $post[firstnewinsert]
            <!-- / status icon and date -->
                <if condition="$show['messageicon']">
                    <img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" />
                </if>
                <if condition="$post['title']"><strong>$post[title]</strong></if>
        </div>
    </td>
</tr>

<tr>
    <td class="alt2" rowspan="3" width="75" style="vertical-align:top;">
        <img class="inlineimg" src="images/firstpost.gif" alt="" border="0" />        
    </td>
    <td class="alt2">
        <table>
            <tr>
                <td>
                      <strong>Son Görüntülenme  :</strong> $post[postdate]
                </td>
            </tr>
            <tr>
                <td>
                    <if condition="$show['detailedtime']">
                        <strong>Post Time :  </strong> $post[posttime]
                    </if>
                </td>
            </tr>
        </table>
    </td>
    <td class="alt2">
        <if condition="$show['reportlink']">
            <a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">
                <img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="Kötü Mesaj Bildir" border="0" />
            </a>
        </if>
    </td>
    <td class="alt2" rowspan="3">
        <table>
            <tr>
                <td>
                    <!-- user info -->
                    <div id="postmenu_$post[postid]">
                        <if condition="$show['profile']">
                            <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                            <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                        <else />
                            $post[musername]
                            </if>
                        </div>
                        <if condition="$post['usertitle']">
                            <div class="smallfont">
                                $post[usertitle]
                            </div>
                        </if>
                        <if condition="$post['rank']">
                            <div class="smallfont">
                                $post[rank]
                            </div>
                        </if>
                        <if condition="$show['avatar']">
                            <div class="smallfont">
                                <a href="member.php?$session[sessionurl]u=$post[userid]">
                                <img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                            </div>
                        </if>
                        <!-- user info -->
                    </td>
                </tr>
                                    
            </table>                
    </td>
</tr>

<tr>
    <td class="alt1" style="vertical-align:top;">
        <div class="normal">
            <!-- status icon and date -->
                    $post[onlinestatus]
                    $post[iplogged]
        </div>

    </td>
    <td class="alt1">
        <div class="normal">
            <!-- status icon and date -->
            <if condition="$show['reputationlink']">
                <a href="reputation.php?$session[sessionurl]p=$post[postid]"onclick="reputation($post[postid]); return false;">
                    <img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" />
                </a>
            </if>
            <if condition="$show['reputation']">
                <if condition="$show['reppower']">
                    <a style="float:$stylevar[left]" name="~">$vbphrase[reppower]: $post[reppower] 
                </if>
                    $post[reputationdisplay]&nbsp;</a>
            </if>                
        </div>
    </td>
</tr>





<tr>
    <td class="alt2">
        <if condition="$show['postedited']">
            <strong>Son Düzenleme:</strong> $post[edit_date],  $post[edit_time]
        <else />
            <strong>Son Düzenleme:</strong>&nbsp;None
        </if>
    </td>
    <td class="alt2">
        <if condition="$thread['rating']">
            <span style="float:$stylevar[center]">
                <strong>Reyting:</strong>
                    <img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" />
            </span>
        <else />
            <strong>Reyting : </strong>&nbsp;None
        </if>
    </td>
</tr>

<!-- / user info -->
<tr style="vertical-align: top">
    <td class="alt1" colspan="3" id="td_post_$post[postid]">
        <table width="100%">
            <tr width="100%">
                <td width="100%">
                    <!-- message -->
                    <div id="post_message_$post[postid]">$post[message]</div>
                    
                </td>
            </tr>
            <tr>
                <td width="100%">
                    <!-- attachments -->
                    <if condition="$show['attachments']">
                        <div style="padding:$stylevar[cellpadding]px">
                        
                        <if condition="$show['thumbnailattachment']">
                            <fieldset class="fieldset">
                                <legend>$vbphrase[attached_thumbnails]</legend>
                                <div style="padding:$stylevar[formspacer]px">
                                $post[thumbnailattachments]
                                </div>
                            </fieldset>
                        </if>
                    
                        <if condition="$show['imageattachment']">
                            <fieldset class="fieldset">
                                <legend>$vbphrase[attached_images]</legend>
                                <div style="padding:$stylevar[formspacer]px">
                                $post[imageattachments]
                                </div>
                            </fieldset>
                        </if>
                        
                        <if condition="$show['imageattachmentlink']">
                            <fieldset class="fieldset">
                                <legend>$vbphrase[attached_images]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                $post[imageattachmentlinks]
                                </table>
                                </fieldset>
                        </if>
                        
                        <if condition="$show['moderatedattachment']">
                            <fieldset class="fieldset">
                                <legend>$vbphrase[attachments_pending_approval]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                $post[moderatedattachments]
                                </table>
                            </fieldset>        
                        </if>
                    </if>
                    </div>
                    <!-- / attachments -->
                </td>
            </tr>
            <tr>
                <td>
                    <if condition="$show['attachments']">
                        <!-- attachments -->                
                        <if condition="$show['otherattachment']">
                            <fieldset class="fieldset">
                                <legend>$vbphrase[attached_files]</legend>
                                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[otherattachments]
                                    </table>
                            </fieldset>
                        </if>
                        <!-- / attachments -->
                    </if>    
                </td>
            </tr>
        </table>
                <!-- / message -->
    </td>
    <td class="alt1" align="center" width="250">
        <div align="left">
            <fieldset style="border: 1px dashed #99CCFF; height: 300px;" ><legend>Profil Ve İletişim Bilgileri:</legend>
                <table>
                    <tr>
                        <td>
                            <div class="smallfont">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="smallfont">
                                <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="smallfont">                            
                                <if condition="$post['field2']"><div>$vbphrase[********_perm]: $post[field2]</div></if>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="smallfont">                                                    
                                <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                            <div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="smallfont">                                                    
                                $vbphrase[posts]: $post[posts]
                            </div>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </div>            
    </td>
</tr>
        <!-- / attachments -->

    <!-- message, attachments, sig -->
    
<tr>
    <td class="alt2" colspan="4" align="left">
        <div class="normal" style="float:$stylevar[right]"> &nbsp; <if condition="$post['editlink']"> 
$post_thanks_button
                     <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a> 
          </if> <if condition="$post['forwardlink']"> <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a> 
          </if> <if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" 
          alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$show['quickreply'] AND !$show['threadedmode']"> 
          <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a> 
          </if> <if condition="$show['moderated']"> <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /> 
          </if> </div>
            
    </td>
</tr>
</table>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
    <table cellpadding="4" cellspacing="1" border="0">
    <tr>
        <td class="thead">$post[username]</td>
    </tr>
    <if condition="$show['profile']">
        <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
    </if>
    <if condition="$show['pmlink']">
        <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
    </if>
    <if condition="$show['emaillink']">
        <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
    </if>
    <if condition="$show['homepage']">
        <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    </if>
    <if condition="$show['search']">
        <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
    </if>
    <if condition="$post['userid'] AND $show['member']">
    <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
    </if>
    </table>
</div>
<!-- / post $post[postid] popup menu -->




<if condition="$show['spacer']">
    </div>
    $spacer_close
</if>
<!-- / post #$post[postid] -->
$post_thanks


son olarak forum yöneticisinden forumlar için en alttaki ayar;
Show First Post On Every Page = evet olucak.





CÆM isimli Üye şimdilik offline konumundadır  
CÆM Mesajına
3 Kere Teşekkür Edildi:
ostaki (07-03-2008), pozitiv (08-08-2007), rhomantic (01-11-2007)