Released What's new in XenForo 2.0 | xenforo 2.0 có gì mới

THB

Founder
Thành viên BQT
Tham gia
25/02/2015
Bài viết
6,651
Được Like
3,934
Much of this information will be familiar to those who were following the development process over at the XF2 Demo Forums, but this is something of a ‘greatest hits’ list of some of the important changes and improvements to XenForo since the 1.x generation.

Greatly-enhanced mobile-friendly style

The new XenForo 2 style is the first thing you will notice in XF2. The entire style has been redesigned with a fresh new appearance, but also with mobile browsing at the forefront of the design. When the viewport shrinks, on-page content shrinks, shifts and reorganises itself automatically to optimise the browsing experience for small displays.

A sticky header automatically activates when the window is scrolled, allowing the most important navigation controls to remain available at all times.



Emoji support* ✍️

All textual content in XenForo 2 now supports emoji, from message text to forum titles.

Retina avatar and smilie support

Avatars and smilies now support high-DPI imagery, allowing for a crisp, high resolution display to match the text on displays that support 2x resolution graphics, such as Apple's retina displays.

Navigation manager

Both the public-facing systems and the admin control panel now have completely customizable navigation systems, allowing the content of the navigation bars and side-navigation blocks to be entirely controlled by the site administrator without any need to resort to template modification.



Widgets

Widgets are small blocks of content that can perform a variety of tasks, such as displaying a list of members online, or latest posts etc. Widgets can be placed into various pages within the public-facing side of XenForo using a simple interface, allowing you to build rich content-discovery systems into almost any area of the public forums.



Enhanced message editing

Rather than opening an overlay, editing messages is now done entirely in-place, with the content of messages replaced by a full-fledged message editor that allows the complete range of editing and posting actions, including attachment management.



Alerts in favicon

When new alerts or unread conversation messages are available, the site icon (shown in the browser title bar) will have a badge added to it, showing that there are items waiting to be viewed.



Custom thread fields
An extension of the custom user field system, threads can now have their own custom fields, with all the functionality previously available for user fields. Thread fields can be displayed before or after message content, and can be made editable and optionally required before a thread is posted.



Member tooltip

XF1's member card has been replaced with a new member tooltip, which appears on the first click on a member's name. A further click will load the member's full profile page.



CSS transitions replace Javascript animations

Leveraging modern browser capabilities, almost all of the animations seen in XF2 make use of CSS transitions rather than Javascript animations, resulting in smoother, less processor-intensive transitions between states.

Customisable member stats

The old member list page has now been replaced by an all-new, customizable member statistics system. Individual statistics (such as members with the most posts, most recently-registered members etc.) can be built using an interface in the admin control panel, and are then displayed as an expandable block on the members page.



Generic payment framework

XenForo 2 has a new payment system that is open for development, meaning that add-on developers can quickly and easily build payment gateways for providers that are not part of the core system. Using this system, XF2 ships with a number of ready-made payment options that are easy to integrate with various system enhancements that administrators may define.

Attachments shown in previews

Content previews, such as those seen when hovering a thread title on the thread list page, now include attachments for a more complete and integrated preview experience.

Enhanced code block syntax highlighting

The
Mã:
 block system has been greatly enhanced to display syntax highlighting for a much wider range of programming and scripting languages through the use of [CODE=language] tags.

[URL='https://xenforo.com/community/attachments/code-equals-lang-png.156938/'][IMG]https://xenforo.com/community/data/attachments/156/156938-5720b212985d7a952b489046769ca68f.jpg[/IMG][/URL]

What’s New and Find Threads

To aid in content discovery, XF2 includes a brand new 'What's new' system, which can fetch new content from all sources across the system, including threads and posts, profile posts, media items and resources. The architecture of the system is fully extensible, so add-on developers can hook into What's new in order to add their own content types to the results.

[URL='https://xenforo.com/community/attachments/whats-new-png.156955/'][IMG]https://xenforo.com/community/data/attachments/156/156955-bc466e48ed7bed31e8d280e0c1e853aa.jpg[/IMG][/URL]

