@Lukas W. I realized today why the external google fonts I was trying to add weren't loading when I had more than one. The add-on is calling in the google fonts stylesheet like this:
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lato|Lobster|Fira+Sans|Dancing+Script">...
I created a usergroup that is supposed to be able to see private currencies. But members of that usergroup are unable to do so, despite having the permissions set.
Here is the currencies' privacy setting:
I analyzed the permissions of one such user:
This is what they see on their own...
Aaah, thank you! It's only a handful of nodes and only triggers when the LastThread is one that was flagged as nsfw, so I don't expect it to pop up too often. But I'll look at that and see if I can figure out how to improve that.
Thank you! I couldn't really figure out how to make use of the Last reply cache. But I managed to achieve what I was looking for by modifying the Forum Entity's getNodeListExtras function.
public function getNodeListExtras()
{
$output = parent::getNodeListExtras()...
I am working on an add-on that allows my members to create threads that are flagged as Private. They can only be viewed by other members who have opted in to view these Private threads.
A member who is not supposed to view these threads do not see them in the activity feed or the thread...
Hello! Is there a way in XF2 to retrieve today's date in a controller?
I used this code in my XF1 controller, but I haven't been able to find an equivalent in XF2 yet.
$today = XenForo_Application::$time;
Hello! I'm trying to build an add-on where members use a form to submit information on a reservation they'd like to make. My Reserves entity, however, throws the following error when I try to call it:
This is my Entity php:
<?php
namespace Goss\Reserves\Entity;
use XF\Mvc\Entity\Structure...
Are you using the "Restrict addition of tag to threads in these forums" feature for the tag?
I get the same "Some tags are blacklisted" error if I try to use a tag restricted to a specific forum in a different forum. It would be helpful if there was a different error message in that situation...
Is there a way to modify the snowfall so that it either falls over just the header of the forum? Or displays only on the forum index? I don't want the snow effect falling over actual posts.
That would just be for within a thread, wouldn't it?
I was actually attempting to add a widget above the list of threads within a forum node. I figured it out though! It was actually forum_view (and search_forum_view for search forums) that I was looking for, and I was able to add in my widget.