Hi,
I dont understand this phrase from the docs:
GET nodes/flattened
Gets a flattened node tree. Traversing this will return a list of nodes in the expected order.
Can someone please explain the difference between plain ian d flattened please?
I think this is in nodes and a few other places...
Hi,
I am trying to make an API endpoint to get the navigation.
I need to get the active links for which the user has permissions (by his token)
Now... in admin, each link has his own "Display condition"
But we also have XF permissions which apply to.. nodes
My first question is to what else...
Hi @Brogan - do we have docs where we can see the available conditions?
Or this is pure XF code?
Where can we see this code then? Like what objects are available under the $context ?
This condition $xf.visitor.user_id
means that if the visitor has an user_id it means he is logged I guess.
Hi,
I need to add a new user_state as we are having a 2 steps registration.
We have confirm_email, then we added account_incomplete, then valid.
Q1 - Is there an easy way to do this? I saw the advanceState() so it looks like the answer is no.
In this case we are we are just saving the new...
I am talking about the addon itself - nothing else.
It seems you say there is a way to transfer the addon completely from one developer to another through git commit?
The content of the xf_addon is not required to make it run?
I did that.
I ran the php cmd.php xf-addon:create and added them in the Development section.
What another team member needs to do to make it work - this is the question pls?
He pulled the addon PHP code from Git but the content of the addons table - how do team members share that? We just send...
Hi,
I created an addon on my local env, I committed the code but for my colleague the addon is not called.
I think it has to do with the fact that I have saved stuff regarding the addon in the db?
How do I commit this pls?
Laravel has migrations and seeders.. anything similar for addons in...
Hi,
Cant find docs on parameterBag vs filters?
In my Api I can find the variables only with filters.
When should filters be used and when parameterBag ?
Ceers!
Thanks @Kirby it works.
So the docs at https://xenforo.com/docs/dev/routing-basics/#controller-actions
Should be something like this:
When adding a route in the Admin -> Development -> Routes
Route Prefix - is the visible URL part of the route
Sub-name - not sure (no docs) - maybe still...
The xenforo code:
then the Laravel code:
and the route definition
https://www.awesomescreenshot.com/image/16510192?key=e7a4e2b78843a9404c5a2919862970c4
Thanks for looking into this
Ok I see so I could use that endpoint instead of creating a new endpoint - which I was trying to do.
However - how can I solve the action issue pls? It is something which I need to clarify.
As I said - in that controller, the register -> actionPost works but the register/confirm ->...