Администраторы ♕-SlawkA-♕ Опубликовано 18 октября, 2018 Администраторы Поделиться Опубликовано 18 октября, 2018 Просмотреть файл Twitch Database by Pages Эта версия была обновлена для правильной работы с изменениями 4.3.x и Twitch. Это не настраиваемый плагин или приложение. Это настраиваемая база данных с помощью приложения «Страницы», которое создало и настроило систему подмены. Это также рекреационная и модернизированная версия руководства: создание каналов твичирования с использованием страниц. Features : Twitch status, Online/Offline, Viewers, game name. Optionally allowing channel chat, side by side with stream video Auto sorting channels by online status. Custom block template customized to show one recent stream with user status on block title. Responsive design and using IPS css classes which should perfectly suite any theme you're using. (Tested multiple themes) Installation STEP 1 - installing the database The Zip file contains 4 files. Twitch.xml - This is the main database file, Go to ACP > Pages > Database > Create New > Upload Database > and upload the Twitch.xml After you install the database go to ACP-> Pages > Database > Twitch > Edit > Database Key > Name the database key to TwitchDB and Save. You will also need to set permissions for custom database fields at ACP > Pages > Twitch > Fields > Then set whatever permission you want for each field. CSS.txt - This text file contains the css used for this database, Copy the codes and then Go to, ACP > Pages > Templates > New-> Add CSS File > name it Twitch and Save. from the same page click on CSS tab open the twitch file you created and paste the codes JS.txt - This text file contains the Javascript used for this database, Copy the codes and then Got to, ACP > Pages > Templates > New > Add Javascript File > name it Twitch and Save. from the same page click on JS tab open the twitch file you created and paste the codes. Twitch-Block.xml - This is an optional Block template you can use it to show the recent twitch channels, to install this block template go to ACP-> Pages-> Templates > Upload Template. once you upload the template go to ACP > Blocks > Create New Block > Feed from Twitch > Next > Content > Template > select Twitch_Block template and save the block. You may also want to make the block to show only one record. STEP 2 - creating a page for the database Go to ACP > Pages > Pages > Add Page > Content Editor > Manual HTML > Next >... 1. Click on Page Includes tab and select the twitch javascript and the css you created on step 1 2. Click on Content tab and select Twitch database tag from right side of page, If you have already named the database key to TwitchDB just paste the following tag in Content tab {database="TwitchDB"} Changing the Language: NOTE: If you want to change language on all buttons or text. Open up Twitch.xml and make changes before you upload the database. (If I have time later this weekend and if enough people ask for it, I will make a small tutorial on how to do so.) (All entries to Twitch.xml will need old database deleted and new twitch.xml updated before they take affect.. "Some items you can change language Via ACP") Tested only on 4.3.X Автор ☯️♕-SlawkA-♕ Добавлен 18.10.2018 Категория Дополнительные файлы Язык Eng 1 Ссылка на комментарий
Рекомендуемые сообщения
Для публикации сообщений создайте учётную запись или авторизуйтесь
Вы должны быть пользователем, чтобы оставить комментарий
Создать учетную запись
Зарегистрируйтесь. Это очень просто!
Регистрация нового пользователяВойти
Уже есть аккаунт? Войти в систему.
Войти