I wanted to add a Jabber ID field type, so here 'tis. I began with field_email.inc, and modified several things. Most notable changes are instead of a "mailto:" protocol type in the URI, I've changed it to "im:". Also note that I've got a Jabber presence indicator image as provided by the bot "Edgar".

Example is here for now, although this is a work-in-progress and the URL will change. New file field_jid.inc attached.

I got a function redeclare error the first time I uploaded this field type, so I remarked out the offending function and now its working. (See line 83.) Someone with better coding skills than I can say if that was the right thing to do, because I'm not sure if this will cause problems. But it works perfectly for me.

CommentFileSizeAuthor
field_jid.inc3.05 KBhalr9000

Comments

halr9000’s picture

Version: master » 4.6.x-1.x-dev
Assigned: halr9000 » Unassigned
Bèr Kessels’s picture

Can you please make a small README with this? then we can upload it in the contributions.

Bèr Kessels’s picture

Status: Needs review » Needs work
Bèr Kessels’s picture

Status: Needs work » Closed (won't fix)

closing this. No feedabck for a loing time. No feedback means we wont have any maintainer either. :)