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

Add flexibility with hexadecimal RFID UIDs entered by new members #173

Open
kraptv opened this issue Oct 22, 2018 · 1 comment
Open

Add flexibility with hexadecimal RFID UIDs entered by new members #173

kraptv opened this issue Oct 22, 2018 · 1 comment

Comments

@kraptv
Copy link

kraptv commented Oct 22, 2018

Appropriate file to extend with a bit of string manipulation: members/addcard.php

Had an encounter where a new member wanted to add his card from the comfort of his own home but was entering in the content with reasonably valid content 0a:1b:2c:3d:4e but with lower case and colons. Once it was pointed out (wiki has been augmented) to enter in the details, he was appreciative, but it'd be nice to make the string input a little more flexible for valid RFID UIDs.

It'd be helpful also if we recreate a new mobile NFC scanning application we could use the native scanned string in the post and not have to format according to the spec.

This should be a straightforward matter of using strtoupper() and str_replace() in PHP (assuming that page is still written in PHP) to enable this functionality. Thanks.

@marksteward
Copy link
Member

I'll do this as part of the Python upgrade.

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

3 participants