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): 2485

Frankenstyle name: filter_filtercodes
Filters

Comments

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

Hi Juan, make sure that you are using the {mygroups} tag inside a course. It does not work outside of a course. It only lists groups to which you belong within a course
Hi Juan, I double-checked and {mygroups} seems to be working as designed. What version of FilterCodes are you using and what version of Moodle are you using?
I tried that function, but it doesn't work, and don't know why. There's no errors, just show me {mygroups} but not the group name or names. Maybe you know some tips that helps me. Thank you very much.
@Juan - there is a function for that, it is {mygroups} - this will show a student all the groups they are in.
Hello everyone. I have been using FilterCodes for a long time, and at this moment, in my work, I was asked to show some information about the student, including the name of the group to which they belong in the course classroom. I have searched but I can't find if there is the possibility of managing that data. Is there any variable that shows it? Thank you in advance.
Hi Marta,
The author of Simple Certificate contacted me about this 6 years ago. This is an issue with the way that plugin applies its own tags after having applied a other tags instead of before. At the time, I suggested to the author that he address the issue but, if you are using the latest version of it and it still has this issue, then he did not.
For more details, see https://github.com/michael-milette/moodle-filter_filtercodes/issues/8
That said, I am not familiar with that plugin anymore but some Moodle activity modules allow you to enable and disable filters. The option will either be in a gear menu or the secondary menu depending on which version of Moodle you are using. If it has the option just disable FilterCodes for that activity.
Alternatively the author of Simple Certificate won't fix the issue, you can hire a developer like me to do it. You can reach me at www.tngconsulting.ca/contact.
Best regards,
Michael Milette
Hi Bhanuka,
Try the {profile_field_shortname} tag. Rellace shortname with the shortname of your custom profile field.
Hope you find this helpful.
Best regards
Michael
Uso o plugin simplescertificate para emissão de certificados no meu moodle, e após ativar o plugin filtercodes, se certificado for visualizado na tela 'Certificado emitido', ele muda os dados {Firstname} {Lastname} do certificado para o do visualizador, em vez do destinatário. existe alguma configuração no filtercodes para ele não sobrepor essas tags no caso do plugin simples certificate?
Hi, is it possible to use Other Fields as shortcodes using this plugin?
I made two profile fields using the "User profile fields" in the Users > Accounts section. But I cannot call them using the filter codes.
Is it possible with this plugin?
Hi Fred,
In the FilterCodes settings, you will find a global setting called "Contact link type" that you can set to either Email, Message, Message, Profile or Phonefor the {coursecontacts} tag. If you need an option to have both the phone number and email info, please submit a feature request at:
https://github.com/michael-milette/moodle-filter_filtercodes/issues
Best regards,
Michael
Hi Michael, the tag {coursecontacts} only shows the profile picture? how do i pull the phone number and email info for course teachers?
Hi Jojo,
There is no tag called {studentname}. Try one of the following: {firstname}, {lastname} or {fullname}.
Best regards,
Michael
Hello! Does it work in the Dashboard Text Block under the Default Dashboard Page? I added Welcome, {studentname}! and it's not working.
Thanks a lot for your answers smile
As my nickname says, I'm just a PE teacher and I have limited knowledge about programming and accessing to some settings in my site, just some basics to "save the day" hahaha
I'll submit your idea to GitHub, and follow the
solution as I think is the only one I can implement in my site due to the permission restrictions
Thanks again for this awesome plugin!
Hi @PE Teacher
Dave is correct that you will need to use CSS to limit the width of the QR code. You can add it as some CSS to your theme, which will affect QR Code created by the {qrcode} tag across the whole site. However, if you just want to affect one QR code in a page, you could do something like this... as long as you don't mind doing a little work in the HTML source code view of your editor:
<div style="max-width:200px;">{qrcode}This QR Code is a maximum of 200px wide.{/qrcode}</div> or
<div style="max-width:25%">{qrcode}This QR Code is a maximum of 25% wide.{/qrcode}</div>
This has given me an idea for a new {maxwide width}{/maxwide} tag, where width would be the maximum width of the wrapping div. Not sure about the name just yet. If you think this might be a good idea, please submit it as a Feature Request at https://github.com/michael-milette/moodle-filter_filtercodes/issues
However, if you want to put content beside it, you might need to implement a bootstrap grid. But I don't think I am ready to re-implement that grid system FilterCodes tags.