XenForo 2.0.0 Developer Preview 4

XenForo 2.0.0 Developer Preview 4 2.0.0 Developer Preview 4

Нет прав для скачивания
Статус
В этой теме нельзя размещать новые ответы.

Hope

Premium
Сообщения
48,305
Решения
22
Реакции
71,871
Баллы
40,905
Пользователь Hope разместил новый ресурс:

XenForo 2.0.0 Developer Preview 4 - XenForo 2.0.0 - версия для разработчиков.

Вот и долгожданная версия XenForo 2.0.0. :-) Правда она пока предназначена исключительно для разработчиков да и так - поиграться на локалке.

Это четвёртый релиз и в нём исправлены некоторые ошибки (
    • Scrollable notices have returned. They are now a separate notice type so you can have both block and scrollable notices simultaneously. Note that block notices will always display above the scrollable notices carousel.
    • The <xf:js> tag now supports...

Узнать больше об этом ресурсе...
 
Неужели
  • Finally, support for displaying custom BB code icons in the RTE has returned. The process is slightly different as using a Font Awesome icon is the preferred approach for consistency, but a separate image can be used if preferred.
 
а когда же релиз то будит, а то поковырять охота, можно этот убогий шаблон переделать или бесполезно
 
а вдруг получиться, пишут же что обновиться нельзя, или не так.
То есть нельзя будит поверху поставить релиз
 
Нельзя, но стиль экспортировать с Вашими изменениями никто не запрещает.
 
Интересно, сколько ещё выйдет Developer Preview версий?
 
Установка без терминала
Если у вас нет возможности использовать терминал (SSH), но очень хочется попробовать XF 2.0, то этот пост для вас :-)
  1. Скачиваем архив и распаковываем его.
  2. Создаем базу данных MySQL (utf8mb4) и запоминаем имя базы, пользователя, пароль
  3. Импортируем дамп sql_dump/dump.sql
  4. Содержимое папки upload заливаем на сервер.
  5. Исправляем данные в файле src/config.php на свои (из шага 2)
  6. Переходим в браузере по адресу своего сайта, для которого применяется данная установка XF 2.0
Авторизуемся и переходим в админку.
  • Логин: Admin
  • Пароль: Admin
Изменяем URL форума (Board URL) на свой (на странице admin.php?options/groups/basicBoard/)
Изменяем логин и пароль на желаемые.

Готово!

XenForo 2.0.0 Developer Preview 4 (Installed)
 

Вложения

  • xf2_installed_dp4.zip
    11 MB · Просмотры: 8
DP 4 понравился уж куда лучше в разы стало.
Обновили редактор до 2.5.1 ( )
Обновили слайдер до 1.1.6 ( )
Добавили форумную статистику в панели администратора на главной странице. Права на просмотр так же присутсвуют
Снимок.PNG
Так же на главной странице добавили логи:
Снимок.PNG
Изменили крон счетчиков с boardTotalsCounter на forumStatistics
Интервал времени переключения объявлений. Настройки стиля -> Scrollable notice interval -> Scrollable notice interval
Снимок.PNG
Расширили систему виджетов.
ББ коды поддерживают изображения:
Снимок.PNG
В плагинах появились новые папки и работа с ними:
_build
_output
Возможность пропустить генерация хэш-суммы
Возможность копирования дополнительных файлов дополнения
При перестраивание плагинов, теперь не проверяются требования
Поправили перестроение шаблонов
Новая CLI команда для плагинов:
Код:
xf:addon-rebuild
Возможные флаги для данной CLI команды:
Код:
force/f
Добавили тип объявления:
Снимок.PNG
Поправили метки
Поправили трофеи
Обновили лог изменений пользователя
Добавили каптчу при подтверждение электронной почты
Добавили проверку на смайлики
Вынесли настройки стиля с текста Template style properties must define a template and type via the value parameters. на фразы
Поправили генерацию ключа при подтверждение пользователя
Добавили настройки приватности пользователя
Добавили проверку на смену почтового адреса

