1. Stéphane Lenclud

    Download links favicons with Javascript

    Introduction Many websites including slions.net do decorate links with favicons from their target. To achieve this on XenForo I've been using that Favicon For Links AddOn. It is simply using a Google service to fetch said favicon. However I grew frustrated at the amount of prominent sites whose...
  2. Stéphane Lenclud

    Code syntax highlighting on XenForo

    Introduction I wanted to improve my experience with code syntax highlighting notably to support this article. XenForo is using Prism javascript library to perform syntax highlighting client side. Requirements I notably needed to support Kotlin language and deploy a syntax colour theme that's...
  3. Stéphane Lenclud

    XenForo fine tuning

    Here we comment on some of the XenForo settings adjustment we find appropriate. Messages options Increase maximum messages length as needed. Increase maximum image per message as needed. Disable inline editing if desired.
  4. Stéphane Lenclud

    XenForo prevent new user from starting threads

    If like me you want to prevent newly registered users on your XenForo forum to post new threads here is how you do it. Set the "post new thread" permission to "Not Set (No)" for the "Registered" group: Set the "post new thread" permission to "Allow" for every group which needs it:
  5. Stéphane Lenclud

    XenForo GeSHi Syntax Highlighter dark theme

    XenForo default code block functionality is rather basic. Thankfully GeSHi Syntax Highlighter add-on provides richer support for hundreds of programming languages. However the default GeSHi colour scheme is far from ideal on dark background therefore, once again, we needed some extra...
  6. Stéphane Lenclud

    XenForo Artodia Dark Responsive style fine tuning

    Here we describe final adjustments we made to that excellent Artodia Dark Responsive theme for XenForo. Colour adjustments Focused Form Control background and text colour were changed from yellowish and black to blue (@secondaryLightest) and white (@activeColor) respectively. Message User...
  7. Stéphane Lenclud

    XenForo change font of posts content

    To change the font used to display post content both in the editor or in page find the following setting: Admin Control Panel > Appearance > Style Properties > Message Elements > Message Text
  8. Stéphane Lenclud

    XenForo image drop shadows

    I wanted to add a neat drop shadow to images and remove that ugly white box when hovering links and images. Also added boldness to links while I was there. Just add the following to your EXTRAS.CSS template. /* Decorate our images with drop shadows */ .bbCodeImage { border-radius: 4px...
  9. Stéphane Lenclud

    XenForo add-ons

    Just wanted to list here the XenForo add-ons I need to checkout: BBCodes & Buttons Manager TinyMCE Quattro Favicon for Links - Shows favicon before links. [bd] Attachment Store - Shows images when editing posts. GeSHi Syntax Highlighter. Lazy loader
  10. Stéphane Lenclud

    XenForo Artodia Styles

    After experimenting with XenForo colour palettes for a few hours, I came to the conclusion I should rather spend an extra 30 quids on a Premium Style package instead of investing so much time customizing the XenForo Default Style which can be frustrating at times. I initially settled with one...
  11. Stéphane Lenclud

    XenForo web browser header colour

    Some web browsers, notably on smartphones, let web developers specify a colour that will be used to decline the tints of the web browser header and title bar as well as the smartphone status bar. The following StackOverflow comment provides code samples on how to achieve that. Here is the...
  12. Stéphane Lenclud

    XenForo favicon

    Those icons your web browser usually show on its tabs are called favicon in web developer jargon. They notably allow users to easily navigate their browser’s tabs while exposing them to your brand. Funny enough XenForo v1.5.12 did not seem to provide any built-in support for favicon. However...
  13. Stéphane Lenclud

    XenForo color palette

    XenForo is the renowned forum software we are using to run this present web site. Now it's a fairly great piece of software but I find it lacks documentation. This article is about customizing the colour palette specifically for XenForo 1.5.12. In fact adjusting the colour palette is probably...