• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.


  1. hutch2323

    XF 2.0 Passing values from a textbox to .php function

    Hello again! I'm attempting to build a custom query page whereby a user (for admin use only) can enter a username into a textbox, click a search button, and retrieve the stored information connected to the username. Currently, I have blocks of code, but I'm not entirely sure how to combine it...
  2. CMTV

    XF 2.0 Accessing JS handler functions from outside

    Hi! Let's say I have two element handlers: A and B: XF.A = XF.Element.newHandler({ init: function() {}, test: function() { return 'hey!'; } }); XF.B = XF.Element.newHandler({ init: function() { // How to call "test()" function from A handler...
  3. kylerc

    Confirmed JS Stripe Style Data not Being Processed

    Hello, We found an issue with payment modals for user upgrades using Stripe in UI.X. It would appear that the style data is not being correctly processed to initialize a Stripe paid user upgrade. Specifically the JSON.parse on payment.js line 510 is able to receiving the following from UI.X...
  4. CMTV

    XF 2.0 Including external library (js and css)

    How to include external library (js and css files) in specific template that requires jQuery? I tried this code in template forum_view: <xf:head option="questionthreads_iconpicker"> <!-- Iconpicker styles --> <link rel="stylesheet" href="{{...
  5. katsulynx

    XF 2.0 Javascript & Addons

    Any intended structure and place for the javascript files that developers deploy alongside their addons? Do I put them to the non-existand folder js/addon? Do I have to manually add them to my addon deployment or is there any automatization? Or am I expected to put them into a template? I...
  6. T

    xenforo expert needed for customisation and mods

    We are looking for xenForo Developer to add 5-6 new mods to our forums. Here is what I need to be done for reference: - Custom New Thread Options - Reputaion System - Points System - Vote up & Vote Down for particular thread - Member Ranking System Also I want front page for my...
  7. sdrothrock

    XF 1.5 Text boxes sometimes do not appear

    This is another intermittent problem that's stumping me -- sometimes text boxes do not appear. I chalked it up to a delayed response/timeout and thought perhaps rendering templates from files would help, but it didn't. Using cloudflare and nginx, if that's relevant. Theme is Black Responsive...
  8. R

    Extend AutoValidator/Ignore errors

    I want to automatically trigger a button/submit a form, which is using the XenForo AutoValidator. However, I want to "catch" the error, so it does not show the error overlay it usually does if an error happens. The aim is to hide the button, so that the "form confirmation" happens automatically...
  9. Iomega0318

    Unmaintained PGN Chessboard 1.0

    Not really a request but noticed this thread here: https://xenforo.com/community/threads/chessboard-for-xenforo-available-or-not.117371/ So I decided to take it upon myself to do a simple, very simple example of what the OP was looking for, this can of course be taken much further and at some...
  10. CyberAP

    Use namespaces in events for easy unbinding

    Here is some code from xenforo.js: $(window).on('resize', function() { XenForo.checkQuoteSizing($(document)); }); Anonymous function was bind to 'resize' event in window. There is no way to unbind this function and save all other functions that were bind to 'resize'...
  11. Enguerran A

    Javascript, values and arrays

    Hi guys, I'm making a small widget for my board in order to calculate some stuff. It's supposed to be super basic and I was planning to use some javascript to get there but I'm facing a problem I cannot fix myself. I have a form with a select. I want my users to select one of the options, to...
  12. Ivo Pereira

    Style [PAID] Custom Header for my Theme

    Hello, I need someone to import an existing header that I already have from an Wordpress portal, into XenForo. I just need the HTML, CSS and JavaScript stuff, and I could treat by myself the dynamic part. I have the knowledge to do all the rest, but I am afraid I don't have time for it. PM me...
  13. S

    The perils of Redactor button initialization in JS

    $(document).on('EditorInit', function (event, ed) { // redactor === undefined var redactor = ed.$textarea.data('redactor'); setTimeout(function () { // redactor instance is finally here redactor = ed.$textarea.data('redactor'); console.debug('redactor instance')...
  14. katsulynx

    Run Function after Redactor is built

    I need to run a function everytime a redactor editor is built. It needs to be executed after the editor built is finished, so I can't hook into the editor setup unfortunately. Anyone got an idea on how to do that?
  15. creativeforge

    XF 1.4 Performance woes - sluggish on some Macs, and slow on PC

    There are Mac users who can't stand the sluggishness, as well as scrolling issues. Its not flickering (something reported with OS Yosemite) but choppy. I haven't tried on mobile (I don't have a mobile device). So I ran a GTMetrix scan, and here are the results. The PORTAL page is a WordPress...
  16. Mouth

    Speed up your site with a CDN 2015-07-18

    What is a CDN? A content delivery network or content distribution network (CDN) is a large distributed system of servers deployed in multiple data centers across the Internet. The goal of a CDN is to serve content to end-users with high availability and high performance. CDNs serve a large...
  17. creativeforge

    XF 1.4 Choppy scrolling (noticed on Safari, Mac Yosemite)

    (Please move to appropriate forum if not the right one? Thanks!) Hi all, Some members have been complaining about choppy scrolling today, pointing to the background image as the culprit. Evidently not the case, being only 60kb, but I changed it for an image weighing about 320 bytes. The...
  18. Tetris


    just testing, a JavaScript with HTML5 Canvas game I created. www.gamemakersforums.com
  19. Jeremy P

    Unmaintained Defer JS 2.2.4

    This add-on moves javascripts in page output to the bottom of the page. This has a noticeable impact on page-load times as pending HTTP requests postpone rendering of a page, while scripts aren't run until everything is loaded anyways. There is a blacklist available in the options for scripts...
  20. Andy.N

    Can Xenforo use Headjs to further improve speed?

    http://headjs.com/ This looks very promising. Maybe Xenforo folks can see if anything can be further optimized?