MyBB Community Forums

Full Version: MyLast 1.0.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
[Image: preview_61867_1532213438_06f2ff40638d65d...597773.png]

My first approach to develop a MyBB plugin. Hope this will be helpful.

Description:

This tiny plugin will add a new link to every thread at thread tools (bottom left) for the users to jump to the last post made by him / her in a thread. This is a good way to read forward from where the user has left the thread.

The link will not be displayed for the guests.

Those who didn't post in a thread, clicking on the respective link will return them a custom error message stating they have not posted on that thread.

There is no settings for the plugin. Just activate and go ...

Changelog:

v.0.1: Basic Version.
v.0.2: Sanitized variables in query and little bug fix.
v.0.3: Added Jump link in Thread List, Added a language file, Fixed bug (require_once).

Snap:

In Thread:
[Image: nTPS0a3.png]

In Thread List:
[Image: KOzNO2W.png]

Download Here (1.6.x):
http://mods.mybb.com/view/mylast
http://demonate.com/thread-1054.html

Download Here (1.8.x):
https://community.mybb.com/mods.php?acti...w&pid=1144
https://github.com/mybbgroup/mylast
Approved. Well done on creating your first plugin! Smile
very useful...
Thanks... Big Grin
Well done effone. I always wanted a similar feature for unread thread Posts.
Thanks all Big Grin

In next version I'm planning to add link in forumdisplay threadlist and language support.
Any other suggestions are appreciated.
Great plugin! I had actually been planning to request this soon, and I was going to suggest adding a link to the forumdisplay until I saw that you're already doing that. It's like you've read my mind. Toungue

Instead of the custom error message, would it be possible to just not show the link to users who haven't posted in a thread?

Thanks!
nice and cool idea Wink
(2013-04-28, 06:29 AM)Yosiah Wrote: [ -> ]Instead of the custom error message, would it be possible to just not show the link to users who haven't posted in a thread?

Yea that is possible but I have not done that just because if it was like that then the query will run everytime a thread shows to determine the post of the current user. Now this is made such a way that the query will run only if the user clicks on the link.

Thanks for your feedback Big Grin Appreciated.
Updated to v.0.31

In this version:

Added Jump link in Thread List (http://i.imgur.com/7TMC4YP.png)
Added a language file
Fixed bug (require_once)

Submitted to mods site for further approval.
Pages: 1 2