Click anywhere to close this dialog

Farewell

Great is the art of beginning, but greater is the art of ending
Henry Wadsworth Longfellow

I announce that I cease all development and activity in the programming universe indefinitely. My career has reached the turning point I was not expecting for at least another year, leaving me highly off guard and without laid-out plans for this hobby's continuity. I have begun a 5-year residency program in Neurosurgery which is clearly not compatible, time-wise, with programming.

I gave in all my passion for developing, and you gave me back your loyalty and trust, even when I did not deserve that much. Now it is the time for payback. I release all my present and past work as Open Source software, in the hope some talented developer will continue maintaining and expanding my vision of a modern, sleek forum software. The intrinsic flexibility of MyBB is the true hidden gem of an otherwise outdated codebase; I do hope the project can continue and be updated complying to the latest coding standards.

I hereby thank Euan, kawaii, andrewjs18, Ben, Matt, Omar G., effone, Eric J., Devilshakerz, Wildcard, JordanMussi and all the other team members I have had the opportunity to work with when I was a MyBB team member. I thank Tomm M, my mentor, who inspired me to pick up coding with his piece-of-art plugins. And finally, I thank all of you MyBBoost subscribers who have helped me getting through my toughest university years economically.

Yours sincerely, Filippo

FASTyle 2.3

25 Jul 2016 Edited
#1
FASTyle is an all-in-one suite which dramatically improves and speeds up assets management, including templates, stylesheets and javascripts. FASTyle is equipped with a powerful editor and asset manager, giving you fine control over theming development in a single browser tab.

Minimum requirements


PHP 5.4
MyBB 1.8.0
664 chmod on [admin dir]/modules/style/themes.php

Features


[Image: wdl1Cmp.png]

AJAXed interface


FASTyle is built with speed in mind; as such, every action you take is routed to the server with AJAX technology, accounting for its unique real-time feel. Assets are listed in a convenient collapsible sidebar, and once loaded they are added to a tabbed top bar where you can easily switch between opened ones, resembling a standard browser experience. Get, save, add and delete assets anytime and in real-time.

[Image: 4fvamhW.png]

SPARKLES use the CTRL/CMD+S combination to quickly save assets.

Semantic template listing


Struggling to find that particular template you want to edit? Fear no more. FASTyle displays templates semantically, with a parent > child structure you'll love. And the search bar is always there to help you anytime you need.

[Image: 3DT6jHM.png]

Diff comparator


Compare assets to their original versions and edit them as you type. Templates and stylesheets are compared against the local MyBB Master Style versions, while JavaScripts are compared remotely by fetching the original asset from GitHub synchronized with your current MyBB version.

[Image: fcrzyn3.png]

Quick mode


When you perform sensitive actions, like closing unsaved assets or deleting them, you are prompted with a confirmation dialog. Quick mode allows you to bypass dialogs and approve your actions automatically, like a pro.

WARNING SIGN By enabling quick mode you acknowledge that you can permanently delete assets without any confirmation dialog. Templates and stylesheets are saved in the database, so you *might* have automatic backups generated by MyBB's tasks system; JavaScripts are saved in the filesystem and are more prone to data loss.

[Image: AtDzq2d.png]

State memory


FASTyle remembers your editor tuning, including previously opened tabs and the last one being worked on, quick mode and full paging, and sets them automatically once you refresh the page or come back days after. FASTyle's memory is stored in your browser cache and it's theme's specific, so you can work on different themes without letting their own setups interfere with each other.

Stylesheets quick reordering


Drag and drop stylesheets and reorder them wherever you want. In the current version, stylesheets' order is saved automatically after 4 seconds from the last drop.

Distractions-free mode


Aka: full paging. It allows you to work better by having zero distractions over your coding sessions.

Custom theme


A custom and handmade theme is included to rest your eyes in delight while managing your beloved MyBB board.

Sublime Text keymap


FASTyle adds the popular Sublime Text keymap to CodeMirror: here you can find the complete list of keyboard shortcuts you can use to improve your template and stylesheet management.

