<editable>3</editable>
<contentpattern>^https?://twitter.com/([A-Za-z0-9_]+)$</contentpattern>
</option>
- <option name="googlePlus">
- <categoryname>profile.contact</categoryname>
- <optiontype>text</optiontype>
- <validationpattern>^$|^\d{21}$|^\+\S[^/]+$</validationpattern>
- <outputclass>wcf\system\option\user\GooglePlusUserOptionOutput</outputclass>
- <searchable>1</searchable>
- <visible>15</visible>
- <editable>3</editable>
- <isdisabled>1</isdisabled>
- <contentpattern>^https?://(?:plus|www).google(?:apis)?.com(?:/\w+/\w+(?:/\w)?)?/(\d{21}|\+\S[^/]+)$</contentpattern>
- </option>
<!-- /profile -->
<!-- settings -->
<option name="recentActivitiesFilterByFollowing">
+++ /dev/null
-<?php
-namespace wcf\system\option\user;
-use wcf\data\user\option\UserOption;
-use wcf\data\user\User;
-use wcf\util\StringUtil;
-
-/**
- * User option output implementation for the output of a google+ user profile.
- *
- * @author Jeffrey Reichardt
- * @copyright 2001-2019 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package WoltLabSuite\Core\System\Option\User
- */
-class GooglePlusUserOptionOutput implements IUserOptionOutput {
- /**
- * @inheritDoc
- */
- public function getOutput(User $user, UserOption $option, $value) {
- if (empty($value)) return '';
-
- $url = StringUtil::encodeHTML('https://plus.google.com/'.$value.'/posts');
- $value = StringUtil::encodeHTML($value);
-
- return '<a href="'.$url.'" class="externalURL"'.((EXTERNAL_LINK_REL_NOFOLLOW || EXTERNAL_LINK_TARGET_BLANK) ? (' rel="'.(EXTERNAL_LINK_REL_NOFOLLOW ? 'nofollow' : '').((EXTERNAL_LINK_REL_NOFOLLOW && EXTERNAL_LINK_TARGET_BLANK) ? ' ' : '').(EXTERNAL_LINK_TARGET_BLANK ? 'noopener noreferrer' : '').' me"') : ' rel="me"').(EXTERNAL_LINK_TARGET_BLANK ? ' target="_blank"' : '').'>'.$value.'</a>';
- }
-}
<item name="wcf.user.option.skype"><![CDATA[Skype]]></item>
<item name="wcf.user.option.facebook"><![CDATA[Facebook]]></item>
<item name="wcf.user.option.twitter"><![CDATA[Twitter]]></item>
- <item name="wcf.user.option.googlePlus"><![CDATA[Google+]]></item>
- <item name="wcf.user.option.googlePlus.description"><![CDATA[21-stellige Google-Plus-ID, Google-Plus Benutzername (+Benutzername) oder URL zum Google-Plus-Profil]]></item>
<item name="wcf.user.option.canWriteProfileComments"><![CDATA[Kann Pinnwand-Kommentare schreiben]]></item>
<item name="wcf.user.option.editorPastePreserveFormatting"><![CDATA[Text-Formatierung beim Einfügen in den Editor übernehmen]]></item>
<item name="wcf.user.option.editorPastePreserveFormatting.description"><![CDATA[Die Deaktivierung dieser Option erzwingt das Einfügen aus der Zwischenablage in reiner Textform, Formatierungen werden dabei entfernt.]]></item>
<item name="wcf.user.option.skype"><![CDATA[Skype]]></item>
<item name="wcf.user.option.facebook"><![CDATA[Facebook]]></item>
<item name="wcf.user.option.twitter"><![CDATA[Twitter]]></item>
- <item name="wcf.user.option.googlePlus"><![CDATA[Google+]]></item>
- <item name="wcf.user.option.googlePlus.description"><![CDATA[Enter the 21 digit Google Plus user ID, Google Plus username (+Username), or the URL of your Google Plus profile.]]></item>
<item name="wcf.user.option.canWriteProfileComments"><![CDATA[Can Write Comments on My Wall]]></item>
<item name="wcf.user.option.editorPastePreserveFormatting"><![CDATA[Preserve text formatting when pasting into the editor]]></item>
<item name="wcf.user.option.editorPastePreserveFormatting.description"><![CDATA[Disabling this option will force any content to be pasted from clipboard as plain text, stripping all formatting.]]></item>