Google+ profile field can handle custom URLs now
authorMarcel Werk <burntime@woltlab.com>
Wed, 12 Mar 2014 15:54:45 +0000 (16:54 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 12 Mar 2014 15:54:45 +0000 (16:54 +0100)
com.woltlab.wcf/userOption.xml

index f275ecd5199eede3030ab01003cc5418e7d8d77c..683bd4321f5910b2d5b30035c9a50b77be13ca80 100644 (file)
                                <categoryname>profile.contact</categoryname>
                                <optiontype>text</optiontype>
                                <outputclass>wcf\system\option\user\GooglePlusUserOptionOutput</outputclass>
-                               <validationpattern>^$|^[0-9]{21}$</validationpattern>
-                               <contentpattern>^https?://plus.google.com/([0-9]{21})$</contentpattern>
+                               <validationpattern>^$|^[0-9]{21}$|^\+[a-zA-Z0-9]+$</validationpattern>
+                               <contentpattern>^https?://(?:plus|www).google.com/([0-9]{21}|\+[a-zA-Z0-9]+)$</contentpattern>
                                <searchable>1</searchable>
                                <visible>15</visible>
                                <editable>3</editable>