Revamped find and replace


A revamped find and replace module for CodeMirror is included. This is one of the hottest features included in FASTyle, as CodeMirror's standard functionality lacks friendliness and it's one of the biggest bottlenecks faced by its users. FASTyle's version works much like any advanced code editor for OSes, persisting on screen after the search, highlighting matches properly and in real-time.

[Image: nF1xnjO.png]

From the original idea of @Eric J.. Thank you Eric.

You can follow FASTyle's development here: FASTyle development.

Installation


To install, simply upload the plugin to your plugins directory and Install & Activate FASTyle from the plugin list.

Upgrade


Uninstall the previous version, replace the old files with the new ones and install the plugin again.


This project is licensed under

MIT


A simple license with little to no use restrictions, except for author's crediting. Read the provided LICENSE file for more informations.

Permissions

Commercial use
Modification
Distribution
Private use
Limitations

Warranty
Liability
Conditions

License notice
Copyright notice
Filename Size Downloads
215.96 KB 80
Snake_, xienon, Enes Palit And 11 others like this post
Pololoko 125 9 Sep 2017 Edited
#31
Works only on default theme and other.
Does not work on Whisper theme.
Whisper console error. https://i.imgur.com/2b2yxM1.jpg
Shade 9 Sep 2017
#32
Open admin/styles/Whisper/style.php, find:

var cookiePrefix '{$mybb->settings['cookieprefix']}'
Add after:

var cookieSecureFlag '{$mybb->settings['cookiesecureflag']}'
Note that this is a Whisper issue, not FASTyle's.
Pololoko 125 9 Sep 2017
#33
Sorry i wrote in the wrong topic. Now works, thank you.
Shade 9 Sep 2017
#34
No problem. I would love to hear your feedbacks on the new version.
Tac 10 Sep 2017
#35
An issue with the new version, whenever I CTRL+F to search through the content of a template, it opens the template search drop down.
Shade 10 Sep 2017
#36
This is intended to speed up template switching. The search content hotkey is moved to CTRL/CMD+G.
Eldenroot 10 Sep 2017 Edited
#37
@Shade - thank you for your new release, is possible to:
- add a codename for the next version - easier tracking for new updates
- add "expand all templates" - https://community.mybb.com/thread-209454.html
- add subcategories into "Select a template" dropdown menu - show template group name and show below the templates in that group (easier navigation) - http://2.bp.blogspot.com/-ojzikXccVUE/Ul...wnList.gif
Shade 10 Sep 2017
#38
Sure. Thank you for your suggestions.
Eldenroot likes this post
Shade 8 Oct 2017 Edited
#39
FASTyle has been rewritten from scratch and has now evolved into something much easier to use and powerful. Here's a preview with a temporary feature list:
  • add, delete, revert to original resources with AJAX;
  • support for stylesheets, templates and javascripts all in one page;
  • quick mode to perform actions without confirmation prompts;
  • full screen mode;
  • improved CodeMirror version, with better search and replace functionality, SublimeText hotkeys and custom dark theme;
  • diff mode to quickly compare resources to their original counterpart and live editing;

[Image: 68747470733a2f2f692e696d6775722e636f6d2f...652e706e67]

Testers needed


FASTyle 2.0 is not finished yet and needs some testing. While it's perfectly safe to install it at the current stages, other functionalities are yet to be implemented and I need people willing to report eventual issues.

You can download it from GitHub and report issues in FASTyle's forum. Thank you!
Eldenroot likes this post
Eldenroot 8 Oct 2017 Edited
#40
@Shade - great! I am curious, is possible to extend this for ACP -> Configuration -> Languages -> Edit language variables?

I am going to test it, please let me know what will be added and what is done, thank you for your hard work!

EDIT: I just installed, as far and I saw it looks really nice. I will be waiting for your next update which will bring back support for template edits. Now they are not showed in Fastyle submenu (only JS and CSS). Another issue - I cannot revert back to v1.7 (it is installed but not working in templates, maybe I messed up with this v2.0... I will try to investigate more).