[Pushed] an error in the code?
#1
in setting we have


Show 'edited by' Messages
Once a post is edited by a regular user, do you want to show the edited by message?

Show 'edited by' Message for Administrators and Moderators
Do you want to show edited by messages for posts created by administrators and moderators?

in php


if($post['edituid'] != 0 && $post['edittime'] != 0 && $post['editusername'] != "" && (($mybb->settings['showeditedby'] != 0 && $usergroup['cancp'] == 0) || ($mybb->settings['showeditedbyadmin'] != 0 && $usergroup['cancp'] == 1)))

hmmm

whats about moderators in php code?
My Plugins

PM only paid support
Reply
#2
There should be a select box what groups are affected....
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#3
@supryk - will you open a PR or share your suggested code, thank you.

https://github.com/mybb/mybb/issues/4173
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)