Announcement

Collapse
No announcement yet.

[vB3] Separate between sticky threads and normal threads

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [vB3] Separate between sticky threads and normal threads

    This is pretty simple, open your forumdisplaybit template and add the following at the very top:

    HTML Code:
    <if condition="!$addedRow and $stickyids and $thread['sticky'] == 0 and $addedRow = true">
    <tr valign="top">
     <td class="thead" colspan="10"><img src="$stylevar[imagesfolder]/clear.gif" alt="" width="1" height="1" /></td>
    </tr>
    </if>
    This will create a separating row between sticky threads and normal threads, so they are more noticeable. View screenshot for example.
    Attached Files
    Last edited by Chen; Sun 15 Jun '03, 3:10pm.
    Chen Avinadav
    Better to remain silent and be thought a fool than to speak out and remove all doubt.

    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

  • #2
    Originally posted by Chen
    This is pretty simple, open your forumdisplaybit template and add the following at the very top:
    HTML Code:
    <if condition="!$addedRow and $stickyids and $thread['sticky'] == 0 and $addedRow = true">
    <tr valign="top">
    <td class="thead" colspan="10"><span class="smallfont">&nbsp;</span></td>
    </tr>
    </if>
    This will create a separating row between sticky threads and normal threads, so they are more noticeable. View screenshot for example.
    Nice, Chen. Looks great!
    vBulletin - Sometimes, I'm just like, Wow, and then I'm like, Whoa, and then I'm like, Damn.

    vBulletin.org's ol' Moderator

    I have a lifetime terrorist hunting permit - #091101

    chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

    Comment


    • #3
      Very nice Chen, just what the doctor ordered for seperating sticky threads..

      Comment


      • #4
        Cool, seperating threads Invision Board style

        Comment


        • #5
          I didn't know that IPB also does it. But I've been doing this on all of my boards since forever, except that now with vB3 it can be done only with templates so I figured I should post it.
          Chen Avinadav
          Better to remain silent and be thought a fool than to speak out and remove all doubt.

          גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

          Comment


          • #6
            Chen can you make one for announcements? I think i know how to do it (just by modifying the one above) but id rather you do it to make sure

            Thanks.

            Comment


            • #7
              i dont think this was a big hit really

              Comment


              • #8
                Very nice.
                Thanks Chen.
                You're my Prince of Peace
                And I will live my life for You

                Comment


                • #9
                  Thanks chen, very nice, please post more template mods

                  Comment


                  • #10
                    Code updated so the bar is thinner and more elegant.
                    Chen Avinadav
                    Better to remain silent and be thought a fool than to speak out and remove all doubt.

                    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                    Comment


                    • #11
                      Installed, nice work Chen!

                      Comment


                      • #12
                        Awe Sim.
                        My vBulletin Forums:
                        cadillac, buick, pontiac, oldsmobile, automotive, freestyle, 80s, lexus, bmw, mercedes, audi, toyota, honda, acura, nissan, infiniti, hyundai genesis, chevy

                        ...can't fit any more...

                        Comment


                        • #13
                          *licks install button*

                          Hell, with this tmod, I don't even need to have a label for sticky threads. Makes it look a lot cleaner! Thanks Chen

                          Comment


                          • #14
                            Thats a neat idea, fury!

                            *Removes label*

                            Comment


                            • #15
                              The same change should be applied to forumdisplaybit_deleted or the bar would be under the deletion notices, if the very first threads have been deleted
                              Hints & Tips:
                              [[vB3] More Spiders / Indexers / Archives for vB3 - list]|[List of one-time-emails to ban]


                              http://sfx-images.mozilla.org/affili...efox_80x15.png

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X