Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Threadbits like vBulletin 4 Details »»
Threadbits like vBulletin 4
Version: 1.00, by Sofia Sofia is offline
Developer Last Online: Aug 2012 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.x Rating:
Released: 07-01-2009 Last Update: 07-01-2009 Installs: 494
Re-useable Code Translations  
No support by the author.

Threadbits like vBulletin 4

Before templates modifications - Note

If you have a customized style, please save the original code of your templates before doing these modifications.
This mod is adapted to default style, so you may have problems or the code to be found can differ if you have a customized style.



In your template threadbit


Replace all your code by:

(Special Thanks to MAORBARI for his help)

HTML Code:
<tr><td width="5" id="td_threadstatusicon_$thread[realthreadid]" class="alt1">$thread[openclose_editable]
        <img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]" align="left" vspace="5px" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
        </td>
    <td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
        $thread[title_editable]       
<div>
<span style="float:$stylevar[left]">
<if condition="$show['threadicons']">
<if condition="$show['threadicon']">&nbsp;<img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0"  />&nbsp;<else />&nbsp;</if></if></span>
<if condition="$show['taglist'] OR $show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
                <span style="float:$stylevar[right]">
                    <if condition="$show['taglist']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/tag.png" alt="$thread[taglist]" /> </if>
                    <if condition="$show['rexpires']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/expires.gif" alt="<phrase 1="$thread[expiredate]" 2="$thread[expiretime]">$vbphrase[expires_on_x_y]</phrase>" /> </if>
                    <if condition="$show['moderated']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /> </if>
                    <if condition="$show['deletedthread']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" /> </if>
                    <if condition="$show['paperclip']"> <a href="#" onclick="attachments($thread[threadid]); return false"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a> </if>
                    <if condition="$show['subscribed']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /> </if>
                    <if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if>
                </span>
            </if>         
        <if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
            $thread[movedprefix]
            $thread[typeprefix]
            $thread[moderatedprefix]
            $thread[prefix_rich]
            <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a>
            <if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
        </div>
        <if condition="$show['rmanage']"><div class="smallfont"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[redirectthreadid]">$vbphrase[manage]</a></span></div></if>
        <div class="smallfont">
            <if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
            <if condition="$show['guestuser']">
                &nbsp;$thread[postusername]
            <else />
                <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span>
            </if>
        </div>
        <if condition="$show['unsubscribe']">
            <div class="smallfont">
                <a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[reply]</a> |
                <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[unsubscribe]</a>
            </div>
        </if>
    </td>
    <if condition="$show['notificationtype']">
        <td class="alt1"><div class="smallfont">
            <label for="sub$subscribethread[$threadid]">$thread[notification]</label>
        </div></td>
        <td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>
    <else />      
<td class="alt2" align="center">
<if condition="$show['threadmoved']">-<else /><div align="left"><span style="float:right"><strong><a href="misc.php?do=whoposted&amp;t=$thread[threadid]" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></strong></span> $vbphrase[replies] </div></if><div align="left" class="smallfont"><span style="float:right"><strong>$thread[views]</strong></span> $vbphrase[views]</div></td>



        <if condition="$show['forumlink']">
            <td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
        </if>
    </if>
    <if condition="$show['threadmoved']">
    <td class="alt2" align="center">-</td>
    <else />
<td class="alt1" width="140" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
        <div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap"><strong><phrase 1="member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase></strong> <br />
            $thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if>
             <a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
        </div>
    </td>
    </if>
    <if condition="$show['inlinemod']">
        <td width="25" class="<if condition="$show['forumlink']">alt1<else />alt2</if>">
            <input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> />
        </td>
    </if>
</tr>



In your template threadbit_announcement

Replace all your code by:

