Unread Post Count

xF1 Add-on Unread Post Count 1.2.0

No permission to download
This add-on is not affiliated with XenForo Ltd.

First of all, a thank you...

Dakis has kindly funded the development of this add-on (and many others) and has kindly allowed me to release this add-on for free to the community.

Dakis has recently moved his site TravelStories.gr over to XenForo and I'm sure you will agree it looks fantastic.


What this add-on does...

i.imgur.com_v4GRhyD.png


The add-on displays a counter above the "What's New?" link on the navigation bar.

This counter displays the current number of unread posts (individual posts, not threads) that are visible to the user (it counts the number of unread posts in the forums that are visible to the current user on the forum list).

The counter is only shown to logged in visitors.

If you wish to install this add-on on XenForo 1.1.x then you must use this version of the add-on.
HOW TO INSTALL

The easiest way to install this add-on is if you use the Add-On Installer.

Alternatively:
Download the zip file.
Extract its contents to your hard drive.
Upload the contents of the upload folder to the root of your XenForo installation.
Complete install via the Admin CP using the provided XML file.

IMPORTANT INSTALL NOTE

Something very important happens during the install or upgrade of the add-on.

An index is added to the xf_post table. This index applies to the post_date column.

Adding an index can sometimes be a lengthy operation (directly dependent on the number of posts in the xf_post table). On my forum with 3,000,000 posts the operation took 50 seconds.

Often this amount of time is beyond the PHP max execution time.

If you receive an error during install or upgrade stating that the max execution time has been exceeded, then please run the following query directly on your XenForo MySQL database using PHP My Admin (or preferably directly on the command line):
Code:
ALTER TABLE `xf_post`
ADD INDEX `unread_post_count_post_date` (`post_date` ASC)

After that query has run, the add-on will install/upgrade without issue.

In the event that you're unable to perform this query and as a result performance problems persist then you should uninstall the add-on as no further support can be provided.
Author
AnimeHaxor
Size
9.8 KB
Extension
zip
Downloads
43
Views
878
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from AnimeHaxor

Latest reviews

D
  • Deleted member
  • 5.00 star(s)
  • Version: 1.2.0
thanks admin

Similar resources

MetaNew: Next Unread Post
Provides a link and buttons that take you directly to the oldest unread post
0.00 star(s) 0 ratings
Downloads
1
Updated
Displays unread messages from a staff room/mod room in your moderation bar.
0.00 star(s) 0 ratings
Downloads
4
Updated
This Addon shows an Unread Threads Counter in the Visitor Panel in the Sidebar
0.00 star(s) 0 ratings
Downloads
1
Updated
Add rich username (CSS) to last post section in forum index and thread list
0.00 star(s) 0 ratings
Downloads
23
Updated
Brivium - Individual Post AnimeHaxor
This addon adds a link to the post and it will "jump" to correct post.
0.00 star(s) 0 ratings
Downloads
2
Updated