Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disable Registration Agreement
#20
1.8.21 Owners should delete this exact code.  Big Grin

	if((!isset($mybb->input['agree']) && !isset($mybb->input['regsubmit'])) && $fromreg == 0 || $mybb->request_method != "post")
	{
		$coppa_agreement = '';
		// 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
Reply


Messages In This Thread
Disable Registration Agreement - by Yaldaram - 04-19-2011, 06:30 PM
RE: Disable Registration Agreement - by ViniH - 11-15-2011, 06:15 PM
RE: Disable Registration Agreement - by Yaldaram - 11-15-2011, 07:56 PM
RE: Disable Registration Agreement - by haytoch - 11-17-2011, 11:03 PM
RE: Disable Registration Agreement - by Yaldaram - 11-18-2011, 01:51 AM
RE: Disable Registration Agreement - by mrdon515 - 10-18-2012, 06:38 PM
RE: Disable Registration Agreement - by FBI - 01-18-2013, 10:15 AM
RE: Disable Registration Agreement - by alv4 - 01-26-2013, 06:24 PM
RE: Disable Registration Agreement - by Yaldaram - 01-27-2013, 01:45 AM
RE: Disable Registration Agreement - by Breixo - 04-03-2013, 07:04 PM
RE: Disable Registration Agreement - by jayy - 12-07-2013, 06:27 PM
RE: Disable Registration Agreement - by Yaldaram - 12-07-2013, 06:32 PM
RE: Disable Registration Agreement - by jayy - 12-11-2013, 12:39 AM
RE: Disable Registration Agreement - by alv4 - 04-02-2015, 08:20 PM
RE: Disable Registration Agreement - by fredzy - 11-06-2015, 11:22 AM
RE: Disable Registration Agreement - by niere8 - 11-14-2015, 09:35 PM
RE: Disable Registration Agreement - by alv4 - 12-06-2015, 05:39 PM
RE: Disable Registration Agreement - by Løque - 07-27-2019, 09:50 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)