It would be great to be able to easily output user fields as QR codes.

I specifically I'm trying to create a QR code for each user profile page (e.g. http://example.com/user/1 ) but if it were possible to pull together a QR code that contained username, email, and other profile fields that seems awesome.

Comments

deciphered’s picture

Greggles,

If you install the vCard module (which can be a pain) it will give you an extra block that generates the users profile information as a mobile vcard. Additionally there is an example custom formtter that also shows you how to make a cck formatter as a vcard, which could be modified to be used on a user reference field.

Check that out and let me know how it goes.

I will probably add a user reference vcard formatter in the next release to make it even easier.

Cheers,
Deciphered.

greggles’s picture

I read about vcard in another isssue, but I think the killer feature here is "make any views output a QR code without any programming."

Feel free to won't fix if it doesn't seem appropriate.

deciphered’s picture

Hi greggles,

I'm interested in your request, but I'm not sure that I understand it exactly. When you say 'make any views output a QR code', exactly what do you mean? I Mobile Codes Views style? In what way would the data be represented?

A user vCard is a standardized format, which requires specific types of content to be formatted in a specific way, hence using the vCard module to output a user's vCard ready profile as a vCard. If the results where coming from Views, it would be required that only the specific fields are output, and they'd have to mapped to output the vCard.

There is no reason why all the content couldn't be inserted directly into a Mobile Code, but there's no guarantee that it would be readable by the end user.

I think I'm overthinking this or looking at it from the wrong direction, I am definitely interested in hearing your thoughts though.

Cheers,
Deciphered.

nielsvoo’s picture

vCard isn't compatible with Profile2 which is a lot better then the in build profile module. Therefore use of this module is not possible for me, is there a way of putting in some data in code somewhere to generate those codes regarding a users profile?

It would be awesome if the formats on for example http://www.qrstuff.com/ could be generated by Mobile Codes module, maybe some interfacing for connecting cck fields to fields necessary for a format could be a solution.

Niels