Not Solved Show First Post [1.4]
#1
Not Solved
Have not found this useful plugin for 1.4 originally written by Jasiu so ported it by myself.

Allows to display first post of the thread on the top every page fot this thread.

There are no changes in functionality, only fixes to work with 1.4.x and minor template modification.
- Adds "Pin/Unpin First Post" to Moderation Options
- Adds "Auto Pin First Post" to "First Post Mod Settings" in Admin CP
- Adds "Auto Pin First Post In All Forums" to "First Post Mod Settings" in Admin CP

# 1.4.4
+ Added "Auto Pin First Post In All Forums" option in plugin settings


Attached Files
.zip   show_first_post.zip (Size: 2.99 KB / Downloads: 384)
Reply
#2
Not Solved
Thanks, I'll test out when my forums start to work..
<_<
[Image: logo.png]
Reply
#3
Not Solved
nice idea to give an option to Pin / Unpin first post

thanks for your effort
Reply
#4
Not Solved
hey tried it out it works great! Thanks for your work!
Sincerely,
pickleman9686

Reply
#5
Not Solved
cheers Smile
Reply
#6
Not Solved
You can add all forums to "Auto Pin First Post" for now.

If are familiar to MyBB API you can add new setting - "Pin First Post For All Forums" checkbox and check if this option is selected. And if you are not programmer - I'll add this option on this weekend, when I'll have some free time.
Reply
#7
Not Solved
Yes.
You may download updated version in first post.
Just deactivate plugin, and activate again ("Auto Pin First Post" setting value will be lost!).
Reply
#8
Not Solved
Nice work!
Reply
#9
Not Solved
Newer versions of the plugin can be found here: https://community.mybb.com/mods.php?acti...w&pid=1185
Reply
#10
Not Solved
(2018-11-01, 03:48 PM)panayot Wrote: Newer versions of the plugin can be found here: https://community.mybb.com/mods.php?acti...w&pid=1185

The new version PINS the FIRST POST on subsequent pages as it is intended,
but, there's still a BUG that has not been fixed....

Bug description:
If Show thread option is set to example "5 Posts Per Page":
And a thread has "11 REPLIES"
First post on FIRST PAGE is LISTED as #1
but, on page  2, it's LISTED as #11 , even tho its still PINNED at TOP of thread
on page 3, its LISTED as #13, even tho its PINNED at TOP on the page.

See it in action here: http://mybbdemo.epizy.com/showthread.php?tid=1
see attachments

....on your own screen shot, you can see the first post is IDed as post #12, and its above #11 , on your second page.

https://community.mybb.com/uploads/mods/...c63582.png

Why does this bug needs fix ?
Because, if another user has their view settings at 10 Posts per page, the FIRST post will have different IDed number on subsequent pages, than those whom has their view settings to 15 posts per page, and 20 posts per page, etc.


Attached Files Thumbnail(s)
       
Huh
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)