When you look at what you want to edit, right click and inspect, you will see a value data-template-name="public:whats_new" this tells me that the template I'm looking at is in the public category, and that the template name is whats_new.
If I go and do this in the admin control panel, it would...
Following on from this I have created a repository:
https://github.com/QuackieMackie/xf-username-banner-gifs
So if anyone has any they'd like to share please feel free to do so.
I didn't like using a hard coded template modification, it made updating the categories a pain, so I made an add-on to let me manage it in the admin control panel.
This is the kind of feature I would like to see in the Xenforo core.
https://github.com/Sylphian-Network/Sylphian-HelpPage
I was recently looking through other people's sites to try and find inspiration on what I could try style wise and I came across @MentaL's site https://forum.ragezone.com/
They’ve done something really interesting with user banners and names, adding small GIFs to make them stand out more and I...
It's been a while since I've worked with alerts, but from a quick check the Alert/AbstractHandler.php is how you define the alerts, then you need a content type to register that handler, then you need to create a template for that alert to user.
Here are all the related files in one I created...
In the template I'm doing this:
<xf:css>
.motd-container
{
.xf-sylphian_verify_minecraft_motd();
}
</xf:css>
<xf:if is="$server.motd">
<div class="contentRow-snippet motd-container">{$server.motd|raw}</div>
</xf:if>
But that doesn't seem to be working. Should I be using a separate...
In case you weren't aware, these PRs have been updated to the new docs format. If there's any problem with how this has been done let me know. It was my first time fixing a conflict of this size, so I learnt as I worked through them.
https://github.com/xenforo-ltd/docs/pull/76...
What you want to do is have this in your template:
<xf:checkboxrow label="{$option.title}"
hint="{$hintHtml}"
explain="{$explainHtml}"
name="{$inputName}[userGroups]"
value="{{ $option.option_value.userGroups ?: [] }}"...
I think you might have misunderstood what I was suggesting. I'm looking for something more like this:
I can do it myself, but I think this would be a huge improvement for the help page if this was added into Xenforo as a core feature.