Mövzunu Açan
#1
Resource Hub — Add-on
A new release is now available on the RaxBoard Marketplace.
Version: 1.2.8 (build 11208)
Compatibility: RaxBoard >=1.0.0
What's new
# Resource Hub 1.2.8
Released together with RaxBoard 2.0.0.
Requires RaxBoard 2.0.0 or newer (before: 1.9.1) and PHP 8.1 or newer. Upgrade in place; resources, versions and settings are kept. The upgrade converts old tag data once (see below), keeps a copy of every changed value, and adds the new phrases (English and Turkish), seven of them for the tag manager; phrases you edited are kept.
## Fixed
- **Tag manager showed raw code as tags.** Resources brought in by an older import kept the source forum's data format in their tags, so Admin > Resource Hub > Tags listed fragments of that code as tag names, and renaming or deleting one acted on a piece of that text. The tag manager and the resource page now read both formats, and also recover the tag names from values that an earlier rename or delete had cut apart, including values that were damaged twice and now look like a nested list (every readable name is kept, no code is shown as a tag). The upgrade converts every such resource to a plain comma list once, keeping every tag and its order, and removing duplicates; a second run changes nothing. The original value of each converted resource is saved first in the table `rb_resource_tags_backup` (one row per resource, never overwritten; it is removed when the add-on is uninstalled). Rename and Delete now change only the tag you picked.
- **Tags with a Turkish capital I with a dot** (for example the capital form of "Istanbul") can be renamed, deleted and searched like any other tag, and a tag that is literally named `[]` is no longer lost.
- **Tags page on a phone, right-to-left languages:** the use count no longer touches the tag name, and the current page number in the pager is easy to read (contrast 17:1 instead of 3:1).
- **Dates in the board's language.** Version dates, and the dates in the admin approval queue, are shown in the board's language and date order instead of English.
- The dot separators in the admin Deleted resources and Approval queue lists are readable (they were 1.5:1) and are hidden from screen readers.
- On narrow screens the rows of the admin Deleted resources list and the Approval queue no longer overlap: the buttons move under the title and the author, category and date wrap onto a second line.
- The options page checks its values (whole numbers in range, file extensions, sort order) and tells you what to correct; nothing is saved on error.
- Saved options apply at once and are written to the admin log ("Resource Hub options saved") and option history.
- The review voting select offers its three modes.
- Admin menu entries follow the page permissions.
## Added
- **Tag manager search and paging.** The Tags page has a search box, shows the number of tags, and lists 50 tags per page. After a rename or delete you return to the same search and page. On a phone the rename field sits under the tag name and every control is at least 44 pixels high.
## Admin pages
- The page title names the add-on, labels use sentence case and the queue has one name, "Approval queue"; confirmations in five forms use the board's own confirmation window.
- Field forms have a "Field type" label and show the labelled choices box only for choice fields and the maximum length only for text fields; the deleted-resources page labels the owner change and says that hard delete is permanent; the category form describes its forum and prefix settings in plain words and keeps the rules and allowed lists in collapsed groups; the options page explains the extension and size fields; empty custom-field and review-field pages say what they are for and offer the add button.
- Lists and forms show a one-line description under the title instead of a repeated heading, and delete buttons say "Delete permanently"; wording from earlier builds is updated in place on upgrade (text you edited yourself is kept).
- The watch-digest scheduled task has the short title "Resource Hub watch digest" in the cron editor and log; a task still carrying the old long title is renamed on upgrade, a title you wrote yourself is kept.
## Restoring an original tag value
To undo the conversion for one resource, run: `UPDATE rb_resources r JOIN rb_resource_tags_backup b ON b.resource_id = r.resource_id SET r.tags = b.old_tags WHERE r.resource_id = 123;` (replace 123 with the resource id; leave out the WHERE part to restore every converted resource).
Get it
View on the Marketplace
— Posted automatically by the RaxBoard Marketplace.
A new release is now available on the RaxBoard Marketplace.
Version: 1.2.8 (build 11208)
Compatibility: RaxBoard >=1.0.0
What's new
# Resource Hub 1.2.8
Released together with RaxBoard 2.0.0.
Requires RaxBoard 2.0.0 or newer (before: 1.9.1) and PHP 8.1 or newer. Upgrade in place; resources, versions and settings are kept. The upgrade converts old tag data once (see below), keeps a copy of every changed value, and adds the new phrases (English and Turkish), seven of them for the tag manager; phrases you edited are kept.
## Fixed
- **Tag manager showed raw code as tags.** Resources brought in by an older import kept the source forum's data format in their tags, so Admin > Resource Hub > Tags listed fragments of that code as tag names, and renaming or deleting one acted on a piece of that text. The tag manager and the resource page now read both formats, and also recover the tag names from values that an earlier rename or delete had cut apart, including values that were damaged twice and now look like a nested list (every readable name is kept, no code is shown as a tag). The upgrade converts every such resource to a plain comma list once, keeping every tag and its order, and removing duplicates; a second run changes nothing. The original value of each converted resource is saved first in the table `rb_resource_tags_backup` (one row per resource, never overwritten; it is removed when the add-on is uninstalled). Rename and Delete now change only the tag you picked.
- **Tags with a Turkish capital I with a dot** (for example the capital form of "Istanbul") can be renamed, deleted and searched like any other tag, and a tag that is literally named `[]` is no longer lost.
- **Tags page on a phone, right-to-left languages:** the use count no longer touches the tag name, and the current page number in the pager is easy to read (contrast 17:1 instead of 3:1).
- **Dates in the board's language.** Version dates, and the dates in the admin approval queue, are shown in the board's language and date order instead of English.
- The dot separators in the admin Deleted resources and Approval queue lists are readable (they were 1.5:1) and are hidden from screen readers.
- On narrow screens the rows of the admin Deleted resources list and the Approval queue no longer overlap: the buttons move under the title and the author, category and date wrap onto a second line.
- The options page checks its values (whole numbers in range, file extensions, sort order) and tells you what to correct; nothing is saved on error.
- Saved options apply at once and are written to the admin log ("Resource Hub options saved") and option history.
- The review voting select offers its three modes.
- Admin menu entries follow the page permissions.
## Added
- **Tag manager search and paging.** The Tags page has a search box, shows the number of tags, and lists 50 tags per page. After a rename or delete you return to the same search and page. On a phone the rename field sits under the tag name and every control is at least 44 pixels high.
## Admin pages
- The page title names the add-on, labels use sentence case and the queue has one name, "Approval queue"; confirmations in five forms use the board's own confirmation window.
- Field forms have a "Field type" label and show the labelled choices box only for choice fields and the maximum length only for text fields; the deleted-resources page labels the owner change and says that hard delete is permanent; the category form describes its forum and prefix settings in plain words and keeps the rules and allowed lists in collapsed groups; the options page explains the extension and size fields; empty custom-field and review-field pages say what they are for and offer the add button.
- Lists and forms show a one-line description under the title instead of a repeated heading, and delete buttons say "Delete permanently"; wording from earlier builds is updated in place on upgrade (text you edited yourself is kept).
- The watch-digest scheduled task has the short title "Resource Hub watch digest" in the cron editor and log; a task still carrying the old long title is renamed on upgrade, a title you wrote yourself is kept.
## Restoring an original tag value
To undo the conversion for one resource, run: `UPDATE rb_resources r JOIN rb_resource_tags_backup b ON b.resource_id = r.resource_id SET r.tags = b.old_tags WHERE r.resource_id = 123;` (replace 123 with the resource id; leave out the WHERE part to restore every converted resource).
Get it
View on the Marketplace
— Posted automatically by the RaxBoard Marketplace.