code

  1. XenFun

    XF 2 Add-on [Telegram] Two Factor

    XenFun submitted a new resource: [Telegram] Two Factor - Allows you confirm your authentication with Telegram as Two Factor provider Read more about this resource...
  2. XenFun

    [Telegram] Two Factor 2.0.3

    Allows enabling your Telegram account as Two Factor providers. Two methods are available now: One-time code. You receive code from bot which should be entered in the browser on the website. Buttons. You receive two buttons from the bot (Accept/Decline). After pressing "Accept", the...
  3. XenFun

    XF 2.x Guide XenForo BB code

    BB code is a widely-used system of markup that allows text to be formatted with different fonts, colors, and sizes, along with other abilities like emboldening or italicising the text. It is loosely based on HTML markup, so, for example, the BB code to define bold text is , and you would use it...
  4. XenFun

    XF 2.x Guide XenForo Config.php options

    All of the information XenForo needs to connect to your database server is located in the src/config.php file. Depending upon how you installed XenForo, config.php may have created by copying the contents of the original src/config.php.default file or the XenForo installer may have created if...
  5. XenFun

    XF 2.x Dev Guide XenForo Template Syntax

    The XenForo 2 template syntax is a powerful tool for both developers and forum administrators, giving you complete control over the layout of your XenForo pages. Best practices XenForo tags, by convention, are lowercase. All XenForo tags are prefixed with the xf: namespace. Useful information...
  6. XenFun

    XF 2.x Dev Guide XenForo Entities, finders, and repositories

    There are a number of ways to interact with data within XF2. In XF1 this was mostly geared towards writing out raw SQL statements inside Model files. The approach in XF2 has moved away from this, and we have added a number of new ways in its place. We'll first look at the preferred method for...
  7. XenFun

    XF 2.x Dev Guide XenForo Add-on Structure

    In previous versions of XF, there were very few standards and conventions surrounding add-on development. We have done a lot to change that in XF 2.0. Let's look at some of the changes: Add-on IDs and add-ons path Each installed add-on must have a unique ID, and this ID dictates where on the...
  8. XenFun

    XF 2.x Dev Guide XenForo Controller basics

    Controller basics At a basic level, Controllers are the code that is executed when you visit a page within XF. Controllers are generally responsible for handling user input and passing that user input to the appropriate place which, generally, would be to perform some sort of database action...
  9. XenFun

    XF 2.x Dev Guide XenForo Routing basics

    Routing basics Within a PHP application, like XF2, we need a way of being able to take a user request for a specific URL, understand which controller, action and what data that URL represents, so that can present the appropriate response to the user. The concept of converting a URL to a location...
Top