FilterCodes icon

FilterCodes

Maintained by Michael Milette
Transform your Moodle site with the FilterCodes Plugin! Elevate engagement by inserting about 200 dynamic plain-text tags like {firstname} to create personalized learning experiences, customize your site and course content, display progress bars, simplify Contact Form customization effortlessly and much more. FilterCodes empowers educators to revolutionize Moodle into a dynamic, personalized platform. Join the community of FilterCodes enthusiasts to unlock the potential of your Moodle LMS site.
Price option: Free

Supports Moodle 2.7-5.2 See all versions
Latest release: 1 week ago
Installations: 7815
Downloads (last 90 days): 2567

Frankenstyle name: filter_filtercodes
Filters

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Saludos, tengo una inquietud, he utilizado el código {coursecards} sin embargo este código muestra actualmente todos los cursos disponibles sin diferencia del estado en el que se encuentran. Es decir, he añadido cursos que están ocultos, o cursos que ya han finalizado y se muestran todos sin excepción. ¿Es posible que se muestren únicamente los cursos que están vigentes?, y no mostrar los cursos invisibles o que ya se encuentran finalizados.
Adicional, hay alguna manera de mostrar un número de terminado de cursos por ejemplo 4 en una fila, o a manera de slider para que no sea tan grande la página al incrustar el código en la página de inicio. Gracias.
Hola Mariuxi,
No hablo español así que espero que Google Translate funcione bien. Muchas gracias. Me alegra saber que lo encuentra útil. Utilice el enlace "Bug Tracker" en la página del complemento FilterCodes para enviar una Solicitud de función para que podamos discutir esto. También puede contribuir enviando una solicitud de extracción con su código.
Saludos cordiales,
Michael
Es un excelente plugin, muy valioso el aporte.
Quería consultar, si es posible añadir una función en la que se pueda visualizar a través de una etiqueta el número total de certificados emitidos. Gracias.
Hi Bruno. There is nothing in FilterCodes to do that yet. If this is something you would like to see in the future, use the "Bug tracker" link on the plugin's page to submit a Feature Request or contribute by submitting a pull request with your code.

Hello Michael,
I mean a progress bar like in the attached screenshot that shows me what my overall progress is over all courses.
It would be a bar that shows me how many courses I have completed 100% of a total of the courses I enrolled.
The image is on my google drive: https://drive.google.com/file/d/1jUpeSzSE-YdG8ZqT0hcBf34ZEPFryIdl/view?usp=sharing
Thank you very much in advance
Thanks
Hi Shane, Thank!
You can use it in Additional HTML (I do) but only if your theme supports it. The only way to find it is to try it. If it doesn't work, get in touch with the developer of your theme and request it.
Best regards,
Michael
Hi Bruno, thank you! I really appreciate knowing that people find this plugin useful.
There is indeed a {courseprogressbar} and a {courseprogress} tag too but these only work within a course (e.g. a course HTML block). The Course Overview block on the dashboard (comes included with Moodle) provides similar results for each course in which a student is enrolled. If you just want to see the progress bars, change the Card view to the List view. For more information, see https://docs.moodle.org/39/en/Course_overview#How_to_make_the_percentages_display_on_the_Course_overview
If you have any further questions, I encourage you to post your questions in the discussion Forum. Just use the "Discussion" link on the FilterCodes plugin page.
Best regards,
Michael
Hey Michael. Awesome plugin thanks. Just wondering... is there a way I can use filter codes in moodles "additional html" functionality? Or a way to programmatocally filter content from js?
Hello Michael,
Every day your plugin gets even more interesting, congratulations.
My friend, is there already a tag like {courseprogressbar} where we can insert it into the student panel showing an overall progress bar from 0 to 100%? It will show how much that student has completed in total for all courses they are enrolled in.
In this case, the course completion settings must be enabled.
Thanks a lot for the help.
@Michael Milette -- Thanks for your positive reply. I have created a new issue at https://github.com/michael-milette/moodle-filter_filtercodes/issues/159. I'm sharing the link here in case anyone else wants to join the conversation.
@Dave Foord -- Great idea! That would certainly broaden the way it could be used. Feel free to add this idea to the issue on GitHub.
Thanks!
Hi Cam and Michael - improving the {courseteachers} mechanism would be great, and I guess the logical approach would be to allow any role to be included - Could you build it using either the role id number e.g. {courserole:1}, {courserole:2} or using the role shortname e.g. {course:teacher}, {course:manager}.
Hi Cam, thanks for your question. I was hoping that someone like you might want this. If you would like this feature added to FilterCodes, please go to https://github.com/michael-milette/moodle-filter_filtercodes/issues/ and submit a feature request. There you and I will be able to discuss several options I have in mind on how to make this work.
Best regards,
Michael Milette
This looks like a terrific plugin!
In initial tests, the code {courseteachers} is displaying only people with the role of "teacher." When a course has only a "non-editing teacher" the code result is "No teachers in this course yet."
Is there a way for {courseteachers} to list non-editing teachers or should this be a feature request? I'm using Moodle 3.10 and FilterCodes 2.2.0.
Thanks!
Hi Bruno, there is one for sectionid but not one for sectionname. If you would like this tag added to FilterCodes, I encourage you to please go to https://github.com/michael-milette/moodle-filter_filtercodes/issues/ and submit a feature request. Be sure to include a detailed example of how you plan on using it so that I can ensure that it will work for you.
Best regards,
Michael Milette
Hi,
This plugin is awesome.
Can you tell me if I can insert a filter to get the name of the section an activity is in?
Something like {sectionname}?
Thank you so much