Files
IPB/upload/admin/applications/forums/extensions/reputation.php
T
2025-12-19 00:34:03 -08:00

49 lines
1.2 KiB
PHP

<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.2.3
* Reputation configuration for application
* Last Updated: $Date: 2010-12-17 07:40:13 -0500 (Fri, 17 Dec 2010) $
* </pre>
*
* @author $author$
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license This is NULLED!
* @package IP.Board
* @subpackage Forums
* @link http://hatynka.in
* @version $Rev: 7442 $
*/
if ( ! defined( 'IN_IPB' ) )
{
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
exit();
}
$rep_author_config = array(
'pid' => array( 'column' => 'author_id', 'table' => 'posts' )
);
/**
* The following config items are for the log viewer in the ACP
*/
$rep_log_joins = array(
array(
'from' => array( 'posts' => 'p' ),
'where' => 'r.type="pid" AND r.type_id=p.pid and r.app="forums"',
'type' => 'left'
),
array(
'select' => 't.title as repContentTitle, t.tid as repContentID',
'from' => array( 'topics' => 't' ),
'where' => 'p.topic_id=t.tid',
'type' => 'left'
),
);
$rep_log_where = "p.author_id=%s";
$rep_log_link = 'findpost=%d';