New filter "Hidden Text" added

New filter "Hidden Text" added

par Dmitry Pupinin,
Nombre de réponses : 32
Avatar Core developers Avatar Plugin developers
New third-party filter "Hidden Text" added to database:
http://moodle.org/mod/data/view.php?d=13&rid=1101

Please, test it! clin d’œil
Moyenne des évaluations  -
En réponse à Dmitry Pupinin

Re: New filter "Hidden Text" added

par Mitsuhiro Yoshida,
Avatar Core developers Avatar Documentation writers Avatar Particularly helpful Moodlers Avatar Translators
Hi Dmitry,

When I click on your link , Moodle Modules and plugins database says "No entries in database".
Could you please upload the filter again? smile

Mits



En réponse à Mitsuhiro Yoshida

Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
Now "Hidden Text" is approved and available!
Welcome. clin d’œil
Moyenne des évaluations Useful (1)
En réponse à Dmitry Pupinin

Trả lời: Re: New filter "Hidden Text" added

par Võ Trọng Trí,
For it with Moodle 1.7 ?
En réponse à Võ Trọng Trí

Re: Trả lời: Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
Not tested, but should works.
Test it if you can and say me about result.
En réponse à Dmitry Pupinin

Re: Trả lời: Re: New filter "Hidden Text" added

par Andy Tagliani,
Really nice Dmitry, thank you for sharing with us. I create a german language file, the two lines clin d’œil make a short german instruction in a readme file and make a different icon if someone like another icon. I test it under Moodle 1.8.x and 1.9x and 2.0dev, the filter works perfect! Only if the ressource shows up in a popup window, the internet explorers 7.x means script error, but this not a bug in your filter, the ie 7 seems the bug ...

Andy
En réponse à Andy Tagliani

Re: Trả lời: Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
Thanks Andy!
But I didn't find differences between icons... clin d’œil
En réponse à Dmitry Pupinin

Re: Trả lời: Re: New filter "Hidden Text" added

par Andy Tagliani,
I was sleeping, but now you have a second icon clin d’œil

Dmitry, in the german readme i have only list the different commands to hide text and how to change the background-color for the div-command in the css-file if they needed.

Greetings
En réponse à Andy Tagliani

Re: Trả lời: Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
Nice eye, Andy! clin d’œil

Could you add description that full information in english readme? Or maybe will do full translate to German?
And last question. Maybe publish readme_de in utf8 for right display umlauts?
En réponse à Dmitry Pupinin

Re: Trả lời: Re: New filter "Hidden Text" added

par Andy Tagliani,
Sure i can and will make a full description in german for you.

I tell them (in german) they be carefull about the umlauts and should look about the utf-8, because i think some will modify the language file with their own label.

Dmitry see what i´ve done, this is my answer about the full description in german. I create a course to your filter, first in german, after eastern i make the same course in english!

See here

Is this okay for you? Its forever for free to use and no registration need! The language file i make on this place, if sometings change, i can place there too.

Andy


En réponse à Andy Tagliani

Re: Trả lời: Re: New filter "Hidden Text" added

par Patrick Pollet,
Hello,

Please find enclosed a revised version of the filter that do not require one to switch to HTML mode in the HTMLEditor, with all the trouble for newbies users.

It still comply with the Dmitry syntax.

use [ht class="my_class" desc="my_desc"] the text [/ht] to get an online hidden span or
[htd class="xxx" desc="my_desc"] the text [/htd]
to get an online hidden div, right into HTMLEditor.


Cheers.

Also the french strings if you want :

$string['filtername'] = 'Texte caché';
$string['seemore'] = 'En savoir plus';


En réponse à Patrick Pollet

Re: Trả lời: Re: New filter "Hidden Text" added

par Andy Tagliani,
Here the complete translated german readme file
Andy
En réponse à Andy Tagliani

Re: Trả lời: Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
Maybe merge this and old files?
En réponse à Dmitry Pupinin

Re: Trả lời: Re: New filter "Hidden Text" added

par Andy Tagliani,
If u mean me Dmitry, no! Old files will not be merged!
Andy
En réponse à Andy Tagliani

Re: Trả lời: Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
What file I should publish? This readme_de or previous or maybe copy-paste something from previous into this?
En réponse à Patrick Pollet

Re: Trả lời: Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
Good idea!
But I think better is use identical syntax, this little more length but no messes... clin d’œil So I could just add posibility to use square brackets.
It's good for you?
En réponse à Dmitry Pupinin

Re: Trả lời: Re: New filter "Hidden Text" added

par Patrick Pollet,
As you wish. The square bracket syntax right into HTMLEditor is becoming more and more used in other filters (mediaplugin, multimovie, customfilter, geshi filter ...) and may become one day the standard for Moodle.
Non professional users are not supposed to "swap to HTML mode" to get extra features...

My filter version accept both syntaxes: square brackets and HTML marks.

Cheers.

En réponse à Patrick Pollet

Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
Posibility to use square brackets added.
Please, test it!
En réponse à Dmitry Pupinin

Re: New filter "Hidden Text" added

