XF 2 Tip Identifying and using variables in templates, advertising positions, navigation entries, and widgets

What are variables? In simple terms, variables are names which hold values. These values are stored in the database and are used in templates to evaluate and present the content and data. Using variables in templates opens… https://enxf.net/resources/identifying-and-using-variables-in-templates-advertising-positions-navigation-entries-and-widgets.2639/

XF 2 Tip Randomising content

Randomising content can be used in various ways, the most common of which is for header images and logos, or advertising banners. This guide will explain how it can be done simply with two lines of code (which ironically has taken a hundred… https://enxf.net/resources/randomising-content.2640/

XF 2 Tip [JoyFreak] Custom PWA 1.0

Open template PAGE_CONTAINER: Find: HTML: <link rel=”manifest” href=”{{ base_url(‘webmanifest.php’) }}”> Replace: Code: <link rel=”manifest” href=”{{ base_url(‘webmanifest.json’) }}”> 1. Download the webmanifest.zip and extract the contents onto your desktop. 2. Open file webmanifest.json with notepad: Edit all areas that say “EDIT”. It’s pretty self explanatory and you can use the default webmanifest.php as guidance if you’ve… Continue reading XF 2 Tip [JoyFreak] Custom PWA

XF 2 Tip [JoyFreak] Change forum_list title and H1 only

Head over to your Admin CP > Setup > Options > Basic Options > Change your board title to the name of your forum only. For example, JoyFreak is my board name. This will be used consistently throughout the forums and you want to keep the… https://enxf.net/resources/joyfreak-change-forum_list-title-and-h1-only.2725/

XF 2 Tip [JoyFreak] Set Open Graph Image

This guide will help you to set your forum’s open graph image. It will use the first image in your thread, whether linked directly or attached. Open template: thread_view Find: Code: <xf:set var=”$fpSnippet” value=”{{… https://enxf.net/resources/joyfreak-set-open-graph-image.2726/

XF 2 Tip Additional language for [code=…] bbcode

Since xenForo 2.0.1 release you can add additional language support on your forum. There was no way to do so before due to this bug. This method of adding additional language was proposed by @Chris D. In this example, I will be adding LaTeX… https://enxf.net/resources/additional-language-for-code-bbcode.2751/

XF 2 Tip [JoyFreak] Postbit Cover

Description This guide will run you through on how to allow your members to set a postbit cover photo that will display within their posts/messages. Guide Create a custom user field. Go to Admin CP > Users > Custom… https://enxf.net/resources/joyfreak-postbit-cover.2762/

XF 2 Tip [JoyFreak] Disable Member Tooltip

Description This guide will run you through on how to disable member tooltip the efficient way without having to edit more than one template. Guide Go to Admin CP > Appearance > Templates > Search… https://enxf.net/resources/joyfreak-disable-member-tooltip.2763/

XF 2 Tip [JoyFreak] Custom Account Details

Description This guide will run you through on how to make your account details page look trendy with this customisation. Guide Go to Admin CP > Appearance > Templates > Search: account_details Go to Admin… https://enxf.net/resources/joyfreak-custom-account-details.2764/