inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Feb 4, 2017 10:41:28 GMT -8
Pebbles I have one question for you, when you went to test it, were you 100% sure that you were sticky-ing the FIRST, original post in the thread? To be clear, the first post, original poster, is the only way that it will work. If you are choosing ANY other post that isn't the first original post in the thread, it will not work. And as you have found, the post will disappear. I was able to recreate the post disappearing by sticky-ing a post in a thread that wasn't the original. EDIT: Also, I made the test on your forum in a staff-only board: cute.boards.net/thread/1355/ulises-test-threadI'll take myself out of the group when you have seen it.
|
|
inherit
230690
0
Jan 16, 2019 2:36:12 GMT -8
Pebbles
BE YOUR OWN HERO
1,047
April 2016
dragneel
|
Post by Pebbles on Feb 4, 2017 12:09:12 GMT -8
Pebbles I have one question for you, when you went to test it, were you 100% sure that you were sticky-ing the FIRST, original post in the thread? To be clear, the first post, original poster, is the only way that it will work. If you are choosing ANY other post that isn't the first original post in the thread, it will not work. And as you have found, the post will disappear. I was able to recreate the post disappearing by sticky-ing a post in a thread that wasn't the original. EDIT: Also, I made the test on your forum in a staff-only board: cute.boards.net/thread/1355/ulises-test-threadI'll take myself out of the group when you have seen it. well i did not know it has to be the first post of the thread.... that was not clear to me before >_> thanks for helping me! one more question i been testing it its working now but is it possible that this is still going to work when i merge two threads together? i thought this would make it possible for two threads to merge and so the first post of a new thread could be on top still even when merging it with older posts but it seems not .... (thought i made it work one time but now im trying again and again and its not working like that^, it doesnt stay sticky when merged with older posts of another thread )
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Feb 4, 2017 12:31:24 GMT -8
Pebbles Yeah, I don't know how you missed that considering it's mentioned in Brians' solution thread, Davids' solution thread AND my solution thread, and even Tumbleweed asked you here and provided pictures explicitly showing you that it has to be the first post in the thread... When you merge two threads it is possible that the first post will change and so what is the first post in one thread might not be the first post when two threads have been merged since they go by time. You will have to sticky the first post in the new thread you created when you merge two threads together. So, no it won't work how you imagine it to work.
|
|
inherit
230690
0
Jan 16, 2019 2:36:12 GMT -8
Pebbles
BE YOUR OWN HERO
1,047
April 2016
dragneel
|
Post by Pebbles on Feb 6, 2017 16:27:04 GMT -8
Pebbles Yeah, I don't know how you missed that considering it's mentioned in Brians' solution thread, Davids' solution thread AND my solution thread, and even Tumbleweed asked you here and provided pictures explicitly showing you that it has to be the first post in the thread... When you merge two threads it is possible that the first post will change and so what is the first post in one thread might not be the first post when two threads have been merged since they go by time. You will have to sticky the first post in the new thread you created when you merge two threads together. So, no it won't work how you imagine it to work. alright thank you for the information and incredible that i missed such obvious information i figured out it still works but only in one way when you merge two threads together but that way does not benefit me at all whatsoever i got one question left about this sticky template thing, hope you do not mind
is it in any way possible to make this template work on any post in a thread and not jus the first post? i know someone else said no and i see in the other thread it got said these solutions only work on the first post but does this mean no one could possibly code a template or anything else to make it so that any post in a thread can be sticky at the top? (without merging threads together, thats out of the question in this situation , i get it, its impossible with proboards always showing older posts on top of new ones)
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Feb 11, 2017 9:40:59 GMT -8
Hey Pebbles tried coding up a template yesterday, but only got it to work for the first page -- so if you stickied a post on one page, it would only show on that page. This happens because whenever you paginate to another page in a thread, the post list content changes. In other words, the template only knows that you "stickied" a post in that page so when you switch pages, it doesn't have access to the previous page that you stickied the post to. But how come the first post shows on all pages?That is because the layout templates explicitly give us access to the first post information in the form of a variable: Which makes it readily available on all pages of a post list and that was how I was able to get it showing on all pages in my solution. There is also another caveat that I ran into when trying to code it. Let's say you sticky more than one post, well, those two stickies are gonna be ordered by time no matter in what order you stickied them in. So, no it's not possible to make it work on any post.
|
|
inherit
230690
0
Jan 16, 2019 2:36:12 GMT -8
Pebbles
BE YOUR OWN HERO
1,047
April 2016
dragneel
|
Post by Pebbles on Feb 11, 2017 13:23:26 GMT -8
Hey Pebbles tried coding up a template yesterday, but only got it to work for the first page -- so if you stickied a post on one page, it would only show on that page. This happens because whenever you paginate to another page in a thread, the post list content changes. In other words, the template only knows that you "stickied" a post in that page so when you switch pages, it doesn't have access to the previous page that you stickied the post to. But how come the first post shows on all pages?That is because the layout templates explicitly give us access to the first post information in the form of a variable: Which makes it readily available on all pages of a post list and that was how I was able to get it showing on all pages in my solution. There is also another caveat that I ran into when trying to code it. Let's say you sticky more than one post, well, those two stickies are gonna be ordered by time no matter in what order you stickied them in. So, no it's not possible to make it work on any post. thank you for your time, appreciate it! <3 no plugin in the future can make this work either? i mean, guessing plugins can do more just curious
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Feb 11, 2017 13:39:01 GMT -8
No problem. Yeah, it could work. BUT what the plugin would have to do is save a lot of data, especially if it's more then one post that is stickied. That's why plugins like these: support.proboards.com/thread/552188/post-comments have a limit on how much data you can store in a plugin key. It could even get full just with one post that's long enough to fill it up (I think, I haven't tried it out). Even then, if you sticky a lot of small posts, it would reach a limit eventually.
|
|