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.
Perfect, thank you. Smile
Hi :)

1.How to remove this iritiating "pipie" --> "|" sign ?
2.Is there any link for that plugin, like for example:

<li><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts} <img src="images/mynic/new-post.png" style="vertical-align:middle;" alt="New"  /></a> </li> 

I mean, for unread posts, I have only this: "<li>{$unreadspost}</li>". Is it good ? Is there any small image, to make it look better, on the right side of this link in the menu ? And why, as U se above, there are "<a>" in other menu links, but in "<li>{$unreadspost}</li>" there are not ?

thankx in advance for any help :)
There is not any "<a>" because link are generated in plugin file - how, it depends (unread posts counter etc.).
Actually, you can change the link (and remove the "|") by editing the plugin file, lines 244 and 249.
I'm working on a new version, in which you can change it in the template.

PS: Sorry for my bad english :/
ohhh.. thanks a lot man! :)
ok ok, work on the better version... that's a good point.

PS.don't worry about Your english lang level. mine is not good as well ;)
Version 2.0 Released:
- rewrite code to OOP (plugin class + settings class + tpl class)
- improve unread posts search
- fix bug with posts drafts
- fix bug with very long sql (add limit in full search mode)
- add option to change lastpost links to unread posts links
- add option to view unread counter only on specific pages
- add option to mark unread posts in thread view


File and screenshots were attached to first post:
http://community.mybb.com/thread-71986-p...#pid523473

Plugin is avaiting validation in mods db.

Awesome!
it is validated or not?? can i download and install this plugin from here or must wait to be validated on mod site
You can install from attachment - it's the same package.
very nice plugin but i have one problem how to add on index page view unread post becouse i use RoyalGrass theme se attach picture
You can find plugin templates in ACP -> Templates & Style -> Templates -> Global Templates
First, you should edit unreadPosts_link and unreadPosts_linkCounter templates. You can add CSS class to link in this templates, and "configure" its in your css file (to make link similar to other buttons in header).

Second, you should add this code to your header_welcomeblock_member template:

<!-- UNREADPOSTS_LINK -->

it's added link and unread counter.
Of course, you can add this code in other template - plugin doesn't display link/counter for guests.