My assumption is no, as I couldn't find this referenced anywhere after searching, but maybe someone knows for sure (or the correct syntax).
Can a XF Finder return the Relation of a Relation? Aka:
$finder = $this->finder('Sysnative\Addon:Entity1');
$finder...
Unfortunately this generates the same URL issue - the output is:
:index.php?addon-link/page-2:
{$forum} is available in the template and is used elsewhere. The route format is :int<node_id,title>/:page
The pagenav I'm loading on the start page which is:
index.php?addon-link/2/
2 is the...
Hey all,
I'm trying to get this pagination link to work correctly - I have the following code in my template:
<xf:pagenav page="{$page}" perpage="{$perPage}" total="{$total}" link="addon-link/{$forum.node_id}" />
I'd like the URL structure to be:
addon-link/<node_id>/page-2
The current...
Question -
If I want to post an automated reply to a thread on thread creation, but still trigger notifications on the response (email + alert) - is there a better class for me to extend to do this?
At the moment extending the ForumController finalizeThreadCreate class works, but doesn't...
Okay disregard - I was extending the wrong class (trying to extend Admin Forum creation rather than the Pub ForumController.
Still curious if anyone has a better suggestion or approach.
Hi,
I'm running into an issue extending the Forum class - what I'm trying to achieve is to automatically add a reply after a thread is created. I'm trying to extend the "finalizeThreadCreate" method in the Forum class.
I have some code which is currently doing nothing as far as I can tell. Two...
If I ever needed proof about this add-on being worthwhile...
We had an older version installed that broke with XF2.3 (updated now and fixed), and in a few hours had 50+ spam registrations that the add-on would usually have blocked.
Definitely the best anti-spam add-on we have.
Thanks! That seems to work.
Preference would also be for the #XF[data-color-scheme="light"] method to work as well - load any "light" variables if the system default is light.
I saw that post originally - but how would I set this to remove rules already set?
The CSS rules only apply to the "light" variant (aka default) - I want there to be no extra CSS applied for the dark variant, rather than explicitly overriding this back to the defaults.
I'm trying to set some styling specific to the "Light" version of our theme - this is working fine when "Light" is explicitly selected for a logged in user, but anytime the style variation setting is set to "System", the styling disappears.
#XF[data-color-scheme="light"]...
Kinda a pain if it stops working - although I can switch to a normal code on the app. Shame they're killing it.
Considering you now have Passkey support - is adding 2FA via FIDO2 an option for a non-passkey alternative?
@Jeremy P - thanks for the new version!
Is there a syntax guide for this anywhere? I'm struggling to work out how these are meant to be pulled in. E.g. for this one:
.p-body-sidebar{
.block-minorHeader{
.m-faBefore(@fa-var-ellipsis);}
Previously...