[AddonsLab] Unread Post Count 1.6.0

XF 2.0 / 2.1 / 2.2 [AddonsLab] Unread Post Count 1.6.0

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
[AddonsLab] Unread Post Count 1.6.0

XF 2.0 / 2.1 / 2.2 [AddonsLab] Unread Post Count 1.6.0

Catégorie Catégorie Add-Ons
Titre du sujet Titre du sujet [AddonsLab] Unread Post Count 1.6.0
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 15
Affichages Affichages 975
Réaction Réaction 0
Dernier message par Dernier message par Gugol

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
4 647
Messages
12 059
Solutions
81
J'aime
7 615
Points
198
Le module complémentaire affiche le nombre de messages non lus sur l'onglet Quoi de neuf

The add-on shows the number of unread posts on What's New tab. This is the migration of XenForo 1.x add-on "Unread Post Count" by @Chris D and includes all its features. The option to configure the cache timeout is in "Threads, discussions and conversations" options group, as before.

As XenForo 2.x has introduced a new Navigation engine, we have created another add-on - "[AddonsLab] Navigation Badge", that allows any third-parties and admins to add different badges to any navigation item. The add-on is required for this add-on to work and can be downloaded for free at [AddonsLab] Navigation Badge

1563


1564


1565


Any other navigation tab can show the number of unread posts by configuring it to use a callback for the badge with class name "AL\UnreadPostCount\Callback" and method "getUnreadPostCount". This is the default setup for "What's New" button after add-on installation.

The badge is added using default XenForo 2.x layout/styling, but it can be easily styled for each case using CSS only by using "nav{navigationItemIdHere}" class. For example :

CSS:
.customBadgeContainer.navwhatsNew:after {
top: -10px;
}

will make the badge in What's New tab to be on the top-right corner.

The product is free and does not include any licensing code or any callbacks.

Support will be provided here in Discussion Thread or in our Support System at Submit Ticket - AddonsLab

Feel free to suggest further enhancements for the add-on or report any issues you have and they will be addressed asap.

Please consider posting a review if you are using the add-on and let us and other users know how it works for you.

Addon requires Navigation Badge : XF 2.0 / 2.1 - [AddonsLab] Navigation Badge 1.0.0

Télécharger V1.4.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 1.4.2 Performance optimization :

The release changes the way unread post count is loaded from the database, delaying the query till the page is fully generated and sent to users. Because of it users will see the out-of-date count for one more page load, but on the next load, they will see the updated data, without any effect on the speed of generation of the data. Just as before, the query does not happen on every page, but only when the cache is out of date.

This will also resolve the cases when MySQL error might be thrown if add-on callback is called while a query is in progress, trigger error

Télécharger V1.4.2 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 1.4.3 Bug-fix unread post count missing immediately after login :

This release fixes a bug that caused the unread post count badge not to be shown immediately after login. The issue was caused by storing cached information in the session which would reset with every logout/login. Now the cache is stored in the registry and is rebuilt only once per user and when the cache expires for the given user.

Télécharger V1.4.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 1.4.4 Bug-fix: marking a post as read does not update the cache of unread posts :

Due to migration to a new caching strategy, a bug was introduced that would not change unread post count badge when the user reads an unread post.

Please note, that the product has an option Unread Post Count Cache (Minutes) in the option group Threads, discussions and conversationswhich defines how long unread post counts should be cached. If caching is not desired, and you want your users to always immediately see the number of unread posts, just set this option to 0. Caching is highly recommended for large websites, for at least as short as 1 minute, as executing an aggregation query on each page load may increase server load considerably.

Télécharger V1.4.4 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 1.5.0 Node permission support :

The release implements support for node permissions View threads by others and View thread content. Users not having these permissions for a particular node will not see the posts in that node as unread.

In this release, we have also solved the issue with the unread counter being empty on the first page load due to a missing cache.

The release has breaking changes in its code, so if you are using the product in any way other than the officially suggested callback AL\UnreadPostCount\Callback::getUnreadPostCount, please review your custom code using the service CounterService.

Télécharger V1.5.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 1.5.1 Rebuild expired cache on fly :

This release resolves an issue with the expired cache not being rebuilt on the fly. Now the expired cache is updated immediately when a user visits the board after a long time of inactivity.

Télécharger V1.5.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 1.6.0 Performance fix :

- The package optimizes the query for fetching unread posts as recommended by @XFA
- As we already fetch the nodes in a separate query, no additional query was required.

Télécharger V1.6.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
 
XF 2.0 / 2.1 / 2.2 / 2.3  AndyB Header thumbs 2.6
Merci @laurent68 :)
Publication fusionnée automatiquement :

Petit soucis lors de l'installation de l'add-on voir ci dessous :

1580


Avez vous une idée svp ?
Publication fusionnée automatiquement :

Problème résolu ^^

1581
 
Dernière édition:
Il faut installer Navigation Badge en premier :)
 
Ajout de la version 1.4.2 :)
 
Ajout de la version 1.4.3 :)
 
Ajout de la version 1.4.4 :)
 
c'est là que je me rends compte que j'ai pas maj depuis longtemps...
 
Ajout de la version 1.5.0 :)
 
Ajout de la version 1.5.1 :)
 
Ajout de la version 1.6.0 :)
 
Sujets similaires Les plus vues Voir plus
Retour
Haut Bas