MyBB Community Forums

Full Version: View Unread Posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Hi, do you know how add a thing like this?

Page of Unread Posts

User Xy has created "Title new thread"
User Zx has replied in "Title thread"

When a user create a new thread the text changes. I tried with

<if $thread['uid'] == $thread['profilelink'] then>

 {$thread['profilelink']} has created <a href="{$mybb->settings['bburl']}/{$thread['lastpostlink']}">{$thread['subject']}</a>

<else>

{$lastposterlink} has replied in <a href="{$mybb->settings['bburl']}/{$thread['lastpostlink']}">{$thread['subject']}</a>

</if>

but nothing..what's the right code? Sad

Or maybe then it's a mess with lastpost link / firstpost link etc?

Thanks
as an option in ACP , it would be very good. So I think , if this is possible . there are also many users who leave the sides open and easy look . the counter is indeed visible on each side .
View Unread Posts 1.4 MyBB 1.8.6 Patches 1.5 functions_indicators.php import patch file.

https://www.dropbox.com/s/g97whlus2im8zm...5.xml?dl=0
How do I install this patch?
You must use patches plugin:
http://mods.mybb.com/view/patches
You dont install it, you import it. Using the Patches plugin.

This way you don't have to replace the file on every MyBB update potentially reverting changes made to it.

/Ninja'd
okay, thanks, i used the patches plugin from frostschutz. thx for answer.

error:

View Unread Posts #1: zero matches not allowed for this edit

i found this:

function mark_thread_read($tid, $fid, $mark_time = 0)

i used the patched file from view unread posts.

So this patch is not new , but only the transfer to the plugin or ? sorry for my bad english.
Yeah, the patch is not new but only the import file for the Patches plugin.
okay, thank you!
is this same function as myAlert or is that for alerts only?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49