Sticky Forum Post

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
2/1/2007 3:32:51 PM
Gravatar
Total Posts 41

Sticky Forum Post

It would be nice to be able to sticky a forum post to make it appear first.
2/1/2007 3:42:25 PM
Gravatar
Total Posts 18439

Re: Sticky Forum Post

Hi Emil,

I agree it would be nice. I'll look into it when I have a chance.

Thanks,

Joe
3/15/2010 10:23:14 AM
Gravatar
Total Posts 6

Re: Sticky Forum Post

anything on this?

 

Thanks

3/16/2010 1:26:02 PM
Gravatar
Total Posts 18439

Re: Sticky Forum Post

It is on the Road Map but not yet completed.

3/18/2010 10:33:23 AM
Gravatar
Total Posts 30

Re: Sticky Forum Post

+1 vote!

This is me being not helpful :)

3/18/2010 1:49:52 PM
Gravatar
Total Posts 6

Re: Sticky Forum Post

I was updating the code bit by bit but I started to get tunnel vision and took a break.

Heres what I got.

// Changes Required for Sticky Post //
add Column 'sticky' (bit/bool) (NOT NULL) > dbo.mp_ForumPosts

update ST_PROC mp_ForumPosts_Insert parameters
update ST_PROC mp_ForumPosts_Update parameters

update members & methods > ForumThread.cs (priv sticky, pub sticky, priv methods, pub methods)

update ForumPostCreate & ForumPostUpdate methods > DBForums.cs

'didnt make it this far but I believe this is all thats left
update controls & forms (EditPost.aspx, ForumView.aspx)

 

Anything I'm missing?
 

3/18/2010 3:03:47 PM
Gravatar
Total Posts 18439

Re: Sticky Forum Post

I recommend you do not make any changes to mojoPortal code, if you do that you are making a fork and you will not be able to upgrade without losing your changes.

When I implement sticky threads it will not be with a bit field, but with an int field so we can sort by sticky sort and then the normal sort which will allow sorting some as more sticky than others.

Best,

Joe

3/18/2010 5:50:15 PM
Gravatar
Total Posts 6

Re: Sticky Forum Post

I figured they would be sticky by default sort (date/bump)

Your implementation sounds ok.

 

All in all joe, you've done some very good work here. Thanks

3/27/2010 10:52:24 AM
Gravatar
Total Posts 18439

Re: Sticky Forum Post

fyi, I've implemented Sticky Threads and Locked Threads so it will be there in the next release of mojoPortal. You can see I have a locked sticky thread here in the Skinning Forum.

The interesting thing is that I had forgot that I actually implemented the needed fields to support sticky and locked threads way back in 2004 when I first implemented the forums, I just never got around to implementing it in the UI and then kind of forgot that it was low hanging fruit to finish it since the fields were already there.

Best,

Joe

3/27/2010 11:12:45 AM
Gravatar
Total Posts 6

Re: Sticky Forum Post

thats great news! thanks to your thinking way back when!

3/27/2010 10:36:35 PM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: Sticky Forum Post

Joe,

This is great news!  I think this will be really helpful.

I'm just curious.  Can you allow only "admins" to make sticky/locked topics?  Although it's not necessary *at all* I think it would be an addition to consider sometime down the road!

Thanks,

Matt

You must sign in to post in the forums. This thread is closed to new posts.