Excellent. Thanks!mtrs wrote:If you also install this Mark edited posts as unread mod from the same author, topic is bumped.
Excellent. Thanks!mtrs wrote:If you also install this Mark edited posts as unread mod from the same author, topic is bumped.
I wonder if this mod can have a feature of merging double posts done in the past . It would be nice to also have a quick MCP tool for merging double posts.théonaute wrote:If anyone as a suggestion for this MOD, I'm listening.
Hum, I don't think it would be interesting because this MOD automatically merges double posts. So if you have it, double posts are impossible, and you haven't to merge double posts...mtrs wrote:I wonder if this mod can have a feature of merging double posts done in the past . It would be nice to also have a quick MCP tool for merging double posts.
It's a good idea, i think i will work in this way for the next version.mtrs wrote:Also, this mod might have forum based enable feature. I want to enable antidouble post for A,B,C forums, not for all. You may check a primehola's Prime Subject Check contrib folder, it has that feature I mean.
Code: Select all
SQL ERROR [ mysql4 ]
Duplicate entry 'adp_enable' for key 1 [1062]
SQL
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('adp_enable', 1, 0)
BACKTRACE
FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()
FILE: includes/functions.php
LINE: 156
CALL: dbal_mysql->sql_query()
FILE: includes/acp/acp_board.php
LINE: 441
CALL: set_config()
FILE: includes/functions_module.php
LINE: 471
CALL: acp_board->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
How do I do that?théonaute wrote:Hi,
It's weird. I don't understand why some people have this error and another haven't it.
Go to phpmyadmin, and delete all the line added by the mod in phpbb_config (start with "adp_").
Then, go to this mod settings in your acp, set all the options and then apply the settings.
It will solve your problem.
Best,
Code: Select all
ALTER TABLE `phpbb_config` DROP adp_enable
ALTER TABLE `phpbb_config` DROP adp_admins
ALTER TABLE `phpbb_config` DROP adp_modos
ALTER TABLE `phpbb_config` DROP adp_auto_edit
ALTER TABLE `phpbb_config` DROP adp_text_edit
ALTER TABLE `phpbb_config` DROP adp_days
ALTER TABLE `phpbb_config` DROP adp_hours
ALTER TABLE `phpbb_config` DROP adp_mins
ALTER TABLE `phpbb_config` DROP adp_secs
phpmyadmin wrote:SQL query:
ALTER TABLE `phpbb_config` DROP adp_enable ALTER TABLE `phpbb_config` DROP adp_admins ALTER TABLE `phpbb_config` DROP adp_modos ALTER TABLE `phpbb_config` DROP adp_auto_edit ALTER TABLE `phpbb_config` DROP adp_text_edit ALTER TABLE `phpbb_config` DROP adp_days ALTER TABLE `phpbb_config` DROP adp_hours ALTER TABLE `phpbb_config` DROP adp_mins ALTER TABLE `phpbb_config` DROP adp_secs
MySQL said:
#1064 - 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 'ALTER TABLE `phpbb_config` DROP adp_admins
ALTER TABLE `phpbb_config` DROP adp_' at line 2
Code: Select all
ALTER TABLE `phpbb_config` DROP adp_enable;
ALTER TABLE `phpbb_config` DROP adp_admins;
ALTER TABLE `phpbb_config` DROP adp_modos;
ALTER TABLE `phpbb_config` DROP adp_auto_edit;
ALTER TABLE `phpbb_config` DROP adp_text_edit;
ALTER TABLE `phpbb_config` DROP adp_days;
ALTER TABLE `phpbb_config` DROP adp_hours;
ALTER TABLE `phpbb_config` DROP adp_mins;
ALTER TABLE `phpbb_config` DROP adp_secs;
Error
SQL query:
ALTER TABLE `phpbb_config` DROP adp_enable;
MySQL said:
#1091 - Can't DROP 'adp_enable'; check that column/key exists