RMS-Chef
18 Dec 2005, 20:58
Made this for myself so decided to release here. Just tried it and it seems to work fine.
What does it do?
Many of my forums have a lot of sticky threads. For me, they were taking up too much of the FORUMDISPLAY view. Adding this code will allow you and your users to optionally collapse/expand all sticky posts on FORUMDISPLAY and adds a seperator when they are displayed thanks to Oblivion Knight (http://www.vbulletin.org/forum/showpost.php?p=757501&postcount=18).
What is left?
I have no clue how to do it but if someone would like to help out and tell me how to have the text "Show|Hide Sticky Threads" instead display "Show Sticky Threads" when they are hidden and "Hide Sticky Threads" when they are being displayed, that would be nice. It would also be nice if the could be on a per forum basis rather than always hide/show stickies across the board but that is well beyond me also.
Open FORUMDISPLAY template
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Above it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Below it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
EDIT:
Screens added.
What does it do?
Many of my forums have a lot of sticky threads. For me, they were taking up too much of the FORUMDISPLAY view. Adding this code will allow you and your users to optionally collapse/expand all sticky posts on FORUMDISPLAY and adds a seperator when they are displayed thanks to Oblivion Knight (http://www.vbulletin.org/forum/showpost.php?p=757501&postcount=18).
What is left?
I have no clue how to do it but if someone would like to help out and tell me how to have the text "Show|Hide Sticky Threads" instead display "Show Sticky Threads" when they are hidden and "Hide Sticky Threads" when they are being displayed, that would be nice. It would also be nice if the could be on a per forum basis rather than always hide/show stickies across the board but that is well beyond me also.
Open FORUMDISPLAY template
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Above it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Below it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
EDIT:
Screens added.