- Fix for "Trying to get property 'Category' of non-object" which could crop up.
- Fix "Please enter valid title " error when using the Warning Service from custom code with a custom warning definition.
I'm baffled at how those where lost then. If you edit the warning and the category and give them usable names again it should be fixedNeither of those phrases titles turn up in a phrase search
You'll need to edit the warning category, update the title and then save it.But I don't have any categories, the one at the top (sv_warning_category_title.1) is not there when I disable the addon.
I'm currently focusing on porting my paid add-ons, so this would be a low priority.Would it be possible to have View own warnings permission based? Thanks.
You'll need to edit the warning category, update the title and then save it.
The add-on automatically creates one called "Warning" when you install the add-on, and then assigns any warnings to it. This url path should let you use it; /admin.php?warnings/category-edit&warning_category_id=1But I don't have any categories
INSERT INTO xf_sv_warning_category (warning_category_id, parent_category_id, display_order, allowed_user_group_ids)
VALUES (1, NULL, 0, 2)
- Support the "All user groups" option for Warning category permissions
- This changes the defaults so this add-on no longer requires configuration for warnings to keep working on initial install
- Migrate Warning Category user group allowed list to known-good format
- Do not allow original Warning Category id 1 to be deleted
It should give a permission denied error, not an "oops we ran into problems". I'll look into that this weekend.Obviously the alert in this case cannot link to a warning, but in that case it would better if users got a more useful message other than Ooops We ran into some problems.
It should give a permission denied error, not an "oops we ran into problems". I'll look into that this weekend.
I'll probably have it remove the link if there isn't any permission.
We use essential cookies to make this site work, and optional cookies to enhance your experience.