inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 26, 2016 10:13:17 GMT -8
UofUboard.com I'm struggling a little with how to concisely ask this question, so thanks to anyone with the patience to read on. The New Threads function shows all the new threads in list format. The New Posts function shows all posts in what I'll call an "Open" format. For the same thread-starting post: New Threads appearance New Posts appearance My question is can I change my New Threads to have the "open" appearance of the New Posts?
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 26, 2016 10:24:04 GMT -8
I thought I could do a search and select the view as Posts option, but I can't figure out a way to limit a search to only thread-starting posts. Am I missing something simple?
My first thought was that since only thread-starting posts have labels (and I require labels for all new threads*) could I include a unique character in all my labels and use that as a search term. Unfortunately, it doesn't appear that the search function looks at labels.
*tangential question, is there a way to require application of a label before creating a new thread*
I figure I'm probably going about this the hard/stupid way and should get some feedback before pursuing it further.
Thanks
|
|
inherit
223366
0
Jun 20, 2024 5:38:45 GMT -8
mikemcd
176
July 2015
mikemcd
|
Post by mikemcd on Dec 26, 2016 10:29:40 GMT -8
In themes and images can you change what you're asking for there? In your theme you control all the icons.
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 26, 2016 12:01:07 GMT -8
This is sort of the end result I'm going for: optionThis was very manual, adding a link to the thread URL with the searchable text display ?X-PAND? It's not a practical way to get the result unless I could automate the action of placing this self link at the bottom of every new thread.
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 26, 2016 14:07:22 GMT -8
In themes and images can you change what you're asking for there? In your theme you control all the icons. I'm not sure how. I think I would be good if I could add the "replies" field to the actual post, like after the thread title. I think the line is: <td class="replies clickable">$[thread.replies]</td> But I'm not sure where to insert that line to get the effect. The image below is what I'm going for. At minimum I need to mis-spell some hint in a consistent fashion in a searchable field. I used R/ply in this example.
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 26, 2016 22:59:20 GMT -8
I halfway figured it out. I modified XSteveUK's directions for adding page views to the Threads outlined here: link<class="info"> <span class="read" style="float: left; font-size: 12px; font-weight: bold; color: #808080;"> Replied $[post.thread.replies] Time{if $[post.thread.replies] != 1}s{/if}. </span> <b>Posted On</b> $[post.date] $[post.thread] {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if}<br>$[post.likes] I get the number of replies to show but not the functional link (shown below). Any help is appreciated.
|
|
inherit
223366
0
Jun 20, 2024 5:38:45 GMT -8
mikemcd
176
July 2015
mikemcd
|
Post by mikemcd on Dec 27, 2016 7:16:57 GMT -8
I'm sorry, but I've misunderstood what you are trying to do. I thought you were trying to make your open folders icon appear where other icons appear.
You are looking for something else that I don't understand. Can you please restate what the normal thing is and what you would like to change about it. Giving a reason behind why you want the change might also help me understand.
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 27, 2016 15:01:43 GMT -8
I think I know how to better ask the question now.
I want a "new posts" function that is limited to only the original posts in threads- no replies.
I figure this is best done by having a search display as Posts, but I don't know of any way to selectively filter out Replies or selectively include original posts when doing a search.
|
|
inherit
223366
0
Jun 20, 2024 5:38:45 GMT -8
mikemcd
176
July 2015
mikemcd
|
Post by mikemcd on Dec 27, 2016 15:05:20 GMT -8
Well, I certainly understand now what you want to accomplish. Right off the bat I don't know a way to do exactly what you want, but does it help that you can have yourforumURL.com/threads/recent as a page? You can even link that in your top menu bar.
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 27, 2016 15:28:08 GMT -8
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 27, 2016 15:50:14 GMT -8
jrj84105 - a two part answer: 1. The "recent posts" results cannot be manipulated by the templates. We don't actually have access to that page via templates so if you want to utilise it in a manner different from what is displayed, you would need javascript / a plugin. 2. It is somewhat, however, possible to manipulate the search results pages. However, I don't think the manner in which you want is possible through templates. There are two sections for this: thread results, and post results. The list of results are generated through the variables $[thread_list] and $[post_list]. Neither of these variables have further expanded trees, meaning they're the only variables that affect how the post/thread search results are displayed. I thought, at first, to attempt to filter out the post_list variable by using an if statement, to state something like {if post created by} then display the post list. However the 'post' variable tree is unavailable on this template, meaning that using it would not display any result what so ever -- I can't even test to see if my idea would work because of this. My suggestion here would be to head over to the Plugin Request Board and see if something can be done with javascript. I make no promises, but I can't see a way to edit the results directly in the template using variables.
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 27, 2016 16:44:11 GMT -8
Thanks for the detailed response. I will post over on plugin requests.
In the interim, I had one thought. In reply posts, the title is changed to Re: title. Either the Re: is in a non-searchable field or it has too few characters to be used as an exclusionary criteria. Is the Re: prefix that is added to the title something that could be modified to work as a better search exclusion term? Thanks.
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 27, 2016 17:01:11 GMT -8
jrj84105 - You're welcome! (: Re: is something I cannot find in the templates or in the search results or thread / post listing display. I've gone through my unmodified test forum, several diversely modified forums, and here on support and do not see "re:" added to anyone's titles. Could you provide a direct link to a post that is showing this for you? (On any forum, really, here on Support is fine too, I just can't seem to find this and need to determine if I'm just missing it, or if it's being added to your forum somehow).
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 27, 2016 18:49:18 GMT -8
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 27, 2016 19:14:36 GMT -8
|
|