Plugin / bbPress Pencil Unread

G.Breant

Changelog

Changelog

1.3.0

  • Try to optimize queries that count forum topics in has_user_read_all_forum_topics():
  • ‘no_found_rows’ => true (see https://wpartisan.me/tutorials/wordpress-database-queries-speed-sql_calc_found_rows); so use count() instead of found->posts
  • ‘update_post_term_cache’ => false

1.2.9

  • when comparing the topics read, only fetch IDs instead of full post
  • better debug.log report

1.2.7

  • Added the ‘bookmark’ option, which adds (by default) a link after topics titles to go directly to the last read reply of that topic.
  • Forums marks is now an option

1.2.6

  • Added meta query in has_user_read_all_forum_topics() to ignore posts below timestamp generated in get_skip_timestamp()
  • New function get_skip_timestamp()

1.2.4

  • Use utf8 encoding when running $dom->loadHTML() to avoid problems with foreign languages (http://stackoverflow.com/questions/8218230/php-domdocument-loadhtml-not-encoding-utf-8-correctly)

1.2.3

  • No faking anymore ! Now the plugin really checks if a forum has its topics all read; while before, it was checking if the forum had been opened.
  • Allow to filter queries to get topics by read/unread status (see FAQ)
  • fixed loadHTML() error (https://wordpress.org/support/topic/just-upgraded-to-v-1-2-errors/#post-8169136)
  • Arabic translation (thanks to Mohammad Sy)
  • has_user_read_all_forum_topics() : store the results in a short transient (5s) to avoid querying several times the same stuff.
  • deleted ‘bbppu_forums_visits’ usermetas and related functions (+ upgrade function)
  • topic_readby_metaname is now multiple (+ upgrade function) : do not store array of user IDs in a single meta, but store multiple metas with single user ID each time

1.2.2

  • Do not show ‘Mark as read’ link if no activity since last marked.
  • fixed localization + french translation
  • stylesheet : RTL support
  • code cleanup
  • jQuery : when marking a forum as read, give the ‘bbppu-read’ class only to the topics of that forum (super sticky topics could be from another forum so they should remain unread)

1.2.1

  • bug fixes : https://wordpress.org/support/topic/just-upgraded-to-v-1-2-errors/

1.2

  • SCSS
  • options page
  • option to choose if items created before first user’s visit should be marked as read (‘test_registration_time’) – https://wordpress.org/support/topic/old-topics-as-unread/
  • includes fontAwesome (loading icon : glyph instead of image)
  • Improved function get_user_mark_as_read_link()
  • Improved function process_mark_as_read()
  • improved ajax and nonces checks
  • supports forums hierarchy

1.1.1

  • Removed first forum visit stuff. Remove old metas. Now check users registration time.
  • Lots of code cleanup
  • Improved has_user_read() function

1.1.0

  • Improved marking as read – among others, checks if a parent forum has been marked.
  • Merged multiple “bbppu_marked_forum_XX” user meta keys into “bbppu_marked_forums” + upgrade function for older versions of the plugin.
  • New debug_log() function
  • Now handles forum categories
  • Merged functions ‘has_user_read_forum’ and ‘has_user_read_topic’ to ‘has_user_read’
  • Merged functions ‘forum_status_class’ and ‘topic_status_class’ to ‘post_status_class’
  • Removed bbP_Pencil_Unread variable ‘prefix’

1.0.9

  • Undefined index bug fix (https://wordpress.org/support/topic/php-notice-for-mark_as_read_single_forum_link?replies=3#post-4842854)

1.0.7

  • Fixed minor bug (https://wordpress.org/support/topic/php-notice-for-mark_as_read_single_forum_link)

1.0.6

  • Fixed minor bugs from 1.0.5

1.0.5

  • Compatible with BuddyPress Groups Forums !
  • Backend integration (new_topic_backend,new_reply_backend)
  • Better firing sequence
  • Fixed styles for “mark as read” link

1.0.4

  • Now saving the user’s first visit (user meta key “bbppu_first_visit”) to define older content as “read”.
  • In ‘setup_actions()’, replaced wordpress hooks by bbpress hooks (to avoid plugin to crash while bbPress is not enabled)

1.0.3

  • Added link “mark as read” for forums
  • Added filter ‘bbppu_user_has_read_forum’ on has_user_read_forum() and ‘bbppu_user_has_read_topic’ on has_user_read_topic()

1.0.2

  • Timezone bug fix (thanks to Ruben!)

1.0.1

  • If a forum was set as “read” when a user posts a new topic or reply, keep its status to read after the new post has been saved (see function related to var $forum_was_read_before_new_post)
  • Store plugin version
  • Cleaned up the code

1.0.0

  • First release

Ratings

4.9
9 reviews

Rating breakdown

Details Information

Version

1.3.1

First Released

29 Jan, 2013

Total Downloads

12,230

Wordpress Version

-

Tested up to:

-

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.