Announcement

Collapse
No announcement yet.

[vB3] Separate between sticky threads and normal threads

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

  • Floris
    replied
    Something Chen cooked up, hence why it ends with $addedRow = $true (a setting)



    if conditional is updated, if you have installed it, please make sure you have the latest conditional usage
    Last edited by Floris; Mon 15 Sep '03, 6:13am.

    Leave a comment:


  • Boofo
    replied
    I'm just curious here...what does the variable "$addedRow" do?

    Leave a comment:


  • Faruk
    replied
    and pm.gif instead of newpm.gif

    ^_^

    yw

    Leave a comment:


  • Floris
    replied
    How to split NEW/UNREAD pm's from OLD/READ pm's in PMS

    At the top of the pm_messagelistbit template; add:

    HTML Code:
    <if condition="!$PMseperator and $folderid == '0' and $pagenumber == '1' and $last_pm_foldericon = $pm[foldericon] and $bbuserinfo[pmunread] and $last_pm_foldericon != 'newpm.gif' and $PMseperator = true">
    <tr valign="top">
    <td <if condition="$vboptions[privallowicons]">colspan="6"<else />colspan="5"</if> class="thead"><img src="$stylevar[imagesfolder]/clear.gif" alt="" width="1" height="1" /></td> 
    </tr>
    </if>
    Thank you Chen for this great example, and thank you Kura for telling me to use $bbuserinfo[pmunread] and advice to use pm.gif instead of newpm.gif LOL

    Enjoy everybody
    Attached Files
    Last edited by Floris; Mon 15 Sep '03, 6:14am.

    Leave a comment:


  • RixiuS
    replied
    Great template mod! thanks!

    Leave a comment:


  • synicide
    replied
    Awesome mod. Saw it over at vBT and was moved here, so yeah awesome!!!

    Leave a comment:


  • ESAD
    replied
    Awesome! So easy and a great addition.

    Leave a comment:


  • kerplunk
    replied
    Oh, this only works for vB3.

    Woops!

    Leave a comment:


  • kerplunk
    replied
    Originally posted by M4g!k
    I thought the would be a great mod, so i tried to install it....

    and it gives me this... and ideas?
    That happened to me, too.

    Leave a comment:


  • Stadler
    replied
    Try replacing $stickyids with ($stickyids or $hasannouncements)

    That should work then

    Leave a comment:


  • mymilkexpired
    replied
    is their anyway to make this include the annoucements aswell? I find that announcements are included IF you already have a sticky set. But they are not if you dont have any stickies.

    Leave a comment:


  • mymilkexpired
    replied
    Nice mod, thanks man...

    Leave a comment:


  • Bad Bunny
    replied
    Ok, I am installing a private version so I can toy with it. This template mod is proof to me that vb3 is much more powerful than anything else out there. Way to pave the road.

    Leave a comment:


  • Stadler
    replied
    Yes, place exact the same code at the beginning of the 'forumdisplaybit_deleted'-template

    Leave a comment:


  • Boofo
    replied
    Originally posted by Stadler
    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
    I forgopt to ask, would you use the exact same code for this or do we need to change it for deleted threads?

    Leave a comment:

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