Remove default member fields from "My account"
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
acc.nsm_member_form_customiser.php
config.php

README.md

NSM Member Form Customiser

Hide standard custom CP member fields in "My Account". Re-order standard and custom CP Member fields.

Installation

Install the accessory and limit it's display to "My Account". Note the accessory tab will be hidden but you should be able to check the source to see if it's working.

Configuration

To hide custom fields add the following to your config.php

$config['nsm_member_form_customiser_hide'] = array(
	"bday_y",
	"url",
	"location",
	"occupation",
	"interests",
	"aol_im",
	"icq",
	"yahoo_im",
	"msn_im",
	"bio"
);

To reorder custom fields add the following to your config.php

$config['nsm_member_form_customiser_order'] = array(
	// Place custom fields above standard fields
	"m_field_id_1",
	"m_field_id_2",
	"m_field_id_3",
	"m_field_id_4",
	"m_field_id_5",
	"m_field_id_6",
	// add the standard custom fields
	"bday_y",
	"url",
	"location",
	"occupation",
	"interests",
	"aol_im",
	"icq",
	"yahoo_im",
	"msn_im",
	"bio"
);

Custom fields must be in the following format: m_field_id_n where n is the field_id.