Technical maintenance release focusing on minor under-the-hood improvements and bug fixes.
Future Feature: Unique Views
PeepSo 2.7.5 introduced a
peepso_activity_views table which tracks unique post views (by logged-in users). The related feature to show the unique views is slated for PeepSo 2.8.0, but we wanted the client’s websites to gather the information ahead of schedule. For some, though, the new table never properly installed, requiring a re-activation of the plugin. We looked closer into the code that manages database table creation and modification, and decided to use a more granular approach, by delegating the database management to the model that interfaces with a given table.
PeepSo 2.7.6 is the first one to include this behavior, with
peepso_activity_views being managed by the
PeepSoActivityRanking class. If this approach proves successful on a wide scale, we will apply it in the future for all (or most database tables).
We to decoupled the usage statistics opt-in from the marketing opt-in, now requiring the user to explicitly sign up for both separately. PeepSo 2.7.5 introduced the opt-in in the Welcome Screen (which also includes the newsletter signup), but also in the Advanced Configuration. That gave us a pretty unclear idea whether the user should actually be signed up for the newsletter or not – so we chose to ignore these opt-ins and draw a clear line dividing the two.
Name Parts Filter
In the past, if a programmer used the
peepso_get_name_parts filter to reorder the parts (for example switch the order of the first name and last name), it led to some unexpected behavior when calling
PeepSoUser->get_firstname(). Since that method only returns the first part of the name parts array, it did not play well with third parties switching the order.
From now on, this method uses an additional flag, which makes sure before the filter is called, the irrelevant parts of the name are removed first. This way we can have names displayed like this: Jaworski Matt on the streams and in profiles, but the notifications will still say Matt liked your photo.
For full changelog go here.
Don’t have the Bundle but you would like to have access to all current and future plugins hassle-free?
Get PeepSo Ultimate Bundle
Get All Current and Future PeepSo Plugins & Gecko Theme!
Foundation, Core, Extras, Integrations, Monetization.
Don’t wait get Your Bundle today!