Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Show/Hide Sticky Posts (collapsible) Details »
Show/Hide Sticky Posts (collapsible)
Mod Version: 1.00, by RMS-Chef (Member) RMS-Chef is offline
Developer Last Online: Oct 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.2 Rating: (0 vote - 0 average) Installs: 19
Released: 18 Dec 2005 Last Update: Never Downloads: 19
Not Supported Template Edits  

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.

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above it add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below it add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

EDIT:
Screens added.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	hidesticky_show.png
Views:	464
Size:	43.3 KB
ID:	39634   Click image for larger version

Name:	hidesticky_hide.png
Views:	383
Size:	35.5 KB
ID:	39635  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 18 Dec 2005, 21:59
harpez harpez is offline
 
Join Date: Oct 2005
Sounds very good, I will install it later!

Yaaaaaaay, first post
Reply With Quote
  #3  
Old 19 Dec 2005, 02:37
JsnakeJ JsnakeJ is offline
 
Join Date: Mar 2005
Real name: Jake
Doesn't come up yellow does it?
__________________
My Site: Dungeon Empire
Reply With Quote
  #4  
Old 19 Dec 2005, 02:38
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Originally Posted by JsnakeJ
Doesn't come up yellow does it?
lol, no, that's just the default CSS hover color for alt1 text.
__________________
Hi.
Reply With Quote
  #5  
Old 19 Dec 2005, 07:17
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Nice little feature!
Reply With Quote
  #6  
Old 19 Dec 2005, 11:01
-=Sniper=-'s Avatar
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
very nice
Reply With Quote
  #7  
Old 19 Dec 2005, 12:29
utw-Mephisto utw-Mephisto is offline
 
Join Date: Feb 2005
Very nice, I have only one problem, when the stickies are shown, it gives a gap between sticky and bar above :

Reply With Quote
  #8  
Old 19 Dec 2005, 12:34
utw-Mephisto utw-Mephisto is offline
 
Join Date: Feb 2005
Also: What happens with new sticky, are they hidden as well ? So could they miss something ?

EDIT : Ok, I just tested it and it hides also new stickies, which is not good at all
Reply With Quote
  #9  
Old 19 Dec 2005, 17:33
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Originally Posted by utw-Mephisto
Also: What happens with new sticky, are they hidden as well ? So could they miss something ?

EDIT : Ok, I just tested it and it hides also new stickies, which is not good at all
Yes, it hides all stickies. It's good for me since some of my forums have 8-10 sticky posts. It's up to your users to expand it once in a while to see if there is anything new. It's just a simple template mod so unless someone wants to take it to the next level where maybe it could display something like a New Thread notifacation of some kind when there are new posts or threads that are stickied, this is what I got.
__________________
Hi.

Last edited by RMS-Chef; 19 Dec 2005 at 18:27.
Reply With Quote
  #10  
Old 04 Jan 2006, 08:59
KayDEE KayDEE is offline
 
Join Date: Jan 2002
@utw-Mephisto

to remove the "gap" find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and remove ...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

additionally you could extend it with replacing the <td> with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and add some text behind it like "Sticky Threads"

that will add another break-bar like the seperator above the stickies ... just play around with it a bit

/me installs

thanks
Reply With Quote
  #11  
Old 16 Jan 2006, 12:18
Darat Darat is offline
 
Join Date: Aug 2004
Just noticed that after installing this that my thread/thread starter row has disappeared. (See attached jpeg or http://forums.randi.org/forumdisplay.php?f=26)

And it is weird - the "thread / thread starter" line still appears fine in forums without any stickies.
Attached Images
File Type: jpg threadtop.jpg (15.0 KB, 40 views)

Last edited by Darat; 16 Jan 2006 at 12:40.
Reply With Quote
  #12  
Old 18 Jan 2006, 09:19
Darat Darat is offline
 
Join Date: Aug 2004
Anyone any suggestions for what I should look for to fix my problem?

Just realised this only seems to happen in Opera!

Last edited by Darat; 18 Jan 2006 at 09:51.
Reply With Quote
  #13  
Old 06 Jun 2010, 06:19
mmllc's Avatar
mmllc mmllc is offline
 
Join Date: Nov 2007
Great mod! Thanks
Reply With Quote
  #14  
Old 12 Sep 2012, 09:00
JabirA JabirA is offline
 
Join Date: Feb 2009
Can someone make this for vB 4? Or is it already available?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 17:36.

Layout Options | Width: Wide Color: