burnacid / MyBB-Form-Creator

A MyBB 1.8 form creator
GNU General Public License v3.0
11 stars 6 forks source link

The Banned group cannot access the form, even if they allow it. #129

Open Walter-Correa opened 3 years ago

Walter-Correa commented 3 years ago

As the title says, even allowing all groups the Banned group cannot access, when you click on create topic it goes to the normal text editor and not to the form.

Walter-Correa commented 3 years ago

It only works if you check the Can view threads within forum? in the custom forum permissions for the Banned group.

burnacid commented 3 years ago

Please send me an export of the form config. So I can see how and what.

Walter-Correa commented 3 years ago

Please send me an export of the form config. So I can see how and what.

[{"name":"Revis\u00e3o de Banimento","active":"1","fid":"2","tid":"0","overridebutton":"1","class":"","settings":{"allowedgidtype":"-1","allowedgid":["2","3","4","6","7"],"customdenied":"","limitusage":"0","pmusers":"","prefix":"2","uid":"","customsuccess":"","signature":"0","posticon":"0","showsummary":"0","summaryparsed":"0","customsummary":"","width":"","labelwidth":"","pmgroups":[""]},"subjecttemplate":"Revis\u00e3o de Ban - {$fieldvalue[4]} | Motivo: {$fieldvalue[3]}","messagetemplate":"[align=center]\r\n[b]Administrador que Baniu[\/b]\r\n{$fieldvalue[2]}\r\n\r\n[b]Motivo do Banimento[\/b]\r\n{$fieldvalue[3]}\r\n\r\n[b]Conta Banida[\/b]\r\n{$fieldvalue[4]}\r\n\r\n[b]Relat\u00f3rio do ocorrido e justifica\u00e7\u00e3o[\/b]\r\n{$fieldvalue[6]}\r\n \u00a0 \u00a0 \u00a0 \u00a0 \r\n[b]V\u00eddeos e Screenshots[\/b]\r\n{$fieldvalue[6]}\r\n[\/align]\r\n","fields":[{"fieldid":"1","name":"FORMUL\u00c1RIO DE POSTAGEM","description":"Preencha os campos adequadamente, do contr\u00e1rio, seu pedido ser\u00e1 rejeitado e voc\u00ea poder\u00e1 ser punido(a)!","type":"9","default":"","required":"0","order":"0","class":"","settings":null},{"fieldid":"2","name":"Administrador que Baniu:","description":"O nome do administrador que baniu voc\u00ea.","type":"1","default":"","required":"1","order":"1","class":"","settings":{"maxlength":"20","size":"20"}},{"fieldid":"3","name":"Motivo do Banimento:","description":"Selecione um motivo padr\u00e3o que se encaixa no motivo usado pelo Admin.","type":"3","default":"","required":"1","order":"2","class":"","settings":{"options":"Cheats \/ Hacks \/ Mods\r\nDivulga\u00e7\u00e3o\r\n3\/3 Avisos\r\nOfensa\r\nAnti-RPG\r\nDesconhecido"}},{"fieldid":"4","name":"Seu nome no servidor:","description":"Digite o nome da conta que foi banida.","type":"1","default":"","required":"1","order":"3","class":"","settings":{"maxlength":"20","size":"20"}},{"fieldid":"5","name":"V\u00eddeos ou Screenshots do ocorrido:","description":"Cole o link das screenshots ou v\u00eddeos, um abaixo do outro.","type":"2","default":"Sem imagens ou v\u00eddeos.","required":"1","order":"4","class":"","settings":{"maxlength":"750","cols":"70"}},{"fieldid":"6","name":"Relate o ocorrido e justifique-se:","description":"Conte o que aconteceu e explique por que voc\u00ea merece ser desbanido(a).","type":"2","default":"","required":"1","order":"5","class":"","settings":{"maxlength":"500","cols":"70","rows":"3"}},{"fieldid":"7","name":"Enviar","description":"","type":"11","default":"","required":"0","order":"6","class":"","settings":null}],"usage":[{"uid":"1","ref":"1","datetime":"2017-11-03 17:40:06"},{"uid":"1","ref":"2","datetime":"2018-04-11 19:28:41"},{"uid":"1","ref":"4","datetime":"2020-06-18 16:48:16"},{"uid":"9","ref":"3","datetime":"2018-04-29 17:39:36"}]}]

burnacid commented 3 years ago

Checked and confirmed. Workaround for now is the user can sign out. I don't know yet if I can fix this.

burnacid commented 3 years ago

Or you can add "Can view board" permission to your Banned group. image