Search results

  1. U

    XF 2.1 Get Client IP

    Hi Everyone. 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.
  2. U

    XF 2.1 User API Secondary Groups

    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? <?php $vars = [...
  3. U

    XF 1.5 Reply Box Missing

    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?
  4. U

    XF 1.5 Editor BBCode buttons missing icons

    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?