I'm trying to get the IP address of the website user in one of my addons.
In regular PHP sites you can do this:
$ip = $_SESSION['REMOTE_ADDR'];
I'm wondering what the xenforo 2 equivalent is. If anyone can help that would be much appreciated.
I'm trying to update the user's secondary groups using a super user api key. I want to add the user to group 5, which is a test group I've created. I'm getting a success message but the secondary groups haven't changed. Anyone know why it's not updating?
$vars = [...
In Chrome, Firefox & Edge, my site no longer displays the reply box on threads. However, on Safari & Internet Explorer, it shows up fine. The issue was first reported last night, and I updated from XF 1.5.10 to 1.5.12 soon after. Any idea what the problem is?
I noticed today that my editor for new posts looks like the following image. The buttons work fine, and the tooltips show up as expected but the icons appear to be missing.
Any suggestions for how to fix this?