The Arcive of vBulletin Modifications Site. |
|
How To Separate Sticky and Normal Threads Details »»
|
|||||||||||||||||||||||||||
|
How To Separate Sticky and Normal Threads
Developer Last Online: Nov 2011
This tiny template modification will allow you to separate sticky threads from normal threads.
Go to your: Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Forum Display Templates -> FORUMDISPLAY Find this code: PHP Code:
PHP Code:
Templates to modify: 1 Difficulty: 0 If this was useful please click install. Version1.01 Thanks to Boofo for the corection to add the moderation check box on end. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Please post this in a text file for those that may need to re-install or upgrade later.
|
|
#3
|
||||
|
||||
|
Shouldn't this:
Quote:
Quote:
|
|
#4
|
|||
|
|||
|
BTW This is my first hack. Not much of one but meh its a start.
![]() I tried my method and yours, and the moderation box shows up either way, so I guess its up to the discrsion of the person installing it. *Uploads text files* Should I post this over in the How-To section also? |
|
#5
|
||||
|
||||
|
The moderation box shows up fine your way. It is just the dividing line underneath it is one cell short with your code.
|
|
#6
|
||||
|
||||
|
Works fine for me
|
|
#7
|
|||
|
|||
|
Sreenshot?
|
|
#8
|
||||
|
||||
|
I just added this under $threadbits_sticky and it adds the little down arrow in the last column:
Code:
<tr><td class="thead" colspan="<if condition="$show['threadicons']">6<else />5</if>"> </td>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center"> <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>
|
|
#9
|
||||
|
||||
|
That still doesn't work for the line underneath. This will solve it.
HTML Code:
<tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7</if><if condition="$show['threadicons'] AND !$show['inlinemod']">6</if><if condition="!$show['threadicons'] AND $show['inlinemod']">6</if><if condition="!$show['threadicons'] AND !$show['inlinemod']">5</if>"> </td></tr> |
|
#10
|
|||
|
|||
|
Quote:
Still learning the ropes here. I will see baout a screen shot in a day or two. |
![]() |
|
|