HTML Code:
<tr>

    <td class="alt2" colspan="$announcecolspan">
        <div>
                <img src="$stylevar[imgdir_statusicon]/announcement_$announcement[statusicon].gif" border="0" alt="$vbphrase[announcement]" align="left" vspace="5px" /><span class="smallfont" style="float:$stylevar[right]">$vbphrase[views]: <strong>$announcement[views]</strong> <a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]$announcementidlink"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[view_announcement]" border="0" /></a></span>
            <strong>$vbphrase[announcement]</strong>: <a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]$announcementidlink">$announcement[title]</a>
        </div>
        <div>
            <span style="float:$stylevar[right]"><if condition="$show['forumtitle']"><a href="forumdisplay.php?$session[sessionurl]f=$announcement[forumid]">$announcement[forumtitle]</a> </if><span class="smallfont">$announcement[postdate]</span></span>
            <span class="smallfont">
                &nbsp;<a href="member.php?$session[sessionurl]u=$announcement[userid]">$announcement[username]</a>
                <if condition="$announcement['usertitle'] != ''">($announcement[usertitle])</if>
            </span>
        </div>
    </td>
</tr>



In your template forumdisplay

Find:

HTML Code:
<if condition="$show['search_engine']">
    <if condition="$show['threadicons']">
        <td class="thead" colspan="2">&nbsp;</td>
    <else />
        <td class="thead">&nbsp;</td>
    </if>
    <td class="thead" width="100%">
        <if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
        $vbphrase[thread] / $vbphrase[thread_starter]
    </td>
    <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />
    <if condition="$show['threadicons']">
        <td class="thead" colspan="2">&nbsp;</td>
    <else />
        <td class="thead">&nbsp;</td>
    </if>
    <td class="thead" width="100%">
        <if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
        <a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] /
        <a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
    </td>
    <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span></td>

    <if condition="$show['inlinemod']">
        <if condition="$show['popups']">
            <td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
        <else />
            <td class="thead" align="center">
                <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
            </td>
        </if>
    </if>
</if>
</tr>
</tbody>


Replace by:

HTML Code:
<if condition="$show['search_engine']">
    <if condition="$show['threadicons']">
        
    <else />
        <td class="thead">&nbsp;</td>
    </if>
    <td class="thead" width="100%">
        <if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
        $vbphrase[thread] / $vbphrase[thread_starter]
    </td>
    <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />
<td class="thead"></td>



     <td class="thead">
        <if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
        <a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] /
        <a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
    </td>   
    <td class="thead" width="100" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">Statistics</a> $sortarrow[replycount]</span></td>   
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
    <if condition="$show['inlinemod']">
        <if condition="$show['popups']">
            <td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
        <else />
            <td class="thead" width="25" align="center">
                <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
            </td>
        </if>
    </if>
</if>
</tr>
</tbody>
In the search_results template

Find


HTML Code:
    <tr>
    <if condition="$show['threadicons']">
        <td class="thead" colspan="2">&nbsp;</td>
    <else />
        <td class="thead">&nbsp;</td>
    </if>
    <td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
    <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
    <td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
    <td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
    <td class="thead" width="25%">$vbphrase[forum]</td>

    <if condition="$show['inlinemod']">
        <if condition="$show['popups']">
            <td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
        <else />
            <td class="thead" align="center">
                <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
            </td>
        </if>


    </if>

</tr>

Replaced by:



HTML Code:
<if condition="$show['search_engine']">
    <if condition="$show['threadicons']">
        
    <else />
        <td class="thead">&nbsp;</td>
    </if>
    <td class="thead" width="100%">
        <if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
        $vbphrase[thread] / $vbphrase[thread_starter]
    </td>
    <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />

<td class="thead"></td>


    <td class="thead">
        <if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
        <a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] /
        <a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
    </td>

    
    <td class="thead" width="100" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">Statistics</a> $sortarrow[replycount]</span></td>
      <td class="thead" width="100" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">Forum</a> $sortarrow[replycount]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
    <if condition="$show['inlinemod']">
        <if condition="$show['popups']">
            <td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
        <else />
            <td class="thead" width="25" align="center">
                <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
            </td>
        </if>
    </if>
</if>
</tr>
</tbody>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 07-08-2009, 03:12 PM
bollie's Avatar
bollie bollie is offline
 
Join Date: Jun 2006
Location: Zele (Belgium)
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look not nice, can you help me ?

PHP Code:
<tr><td width="5" id="td_threadstatusicon_$thread[realthreadid]class="alt1">$thread[openclose_editable]
        <
img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]align="left" vspace="5px" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
        </
td>
    <
td class="alt1" id="td_threadtitle_$thread[realthreadid]title="$thread[preview]">
        
