Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the plugin with alphanumerical idnumber #147

Open
jonathanjoegit opened this issue May 31, 2021 · 1 comment
Open

Using the plugin with alphanumerical idnumber #147

jonathanjoegit opened this issue May 31, 2021 · 1 comment

Comments

@jonathanjoegit
Copy link

Hello,

We would like to use your plugin but we have an issue with the idnumber.
In our University, the idnumber is with one letter and numbers (l213248 or s203234 or d210389), it seems not working because of this.

Do you have a solution for us ?

Thank you.

Jonathan

@univietw
Copy link
Contributor

Hi Jonathan,
thanks for the question.
In special cases there is a solution:
IF for every student the alphabetic part is the same you could fix this by changing the useridentification to include it. e.g. if all idnumbers start with an s and then 6 numbers it could look like this:
s[6]=idnumber
If this is not the case you are out of luck. The only way would be to use another user field and write an update script.
e.g.: use the column phone2 (or whatever column you like) and translate the character to a 2 digit number:
A->01
B->02
C->03
...
So your example numbers would be
l213248-> 12213248
s203234-> 19203234
d210389-> 04210389

with this you could use
[8]=phone2
as useridentification and tell your students how to find the number

Another way is to just use the user id which everybody can find out themselves in the profile URL

I'd be really happy to support character recognition since this an often requested feature, but sadly it is not on our schedule for the next releases. Feel free to open a pull request though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants