Your phpBB Version: 3.0.4 Your phpBB Type: Standard phpBB (also called Vanilla (phpBB2) or Olympus (phpBB3)) MODs installed: Yes Your knowledge: Beginner
What have you done before the problem was there? I installed Thank Post MOD Version 0.4.0 and simple hide bbcode
What have you already tryed to solve the problem? I tried to change the file read of simple hide BBCode in viewtopic
Description and Message HI, I am Italian, and i don't speak German. In my site I installed the mod and Simple Hide BBCode and Thank Post Mod 0.4.0, which was issued by the Italian media to phpbb (http://www.phpbb.it) I have tried in every way to adapt the simple hide BBCode to thanks, but there aren't successful. Someone tell me how could I do?
I have edited the viewtopic.php file with this code:
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.
Klug ist, wer nur die Hälfte von dem glaubt, was er hört. Weise ist, wer erkennt, welche Hälfte richtig ist.
The Thank Post Mod (hide MOD compatible ) 0.2.0 and the Thank Post MOD Version 0.4.0 are NOT the same. They are not compatible with each other.
The error must be in the Hide MOD installation. Check again all the changes in the files.
After the installation - clear the cache.
best regards Mahony
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.
Klug ist, wer nur die Hälfte von dem glaubt, was er hört. Weise ist, wer erkennt, welche Hälfte richtig ist.
// Check if the topic viewer has posted in a topic
$unhide = false;
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 (already_thanked($post_id, $user->data['user_id']))
{
$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);
}
}
The error must be in the Hide MOD installation. Check again all the changes in the files.
best regards Mahony
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.
Klug ist, wer nur die Hälfte von dem glaubt, was er hört. Weise ist, wer erkennt, welche Hälfte richtig ist.
Hi,
i check again all the changes in the files of simple hide bbcode. But I was not able to solve the problem, attached the modified files, please, could control them?
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.
Klug ist, wer nur die Hälfte von dem glaubt, was er hört. Weise ist, wer erkennt, welche Hälfte richtig ist.