xenforo 2.1

  1. Cupara

    XF 2.1 Converting UTC datetime to readable datetime

    I have this type of DateTime: This is in UTC and I need to convert it to: So far I have this in my template: {{ date(date_from_format("Y-m-d\TH:i:s.u\Z", '{$posts.created_at}'), '') }} How do I get this to convert and display properly? Right now it displays as Jan 1, 1970, and I'm not sure...
  2. mcatze

    Unmaintained [ITM] Chevereto Integration 2.2.3.1

    A simple add-on that allows Xenforo admins to integrate their Chevereto image hosting. Chevereto documentation: https://chevereto.com/docs/pup Installation Auto-installation Go to ACP->Add-Ons and upload the ZIP file Manually installation Upload all files in /upload folder in your forum...
  3. SyTry

    XF 2.1 How to add Font Awesome before a text via CSS

    Hello, I'm currently updating my add-on to add Font Awesome icons in the Member View, but for now I use a lots of template modification.. I want to change it for a simple template modification to the EXTRA.less template. Here is the add-on ...
  4. SyTry

    XF 2.1 My CRON are not running

    Hello, I have a problem with my forum in XF 2.1 latest version. My CRON are not running, the date is 23 march 2020 but today is the 08 april 2020. I don't have any error nor warning, only noticed this. I can run my CRON manually and it work great, but the date don't change.. EDIT : PHP...
  5. Cupara

    XF 2.1 Proper use of date_from_format

    Here is the issue, I have a date format of 2019-12-24T15:46:23.978Z and I'm needing to form that into a proper date and time in my XenForo addon. This is being pulled using JSON. Thanks to @Sim in another thread, we figured out so far the following: {{ date_from_format("Y-m-d\TH:i:s:u\Z"...
  6. Cupara

    XF 2.1 Search Result Template Caller

    The question is similar to this one but for XF 2.1 https://xenforo.com/community/threads/search-result-template-caller.120528/ I'm trying to call columns in the Forum table that will be used in an if condition to avoid showing 18+ content on search results and member_recent_content. I have...
  7. SyTry

    XF 2.1 Condition in_array in a template

    Hello, I want to update my add-on with 2 new options : Excluded forums Excluded usergroups This one : https://xenforo.com/community/resources/sc-login-to-view-full-content.6790/ So, my problem is the condition. For forum : !in_array($thread.node_id, $xf.options.sc_ltvfc_excluded_forums) For...
  8. XenSoluce

    [SC] Prefix Filter 2.0.0 Fix 1

    Description : This add-on allows you to add a prefix filter when browsing your forum. Feature summary : Options : Label color : Red Green Olive Light green Blue Royal blue Sky blue Gray Silver Yellow Orange Error Hide prefixes not used Hide prefixesnumber Allowed forums Allowed categories...
  9. SyTry

    [SC] BB Code YouTube 1.0.0

    Description : This add-on allow you to add the BB Code [YTID] on your forum, to display a YouTube channel in your posts/threads. Feature summary : Style properties : Layout : Full Default Theme : Dark Light Count : Default Hidden Branding : This add-on does not include branding...
  10. foiovitor

    XF 2.1 http property's on https website

    Hello, I'm preparing move from XF1.5 to XF2.1. I have a test board installed at https://beta.testsite.com/forums Looking to source code of index board I find some http (non SSL): <meta property="og:site_name" content="Beta TestSite" /> <meta property="og:type" content="website" />...
  11. SyTry

    XF 2.1 How to use :last-child for grid

    Hello, Actually I'm making an add-on for XenForo 2.1, I have a page to show my partnerships like this : The problem is the width for the last grid, I want it to be 100% or I want to show my partnerships like this : Partner 1 Partner 2 Partner 3 Partner 4 Partner 5 Partner 6 This is...
  12. P

    Fixed Bug / Questionable code in the XFES plugin XF 2.1

    In the following file : ../addons/XFES/Service/Optimizer.php theres a check on line 38 that fails if(!$config['mappings']) { return true; } If "mappings" is not in the $config array, it will throw an "Undefined Index" error I've fixed this on my copy by changing it to :-...
  13. SyTry

    As designed Reactions received bug

    Hello, Actually I have 194 reactions score : But in my account details I have 232 : https://xenforo.com/community/account/reactions Regards, SyTry
Top