Vergleich inc/plugins/akismet.php - 1.4.9 - 1.4.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1Zeile 1
<?php
/**
* MyBB 1.4

<?php
/**
* MyBB 1.4

 * Copyright � 2008 MyBB Group, All Rights Reserved

 * Copyright © 2008 MyBB Group, All Rights Reserved

 *
* Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 *
* Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: akismet.php 4343 2009-04-09 05:36:29Z Tikitiki $

 * $Id: akismet.php 4754 2010-01-30 09:20:31Z RyanGordon $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 908Zeile 908
			$lastpost['username'] = $db->escape_string($lastpost['username']);
$firstpost['username'] = $db->escape_string($firstpost['username']);


			$lastpost['username'] = $db->escape_string($lastpost['username']);
$firstpost['username'] = $db->escape_string($firstpost['username']);


			--$mybb->user['akismetstopped'];
if($mybb->user['akismetstopped'] < 0)



			$query2 = $db->simple_select("users", "akismetstopped", "uid='{$post['uid']}'");
$akismetstopped = $db->fetch_field($query2, "akismetstopped")-1;

if($akismetstopped < 0)

			{

			{

				$mybb->user['akismetstopped'] = 0;

				$akismetstopped = 0;

			}

			}

			$db->update_query("users", array('akismetstopped' => $mybb->user['akismetstopped']), "uid='{$mybb->user['uid']}'");

			$db->update_query("users", array('akismetstopped' => $akismetstopped), "uid='{$post['uid']}'");

			
$update_array = array(
'username' => $firstpost['username'],

			
$update_array = array(
'username' => $firstpost['username'],

Zeile 1068Zeile 1070
		{
if($post['uid'] != 0)
{

		{
if($post['uid'] != 0)
{

				$username = "<a href=\"".str_replace("{uid}", $post['uid'], PROFILE_URL)."\" target=\"_blank\">".format_name($post['username'], $post['usergroup'], $post['displaygroup'])."</a>";

				$username = "<a href=\"../".str_replace("{uid}", $post['uid'], PROFILE_URL)."\" target=\"_blank\">".format_name($post['username'], $post['usergroup'], $post['displaygroup'])."</a>";

			}
else
{

			}
else
{