clarkwinkelmann you should see it listed as an extension in Flarum admin panel. It's just called "Backoffice" and has a green icon.
Right. My bad. I should have checked it.
Is there any flarum site who run Taxonomies, that I may take a look?
clarkwinkelmann you should see it listed as an extension in Flarum admin panel. It's just called "Backoffice" and has a green icon.
Right. My bad. I should have checked it.
Is there any flarum site who run Taxonomies, that I may take a look?
ash3T not my website, but I know this website uses user taxonomies on public profiles https://community.skillsnet.swiss/
Taxonomies will also soon be visible on the Flamarkt demo platform on product pages.
I can't think of any publicly available website that uses taxonomies for discussions at this time.
clarkwinkelmann Great. Would you leave a link when it ready? I will wait to see how it works.
As for the public profiles on https://community.skillsnet.swiss/ , I checked a few people's public profiles. None of them use that function yet.
I just installed the backoffice in a new setup, and when I access the backoffice for the first time it showed the no-js view, as I have very few third party extensions I have randomly disabled extensions and it seems that the problem is related to FoF Night Mode.
Edit: I've tried now with an old site where I used the taxonomies since a few months ago and now the backoffice doesn't work either, also because of FoF Night Mode, I suspect it's because of one of the last updates of this extension.
Darkle I can confirm, there's an issue when Nightmode is enabled.
Interestingly but not unexpectedly, it's not a javascript error. In fact javascript works perfectly fine. It's just the CSS that is entirely missing from the Backoffice. You can still perform most actions, the UI will just be absolutely horrible without any styling.
I opened an issue to track this but I currently don't have much time to investigate flamarkt/backoffice1
Nightmode has always been a big mess with the way it overrides the assets compiler. I believe it's still incompatible with my Wordpress extension as well, which also uses custom Flarum frontends.
clarkwinkelmann Oh that's right, looking it over I automatically thought it was the no-js view but as you say it's not, it's functional, if I see anything related I'll post it in the issue, for now I think it only causes that with the backoffice, so disabling Nightmode momentarily to work in the backoffice is a viable option until there's a fix.
I just install backoffice with Composer and can't use it. Got this message
This special admin panel gives extensions a new place for moderation tools.
It's still a work in progress. This space will accept widgets just like Flarum's admin in a future version.
I use Flarum version 1.6.1 is there anyways to use Flamarkt here
nguyenplayground this extension only provides an empty admin panel for other extensions to use.
Flamarkt is not ready to be tested yet. The code is on GitHub for people with the requisite developer knowledge, but there won't be any guide available until the first version is ready.
clarkwinkelmann Thank you for your response. I'm really excited to try this plugins
In the Composer.json test file there is no line flamarkt/backoffice << in the admin page there is a Backoffice entry
Please tell me how to delete the Backoffice extension
Litalino other extensions use this as a dependency. Likely the taxonomies extension. composer why flamarkt/backoffice
can help you figure it out.
I reinstalled backoffice and taxonomies
Composer is displayed
"flamarkt/backoffice": "0.1.3",
"flamarkt/taxonomies": "0.1.9",
I enable backoffice. In the backoffice settings, I enable additional taxonomies and get an error
POST https://flarum.khatvongsong.vn/api/extensions/flamarkt-taxonomies 500 (Internal Server Error)
(anonymous) @ request.js:173
(anonymous) @ request.js:23
(anonymous) @ request.js:22
e.request @ Application.tsx:518
n.toggle @ ExtensionPage.tsx:228
n.onchange @ Checkbox.tsx:59
(anonymous) @ withAttr.ts:14
j.handleEvent @ render.js:888
flamarkt-taxonomies:1
Uncaught (in promise) mr {status: 500, options: {…}, xhr: XMLHttpRequest, responseText: '{"errors":[{"status":"500","code":"unknown"}]}', response: {…}, …}alert: {type: 'error', content: Array(1), controls: false}options: {background: true, url: 'https://flarum.khatvongsong.vn/api/extensions/flamarkt-taxonomies', method: 'POST', body: {…}, deserialize: ƒ, …}response: {errors: Array(1)}responseText: "{\"errors\":[{\"status\":\"500\",\"code\":\"unknown\"}]}"status: 500xhr: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, abort: ƒ, onreadystatechange: ƒ, …}[[Prototype]]: Object
Promise.then (async)
n.toggle @ ExtensionPage.tsx:235
n.onchange @ Checkbox.tsx:59
(anonymous) @ withAttr.ts:14
j.handleEvent @ render.js:888
Finally, taxonomies are not enabled in backoffice settings
Litalino anything in the Flarum error log or when enabling debug mode and trying again? See https://docs.flarum.org/troubleshoot
If you need further help, please post in the Taxonomies extension discussion as the problem seems to be with Taxonomies and not Backoffice https://discuss.flarum.org/d/30499-flamarkt-taxonomies
In fact Backoffice has no database tables/columns at all so there should be no way for an error to happen when enabling Backoffice.
clarkwinkelmann
I get an error:
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'flamarkt_discussion_taxonomy_term' already exists in /home/flarum.khatvongsong.vn/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
...
I installed this extension to have the Post Stream Search which is great BTW, thanks. Now, it’s not a problem to have that dummy Backoffice menu item in my profile menu, but is there any CSS that can remove it?
The reason there is no css is admin#/extension/fof-nightmode : FoF Night Mode
FoF Night Mode: Enable >>> it shows the view without backoffice.css
flamarkt/backoffice1 <<<<
Litalino unfortunately that Nightmode issue has been a pain and I have no clear idea how to fix it because Nightmode causes such a deep impact on the Flarum assets and frontend logic. It's really a Nightmode issue since it also breaks other extensions that use custom fronteneds. At this time I don't have any plan to fix it (since I have absolutely no idea how...)
CyberGene I have not tried, but something as simple as .Header-controls .item-flamarkt-backoffice { display: none }
should do it. .Header-controls
would not even be required but it's a bit safer so it doesn't start hiding stuff in other unexpected places.