Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
Note that this is handled via an additional argument to the asVisitor method to attempt to avoid any potential differences in behavior (it defaults to not changing the language/timezone). This was generally just something we expected to be handled outside of this method (which was primarily for ensuring the correct user was selected for things like permission checks, etc).Also worth mentioning that generally speaking, we don't change method signatures in third point/stable releases because it can create compatibility issues with add-ons. The XF object is pretty much the one exception to that because there's zero expectation that its extended (and zero opportunity to within XF). There is one very-much-theoretical way you could do it, but I think it's reasonable to say that it's well outside the scope of what's expected.
Note that this is handled via an additional argument to the asVisitor method to attempt to avoid any potential differences in behavior (it defaults to not changing the language/timezone). This was generally just something we expected to be handled outside of this method (which was primarily for ensuring the correct user was selected for things like permission checks, etc).
asVisitor
Also worth mentioning that generally speaking, we don't change method signatures in third point/stable releases because it can create compatibility issues with add-ons. The XF object is pretty much the one exception to that because there's zero expectation that its extended (and zero opportunity to within XF). There is one very-much-theoretical way you could do it, but I think it's reasonable to say that it's well outside the scope of what's expected.
XF
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences