mybb duplicate post finder plugin request?
Guys please help me to come up with a plugin that will check every post if the user has already posted the same content within last 1 hour?

This should get you going:

Chould you please make this code work???

function duplicatepost()
    global $mybb, $db;

$query = $db->simple_select("posts p", "p.message='".$db->escape_string($mybb->input['message'])."' AND p.dateline>".(TIME_NOW-600));
				$duplicatepost = $db->fetch_field($query, "p.message");

				if ($duplicatepost)
					error("some error");


Forum Jump:

Users browsing this thread: 1 Guest(s)