<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Editing Profiles (Social Media Fields) + WP Discord App - How-to and Troubleshooting				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/editing-profiles-social-media-fields-wp-discord-app/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 13 Mar 2026 14:50:17 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Editing Profiles (Social Media Fields) + WP Discord App</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/editing-profiles-social-media-fields-wp-discord-app/#post-18147</link>
                        <pubDate>Mon, 06 Aug 2018 11:49:29 +0000</pubDate>
                        <description><![CDATA[Hi -GG-LastChance,

Upon editing your profile, there are 6 fields for social media accounts. AOL, MSN, skype, etc. Regardless, can those be edited somehow through the code and either remov...]]></description>
                        <content:encoded><![CDATA[<p>Hi -GG-LastChance,</p>
<blockquote>
<p>Upon editing your profile, there are 6 fields for social media accounts. AOL, MSN, skype, etc. Regardless, can those be edited somehow through the code and either removed or disabled by an option? I have no need for my users to edit this information and it is no where near relevant. (Although it's very nice and would be better if left customizable for us gamers.)</p>
</blockquote>
<p>You can disable Social Network fields using this script:</p>
<pre style="color: #000000;font-size: 12.0pt" contenteditable="false"><span style="color: #008d00;font-weight: bold">function </span><span style="color: #808080;font-weight: bold">my_custom_account_fields</span>( <span style="color: #4985c9;font-weight: bold">$fields </span>)<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">    </span><span style="color: #4985c9;font-weight: bold">$remove_fields </span><span style="color: #000080">= </span><span style="color: #008d00;font-weight: bold">array</span>(<span style="color: #c64741">'facebook'</span><span style="color: #000080">, </span><span style="color: #c64741">'gtalk'</span><span style="color: #000080">, </span><span style="color: #c64741">'aim'</span><span style="color: #000080">, </span><span style="color: #c64741">'msn'</span><span style="color: #000080">, </span><span style="color: #c64741">'twitter'</span><span style="color: #000080">, </span><span style="color: #c64741">'yahoo'</span><span style="color: #000080">, </span><span style="color: #c64741">'icq'</span><span style="color: #000080">, </span><span style="color: #c64741">'skype'</span>)<span style="color: #313131">;<br /></span><span style="color: #313131">    </span><span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #000080">!</span><span style="color: #008d00;font-weight: bold">empty</span>(<span style="color: #4985c9;font-weight: bold">$fields</span>) )<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">        </span><span style="color: #008d00;font-weight: bold">foreach</span>( <span style="color: #4985c9;font-weight: bold">$fields </span><span style="color: #008d00;font-weight: bold">as </span><span style="color: #4985c9;font-weight: bold">$r </span><span style="color: #000080">=&gt; </span><span style="color: #4985c9;font-weight: bold">$rows </span>)<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">            </span><span style="color: #008d00;font-weight: bold">foreach</span>( <span style="color: #4985c9;font-weight: bold">$rows </span><span style="color: #008d00;font-weight: bold">as </span><span style="color: #4985c9;font-weight: bold">$c </span><span style="color: #000080">=&gt; </span><span style="color: #4985c9;font-weight: bold">$cols </span>)<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">                </span><span style="color: #008d00;font-weight: bold">foreach</span>( <span style="color: #4985c9;font-weight: bold">$cols </span><span style="color: #008d00;font-weight: bold">as </span><span style="color: #4985c9;font-weight: bold">$f </span><span style="color: #000080">=&gt; </span><span style="color: #4985c9;font-weight: bold">$field </span>)<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">                    </span><span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #4985c9;font-weight: bold">$field </span><span style="color: #000080">&amp;&amp; </span><span style="color: #0000e5;font-style: italic">in_array</span>(<span style="color: #4985c9;font-weight: bold">$field</span><span style="color: #000080">, </span><span style="color: #4985c9;font-weight: bold">$remove_fields</span>) )<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">                        </span><span style="color: #008d00;font-weight: bold">unset</span>(<span style="color: #4985c9;font-weight: bold">$fields</span><span style="color: #000080"></span>)<span style="color: #313131">;<br /></span><span style="color: #313131">                    </span><span style="color: #5163ac">}<br /></span><span style="color: #5163ac">                }<br /></span><span style="color: #5163ac">            }<br /></span><span style="color: #5163ac">        }<br /></span><span style="color: #5163ac">    }<br /></span><span style="color: #5163ac">    </span><span style="color: #008d00;font-weight: bold">return </span><span style="color: #4985c9;font-weight: bold">$fields</span><span style="color: #313131">;<br /></span><span style="color: #5163ac">}<br /></span><span style="color: #0000e5;font-style: italic">add_filter</span>( <span style="color: #c64741">'wpforo_get_account_fields'</span><span style="color: #000080">, </span><span style="color: #c64741">'my_custom_account_fields'</span>)<span style="color: #313131">;</span></pre>
<p> </p>
<p><span style="color: #ff0000">If the code above doesn't work,</span> change it to this one:</p>
<pre contenteditable="false"><span style="color: #008d00;font-weight: bold">function </span><span style="color: #0000e5;font-weight: bold">my_custom_account_fields</span>( <span style="color: #4985c9;font-weight: bold">$fields </span>)<span style="color: #5163ac">{<br /></span>    <span style="color: #4985c9;font-weight: bold">$remove_fields </span><span style="color: #000080">= </span><span style="color: #008d00;font-weight: bold">array</span>(<span style="color: #c64741">'facebook'</span><span style="color: #000080">, </span><span style="color: #c64741">'gtalk'</span><span style="color: #000080">, </span><span style="color: #c64741">'aim'</span><span style="color: #000080">, </span><span style="color: #c64741">'msn'</span><span style="color: #000080">, </span><span style="color: #c64741">'twitter'</span><span style="color: #000080">, </span><span style="color: #c64741">'yahoo'</span><span style="color: #000080">, </span><span style="color: #c64741">'icq'</span><span style="color: #000080">, </span><span style="color: #c64741">'skype'</span>)<span style="color: #313131">;<br /></span>    <span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #000080">!</span><span style="color: #008d00;font-weight: bold">empty</span>(<span style="color: #4985c9;font-weight: bold">$fields</span>) )<span style="color: #5163ac">{<br /></span>        <span style="color: #008d00;font-weight: bold">foreach</span>( <span style="color: #4985c9;font-weight: bold">$fields </span><span style="color: #008d00;font-weight: bold">as </span><span style="color: #4985c9;font-weight: bold">$r </span><span style="color: #000080">=&gt; </span><span style="color: #4985c9;font-weight: bold">$rows </span>)<span style="color: #5163ac">{<br /></span>            <span style="color: #008d00;font-weight: bold">foreach</span>( <span style="color: #4985c9;font-weight: bold">$rows </span><span style="color: #008d00;font-weight: bold">as </span><span style="color: #4985c9;font-weight: bold">$c </span><span style="color: #000080">=&gt; </span><span style="color: #4985c9;font-weight: bold">$cols </span>)<span style="color: #5163ac">{<br /></span>                <span style="color: #008d00;font-weight: bold">foreach</span>( <span style="color: #4985c9;font-weight: bold">$cols </span><span style="color: #008d00;font-weight: bold">as </span><span style="color: #4985c9;font-weight: bold">$f </span><span style="color: #000080">=&gt; </span><span style="color: #4985c9;font-weight: bold">$field </span>)<span style="color: #5163ac">{<br /></span>                    <span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #0000e5;font-style: italic">wpfval</span>(<span style="color: #4985c9;font-weight: bold">$field</span><span style="color: #000080">, </span><span style="color: #c64741">'name'</span>) <span style="color: #000080">&amp;&amp; </span><span style="color: #0000e5;font-style: italic">in_array</span>(<span style="color: #4985c9;font-weight: bold">$field</span><span style="color: #000080">, </span><span style="color: #4985c9;font-weight: bold">$remove_fields</span>) )<span style="color: #5163ac">{<br /></span>                        <span style="color: #008d00;font-weight: bold">unset</span>(<span style="color: #4985c9;font-weight: bold">$fields</span><span style="color: #000080"></span>)<span style="color: #313131">;<br /></span>                    <span style="color: #5163ac">}<br /></span><span style="color: #5163ac">                }<br /></span><span style="color: #5163ac">            }<br /></span><span style="color: #5163ac">        }<br /></span><span style="color: #5163ac">    }<br /></span>    <span style="color: #008d00;font-weight: bold">return </span><span style="color: #4985c9;font-weight: bold">$fields</span><span style="color: #313131">;<br /></span><span style="color: #5163ac">}<br /></span><span style="color: #0000e5;font-style: italic">add_filter</span>( <span style="color: #c64741">'wpforo_get_account_fields'</span><span style="color: #000080">, </span><span style="color: #c64741">'my_custom_account_fields'</span>)<span style="color: #313131">;</span><br /><br /></pre>
<p>Put this code in current active WordPress theme functions.php file.</p>
<p><a href="https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/" target="true">How to Easily Add Custom Code in WordPress (without Breaking Your Site)</a></p>
<blockquote>
<p>Another concern is with the WordPress Discord app.  I currently use the WP discord app, and it worked perfectly fine using the built in Forums app.  What would happen is that every time a new post was made, a notification would be sent via Discord.  Now that I have these new awesome forums installed, the widget no longer works. WP Discord:  <a href="https://wordpress.org/plugins/wp-discord/" target="true" rel="nofollow"> https://wordpress.org/plugins/wp-discord/ </a></p>
</blockquote>
<p>I'm sorry but I'm not familiar with this plugin, I can't help you with this issue.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/editing-profiles-social-media-fields-wp-discord-app/#post-18147</guid>
                    </item>
				                    <item>
                        <title>Editing Profiles (Social Media Fields) + WP Discord App</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/editing-profiles-social-media-fields-wp-discord-app/#post-18136</link>
                        <pubDate>Mon, 06 Aug 2018 02:24:23 +0000</pubDate>
                        <description><![CDATA[I have two concerns I am hoping someone can lend assistance, or may even a guess at!
 

Upon editing your profile, there are 6 fields for social media accounts.  AOL, MSN, skype, etc.  Re...]]></description>
                        <content:encoded><![CDATA[<p style="text-align: center"><strong>I have two concerns I am hoping someone can lend assistance, or may even a guess at!</strong></p>
<p> </p>
<ul>
<li>Upon editing your profile, there are 6 fields for social media accounts.  AOL, MSN, skype, etc.  Regardless, can those be edited somehow through the code and either removed or disabled by an option?  I have no need for my users to edit this information and it is no where near relevant. (Although it's very nice and would be better if left customizable for us gamers.)</li>
<li>Another concern is with the WordPress Discord app.  I currently use the WP discord app, and it worked perfectly fine using the built in Forums app.  What would happen is that every time a new post was made, a notification would be sent via Discord.  Now that I have these new awesome forums installed, the widget no longer works. WP Discord:  <a href="https://wordpress.org/plugins/wp-discord/" target="true">https://wordpress.org/plugins/wp-discord/</a></li>
</ul>
<p>Thank in advance for all your troubleshooting and curiosities to get me the answers I need!</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>-GG-LastChance</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/editing-profiles-social-media-fields-wp-discord-app/#post-18136</guid>
                    </item>
							        </channel>
        </rss>
		