Ning Help Center

Replace the Add By Phone Address

Replace the Add By Phone Address

4.5 (90%) 2 votes

Introduction

The Add By Phone email address can be found on each member’s Settings page, as well as the photo and video upload pages. This unique address provides an easy system for you and your members to upload photos and videos from your mobile phone directly to your network. However, if you have a domain mapped network the Add By Phone email addresses on your network will display your custom domain and you must setup an additional MX record with your registrar in order to ensure that email sent to your domain will be routed to your network. This can be an issue if you also want to use your custom domain to receive email, since the MX record will route all emails to your network. This hack will modify the Add By Phone addresses that are shown on your network so that they display your Ning sub-domain rather than your custom domain.

Instructions

Add the following code to the Custom Code page on your network, replacing the relevant sections in bold with your own domain:

<script type=”text/javascript”>if (typeof(x$) != ‘undefined’) {var oldHref = x$(‘#xg_profiles_settings_email_show’).attr(‘href’);if (oldHref) {var oldValue = x$(‘#xg_profiles_settings_email_show’).html();var newValue = oldValue.replace(‘yoursite.com’,’yourningsubdomain.ning.com’);x$(‘#xg_profiles_settings_email_show’).html(newValue);var newHref = oldHref.replace(‘yoursite.com’,’yourningsubdomain.ning.com’);x$(‘#xg_profiles_settings_email_show’).attr(‘href’,newHref);}}</script>

Similar Articles: