GMDprivateServer
GMDprivateServer copied to clipboard
add User comment ban.
it needs toolCommentban role permission!
you can ban who people of upload wrong comment.
/database/tools/commentBan.php
Through here, you can designate userID, duration and some reason to ban as you want.
and last, a comment ban's are contains 16
modaction id.
Related with #644
@Cvolton can you commit it? 😀
current version didnt work when i test, its because it lacks a few columns in the users table
i added this to the users table in the database.sql and it worked
commentBanDuration
int(11) NOT NULL DEFAULT 0,
commentBanTime
int(11) NOT NULL DEFAULT 0,
commentBanReason
varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 0,
current version didnt work when i test, its because it lacks a few columns in the users table
i added this to the users table in the database.sql and it worked
commentBanDuration
int(11) NOT NULL DEFAULT 0,commentBanTime
int(11) NOT NULL DEFAULT 0,commentBanReason
varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 0,
oh i'm so sorry. i forgot it :( i will fix that
current version didnt work when i test, its because it lacks a few columns in the users table i added this to the users table in the database.sql and it worked
commentBanDuration
int(11) NOT NULL DEFAULT 0,commentBanTime
int(11) NOT NULL DEFAULT 0,commentBanReason
varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 0,oh i'm so sorry. i forgot it :( i will fix that
Fix that and include there, do not open a new Pull Request
Merge now?
Merge now?
not yet
now i tested. it ready to merge
@Cvolton merge
@Cvolton merge it now!!!
Don't force it!
Don't force it!
K