$thread[title_editable]       
<
div>
<
span style="float:$stylevar[left]">
<if 
condition="$show['threadicons']">
<if 
condition="$show['threadicon']">&nbsp;<img src="$thread[threadiconpath]alt="$thread[threadicontitle]border="0"  />&nbsp;<else />&nbsp;</if></if></span>
<if 
condition="$show['taglist'] OR $show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
                <
span style="float:$stylevar[right]">
                    <if 
condition="$show['taglist']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/tag.png" alt="$thread[taglist]/> </if>
                    <if 
condition="$show['rexpires']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/expires.gif" alt="<phrase 1="$thread[expiredate]" 2="$thread[expiretime]">$vbphrase[expires_on_x_y]</phrase>" /> </if>
                    <if 
condition="$show['moderated']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /> </if>
                    <if 
condition="$show['deletedthread']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" /> </if>
                    <if 
condition="$show['paperclip']"> <a href="#" onclick="attachments($thread[threadid]); return false"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a> </if>
                    <if 
condition="$show['subscribed']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]/> </if>
                    <if 
condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]/> </if>
                </
span>
            </if>         
        <if 
condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]border="0" /></a></if>
            
$thread[movedprefix]
            
$thread[typeprefix]
            
$thread[moderatedprefix]
            
$thread[prefix_rich]
            <
a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"style="font-weight:bold"</if>>$thread[threadtitle]</a>
            <if 
condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
        </
div>
        <if 
condition="$show['rmanage']"><div class="smallfont"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[redirectthreadid]">$vbphrase[manage]</a></span></div></if>
        <
div class="smallfont">
            <if 
condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
            <if 
condition="$show['guestuser']">
                &
nbsp;$thread[postusername]
            <else />
                <
span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span>
            </if>
        </
div>
        <if 
condition="$show['unsubscribe']">
            <
div class="smallfont">
                <
a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]rel="nofollow">$vbphrase[reply]</a> |
                <
a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]rel="nofollow">$vbphrase[unsubscribe]</a>
            </
div>
        </if>
    </
td>
    <if 
condition="$show['notificationtype']">
        <
td class="alt1"><div class="smallfont">
            <
label for="sub$subscribethread[$threadid]">$thread[notification]</label>
        </
div></td>
        <
td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]value="yes" /></td>
    <else />      
        <
td class="alt2" align="center"><if condition="$show['threadmoved']">-<else /><div>$vbphrase[replies]: <strong><a href="misc.php?do=whoposted&amp;t=$thread[threadid]"  onclick="who($thread[threadid]); return false;">$thread[replycount]</a></strong></div></if><div class="smallfont">$vbphrase[views]: <strong>$thread[views]</strong></div></td>

        <if 
condition="$show['forumlink']">
            <
td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
        </if>
    </if>
    <if 
condition="$show['threadmoved']">
    <
td class="alt2" align="center">-</td>
    <else />
<
td class="alt1" width="140" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
        <
div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap"><strong><phrase 1="member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]2="$thread[lastposter]">$vbphrase[by_x]</phrase></strong> <br />
            
$thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if>
             <
a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]border="0" /></a>
        </
div>
    </
td>
    </if>
    <if 
condition="$show['inlinemod']">
        <
td width="25" class="<if condition="$show['forumlink']">alt1<else />alt2</if>">
            <
input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]value="$thread[checkbox_value]<if condition="$show['disabled']">disabled="disabled"</if> />
        </
td>
    </if>
</
tr
Attached Images
File Type: jpg Knipsel23.jpg (106.1 KB, 0 views)
Reply With Quote
  #43  
Old 07-09-2009, 07:07 AM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Giangy94 View Post
Sorry for double post but the limits of the characters is 20000
Humm... You've forgotten a <td> in your forumdisplay template.

In your forumdisplay template, find:

HTML Code:
<if condition="$show['search_engine']">
    <if condition="$show['threadicons']">
        
    <else />
        <td class="thead">&nbsp;</td>
    </if>
    <td class="thead" width="100%">
        <if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
        $vbphrase[thread] / $vbphrase[thread_starter]
    </td>
    <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />

    <td class="thead">
