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

3/28/2010 7:14:45 AM
Gravatar
Total Posts 18439

Re: Sticky Forum Post

Hi Matt,

Only users with edit permissions on the page or on the forum instance can make sticky threads or locked threads. I cannot imagine letting ordinary users decide which threads should be sticky, it is an admin tool.

Best,

Joe

3/28/2010 12:28:02 PM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: Sticky Forum Post

Joe,

That's perfect!  :)

I agree, I cannot imagine normal visitors having access to make sticky posts - all posts would probably get sticky-ed then haha.

Thanks very much Joe!

Matt

7/9/2010 7:19:36 AM
TJ
Gravatar
Total Posts 19

Re: Sticky Forum Post

Hi !

I just noticed on my upgraded version of MojoPortal - I can't get the Sticky Forum Post to work anymore.  It was working in my earlier version.

I just checked out the demo here and am having the same issue...I tried several different skins on the demo.  I'm running mojoPortal Version 2.3.4.5 MSSQL

Thanks for your time.

TJ

7/9/2010 12:44:35 PM
Gravatar
Total Posts 18439

Re: Sticky Forum Post

It has not changed and it is working. To make a sticky thread first start the thread in the normal way, then click the pencil next to the thread title to edit the thread. Set a sort rank lower than 100 and it will become a sticky thread. Normal threads have a sort of 100, sticky threads have a sort lower than 100 and the lower it is the lower it sorts among other sticky threads.

Hope it helps,

Joe

7/10/2010 7:14:53 PM
TJ
Gravatar
Total Posts 19

Re: Sticky Forum Post

Hi Joe!

Thanks for your help.  My bad - the feature is working here at the demo.

But on my version that I just upgraded I can't see any of the forum icons to edit threads/posts or lock a thread. I guess that is why I thought something might have been missing from the upgrade.  My apologies.

Upon further inspection using Firefox firebug  I can see that the links to edit posts, etc is present in the code - if I copy and paste the hyperlink from Firebug, I can then get in to edit forum posts, but the little icons that contain the hyperlinks are not visible.

I tried viewing in chrome, Firefox.

Any suggestions on how to get the icons with the links to reappear?

Thanks again for your time.

 

TJ

7/10/2010 9:44:58 PM
Gravatar
Total Posts 2209

Re: Sticky Forum Post

Hi TJ,

I answered this recently here: http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=2&thread=5899.

Thanks,
Joe D.

7/13/2010 7:19:25 AM
Gravatar
Total Posts 18439

Re: Sticky Forum Post

Answering Matt's question, I guess he updated his post from way back instead of a new post so it is not sorted at the bottom of the thread.

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!

Only users with Edit permissions on the page or forums module can create sticky threads or sticky posts. It is not limited to Admins but users without edit permissions cannot create sticky threads or posts currently.

Best,

Joe

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