inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 31, 2016 0:38:22 GMT -8
It was recommended that I post this here. I'd like to replicate the New Posts function but limit it to original Posts - no replies. It would be especially beneficial if the "new" flag in the thread view could be displayed in the post view to indicate which Posts have new replies. I tried to use searches to segregate the original posts from replies but couldn'figure that out as a method.
thanks, jeff
uofuboard.com
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Dec 31, 2016 20:31:35 GMT -8
I'm reading this as you wanting an indicator when viewing freeform search results as well as predefined search results such as recent_posts that return results in the form of posts that shows which ones are thread starters as opposed to replies? ETA:
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 31, 2016 22:27:55 GMT -8
Thank you for the appropriate phrasing. Yes, when viewing freeform search results in the form of posts I would like an indicator for new/unread posts within that thread. Additionally, I would like that free form search to include only thread-starting posts without reply posts.
There may be a better/easier way to get the same effect. If there was a way to insert a pop up placeholder for the original post in the New Threads view that would be even better. In fact a pop up view of the original post and most recent post in the thread view would be outstanding.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 2, 2017 3:49:28 GMT -8
There may be a better/easier way to get the same effect. If there was a way to insert a pop up placeholder for the original post in the New Threads view that would be even better. In fact a pop up view of the original post and most recent post in the thread view would be outstanding. Grabbing post content that is not already on the page is beyond the purview of a plugin so with that in mind can you describe what you mean by "popup placeholder"
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Jan 7, 2017 19:59:17 GMT -8
I'm terrible at explaining this. The ideal scenario would be that scrolling over the thread title or another link (placeholder) would bring up a view of the post in a pop up without navigating away from the thread list.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 8, 2017 8:34:53 GMT -8
I'm terrible at explaining this. The ideal scenario would be that scrolling over the thread title or another link (placeholder) would bring up a view of the post in a pop up without navigating away from the thread list. I too share your affliction regarding 'splaining stuff so I'll try to say it another way: If the content of the post does not currently reside on the page (e.g you are looking at a list of thread titles) then there is no approved way for a plugin to fetch that content and place it in a popup for you, you would need to click on a thread to open it and see what is inside. Proboards makes a portion of the content of the first post in thread view available by placing it in the hover title but to get full content or to get content that is not the first post you would have to crack the egg and scramble it. The plugin I posted above was based on my understanding of what the request entailed but this has matured into something having no resemblance to the original request which had to do with post view not thread view and is beyond the capabilities of a plugin wishing to adhere to the rules. Within the guidelines, a plugin could try to save new posts to a key and and then bring that up when viewing recent threads or any other search result returned in thread view but since a key can only hold 4K and a post maxes out at 256K the math simply would not add up, you can't fit an elephant into a bird cage. The posted image above shows an indicator by the second post letting you know that the post is also a thread starter and there is also an option to filter the view to show only thread starters. The plugin also offers the option to have that click drop you at the actual post rather than at the start of the thread among other things.
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Jan 11, 2017 6:31:02 GMT -8
Thanks for the explanation.
Stepping back to basics, is the hover over thread titles something I have to activate/a plugin or is it something I just don't notice surfing on mobile or iPad?
I think your plugin with a new thread indicator looks great, and I'll install it this weekend.
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Jan 12, 2017 15:10:49 GMT -8
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 12, 2017 15:36:40 GMT -8
?adwoman? , jrj84105 was simply asking about adding that feature to the above plugin jrj84105 , views are only available as a template variable, they are not included with the thread metadata available for script use so if you wish to add that feature then use the template modification you just linked to in order to accomplish that.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 12, 2017 19:07:05 GMT -8
The contents of the first post are added as a title attribute on the topic link without the need for code (right there in the template). <td class="main clickable" title="$[thread.short_content]"> There is obviously no "hover" on a touch device (some are converted to click events under certain circumstances) and there is even less support (i.e. nonexistent) for title attribute hovers on mobile in general.
|
|