The hide bbcode source code, or a link to where it's failling would help out to
Moderator: Moderators

// Check if the topic viewer has posted in a topic
$unhide = false;
if ($user->data['user_id'] != ANONYMOUS)
{
$sql = "SELECT poster_id, topic_id
FROM " . POSTS_TABLE . "
WHERE topic_id = $topic_id
AND poster_id = " . $user->data['user_id'];
$result = $db->sql_query($sql);
$unhide = $db->sql_affectedrows($result) ? true : false;
$db->sql_freeresult($result);
}// Check if the topic viewer has posted in a topic
$unhide = false;
$sql = 'SELECT post_thanked
FROM ' . POSTS_TABLE . '
WHERE post_id = ' . $post_id;
$result = $db->sql_query($sql);
$post_thanked = $db->sql_fetchfield('post_thanked');
$db->sql_freeresult($result);
if ($user->data['user_id'] != ANONYMOUS)
{
// If moderator or admin, skip reply check, auto unhide
if ($auth->acl_get('m_', $forum_id))
{
$unhide = true;
}
else if ($post_thanked > 0)
{
$unhide = true;
}
else
{
$sql = "SELECT poster_id, topic_id
FROM " . POSTS_TABLE . "
WHERE topic_id = $topic_id
AND poster_id = " . $user->data['user_id'];
$result = $db->sql_query($sql);
$unhide = $db->sql_affectedrows($result) ? true : false;
$db->sql_freeresult($result);
}
}
dcz wrote:I was talking about the thanks link itself.



Autinhyeu wrote:Oh, sorry...
i have test again, and result is not work.
when i turn off zero dupe -> it work.
when i turn on zero dupe and turn off option strict mode -> not work
i want it work when turn on all ^^!
Thanks you very much
NguyTieuNhan wrote:IO installed adv phpbb3 mod rewriteV0-4-6, phpBB3 no dupeV0-4-4,phpBB3-SEO-Zero-dupe_V0.4.6

Users browsing this forum: Baidu [Spider] and 7 guests