I see the problem. I think the correct behaviour would be to always show #1 there?
![]() |
(2018-11-10, 11:21 PM)panayot Wrote: I see the problem. I think the correct behaviour would be to always show #1 there? Yes, it should always say #1 If i'm on page 7 or page 20, and i post/mention to readers to "go read post #12" , it is likely a lot of readers will be reading a "different" post #12, depending on their "post per page" settings. ![]()
The fix is implemented in version 1.8 of the plugin which I just uploaded: https://community.mybb.com/mods.php?acti...d&pid=1185
(2018-11-11, 05:13 PM)panayot Wrote: The fix is implemented in version 1.8 of the plugin which I just uploaded: https://community.mybb.com/mods.php?acti...d&pid=1185 Perfect, works +Rep. ![]() ![]()
@panayot - great plugin, anyway I would like to add "styled" thread prefixes like MyBB has. Your plugin only displays them as a text, it was changes few versions back by MyBB team. Please could you release a new version?
Also, is there anybody who can share the JS code to make the first post collapsive? Sonething like "display more" for really long posts. Thank you! (there is a tutorial for quotes). EDIT: the first part is solved, just use {$thread['displayprefix']} in your template ![]() ![]() EDIT2: tutorial for quotes, how to apply to this? https://community.mybb.com/thread-163907...pid1132430
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
![]()
I uploaded a new version that fixes thread prefix and thread title.
For my forum I am using this plugin to collapse texts: https://community.mybb.com/mods.php?action=view&pid=143 It is a better solution as you can control exactly what text to hide and leave the really important one visible.
Hmm, but how to solve if I have a really long "first post", so then you have to scroll a lot. Other forum softwares has auto collapse long first post. How to do that? Thx!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
I use a [spoiler] tag as mentioned above to hide long content. You can see how it works here for example in the first post to hide some images:
https://forum.androidbg.com/showthread.php?tid=87769 Show First Post plugin takes the first post from database and populates the first post on each page. I do not even know how to intercept data that is coming from the database and inject the javascript you mentioned, and it will need to be configurable because not everyone will like to shorten the text. And the javascript will only work correctly with text as it counts characters, but if post is long because of images, it will not help. It is not that simple to make and I do not have a lot of time right now ![]() ![]() I have the latest version of MyBB and the server updated. It has happened to me on another 2 different servers also...I don't understand why.
I tried to make a new installation of the plugin and there are no errors.
You can see what is the actual error in the error.log file in your main forum directory. Or you can turn off the option "Use Error Handling" in Board Settings » Server and Optimization Options |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)