Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Edit topic title or change listing order of pinned topics
Avatar
Dave Hughes
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 3:00 am

I have two questions relating to topic titles. Is it possible to edit the title of a topic after it has been posted? And is there any way to specify the order in which pinned topics are listed?

I just added three new topics to a forum and then pinned all three of them. It pinned them in the reverse of the order I added them. The last one I added is in position one, the second one in position two and the first one is in position three. I would like to have them pinned in the same order I added them. Is there any way to do this?

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 16, 2013 - 4:34 am

For editing an existing topic title then use the forum tools in the forum view (topic listing). If you haven't yet discovered the forum tools then this will explain: http://codex.simple-press.com/.....her-tools/

The answer to the second question is both yes and no! First an explanation. SP displays topics sorted by the the most recent post made to them. So if you make a new post to a topic it shuffles it to the top (assuming your sort order for topics is set to newest first). The only difference for pinned topics is that they are displayed first but the sorting sequence is the same. This is why you are getting what you see. There are no built-in options to effect that sort.

Now- having said there are no built in options we do have an open ticket to address this as it has been requested before. I will take a look at it this morning to see if it is something I could slip into the next update as it should not be that difficult to add. The UI is the most time-consuming part of that.

Now for the 'yes' part of the answer. There are two ways you can arrange for it to happen now. The first is simply to add a new post to the pinned topics in reverse order to how you want them displayed. This will work just fine if the topics are locked as well. If people can still post to them though they will, obviously, lose that sort when a post is made.

The second method is to use the filer hook that is available on the query to change the query order by directive to sort the pinned topics by topic ID instead of most recent post ID. This is not actually that hard to do and should work - although I have not tired it myself.

 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dave Hughes
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 10:35 pm

Thanks for the explanation. I was aware of the forum tools popup and have been using it to pin, lock, move and delete topics, but I had not noticed the "Edit topic title" choice before. Has that always been there? I can't believe I missed that!

These are single post topics containing instructions for use of forum functions by my members, so adding posts to them to change the order is not an option. And using filter hooks is a technique I haven't learned yet, so I guess I'll just wait and see if you are able to add a sort control feature in a future update.

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 17, 2013 - 4:41 am

I have managed to slip something basic in place. If there is time to enhance that I will, otherwise basic now - enhanced later!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dave Hughes
Member
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2013 - 1:16 pm

I just tried out "Order pinned topics" in the Forum Tools. It does exactly what I was looking for. Now I can keep my instructional posts on forum and website usage in a logical order no matter what order I post them or how often I edit them. Thanks for adding this so quickly!

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 27, 2013 - 1:23 pm

Was happy to. You know it was one of those little tasks that take no more than an hour to do and nicely break up larger dev tasks or answering the forum questions! Need those every now and then!

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625