Search results

  1. G

    XF 2.2 Question regarding votes migration from another system (XF2.1)

    Hi, I am currently using another system to allow people to vote Threads. Migrating to XF2.2 will make this addon redundant as XF 2.2 already has the "Suggestion" forum type which is super cool and needed. So I already have the thread_id and the user_id from the old voting system. I wrote a...
  2. G

    XF 2.1 XenForo 2.1.10 Patch

    Hi, Can the latest patch (2.1.10) be applied to 2.1.7 and 2.1.8? Or only if running 2.1.9? Thanks
  3. G

    XF 2.1 Are responses encoded?

    Hi, I probably already know the answer but I thought I'd better ask to be sure. Are XF ajax responses encoded or is this done in the XF template system? Meaning, can they be safely used in .html() in an external app? Thanks
  4. G

    XF 2.1 Get a user's avatar by email

    Hi, Is it possible to get a user's avatar by their email? Unless I am mistaken, getAvatarUrl is not available when using Finder. Edit: Nevermind. I will just hard-code the path and use user_id. Thanks
  5. G

    XF 2.1 Load header on external page

    Hi, Any guides on how to load the forum header on an external page? Similar to the Kotomi addon (which has been deprecated) Thanks in advance
  6. G

    XF 2.1 Users don't receive emails on ALL replies on a watched topic

    Hi, Some users have reported that they don't always receive email when a reply is posted on a topic they are watching. The email is setup and working perfectly. No errors within the admin area, no errors in postfix logs. Now I need to verify whether this is normal or not. If I watch a...
  7. G

    XF 2.1 Serve theme's static content via CDN

    Hi, As the title says, I'd like to serve all static content of my theme (not running the default one) via CDN. (at least the images) I thought of writing an add-on to replace the links before rendering. I assume that would work? This way I can switch it on/off with a click of a button instead...
  8. G

    XF 2.1 Settings change after upgrade?

    Hi, I had Registration disabled and after upgrading (from 2.1.2 to 2.1.7) I found out (after being bombarded by bot registrations) that it was enabled after the upgrade. Is it by design or could it be there was a glitch in my installation? Thanks
  9. G

    XF 2.1 Threads are pending approval but still visible to all

    Hello, I get this weird issue and I am not sure if it's a configuration issue or a bug. Most probably a config error as it would have been reported by many others if it was the latter. Whenever a topic gets moderated by Akismet, users can still see it and reply to it even though it hasn't been...
  10. G

    XF 2.1 What is affected if globalSalt is specified/changed

    Hi, As per the title, if globalSalt was to be specified in the config file manually, what would be affected? User sessions? Caching etc? Thanks
  11. G

    XF 2.1 Create redirect thread programmatically

    Hi, I use a script to create threads externally. Works fine. I want however whenever I create a new thread to have another thread created which will be a redirect of the first. a) Create thread in forum A b) Create a thread in forum B which will be redirecting to the thread in forum A I...
  12. G

    XF 2.1 Regarding Statistics

    Hi, I have upgraded from 1.5 to 2.1 and everything works fine except from the statistics. The numbers shown are completely wrong. It's like it's showing averages or something, even though the numbers don't add up anw. This is not only for new posts/topics/registrations after the upgrade but...
  13. G

    XF 2.1 Best way to disable/enable class extensions via an option

    Hi, I'd like to enable some addon-specific class extensions when the addon is enabled and disable them when it's disabled. So I added a checkbox in the addon options to control enable/disable. What is the best way to deal with the class extensions? a) Create a call back validation function...
  14. G

    XF 2.0 Export widget from site A and Import to Site B

    Hi, What is the easiest way to copy widget position/content from one site to another?
  15. G

    XF 2.0 Forum category always shows as unread to guests

    Hi, I've upgraded from 1.5 to 2.X and I have the following issue. Non-logged in users always see the first category of the forum as unread no matter what. I've tried clearing caches, different browsers etc but still the same. Has anyone else seen such thing before?
  16. G

    XF 2.0 Slow loading of additional css

    Hi, I have edited page_container and added some extra HTML code in the header and the CSS of it in extra.less. (edited page container = used the template modification) The problem is when the page is loaded the newly added header section is shown broken for about a second until the extra css...
  17. G

    XF 2.0 Clear File health check log

    Hi, I am getting an error that some files have been changed and to review them. I made the changes in those files so they are OK. Is there any way I can mark those files as "Reviewed" so that the error goes away? Or is there any way I can tell Xenforo that the current state of those files is...
  18. G

    XF 2.0 Logout all users

    Hi, I want to logout all users but keep the default cookie prefix. Will manually clearing the xf_session table do the job? Thanks
  19. G

    XF 2.0 Delete template or detach from add-on

    Hi, I have development/debug mode on yet I cannot delete a template, only revert. I would like to delete one I created and also detach one from my add-on. I assume editing /_data/templates.xml won't work because that is automatically created. Do I manually edit the database?
  20. G

    XF 2.0 Event listener to replace default route

    Hi, I want to setup an event listener on my addon to change the registration URL to something else (external). When user clicks on Register it should take them to the link I specify. I thought I should listen to router_public_setup but it doesn't seem to be the case?
Top