par Andy Tagliani,
Dmitry

Can i start with the german moodle docs this or latest next week, or should i wait, that we have no differences in the manual?

One point, there´s a feature request from some users. Can you/we add some more examples, special for the commands when and where can they use "desc". I think it will be a good idea to make some examples in the moodle docs or the plugin page. I´m really surprised how many user like this filter Dmitry, good job!!!

Greetings Andy
En réponse à Andy Tagliani

Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
OK. I'll add several new examples, change icon to "eye" and will write about completion of work.
En réponse à Andy Tagliani

Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
I was look on examples and don't understanding what else I could add... clin d’œil
I little improve description about parameters.
Can you advise what else examples I could add?

Differences between versions attached.
En réponse à Dmitry Pupinin

Re: New filter "Hidden Text" added

par Andy Tagliani,
Dmitry, i know now what happend. Two users tell me, they try the "desc" command, but (so they tell me this evening in a mail) it will not work, the description is still what is define in the language file. I will gonna see and test it in the next 2-3 days on their installation and give you a feedback. Thats the reason why they ask, can we make some examples with the "desc" command in the readme file for the other schools and teachers!

Greetings Andy
En réponse à Andy Tagliani

Re: Trả lời: Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
Good work Andy! Oui

No need publish laguage files. I add it in CVS so they will be available tomorrow after daily build.

Think I'll do your eye icon by default. clin d’œil
En réponse à Dmitry Pupinin

Re: Trả lời: Re: New filter "Hidden Text" added

par Dmitry Pupinin,
Avatar Core developers Avatar Plugin developers
Andy,
I remember about Moodle Docs
http://docs.moodle.org/en/admin/filters

It lets create pages on different languages and it's good place for documentation!
En réponse à Dmitry Pupinin

Re: Trả lời: Re: New filter "Hidden Text" added

par Andy Tagliani,
Dmitry

First, please use the readme_de!

Second, thats the reason why i make this course, from the course outgoing, i want create the german moodle docs, i will do this!!! The reason why i create the course, comes any changing, we can report first on this place and we want some informations make a little more professional. The description in the course, i will complete them in the next week!

Thanks again for this wonderful extension!

Andy
En réponse à Dmitry Pupinin

Re: New filter "Hidden Text" added

par Nadav Kavalerchik,
Avatar Core developers Avatar Plugin developers Avatar Testers Avatar Translators
thank you for this great filter !

i translated it to Hebrew (tiny changes)
and add the ability to write the TAGs in hebrew
(since, sometimes, hebrew and english gets mixed inside the HTML textarea component when written together and teachers get confused)

some visible text [תמ] some hidden text goes here [תמס] visible text goes here

here is a link to the new version.
En réponse à Dmitry Pupinin

Re: New filter "Hidden Text" added

par José Ángel Polo,

Great.

OK Mdl 1.9.3, IE 9

It´s possible hide text + img?

Thanks

Regards

En réponse à Dmitry Pupinin

Re: New filter "Hidden Text" added

par Frankie Kam,
Avatar Plugin developers

Hi all, I've managed to solve the irritating/annoying/exasperating scrolling problem mentioned and illustrated by Deni and Christian at
http://moodle.org/mod/data/view.php?d=13&rid=1101#
.
All you need to do is to just add one line of code to the file named "yuidomcollapse.js". Darn, it's that simple! Want to know the solution, you'l have to wait (not for long) for my coming post on Moodlenews.com!

Frankie Kam
boonsengkam@gmail.com 

En réponse à Frankie Kam

Re: New filter "Hidden Text" added

par Ger Tielemans,
Frankie, can you give us here that single line?

By the way, while trying to get hidden text active under moodle 2 I hacked another filter and tried to instert the hidden text code. Now I have three problems under moodle 2.x:

1. your problem of the visibility of answers during loading
2. the problem of the scrolling of the window (you can solve that?)
3. the problem that I have to refresh the page before I see the effect of the activation of the filter.

En réponse à Dmitry Pupinin

Re: New filter "Hidden Text" added

par Frankie Kam,
Avatar Plugin developers

Hi Dimitry

Thanks for the Hdden Text Filter. It works on my site, but there's an irritating problem. When my course page first loads up, the hidden text appears for a few seconds (which it shouldn't do) and then hides itself (which is correct, except that the hidden text should have started off as hidden from the beginning). See this Youtube video to see what I mean.

So by displaying itself for a few seconds defeats the purpose of the Hidden Text filter. Students can catch a glimpse of the answer before the answer is hidden. Any suggestions as to what exactly is causing the problem? I'm using moodle 1.9.15.

Frankie Kam 

En réponse à Frankie Kam

Re: New filter "Hidden Text" added

par Frankie Kam,
Avatar Plugin developers

Hi Dimitry, et. al.

And so my post on Moodlenews.com is long delayed due to this feature (bug?) of the Hidden Text filter which displays the answers, for all the world to see, a few seconds before hiding them. I really want to try to solve this, but have hit a dead end. Any tips anyone?

Frankie Kam