Thanks, everything working as expected
About upgrading, is it safe to replace the files if I'll be skipping a few versions? Just realized I'm still running 1.53, and can't find the files for 1.60 and 1.61. If I download 1.62 from here, and replace the files, will it still upgrade properly?
(01-02-2013 02:45 PM)Seabody Wrote: [ -> ]is it safe to replace the files if I'll be skipping a few versions?
XThreads upgrader will handle it for you.
This plugins add new "Sort by" options in the forum display, could it be possible to add a new "Sort by approved/unapproved" option usable only by the forum moderators? Just a suggestion.
I don't believe MyBB supports secondary sorting, so sorting by approval status may not give you what you want.
It makes more sense as a filter - if that's what you want.
(01-06-2013 01:34 PM)ZiNgA BuRgA Wrote: [ -> ]It makes more sense as a filter - if that's what you want.
Ah yes, filtering is what I meant.
How does "Editable by Usergroups" works when selecting "Moderators"? It is based off canmodcp? Because though I'm a moderator (administrators can moderate any forum) the field is not visible to me.
Based on MyBB's is_moderator() call.
PHP Code:
elseif(($v['editable'] == XTHREADS_EDITABLE_MOD && !is_moderator($fid)) ||
($v['editable'] == XTHREADS_EDITABLE_ADMIN && $GLOBALS['mybb']->usergroup['cancp'] != 1) ||
($v['editable'] == XTHREADS_EDITABLE_NONE))
|
If you have Super Moderator permissions (admins should) then is_moderator() should always return true.
Oh I see, you mean "Editable by / Required Field?" whereas I meant Custom -> Editable by Usergroups . I did set it to moderators and is working as expected, thanks.
Is there anyways to force more free permissions? For example, I want to set it up to "Custom -> Moderators|Journalists|Administrators" and only affect if user is moderator of that forum.
If you're specifically selecting usergroups, then you'll actually have to specify all the groups that will need access.
If you're asking how to do that, then, uh... Ctrl/Shift key?