Additionally, a new Find threads system provides quick links to unanswered threads (with no replies), threads you have started, and threads in which you have posted.

[URL='https://xenforo.com/community/attachments/find-threads-png.156954/'][IMG]https://xenforo.com/community/data/attachments/156/156954-7abc5142a8bd20f91cb5bacf026fd08e.jpg[/IMG][/URL]

New media embedding features

The BB Code Media system has been significantly enhanced, and now supports embedding Facebook posts, Tweets, Instagram photos, Reddit posts and comments, Spotify and Soundcloud tracks, albums and playlists and a whole host of others.

[URL='https://twitter.com/statuses/872074244825526273'] https://twitter.com/statuses/872074244825526273[/URL]
[URL='https://twitter.com/XenForo']
 Follow
[IMG]https://pbs.twimg.com/profile_images/1090883135/xf_normal.png[/IMG]XenForo Ltd. @XenForo[/URL]


XenForo 1.5.14 has been released with various bug fixes:... [URL='https://t.co/agesx8FDVb']http://fb.me/8Vrcx28At [/URL]

[URL='https://twitter.com/XenForo/status/872074244825526273']7:54 PM - Jun 6, 2017[/URL]
[URL='https://t.co/agesx8FDVb'][IMG]https://pbs.twimg.com/card_img/905159802787160065/ia9llvvk?format=jpg&name=144x144_2[/IMG]
[SIZE=5][B]XenForo 1.5.14 Released[/B][/SIZE]
Today, we are pleased to release XenForo 1.5.14. This release fixes a number of bugs and issues that were found since the previous release. As this is a maintenance release, the vast majority of...

xenforo.com[/URL]
[LIST]
[*][URL='https://twitter.com/intent/tweet?in_reply_to=872074244825526273']
 11 Reply[/URL]
 
[*][URL='https://twitter.com/intent/retweet?tweet_id=872074244825526273']
 Retweets[/URL]
 
[*][URL='https://twitter.com/intent/like?tweet_id=872074244825526273']
 44 likes[/URL]
[/LIST]
[URL='https://support.twitter.com/articles/20175256']Twitter Ads info and privacy[/URL]



The integration of oEmbed support allows almost any media to be embedded simply by pasting a link to the media within a message.

[URL='https://xenforo.com/community/attachments/oembed-png.156937/'][IMG]https://xenforo.com/community/data/attachments/156/156937-d1e41a808f4195c33b0ff9feccec481d.jpg[/IMG][/URL]

Quick thread

Quick Thread is a brand new system for XF2. Above the list of threads on a forum page you will find a title entry box. Focusing this box and starting to type a thread title will load a quick message editor, in which you can post the content for the first post of your new thread. Hitting the save button will then post the thread, leaving you on the forum page rather than redirecting you to the thread page. This makes the process of creating a new simple thread extremely quick and easy.

[URL='https://xenforo.com/community/attachments/qt-1-png.156935/'][IMG]https://xenforo.com/community/data/attachments/156/156935-9632637478e814615076ca08db9dce57.jpg[/IMG][/URL] [URL='https://xenforo.com/community/attachments/qt-2-png.156936/'][IMG]https://xenforo.com/community/data/attachments/156/156936-3c8c65b43b574d724bd20c95075f994d.jpg[/IMG][/URL]

Thread prompts

In conjunction with Quick thread, Thread prompts allow the title input box to display a configurable prompt, giving members a hint as to what kind of content they should be posting in any given forum. Multiple prompts may be defined and assigned to forums, and an applicable prompt will be selected at random to be displayed to the user when the page loads.

Keyboard shortcut system and enhanced keyboard navigation

XenForo 2 includes an easy method to assign keyboard shortcuts to commonly-used controls, such as searching and opening the alerts list. These shortcuts are defined with simple template edits, and allow for very rapid navigation with a keyboard.

Additionally, the system can determine whether the user is currently using touch, mouse or keyboard navigation at any given time, and will highlight the currently-selected link or control appropriately when keyboard navigation is enabled, while hiding the selection when using touch or mouse methods.

New custom field options

