Code: Select all
SQL ERROR [ mysql4 ] Field 'id' doesn't have a default value  SQL INSERT INTO phpbb_medals_awarded (medal_id, user_id, awarder_id, awarder_un, awarder_color, nominated, nominated_reason, points, time, bitfield, bbuid) VALUES (9, 113, '2', 'ЦентральныЙ', '000066', 0, '33', '10', 1245217540, '', '') BACKTRACE FILE: includes/db/mysql.php LINE: 158 CALL: dbal_mysql->sql_error() FILE: medals.php LINE: 1055 CALL: dbal_mysql->sql_query() FILE: medals.php LINE: 570 CALL: award_medal()
It works with 4.Gremlinn wrote:evina: Are you talking about deleting a medal or removing an awarded medal from a user? Delete a medal from the ACP (same place you created them). Remove an awarded medal from a user using the Medal Management link in that user's profile view.
Gen.Centralnui: First, I would suggest moving to mysql 5. The id field in the medals tables are auto incrementing. I don't know about mysql 4 compatibility. Does anyone else have mysql 4 that could verify it works?
Should be able to change the word "Medals" to "Awards" in the language files.zepherion wrote:Hi,
Is it easy to change the references of 'Medals' into 'Awards'?
Also how hard is it to add this mod onto a different customised theme?
Sidenote: I can manage in following the steps in the install files. But I'm in no way able to understand the whole php thing from A to Z. (This might be helpfull when replying )