GMDprivateServer icon indicating copy to clipboard operation
GMDprivateServer copied to clipboard

add User comment ban.

Open RedLime opened this issue 4 years ago • 12 comments

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.

an image

RedLime avatar Aug 20 '20 07:08 RedLime

Related with #644

EMREOYUN avatar Aug 20 '20 07:08 EMREOYUN

@Cvolton can you commit it? 😀

RedLime avatar Aug 21 '20 00:08 RedLime

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,

Wyliemaster avatar Aug 23 '20 20:08 Wyliemaster

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

RedLime avatar Aug 24 '20 10:08 RedLime

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

EMREOYUN avatar Aug 24 '20 13:08 EMREOYUN

Merge now?

fancythedeveloper avatar Aug 25 '20 12:08 fancythedeveloper

Merge now?

not yet

RedLime avatar Aug 25 '20 13:08 RedLime

now i tested. it ready to merge

RedLime avatar Sep 04 '20 00:09 RedLime

@Cvolton merge

AToska21 avatar Feb 15 '21 07:02 AToska21

@Cvolton merge it now!!!

tzt345 avatar Jun 09 '21 15:06 tzt345

Don't force it!

EMREOYUN avatar Jun 10 '21 13:06 EMREOYUN

Don't force it!

K

tzt345 avatar Jun 10 '21 16:06 tzt345