Custom fields have had an overhaul for XF2, and now include a star-rating type, along with various validation options including dates and numbers. These enhancements apply to all custom field types, including user fields and thread fields, and are automatically available for any custom field types defined by add-ons.

[URL='https://xenforo.com/community/attachments/custom-fields-png.156934/'][IMG]https://xenforo.com/community/data/attachments/156/156934-c89e35d137e0949ef6666cbefc6acd7d.jpg[/IMG][/URL]

HTML 5 input types

To make data input on mobile devices more friendly, we make more extensive use of HTML 5 input types, allowing specialised keyboards to be displayed in place of the standard character keyboard. For example, when an input requires only a number, a telephone-style keyboard is displayed.

Developer / designer mode

While XF1's WebDAV system has been retired, XF2 has a whole new range of enhancements for rapid style development, including a system whereby templates can be edited directly in the file system using any editor of your choice. In designer mode, when the system detects a modified template, it will be compiled ready for the next page view that requires that template.

[URL='https://xenforo.com/community/attachments/designer-png.156933/'][IMG]https://xenforo.com/community/data/attachments/156/156933-1f1b90b4dcc7ba541e8c6d35eb3389f3.jpg[/IMG][/URL]

CLI tools

For add-on developers and large board administrators, XF2 now includes a comprehensive suite of command line tools, allowing operations such as upgrades and add-on manipulation to be done from the terminal rather than having to operate through a web interface. This can be of huge benefit for long operations, such as recompiling all templates or upgrading a large site.

* Note that while emoji support is enabled by default on new installations, sites that have been upgraded from XenForo 1.x will require a script to be run in order to convert all text to a new emoji-supporting character set (utf8mb4). This can be a relatively long process, and administrators should perform test-runs to determine how long the process will take for their final upgrade.

p/s: ae chịu khó dịch nhé. hii. Copy về cho a e nào hay vào vnxf tham khảo. Sẽ tranh thủ có demo cho anh em test. Lu bu cv nên chưa đáp ứng kịp cho anh em
 
  • Like
Reactions: PVS

PVS

Super Moderator
Thành viên BQT
Tham gia
28/02/2015
Bài viết
17,142
Được Like
12,745
Thành quả mình up từ xen 1.5.9 lên xen 2.x: http://xenforo2x.ixenforo.com/
Trước khi upgrade chỉ cần vào database xóa vài mục là ok, quá trình upgrade nhanh hơn rất nhiều so với xen 1.x.
 
  • Like
Reactions: THB

SangNTP

Corporal
Tham gia
04/11/2015
Bài viết
156
Được Like
62
2.0 có bản chính thức chưa Mod?
 
  • Like
Reactions: THB

dakhucquan.net

MasterCorporal
Tham gia
27/06/2015
Bài viết
340
Được Like
153
Thành quả mình up từ xen 1.5.9 lên xen 2.x: http://xenforo2x.ixenforo.com/
Trước khi upgrade chỉ cần vào database xóa vài mục là ok, quá trình upgrade nhanh hơn rất nhiều so với xen 1.x.
xóa mục gì vậy bro? có ảnh hưởng gì tới nội dung ko bro? với lại 2.0 xài addon vs style của 1.5.x chắc vẩn bth chứ hay là có xung đột gì mấy addon thông dụng ko bro?
 

PVS

Super Moderator
Thành viên BQT
Tham gia
28/02/2015
Bài viết
17,142
Được Like
12,745
xen 2.x khác hoàn toàn với xen 1.x, vậy nên các add-on của xen 1.x sẽ không dùng được cho xen 2.x nha.
 

dakhucquan.net

MasterCorporal
Tham gia
27/06/2015
Bài viết
340
Được Like
153
Xen nó nghỉ cái gì mà nó ra 2.0 nhỉ. update 1.x lên mà mất hết dữ liệu thì như ra 1 loại mã nguồn mới rồi rofl~~
 
  • Like
Reactions: THB

THB

Founder
Thành viên BQT
Tham gia
25/02/2015
Bài viết
6,651
Được Like
3,934
tự đào thải chính mình để phát triển đó bác. bác bill gates cũng làm đó: xp, vista, win7, win 8...
 

Top Bottom