Hey guys.
I need to be able to add this to my xenforo headers...
header( 'Content-Security-Policy: frame-ancestors https://*.mywebstie.com' );
I tried using htaccess, it isn't working and I suspect it is being overridden with php inside of xf.
I am good with php but I am not good with xf...
Oh wait!
I figured it out. I needed to pass an extra parameter to the setcookie() function and specify the main domain, so the cookie is shared across subdomains.
Now the the script above works.
Yes this was my belief too, but all the responses looking around on the forum kept pushing people to the rest api, so I just tried it because possible magic.
Can you please direct me to one that you know works? As you can see above I tried coming up with something based on code snippets that I...
Hi guys.
I am upgrading to Xenforo 2 and I need to be able to remotely log into XF2 from another subdomain
my login form is on form.mywebsite.com and xf2 is on forums.mywebsite.com
As suggested I am using the Auth rest API
When I pass the login credentials, I do get a success response...
Hey guys,
Trying to redesign my forum header to match my wordpress theme.
Basically trying to find an element's css properties in the style system so I can change it. I used crome to get the id of the element, but I just can't track it down, even with the search function inside the style...