MyBB Community Forums

Full Version: Visiting an offline profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For some reason it generates this error when visiting another profile while the person is offline.

http://i.imgur.com/xO5tlZI.png


This is the member.php file code:


					default:

						$emailmessage = $lang->sprintf($lang->email_activateaccount, $user['username'], $mybb->settings['bbname'], $mybb->settings['bburl'], $user['uid'], $activationcode);

						break;

				}

				my_mail($email, $emailsubject, $emailmessage);

			}

		}

		$plugins->run_hooks("member_do_resendactivation_end");



		redirect("index.php", $lang->redirect_activationresent);

	}

}



if($mybb->input['action'] == "lostpw")

{

	$plugins->run_hooks("member_lostpw");



	eval("\$lostpw = \"".$templates->get("member_lostpw")."\";");

	output_page($lostpw);

}



if($mybb->input['action'] == "do_lostpw" && $mybb->request_method == "post")

{

	$plugins->run_hooks("member_do_lostpw_start");



	$email = $db->escape_string($email);

	$query = $db->simple_select("users", "*", "email='".$db->escape_string($mybb->input['email'])."'");

	$numusers = $db->num_rows($query);

	if($numusers < 1)

	{

		error($lang->error_invalidemail);

	}

	else

	{

		while($user = $db->fetch_array($query))

		{

Code from line 1894 - 1965
have you recently added any plugins or modified templates or edited language files ?
(2015-02-02, 04:55 PM).m. Wrote: [ -> ]have you recently added any plugins or modified templates or edited language files ?

No, it's been like this for a while now. I have a lot of plugins installed though.
How about you stop using ripped themes? Smile
(2015-02-02, 05:01 PM)PhantomD Wrote: [ -> ]How about you stop using ripped themes? Smile
Eh, I found this on google. Ripped themes?
(2015-02-02, 05:06 PM)Zens Wrote: [ -> ]
(2015-02-02, 05:01 PM)PhantomD Wrote: [ -> ]How about you stop using ripped themes? Smile
Eh, I found this on google. Ripped themes?

What theme is it? Probably Infinity forums theme.
(2015-02-02, 05:07 PM)PhantomD Wrote: [ -> ]
(2015-02-02, 05:06 PM)Zens Wrote: [ -> ]
(2015-02-02, 05:01 PM)PhantomD Wrote: [ -> ]How about you stop using ripped themes? Smile
Eh, I found this on google. Ripped themes?

What theme is it? Probably Infinity forums theme.

It is.
We have received a report that you are using a ripped custom theme. It is immaterial how you got it, but that is not your theme to use. Closing this thread. If you wish to open a thread in Private Inquiries please do so.