=== Ultimate Member - Social Activity ===
Author URI: https://ultimatemember.com/
Plugin URI: https://ultimatemember.com/extensions/social-activity/
Contributors: ultimatemember, champsupertramp, nsinelnikov
Donate link:
Tags: user wall, activity, community, discussion
Requires at least: 5.5
Tested up to: 6.7
Stable tag: 2.3.8
License: GNU Version 2 or Any Later Version
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Requires UM core at least: 2.9.1

Increase engagement and allow users to interact with each other by adding an activity system to your site where users can create posts on their wall and see what other users are up to on your site.

== Description ==

Increase engagement and allow users to interact with each other by adding an activity system to your site where users can create posts on their wall and see what other users are up to on your site.

= Key Features: =

* Allows users to create public wall posts
* Adds an activity tab to user profile which shows a user’s activity
* Users can post on another user’s profile
* Display global activity wall anywhere on site via shortcode
* Display activity wall for current logged in user anwhere on site via shortcode
* Users can create a post and attach a photo to post
* Users can edit wall posts from front-end
* Embeds YouTube & Vimeo videos directly onto activity stream if user posts a url
* Users can add hashtags to posts & users can click on hashtag to see all posts including that hashtag
* Users can comment & like posts and also reply to comments
* Ajax pagination for wall posts and loading more comments
* Users can report specific wall posts
* Users can make their wall private or viewable by members only via account page
* Admin can view & manage all wall posts in backend via custom cpt
* Allows admin to turn off social wall for specific role(s)
* Prevent a specific user role(s) from creating new posts, uploading a photo or commenting on posts
* Control number of wall posts to appear by default in desktop or mobile view before load more is triggered
* Option to turn on/off option for users to set their activity wall privacy via account page
* Ability for admin to decide which activity types show on activity stream
* Show when a new user registers on site (optional)
* Show when a user creates a new blog post (optional)

= Integrations with followers extension: =

* Show when a user follows another user in activity
* Allow user to make their wall available to his followers only, or people they follow

= Integrations with notifications extension: =

* Notify when user post on user wall
* Notify when user likes their wall post
* Notify when user comments their wall post

= Integrations with WooCommerce: =

* Shows in activity when someone adds a new product (includes item name and price)

= Integrations with bbPress: =

* Show when someone creates a new forum topic

Read about all of the plugin's features at [Ultimate Member - Social Activity](https://ultimatemember.com/extensions/social-activity/)

= Documentation & Support =