Replace by:

HTML Code:
<if condition="$show['search_engine']">
    <if condition="$show['threadicons']">
        
    <else />
        <td class="thead">&nbsp;</td>
    </if>
    <td class="thead" width="100%">
        <if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
        $vbphrase[thread] / $vbphrase[thread_starter]
    </td>
    <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
    <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />

<td class="thead"></td>

    <td class="thead">
Reply With Quote
  #44  
Old 07-09-2009, 07:10 AM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bollie View Post
Look not nice, can you help me ?

PHP Code:
<tr><td width="5" id="td_threadstatusicon_$thread[realthreadid]class="alt1">$thread[openclose_editable]
        <
img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]align="left" vspace="5px" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
        </
td>
    <
td class="alt1" id="td_threadtitle_$thread[realthreadid]title="$thread[preview]">
        
$thread[title_editable]       
<
div>
<
span style="float:$stylevar[left]">
<if 
condition="$show['threadicons']">
<if 
condition="$show['threadicon']">&nbsp;<img src="$thread[threadiconpath]alt="$thread[threadicontitle]border="0"  />&nbsp;<else />&nbsp;</if></if></span>
<if 
condition="$show['taglist'] OR $show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
                <
span style="float:$stylevar[right]">
                    <if 
condition="$show['taglist']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/tag.png" alt="$thread[taglist]/> </if>
                    <if 
condition="$show['rexpires']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/expires.gif" alt="<phrase 1="$thread[expiredate]" 2="$thread[expiretime]">$vbphrase[expires_on_x_y]</phrase>" /> </if>
                    <if 
condition="$show['moderated']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /> </if>
                    <if 
condition="$show['deletedthread']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" /> </if>
                    <if 
condition="$show['paperclip']"> <a href="#" onclick="attachments($thread[threadid]); return false"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a> </if>
                    <if 
condition="$show['subscribed']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]/> </if>
                    <if 
condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]/> </if>
                </
span>
            </if>         
        <if 
condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]border="0" /></a></if>
            
$thread[movedprefix]
            
$thread[typeprefix]
            
$thread[moderatedprefix]
            
$thread[prefix_rich]
            <
a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"style="font-weight:bold"</if>>$thread[threadtitle]</a>
            <if 
condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
        </
div>
        <if 
condition="$show['rmanage']"><div class="smallfont"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[redirectthreadid]">$vbphrase[manage]</a></span></div></if>
        <
div class="smallfont">
            <if 
condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
            <if 
condition="$show['guestuser']">
                &
nbsp;$thread[postusername]
            <else />
                <
span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span>
            </if>
        </
div>
        <if 
condition="$show['unsubscribe']">
            <
div class="smallfont">
                <
a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]rel="nofollow">$vbphrase[reply]</a> |
                <
a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]rel="nofollow">$vbphrase[unsubscribe]</a>
            </
div>
        </if>
    </
td>
    <if 
condition="$show['notificationtype']">
        <
td class="alt1"><div class="smallfont">
            <
label for="sub$subscribethread[$threadid]">$thread[notification]</label>
        </
div></td>
        <
td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]value="yes" /></td>
    <else />      
        <
td class="alt2" align="center"><if condition="$show['threadmoved']">-<else /><div>$vbphrase[replies]: <strong><a href="misc.php?do=whoposted&amp;t=$thread[threadid]"  onclick="who($thread[threadid]); return false;">$thread[replycount]</a></strong></div></if><div class="smallfont">$vbphrase[views]: <strong>$thread[views]</strong></div></td>

        <if 
condition="$show['forumlink']">
            <
td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
        </if>
    </if>
    <if 
condition="$show['threadmoved']">
    <
td class="alt2" align="center">-</td>
    <else />
<
td class="alt1" width="140" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
        <
div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap"><strong><phrase 1="member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]2="$thread[lastposter]">$vbphrase[by_x]</phrase></strong> <br />
            
$thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if>
             <
a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]border="0" /></a>
        </
div>
    </
td>
    </if>
    <if 
condition="$show['inlinemod']">
        <
td width="25" class="<if condition="$show['forumlink']">alt1<else />alt2</if>">
            <
