WBCE Home | WBCE Hilfe | WBCE Addon Repository | Impressum | Datenschutz

WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

#26 23.03.2016 14:24:30

mrbaseman
Developer

Re: Output Filter Dashboard

I have published a new release on the github repo today:

CHANGELOG:

1.4.9 %(mrbaseman, 23 Mar 2016)%
        - change cachecontrols filter type to page(last)
        - realign code: wrap long lines and set tab width=4
        - make help browser work without javascript
        - fix css edit for filters that supply css files
        - provide export download link when javascript is disabled
        - allow to delete filters even without javascript
        - added French and Italian language support

would it make sense to link the AOR-Page to github directly?

Offline

#27 23.03.2016 14:33:11

florian
Projektmanagement und Support WBCE CMS

Re: Output Filter Dashboard

updated AOR information & removed zip as demanded
http://addons.wbce.org/pages/addons.php?do=item&item=53

Offline

#28 24.03.2016 09:29:48

better-work
Member

Re: Output Filter Dashboard

@mrbaseman
Why now all Posts in English, but where it began in German???

Oder ist hier plötzlich auch die Pflicht ausgebrochen in Englisch schreiben zu müssen, wie in den websitebaker und lepton Foren...
devil devil


Gruß Jörg

Offline

#29 24.03.2016 09:32:50

florian
Projektmanagement und Support WBCE CMS

Re: Output Filter Dashboard

Nein, wir haben hier keine Englisch-Pflicht. Ich vermute, es ist für mrbaseman einfacher, die Posts hier auf Englisch zu veröffentlichen, weil auch die Infos auf Github und im WB classic-Forum in dieser Sprache verfasst sind und dann einfach nur hierher kopiert werden müssen.

Correction. See the information about this board:
"Only for discussing actual changes on source, NO general suggestions. It would be nice if you could write in english."

Last edited by florian (24.03.2016 09:36:58)

Offline

#30 24.03.2016 10:31:20

better-work
Member

Re: Output Filter Dashboard

Okay, i understand  devil


Gruß Jörg

Offline

#31 29.09.2016 22:07:22

mrbaseman
Developer

Re: Output Filter Dashboard

I have an update for the outputfilter dashboard. Here the highlights of the changes:

- Drag&drop support for ordering the filters is available when Javascript is enabled (note that the filter type (module, module(last), page, page(last) has a larger influence on the position in the list - drag&drop ordering takes effect inside of each of these categories).
- By clicking on the icon which shows the type (inline- or plugin filter) you can convert between the two filter types. You can create an inline filter and easily develop the filter function online, and when it is ready, you can simply convert it to the more performant plugin filter
- The php code in exported filters is much better human readable now.
- When installing the dashboard, it searches for pre-existing module-filters and includes them into the filter list.
- Install scripts of filters can now influence their target position in the list. Of course you can move them at will later on

for more details see the changelog which is included in the documentation.

Offline

#32 09.03.2017 01:20:37

mrbaseman
Developer

Re: Output Filter Dashboard

Today I have written a very simple but useful plugin filter: an automatic link filter: If an URL is found in the output it is turned into a clickable link (somehow I have to detect if it is already part of a clickable link or something... the easiest approach is: If a whitespace is preceding the URL it is most probably not part of a html tag and rather just an URL written down in the flow of some text.

Offline

#33 09.03.2017 01:22:08

mrbaseman
Developer

Re: Output Filter Dashboard

and here another one: a bad word filter: Replaces a list of regular expressions (each on a separate line in the filter settings) by a fixed string (by default '***'). Currently just a very short bad word list is included, merely an example how to use. I'm planning to improve this (i.e. include a better list) and add a way to import the list from a file which one can upload in the backend (e.g. to the media folder and specify the path to the file in the filter settings).

Offline

#34 09.03.2017 22:46:27

mrbaseman
Developer

Re: Output Filter Dashboard

and here comes the next one: "Link Words"
In the backend you enter a list of words and corresponding links and whenever the word is found in the output, the corresponding link is automatically inserted. The list is just a textfield in the backend and the filter searches for the first word of each line, followed by a space character and a link. The link is then inserted for this particular word. A small list as an example is included in the filter.

Offline

Liked by:

florian

#35 12.03.2017 01:02:29

mrbaseman
Developer

Re: Output Filter Dashboard

here another filter about links: "trim external links"
In the backend you can define a link target for them - some people prefer "_blank" - or you define a specific one like "external" so that each external link is opened in the same (second) tab. If left empty, no target is added to the external links.
There is also a checkbox which lets you configure if rel="nofollow" should be added to each external link or not.

Offline

#36 12.03.2017 13:07:14

norhei
Developer

Re: Output Filter Dashboard

Love this :-)

Offline

#37 16.03.2017 22:18:56

mrbaseman
Developer

Re: Output Filter Dashboard

I have another filter ready: regex filter

in the backend you have a textarea in which you can enter regular expressions (one per line) which will be applied to the html output. An example use case is to unify currencies: For example you can turn all variants of Euro, EUR, €,... to the html special character €
Of course you can use this filter for many more changes.
A hint from my side: I'd recommend to use several simple expressions rather than a small number of rather complex regex'es

Offline

#38 05.09.2018 22:12:51

mrbaseman
Developer

Re: Output Filter Dashboard

Finally I have found some time for fixing the known issues in Outputfilter Dashboard. I have just released Version 1.5.5 on Github.

The first couple of fixes of this release were already available for quite some time on the master branch, but for instance converting filters from plugins back to inline filters works now. This really helps when developing new filter plugins and you notice that you want to change the the filter function again a little bit after you have already created a plugin. Note that some additional meta data is replaced by the default values when converting back and forth, but at least you can make an inline filter out of it and edit it with just a few clicks.

Offline

Liked by:

florian

Board footer

Powered by FluxBB

up