kidzior Wysłany: Pon 30 Kwi, 2007 |
|
|
Messages in tag 'hide' are shown for Forum Service (Administration and Mod Crew). Modification made by qbs.
http://mody.lastinn.info/...sluge-t190.html
Wiadomo?? ukryta / Hidden messageAby zobaczy? wiadomo?? postaw piwo autorowi piwo.OPEN viewtopic.php
FIND:
Kod<?php
if ( strpos($message, "") !== false )
{
if ( !$userdata_reply_buffered )
{
$valid = false;
if ( $session_logged_in )
{
$sql = "SELECT poster_id, topic_id
FROM " . POSTS_TABLE . "
WHERE topic_id = $topic_id
AND poster_id = $user_id";
$resultat = $db->sql_query($sql);
$valid = $db->sql_numrows($resultat) ? true : false;
}
$userdata_reply_buffered = true;
}
$message = bbencode_third_pass($message, $bbcode_uid, $valid);
}
?>
REPLACE:
Kod<?php
if ( strpos($message, "") !== false )
{
if ( !$userdata_reply_buffered )
{
$valid = ( !$is_auth['auth_mod'] ) ? false : true;
if ( $session_logged_in && !$is_auth['auth_mod'] )
{
$sql = "SELECT poster_id, topic_id
FROM " . POSTS_TABLE . "
WHERE topic_id = $topic_id
AND poster_id = $user_id";
$resultat = $db->sql_query($sql);
$valid = $db->sql_numrows($resultat) ? true : false;
}
$userdata_reply_buffered = true;
}
$message = bbencode_third_pass($message, $bbcode_uid, $valid);
}
?> |
|