input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]value="$thread[checkbox_value]<if condition="$show['disabled']">disabled="disabled"</if> />
        </
td>
    </if>
</
tr
Hey bollie. Same thing than Giangy. Give me your forumdisplay template There is a problem with the part 2 because you have a customized style.
Reply With Quote
  #45  
Old 07-09-2009, 01:46 PM
bollie's Avatar
bollie bollie is offline
 
Join Date: Jun 2006
Location: Zele (Belgium)
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sofia View Post
Hey bollie. Same thing than Giangy. Give me your forumdisplay template There is a problem with the part 2 because you have a customized style.
forumdisplay
Attached Files
File Type: txt forumdisplay.txt (26.2 KB, 8 views)
Reply With Quote
  #46  
Old 07-09-2009, 02:35 PM
Giangy94 Giangy94 is offline
 
Join Date: Jul 2009
Location: Italy
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much, Sofia
Reply With Quote
  #47  
Old 07-10-2009, 03:44 AM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bollie View Post
forumdisplay
Hi Bollie,

I'm so sorry, but unfortunately I can not support the second part because [LEFT]this part contains too many bugs and differs according to every styles

Please reverse this templates (Part 2):

In the template forumdisplay

Find:



HTML Code:
<!-- controls above thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
    <td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
    <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above thread list -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
    <td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal"> : $foruminfo[title]</span></td>
    <td class="vbmenu_control" id="forumtools" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></td>
    <if condition="$show['forumsearch']">
    <td class="vbmenu_control" id="forumsearch" nowrap="nowrap"><if condition="$show['quicksearch']"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script><else /><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a></if></td>
    </if>
</tr>
</table>


Replace by:




HTML Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="border-bottom-width:0px">
<tr>

 <if condition="$pagenav"><td>$pagenav</td><else /><td>&nbsp;</td></if>
 <td class="vbmenu_control" width="10%" align="center" id="forumtools" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></td>
    <if condition="$show['forumsearch']">
    <td class="vbmenu_control" width="10%" align="center" id="forumsearch" nowrap="nowrap"><if condition="$show['quicksearch']"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script><else /><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a></if></td>
    </if>    
</tr></table>
 <!-- / controls above thread list -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal"> : $foruminfo[title]</span>
 <if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" style="float:$stylevar[right]" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
 </tr>
</table>


Same template (forumdisplay),


Find:



HTML Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
    <td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
    <if condition="$show['pagenav'] OR $show['inlinemod']">
        <td align="$stylevar[right]">$pagenav
        <if condition="$show['inlinemod']">


Replace by:




HTML Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top"><td>$pagenav</td>
    
    <if condition="$show['pagenav'] OR $show['inlinemod']">
        <td align="$stylevar[right]"><div align="$stylevar[right]"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></div>
        <if condition="$show['inlinemod']">


In your template pagenav


Find:



HTML Code:
<div class="pagenav" align="$stylevar[right]">
Replace by:



HTML Code:
 <div class="pagenav" align="$stylevar[left]">[/left]


Reply With Quote
  #48  
Old 07-30-2009, 06:45 AM
kawe kawe is offline
 
Join Date: Aug 2008
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thread on subscribe error
please fix
Reply With Quote
  #49  
Old 08-08-2009, 11:38 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI--Screwed for deleted threads. Need to redo template threadbit_deleted for this to work properly. Another issue is if there are deleted posts within a thread, totally cuts out views, replies, etc.

Nice effort tho.
Attached Images
File Type: png del.png (16.8 KB, 0 views)
Reply With Quote
  #50  
Old 08-09-2009, 06:47 AM
esperone esperone is offline
 
Join Date: Feb 2006
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also noticed it causes problems when clicking on 'View all Subscribed Threads' in usercp.
Reply With Quote
  #51  
Old 08-12-2009, 09:48 PM
TROLL TROLL is offline
 
Join Date: Aug 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by glorify View Post
FYI--Screwed for deleted threads. Need to redo template threadbit_deleted for this to work properly. Another issue is if there are deleted posts within a thread, totally cuts out views, replies, etc.

Nice effort tho.
I want to use this mod, but this error is the only thing stopping me!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09243 seconds
  • Memory Usage 2,723KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (14)bbcode_html
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete