• warforever.com is open to the public, non-registered users can post and download resources for free. Have a nice stay!

Live Content

XF 2.1 / 2.2 Live Content 1.2.3

valaiVerified member

Administrator

Staff member
Vip Member
Reputation: 100%
Messages
1,039
Reaction score
71
Require XF2.1+
Add options icon
Per-forum toggle for all threads or just specific threads which are live
Adds per-thread 'live' banner in thread list
Per-forum permission and per-thread UI to enable/disable live status for a thread.
Extend New Threads/Posts widget to filter by live threads
Workaround for (broken) environments which block etag/last-modified headers from being set by php, which results in this add-on not functioning as expected.

Enable per-thread live status for all forums:

SQL:
update xf_forum
set sv_liven_all_threads = 0;

Additional requirements: Standard Library by Xon

Polls the server for new content, and adds them to the existing list of posts/messages. Updates alert & conversation totals along the way.

This add-on tries to only use a single poller across multiple tabs for the same thread/conversation, and a single poller for grabbing user alerts & conversations counts updates.

Supported content:
  • Threads (loads posts)
  • Conversations (loads conversation messages)
  • User (allows polling for updated alerts & conversations counts from anywhere)
Permissions:
  • Per-forum "View live threads"
  • Global “View live conversations”
  • Global “Live alert/conversation counter updates”
To enable, you must assign user-group permissions

Live Content 123-1.webp


Options :

Live Content 123-2.webp


Version 1.2.0 - Compatibility update
Requires php 7.0+
Now depends on Standard Library by Xon
Support Sticky Any Post
Support Reverse Post Order v1.1.0+
Support XF2.2+

Version 1.2.2 - XF2.2 compatibility update
Fix that unread/unviewed alerts count would be set to 0
Work-around for error when starting/stopping per-thread liveness.
Patch pikaday usage to not error, this currently disables the time-pick component until it can be replaced.

Version 1.2.3 - Maintenance update
Require Standard Library by Xon v1.3.0+
Replace 'live thread start/end date/time picker with custom version which works with XF2.1/XF2.2
 
XF 2.0 / 2.1 / 2.2  AndyB Remove visitor menu links  1.0

Attachments

Last edited:
Relate Threads
Back
Top