What's New Tweak

XF 2 Add-on What's New Tweak 2.1.4

Compatible With XenForo
2.0, 2.1
Visible Branding
No
XF 2.1 comes with a redesigned What's a new page. After upgrading to 2.1, our regular forum members had some trouble using the new system with filters.

This addon will change some of the What's new features in such a way that it is more consistent and easier to understand. The most important feature is probably auto-refreshing the What's new page!
  • Always highlight the What's new menu
    If you select "New Post", Xenforo would normally highlight the menu "Forums". To be more consistent I choose to always highlight "What's new" for all items related to new stuff. The same goes for "All new profile posts". This will also work with any add-on that uses new content, like XFRM, XFMG, and third-party add-ons.
  • Auto-refresh / update the What's new and Latest activity page [option]
    This will automatically refresh the first page of What's new section every x seconds. It will also refresh the Latest activity page. Active users will like this feature if they have a window opened to watch your forum. Users have the option to enable or disable auto-refreshing with one click.
  • User select refresh frequency [option]
    The admin can define a set of refresh frequency options in the admin panel. This lets your users select the desired refresh interval.
  • Add a refresh button to the What's new section
    Extra button to make refreshing the What's new page easier.
  • Add an "All posts" menu item
    This will call a page that contains all the new posts (read and unread).
  • Remove the extra (redundant?) menu bar [option]
    The What's new section contains an extra menu bar with basically the same items as the normal navigation menu. This is confusing so you can turn it off for desktop view. For the mobile view this menu bar could be handy, so you can leave it on for a mobile view if you like.
  • Hide search id from New Posts page [option]
    Hide the search id that is normally visible in the browser's address bar. This makes it easier for your visitors to refresh or bookmark the New Posts page.
    Example: https://www.domain.com//whats-new/posts/326902/ will be replaced by https://www.domain.com//whats-new/posts/ in the browser's address bar.
Installation
  1. Copy the contents of the folder "upload" to your forum
  2. Go to your xenForo admin control panel > Addons
  3. Install the new addon
Post Installation

After installation it is recommended (but not needed!) to modify some navigation items to make things more intuitive/consistent. This will really help your users understand what is going on:
  1. Go to your xenForo admin control panel > Setup > Public navigation
  2. Disable "New posts" under the "Forums" section (this will force your users to use one place for new items).
  3. Disable "New profile posts" under the "Members" section (this will force your users to use one place for new items).
  4. Modify the "What's new" section, change the link to: {{ link('whats-new/posts/') }}
    The "whats-new" link is basically the same as "whats-new/posts/" but with a different layout. To make things more consistent, I choose to always use "whats-new/posts/" as this is the best way of presenting new posts.
    navigation.png
  5. Last thing you could change to make things more clear is:
    Rename 'New posts' to 'Unread posts' (phrase nav.whatsNewPosts and new_posts)
    Rename 'All posts' to 'Latest posts' (phrase (phrase nav.MrJinx_WhatsNewTweak_AllPosts)
1556723663157.png


Translations
  • English (default)
  • Dutch
Screenshots

Users can turn on/off auto-refreshing with one click:

start.png
stop.png


Refresh frequency selectable:

1556723009673.png


Refresh in action:

whatsnewtweakanim.gif


If you select "New posts" from the sub-menu, the What's new tab stays selected (instead of the Forums tab):

whatsnew1.png


If you select another page, the auto-refresh will be disabled but you can still manually refresh the page (auto refresh only makes sense for the first page):

whatsnew2.png


Show all new posts, including read and unread, this shortcut removes the "unread filter":

whatsnew3.png


All posts in the extra navigation bar:

whatsnew6.png


Option to hide the extra navigation bar:

whatsnew5.png


If you select the "New profile posts" sub-menu, the "What's new" tab will stay selected:

whatsnew4.png


Replace the URL with a number in it. This is the search id which makes the page sort of static:

replace-url-before.png
replace-url-after.png


Admin control panel:


1556723117232.png
Author
XenFun
Downloads
1
Views
126
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from XenFun

Top