This update accurately measures "Notices seen", which can only ever be the difference between option values of "Warn visitor after this many views" and "Force registration after this many views". For settings of 2 (warn views) and 8 (force registration); the number of notices that can be seen prior to registration can be one of: 1,2,3,4,5, or 6 views. Force would occur on the 7th view.
- FIX: error in logic recording the number of notices seen
- FIX: recording registrations where views would be 0 instead of 1 in statistics
- UPDATE: statistics prior to this update record MORE lgv than occurred
- UPDATE: change "views" to smallint in DB and change max option values to: 65535 (warn & force)
Therefore, in your statistics you should see counts for 1 through X notices seen, and (X + 1) views would all be forced registrations.
If you'd like to ensure your statistics are accurate and don't mind losing statistics for LGV that occurred prior to today, simply run the following against your xenforo database:
SQL:TRUNCATE TABLE xf_wutime_lgv;
Note, the above doesn't remove "daily stats" from the native XenForo daily statistics system. To remove those erroneous stats entries run:
SQL:DELETE FROM `xf_stats_daily` WHERE stats_type in ('lgv_forced','lgv_warned','lgv_total');
- FIX: statistics error due to lack of proper findOne() on user_id
- FIX: missing phrase on native XF statistics checkboxes
- FIX: second chart not displaying
- UPDATE: add option validator to ensure force value is higher than warm limit value
- ADDED: LGV stats now available on native XF statistics admin page (XF 2.3)
- ADDED: doughnut chart layout and labels
- ADDED: daily statistics opacity to make things clearer
- Fix admin navigation header display (XF 2.3)
- CSS fix for sub-nav to list horizontal on mobile
- Sub-nav "days" links will only display up to the maximum of what's available in the data
- Keep the user selected "days for chart" through successive navigation clicks
- Updated charts to use past 24 hours of data when "1 day" is selected
- Updated all charts to use the same colors for all data types (for legibility and consistency)
- Updated all checkbox options to boolean from string (resolves display issues in XF 2.3)
- Statistics will be cleared on this update
- Previous statistics were prone to small inaccuracies (fixed)
- Prevent duplicate user_ids from being added on edge cases
- Added statistics tracking for LGV to native Xenforo Statistics (admin.php?stats/)
- XF 2.2+ only currently
- Append stats tracking for LGV (total, forced, warned)
- Stats will be 100% accurate moving forward
- Thread list pages are properly tracked for views in XF 2.3
- Daily stats will be built daily after install moving forward
- Added two indexes, plus one unique on user_id
- Previous release (v1.9.1) was missing composer packages
- Include vendor packages in build.json (auto include)
- Added charts and statistics
- Shows Total registrations, registrations from limit views, and registrations that were a result of being forced
- Add Tag to count towards limit
- Add option (default=on), to disable DP CF guest caching for LGV pages
- Add styles-properties and theme for both Warn and Notice block
- Add navigation bar for Administration side
- Navigation bar includes (Notice Demo, Options, Style Properties)
- Added JawBizzle CrawlerDetect, added option to ignore crawlers
- Fixed installer bug with Setup.php for DB creation
- Added option for options page to show options in groups or tabs
- Added option to auto-ignore CloudFlare page cache (default on)
XF 2.3 Compliant: Backwards Compatible
As a result of this update the resource has been marked XF 2.3 compatible on the Overview page.
- XF 2.3
- Resolved controller issues and forwards for guest views and registration redirects
- Fixed homepage view for XF >= 2.3.0 (previously being ignored on Forum Home)
- Fixed Search, Member, and XFRM:ResourceItem
- System wasn't previously loading on these homepages if selected
- XF 2.x+
- Removed [Account] page option selections
- System only loads on guest pages so it had no benefit
- Removed error pages from selection (they're ignored global anyways)
- Updated warning for "Allow viewing of excluded forums"
- Registration link now loads the registration overlay on click
- Added wutime_lgv_views count to registration referral
- Added Entity structure for GuestConversions
- Added database table to track registrations prompted from notices/warnings
- Registration will be tracked in future releases to provide admins with statistics on conversions
- System saves the number of notices seen before registering
- System saves whether the user was forced to register (conversion)
- Made default force value 8 (previously 10)
Tested Limited Guest Viewing with Xenforo 2.3 RC4.
Will require small update, but seems to work without major issues.
Notes
If you find an bug/issue please post in the Discussion.
- I didn't test with RC3 or earlier
- RC4 is now out, which should make <=RC3 obsolete
- ErrorException: [E_WARNING] Attempt to read property "node_id" on null
- Warning occurred on deleted threads
- 404 page of a thread that never existed
- 404 page of perm deleted thread
- Return to XF to handle 404 or "Oops, error page"
- PHP 8.x deprecation warning resolutions
We use essential cookies to make this site work, and optional cookies to enhance your experience.