Refresh prosilver tample!
Error General
SQL ERROR [ mysqli ]
Unknown column 'user_thanked' in 'field list' [1054]
SQL
UPDATE phpbb_users SET user_thanked = user_thanked + 1, user_thanks_post = user_thanks_post + 1 WHERE user_id = 230
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: thanks.php
LINE: 90
CALL: dbal_mysqli->sql_query()
Code: Select all
SQL ERROR [ mysql4 ]
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'phpbb_123topics t WHERE t.topic_id = p.topic_id AND t.topic_id = 114' at line 3 [1064]
SQL
SELECT t.topic_title FROM phpbb_123posts p phpbb_123topics t WHERE t.topic_id = p.topic_id AND t.topic_id = 114
BACKTRACE
FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()
FILE: includes/functions_seo.php
LINE: 164
CALL: dbal_mysql->sql_query()
FILE: viewtopic.php
LINE: 58
CALL: moved_topic()
I did it, but no effect. I've tried install this MOD to other two instances (on my localhost and one freehosting) and the same result. 4 times step-by-step instalations, i am desperade of thisAllCity wrote:I, too, so I was just refresh theme, template, imageset and all its ok for me.
Code: Select all
./style.php?sid=04dc3d6ac6b670c6ad0986c6c6a46b6a&id=1&lang=en
Any thoughts on this?ValorSolo wrote:Any chance of getting a top 5 (or 10) thanked users add-on.
This would display on the index page.
Maybe modeled after this Mod.
http://www.phpbb.com/community/viewtopi ... s+on+Index
If I could code well enough, I'd do it.
But the mysql stuff is out of my realm of knowledge.
Code: Select all
// Check if the topic viewer has posted in a topic
$unhide = false;
if ($user->data['user_id'] != ANONYMOUS)
{
$sql = "SELECT post_id, thanks_from
FROM " . THANKS_TABLE . "
WHERE post_id = $post_id
AND thanks_from = " . $user->data['user_id'];
$result = $db->sql_query($sql);
$unhide = $db->sql_affectedrows($result) ? true : false;
$db->sql_freeresult($result);
}
$user->add_lang('mods/simple_hide_bbcode');