Got a problem or need help with Ultimate Member? Head over to our [documentation](https://docs.ultimatemember.com/article/229-how-to-limit-wall-posts-in-social-activity?) and perform a search of the knowledge base. If you can’t find a solution to your issue then you can create a topic on the [support forum](https://wordpress.org/support/plugin/ultimate-member).

== Installation ==

1. Activate the plugin
2. That's it. Go to Ultimate Member > Settings to customize plugin options
3. For more details, please visit the official [Documentation](https://docs.ultimatemember.com/article/229-how-to-limit-wall-posts-in-social-activity?) page.

== Changelog ==

= 2.3.8: January 14, 2025 =

* Tweak: Using `wp_is_mobile()` instead of old UM core "MobileDetect" library
* Fixed: Comment time displaying

**Templates required update**

* comment.php
* comment-reply.php

= 2.3.7: November 15, 2024 =

* Added: Compatibility with Ultimate Member 2.9.0 and Action Scheduler for email sending
* Fixed: Image uploading on the wall
* Fixed: "Load textdomain just in time" issue

= 2.3.6: May 22, 2024 =

* Added: Hooks for 3rd-party integrations
* Fixed: Displaying the activity form posting for the not logged-in user
* Tweak: WPCS enhancements
* Tweak: Added Ultimate Member as required plugins

= 2.3.5: February 21, 2024 =

* Fixed: Posting via [ultimatemember_activity_form] shortcode
* Fixed: Posting and editing posts on the user wall

= 2.3.4: December 20, 2023 =

* Added: Setting to enable the posts' attachments caching
* Added: `loading="sync|async"` attribute for `[ultimatemember_wall]` and `[ultimatemember_activity]` shortcodes. Ability to set wall's 1st page loading type
* Added: Shortcode `[ultimatemember_activity_single_post wall_post="{int}"]`. Ability to show separated activity post.
* Fixed: Performance issue with loading wall:
  * Customized WP_Query for 'um_activity' posts
  * Single activity post loading changed to sync from AJAX async
* Fixed: Security issue with private posts attachments download
* Tweak: Updated templates
* Tweak: WPCS enhancements

* Templates required update:

  - clone.php
  - edit-post.php
  - new.php
  - user-wall.php

* Important:
  * Update permalinks in wp-admin Settings > General > Permalinks
  * Cached and optimized/minified assets(JS/CSS) must be flushed/re-generated after upgrade

= 2.3.3: December 11, 2023 =

* Tweak: Frontend libraries refactored
  * Added: Simplebar.JS library because it's not used in UM core
  * Updated: ScrollTo JS to 2.1.3 version
  * Updated: autosize JS to 6.0.1 version
* Tweak: wp-admin scripts refactored
  * Tweak: Added CPT as UM registered post type for define proper UM screen on wp-admin
* Tweak: Enhancements related to WPCS
* Tweak: Using `UM()->datetime()->time_diff()` function instead local registered functions duplicates
* Fixed: Compatibility YouTube links in wall post with Jetpack
* Fixed: Convert emote code to smiles after post/update comment
* Fixed: Mention dropdown styles
* Fixed: Broken alignments when updating comment and adding new ones
* Fixed: oEmbed videos in the discussion wall

* Cached and optimized/minified assets(JS/CSS) must be flushed/re-generated after upgrade

= 2.3.2: October 11, 2023 =

* Fixed: Avoid mention yourself (removed from mention suggestions)
* Fixed: Made users unique in mention suggestions
* Fixed: Activity wall for anonymous bbPress topics
* Fixed: Small PHP notices
* Fixed: Case when extension isn't active based on dependency, but we can provide the license key field

= 2.3.1: August 28, 2023 =

* Added: `force_show_create_pages()` on first time install
* Added: Hook `um_activity_make_links_clickable_attrs` for `make_links_clickable()` function
* Fixed: Race condition on like activity + like action validation
* Fixed: "editable" field data format in predefined fields
* Fixed: "Turn off social wall for this user?" user capability
* Tweak: Compatibility with UM:Followers 2.2.8
* Tweak: Setup predefined pages only after "Create Pages" click in admin notice

= 2.3.0: July 26, 2023 =

* Added: Activity post argument for visibility in REST API
* Tweak: Template overwrite versioning
* Fixed: Posting new activity wall post on the user profile
* Fixed: PHP warnings
* Fixed: Embed links styles
* Fixed: Issue with lack of the nonces in the um_adm_action handler

= 2.2.9: January 03, 2023 =

* Added: `um_social_activity_allowed_image_types` hook for extending files that can be uploaded in social wall.
* Fixed: Sanitizing content for activity posts. Added iframe tag and onclick attribute. Embed content and hashtags are fixed.

* Templates required update:

  - comment-reply.php
  - comment.php
  - edit-post.php
  - new.php
  - user-wall.php

= 2.2.8: December 14, 2022 =

* Fixed: Security vulnerabilities in JS templates
* Fixed: Notice if there aren't `authorID` user
* Fixed: Offset parameter in `um_wall_ajax_request`

* Templates required update:
  - clone.php
  - comment-reply.php
  - comment.php
  - comments.php
  - edit-post.php
  - html/jobboardwp-job-filled.php
  - html/new-follow.php
  - html/new-formwp-reply.php
  - html/new-formwp-topic.php
  - html/new-gform-submission.php
  - html/new-gform.php
  - html/new-group.php
  - html/new-jobboardwp-job.php
  - html/new-post.php
  - html/new-product.php
  - html/new-topic.php
  - html/new-user.php
  - likes.php
  - new.php
  - trending.php
  - user-wall.php

* Cached and optimized/minified assets(JS/CSS) must be flushed/re-generated after upgrade

= 2.2.7: February 9, 2022 =

* Fixed: Pattern for parsing hashtags
* Fixed: wp-admin current screen selected submenu
* Fixed: Hashtags count link redirects to a blank Posts page
* Fixed: Extension settings structure

= 2.2.6: December 21, 2021 =

* Added: Shortcode [ultimatemember_activity_form] for new posts independent from user wall
* Fixed: Hashtags regexp patterns
* Fixed: JobBoardWP job's post content
* Fixed: Double send notifications about new job created
* Fixed: Job's post content
* Fixed: Displaying single activity post
* Fixed: Vulnerability related to posting comment callback

* Templates required update:
  - user-wall.php

= 2.2.5: July 20, 2021 =

* Fixed: Activity wall pagination and getting posts with privacy
* Fixed: Integration with ForumWP, compatibility with ForumWP 2.0
* Fixed: Dropdown list's CSS with mentioned users
* Fixed: Mention users in comment textarea
* Fixed: Mention notifications settings if followers and friends plugins are deactivated
* Fixed: Notice when hashtag not exist
* Tweak: jQuery v3 compatibility
* Tweak: WP5.8 widgets screen compatibility

= 2.2.4: December 16, 2020 =

* Added: Removing the user's activity posts when user is deleted
* Added: Allow post authors delete spam and malicious comments under their posts
* Fixed: Getting author for the global action 'new-user'
* Fixed: Removing a term when added comment to post in activity wall
* Fixed: Getting remote page content using request with headers if simple request fails
* Fixed: `redirect_to` URL getting in AJAX request
* Fixed: Report post functionality
* Fixed: The loading icon under the wall
* Tweak: Gutenberg blocks are moved from core to extension
* Tweak: Don't display broken activity posts (where '_user_id' meta <= 0)
* Tweak: Resetting global variables after each custom WP_Query on user wall (avoid conflicts)

= 2.2.3: August 24, 2020 =

* Fixed: Social Wall typo mistake

= 2.2.2: August 11, 2020 =

* Added: GDPR complicity, social activity posts export
* Added: *.pot translations file
* Added: JS hook for 3rd party integration when a wall is loaded
* Added: An integration with the UM:JobBoardWP extension
* Fixed: Hashtags links in wp-admin Hashtags list table
* Fixed: Fetching users on different pages in shortcodes handlers
* Fixed: Compatibility with Nectar & CSPM page builder plugins
* Fixed: User-wall when user is logged out and the option "Show only followed users activity in the social wall" is enabled
* Fixed: Flagged filter link at wp-admin Social Activity posts list table
* Tweak: Optimized UM:Notifications integration
* Tweak: apply_shortcodes() function support

= 2.2.1: January 21, 2020 =

* Added: Activity action for integration with ForumWP (create new topic/reply)
* Fixed: A limit in tranding hashtags shortcode
* Fixed: Hashtags parsing on social activity wall
* Fixed: Parsing wp_embed for Youtube

= 2.2.0: November 11, 2019 =

* Fixed: Post update activity
* Fixed: 'the_title' filter using
* Fixed: set image data from URL meta
* Fixed: images and hashtags parsing in the post content

= 2.1.9: August 30, 2019 =

* Fixed: Security issues connected with XSS and not sanitized values
* Fixed: First loading of posts via AJAX
* Tweak: Using UM()->get_template() function instead own to make the templates using more complex

= 2.1.8: July 16, 2019 =

* Added: Emoji to activity post content
* Fixed: Profile Tabs
* Fixed: Uninstall process
* Fixed: Mime types filter
* Fixed: Title of the comment

= 2.1.7: May 14, 2019 =

* Tweak: Enqueue scripts in one function and hook
* Fixed: Scroll library enqueue
* Fixed: Login/Register links
* Fixed: Link to user
* Fixed: Edit link at the wall
* Fixed: Hashtag wall

= 2.1.6: March 28, 2019 =

* Added: Friends user suggestions

= 2.1.5: February 8, 2019 =

* Fixed: Upload Path

= 2.1.4: November 27, 2018 =

* Fixed: AJAX vulnerabilities
* Fixed: Edit single activity post
* Fixed: Download links rewrite rules in activity wall

= 2.1.3: November 18, 2018 =

* Fixed: PHP errors in empty functions

= 2.1.2: November 12, 2018 =

* Fixed: async wall posting with links preview
* Fixed: JS/CSS enqueue
* Fixed: Minor CSS fix at activity page

= 2.1.1: October 24, 2018 =

* Fixed: Confirm Box on Activity Page

= 2.1.0: October 24, 2018 =

* Fixed: Like/Unlike post async
* Fixed: Uploading images with active cache
* Fixed: Include templates for not-logged in users
* Optimized: JS/CSS enqueue

= 2.0.11: October 11, 2018 =

* Fixed: Trending Hashtags widget

= 2.0.10: October 8, 2018 =

* Fixed: Activity Wall posts
* Fixed: Some Typo

= 2.0.9: October 2, 2018 =

* Fixed: Optimization + fixed small bugs on User Wall & Activity Wall
* Fixed: async JS handlers
* Fixed: Comments & Replies handlers
* Fixed: Wall privacy

= 2.0.8: August 15, 2018 =

* Fixed: async loading for not logged in users

= 2.0.7: August 13, 2018 =

* Fixed: WP native AJAX handlers
* Fixed: Image sizes and URLs
* Fixed: Typo

= 2.0.6: August 9, 2018 =

* Fixed: Image Uploader
* Fixed: Styles for wall shortcode
* Fixed: Using the 2 or more shortcodes at the same page

= 2.0.5: July 10, 2018 =

* Fixed: Autocomplete via @ symbol

= 2.0.4: July 3, 2018 =

* Added: Max faces setting
* Added: Verify badge in display name of the activity author
* Fixed: Link output with $_GET params

= 2.0.3: July 3, 2018 =

* Fixed: Break words styles

= 2.0.2: December 16, 2017 =

* Added: Loading translation from "wp-content/languages/plugins/" directory

= 2.0.1: October 30, 2017 =

* Added: GravityForms add form/submit form activities
* Fixed: Chinese and Russian Hashtags working
* Fixed: Activity wall privacy
* Tweak: UM2.0 compatibility

= 1.3.3: January 4, 2017 =

* Fixed: plugin updater
* Fixed: activity tab visibility issue
* Added: post comment reply in the notification


= 1.3.2: December 11, 2016 =

* Tweak: Update nl_NL translation files
* Fixed: plugin updater
* Fixed: remove notices
* Fixed: Activity tab's privacy
* Fixed: remove notices from Ajax request
* Fixed: UM Friends integration

= 1.3.1: October 10, 2016 =

* New: UM Friends integration
* New: oEmbed integration
* Tweak: update EDD plugin updater
* Fixed: upload nonce issue
* Fixed: mixed with recent comments widgets
* Fixed: remove notices
* Fixed: load posts on scroll
* Fixed: saving privacy options
* Fixed: update blog post in activity feed
* Fixed: post and comment clickable links in content
* Fixed: links and video embed in posts
* Fixed: only show followed users activity in the social wall option
* Fixed: remove Visual Composer shortcodes from Post excerpts

= 1.3.0: June 20, 2016 =

* Fixed: EDD class for multisite setup

= 1.2.9: June 20, 2016 =

* Fixed: Invalid nonce

= 1.2.8: June 9, 2016 =

* New: display activities in RSS feeds
* New: PressThis tool integration
* Added: new filter to activity post time  'um_activity_human_post_time'
* Added: Dutch / NL translation
* Fixed: delete activity when bbpress topic is removed
* Fixed: profile activity content
* Fixed: title in recent comment widget
* Fixed: tab template
* Fixed: video responsiveness
* Fixed: edit post
* Fixed: post image max width
* Fixed: exclude private walls
* Fixed: license and updater
* Fixed: reply to replies
* Fixed: login string
* Fixed: edit comment reply
* Fixed: comment author
* Fixed: remove notices
* Fixed: translation strings
* Fixed: trailing slashes issue
* Fixed: displaying activities

= 1.2.7: January 25, 2016 =

* Fixed: Remove forum topic when removed from bbpress
* Fixed: Remove activity's hashtag if it's not mentioned anymore

= 1.2.6: January 5, 2016 =

* Fixed: Replace embed media with link when uploaded an image
* Fixed: Add hashtag in comment content after submit
* Fixed: Fixed title encoding to allow quotes characters
* Fixed: Fix hashtag for html special chars

= 1.2.5: December 22, 2015 =

* New: allow hashtags in wall comments
* New: allow soundcloud embeds by track url
* Fixed: remove shortcodes from excerpts
* Fixed: regex for parsing links

= 1.2.4: December 18, 2015 =

* New: user can delete their comments

= 1.2.3: December 11, 2015 =

* Fixed: issue in accessing admin screen
* Fixed: broken social activity avatar

= 1.2.2: December 8, 2015 =

* New: integration/sync with our new Verified extension
* Fixed: bug with wall post permalink

Version 1.2.1

* Fixed: removes post activity when post status is not published

Version 1.2.0

* Fixed: sharing link and photo in one post conflict
* Fixed: css bugs

Version 1.1.9

* Tweak: updated language catalogs
* Fixed: Invalid HTTP requests

Version 1.1.8

* Fixed: comments display on new posts

Version 1.1.7

* Fixed: link sharing for internal links
* Fixed: comments were not showing on some websites

Version 1.1.6

* New: view shared links in the backend and moderate them like normal posts
* Tweak: improved link sharing from the web
* Fixed: video embeds and link sharing conflicts
* Fixed: hashtag feed shows all posts by hashtag

Version 1.1.5

* Tweak: better activity templates when adding new post/product/forum topic

Version 1.1.4

* New: added option to make public wall show activity from followed users only
* New: added link sharing feature from any webpage
* Tweak: updated language files

Version 1.1.3

* New: completely revoked and improved hashtag system
* New: added widget to display trending hashtags
* New: easily access posts by hashtags and see how many posts each hashtag has got

Version 1.1.2

* New: extended integration with followers
* New: you can mention followers/followed users in your wall post
* New: mention users with autocomplete support
* New: mentioned users get a web notification (requires UM Notifications)
* New: improved wall post/comment linking with permalinks
* New: set comment/reply order by newest first or oldest first in social posts
* Tweak: sorting comments by oldest comment first by default (optional)
* Tweak: improved post actions menu
* Fixed: comments count should not include replies
* Fixed: wall comments should not appear in comments tab in profiles

Version 1.1.1

* New: added option to delete wall posts via frontend

Version 1.1.0

* New: added ajax/inline frontend post editing capability

Version 1.0.8

* New: added Swedish language support
* New: added filter to control post submission args um_activity_insert_post_args
* New: added filter to control WP_Query args to display wall posts um_activity_wall_args
* Fixed: Truncated text not working for activity posts

Version 1.0.7

* Fixed: minor bug fixes with shortcodes

Version 1.0.6

* Fixed: issue with wall loading more posts

Version 1.0.5

* New: show when user creates blog post
* New: show when user creates a product
* New: show when user follows someone
* New: show when user creates a forum topic
* New: show when user signs up
* New: integration with notifications add-on

Version 1.0.4

* New: option to turn off wall privacy settings in account page
* Tweak: allow user to get redirected to wall post after login
* Fixed: php issue in comments display

Version 1.0.3

* Fixed: post truncate is resolved

Version 1.0.2

* New: show comment/reply likes through modal
* Tweak: likes modal is customizable via template
* Fixed: hashtag view in main activity

Version 1.0.1

* New: user can post directly from activity page
* New: display user wall or general activity with shortcode anywhere on site
* Tweak: added default max-width css to activity wall