Новые фразы:
Код:
Accent
At least one attribute of 'src', 'dev' or 'prod' must be provided.
Automatically watch content you create
Automatically watch content you interact with
Rebuild forum statistics
Delete from this position
Development mode is enabled and dev output is available. If the add-on data has not been exported recently, it may be out of date and this action may cause data loss. Consider exporting first, or using a CLI command.
Development output is available, import data from _output directory?
Display in positions
Emails bounced
FAQ
The hashes.json file for this add-on is missing so no file health check can be performed.
Last day
Last month
Last week
Logged activity
The new avatar could not be processed. Please try another image.
A list of any thread which have been recently posted in (default for guests).
A list of threads which contain unread posts.
A list of threads the user is watching that have been recently posted in.
Latest
A list of profile posts by the author or people they are following.
A list of any profile post which has been recently posted (default for guests).
Followed
Enable board URL canonicalization
If enabled, the board URL setting will be treated as the canonical installation URL. If visitors access your site through a different URL, they will be redirected to the appropriate canonical URL. When enabled, you must ensure that your board URL setting is correct. If it is not correct, areas outside the admin control panel will not be accessible!
Payments received
Scrolling
Seconds
Spam cleanings
Spam triggers
A 'src' attribute must not be specified when using 'dev' or 'prod' attributes.
Scrollable notice interval
Each scrollable notice will be displayed for this amount of time before the next is displayed. Hovering or interacting with the notices will prevent auto scrolling.
Template style properties must define a template and type via the value parameters.
This is the last position for this widget. Permanently delete the widget.
Watch content on creation
Watch content on interaction
Watch threads when creating or replying
Latest profile posts by followers
Latest posts
Latest profile posts
Latest watched
Unread posts
Forum statistics
Forum list: Sidebar
With email notifications
Your email address may not be changed at this time.
Your profile
Удалены фразы:
Код:
and receive email notifications of replies
Automatically watch threads that you create or when you reply
The ban is permanent.
The ban will be automatically lifted on {date}.
Rebuild board totals counter
Exact match
A list of any thread which have been recently posted in (default for guests).
A list of threads which contain unread posts.
A list of threads the user is watching that have been recently posted in.
Forum title
If provided, an icon to insert this BB code will appear in the editor.
Reply count
Secondary
The spam cleaner was run by {name}
This message has been removed from public view.
This widget is currently used in {positions} position(s).
Thread title
Watch threads when creating or replying
Board totals
Enter a display order relative to other widgets in the same position. This value is ignored if the widget is added directly to a template.
Widget is active
Forum overview: Sidebar
Widget position
{name} was banned by {banning_user}
You are about to leave {board} and visit a site we have no control over. Click the button below to continue to {host}.
Измененные фразы:
Код:
by_user_x
editor_icon
new_profile_posts_display_style_full_explain
new_profile_posts_display_style_simple_explain
notice_visibility_explain
permission.general_followModerationRules
permission.general_maxMentionedUsers
Please confirm that you want to delete the following widget from the '{positionId}' position.
removed_from_public_view
total_time
widget_pos.member_wrapper_sidenav
Как всегда очень много изменений по шаблонам :(
 
Установка без терминала
Если у вас нет возможности использовать терминал (SSH), но очень хочется попробовать XF 2.0, то этот пост для вас :-)
  1. Скачиваем архив и распаковываем его.
  2. Создаем базу данных MySQL (utf8mb4) и запоминаем имя базы, пользователя, пароль
  3. Импортируем дамп sql_dump/dump.sql
  4. Содержимое папки upload заливаем на сервер.
  5. Исправляем данные в файле src/config.php на свои (из шага 2)
  6. Переходим в браузере по адресу своего сайта, для которого применяется данная установка XF 2.0
Авторизуемся и переходим в админку.
  • Логин: Admin
  • Пароль: Admin
Изменяем URL форума (Board URL) на свой (на странице admin.php?options/groups/basicBoard/)
Изменяем логин и пароль на желаемые.

Готово!

XenForo 2.0.0 Developer Preview 4 (Installed)
Чёт не получается запустить, может что то не так .
Сделал как описано, но установщик не заводится
 
Так как разработчики в Developer Preview 4 добавили новую команду
Код:
xf:addon-rebuild
Она не много не корректна и могут возникнуть проблемы. И сегодня уже поправили то ожидать только DP 5, а пока вот исправление:
src/XF/Service/AddOn/ReleaseBuilder.php
Найти:
PHP:
protected function standardizePath($rootPath, $path)
    {
        $ds = DIRECTORY_SEPARATOR;
        
        return preg_replace('#^' . rtrim($rootPath, $ds) . $ds . '#', '', $path, 1);
    }
Заменить:
PHP:
protected function standardizePath($rootPath, $path)
    {
        $ds = DIRECTORY_SEPARATOR;
        
        $path = $this->standardizeSeparator($path);
        $root = $this->standardizeSeparator($rootPath);
        return preg_replace('#^' . $root . '/#', '', $path, 1);
        //return preg_replace('#^' . rtrim($rootPath, $ds) . $ds . '#', '', $path, 1);
    }
    
    protected function standardizeSeparator($path)
    {
        return str_replace('\\', '/', $path);
    }
 
Статус
В этой теме нельзя размещать новые ответы.
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу