MyBB Community Forums

Full Version: Changing registration detail
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

How do I change the part for registration under account details that says username?

I want to change it to firstname.lastname


I also want to remove the registration agreement.
(2011-04-09, 05:31 PM)ridethepony2004 Wrote: [ -> ]I also want to remove the registration agreement.

Open member.php and find and remove the following;
	if((!isset($mybb->input['agree']) && !isset($mybb->input['regsubmit'])) || $mybb->request_method != "post")
	{
		// Is this user a COPPA user? We need to show the COPPA agreement too
		if($mybb->settings['coppa'] != "disabled" && ($mybb->cookies['coppauser'] == 1 || $under_thirteen))
		{
			if($mybb->settings['coppa'] == "deny")
			{
				error($lang->error_need_to_be_thirteen);
			}
			$lang->coppa_agreement_1 = $lang->sprintf($lang->coppa_agreement_1, $mybb->settings['bbname']);
			eval("\$coppa_agreement = \"".$templates->get("member_register_agreement_coppa")."\";");
		}

		$plugins->run_hooks("member_register_agreement");

		eval("\$agreement = \"".$templates->get("member_register_agreement")."\";");
		output_page($agreement);
	}
	else
where do i find the member.php?

I am a newb!

Thank you
Its in your Root of your MyBB installation folder.
it gives me this error when accessing the forum

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
2003 - Can't connect to MySQL server on 'americasfavoritereal.ipagemysql.com' (113)
Query:
[READ] Unable to connect to MySQL server
That's your host error, you have to contact to your host.
thank you! all fixed!

Now if someone else know the answer for the other one? =)
Anyone?
You can just change the language strings, not sure if that's what you're asking.

ACP >> Configuration >> Languages >> yourlanguage >> global.lang.php

Search for "username" and change the strings.
thank you!

(2011-04-09, 11:07 PM)AJS Wrote: [ -> ]You can just change the language strings, not sure if that's what you're asking.

ACP >> Configuration >> Languages >> yourlanguage >> global.lang.php

Search for "username" and change the strings.