[TH] Featured Threads and Content Portal [Deleted]

We have updates prepped for it for 2.3 compatibility, but I'm not sure currently what the longer term future of this addon is seeing as it is a core feature in 2.3 (albeit not with all the functionality of the addon).

Your addon is far more functionally rich than the XF 2.3 one. It would be a shame not to see it. Perhaps build on the new XF2.3 base?
 
I test and It work
Thank you very much for your help
I know this is an old thread but I wonder if you could explain how you got this working?
I am trying to display a "Recent Threads" widget in the sidebar for various forums, and have it only show recent threads from the current forum. Having trouble understanding the widget setup and syntax I guess.
Thank you.
@Jake B.
 
We haven't officially updated it for 2.3 as we're still assessing how we want to hand this addon alongside the core 2.3 functionality, but I just tested and the automatic featuring seems to be working as expected still, so it's likely there's an issue with the criteria you have set up.
 
We haven't officially updated it for 2.3 as we're still assessing how we want to hand this addon alongside the core 2.3 functionality, but I just tested and the automatic featuring seems to be working as expected still, so it's likely there's an issue with the criteria you have set up.
I like your addon and happily usint it. But if you can consider improving portal design it would be appreciated. I think this addon is deserving better homepage design.
 
I doubt we’ll be embarking on any active development of new features or rebuilding existing features, we will likely either update the addon to be 2.3 compatible as-is or look to integrate it with the core feature, but otherwise whatever functionality that’s there will remain. We wouldn’t get any value from continuing to develop it when it’s now mostly a core feature.
 
Of course you should consider development and your efforts. But I added default featured threads page below. Design is really terrible so I am sure many user will still prefer your addon.

 
We haven't officially updated it for 2.3 as we're still assessing how we want to hand this addon alongside the core 2.3 functionality, but I just tested and the automatic featuring seems to be working as expected still, so it's likely there's an issue with the criteria you have set up.
EDIT: I did edit/save on 1 post and it showed up, and then did the same on another post and it show up but removed the first one! (on featured page, on widget however both posts are still being shown)
----
Original post:

I don't get it at all.
On featured page nothing shows up (I have threads tagged featured). I haven't found how to control what shows up there, it's not posts that are "featured", so I'm confused by that.

The widgets also don't show any post, I did select forums that have posts as source.
screencapture-retrogametalk-admin-php-2024-09-18-10_57_01.webp
 
Last edited:
Are you sure you're featuring them with the addon and not the default XF feature? The addon is definitely still functional so can only really suggest that something isn't set up correctly.
 
Are you sure you're featuring them with the addon and not the default XF feature? The addon is definitely still functional so can only really suggest that something isn't set up correctly.
You can see on my post the /th-featured/ page and the widget config screenshot. It is this add-on. I don't doubt it's functional I just don't understand it.
 
But what thread specifically are you expecting to see and not? Check if it is featured to appear on the featured page.

The featured page pulls through featured content that is configured to show on the featured page, the widgets pull through featured content in the selected forums.

When you say "tagged as featured", that looks to be the default XF feature to me, I don't think our addon adds that tag. To be clear, the default XF featuring system and this addon are totally unrelated, and featuring with the default XF feature will not pull through to the featured page. I would imagine there is a mixup in how the items are being featured.
 
Yeah, so I tested and this tag is from the native 2.3 feature function:

1726664238706.webp

So if you're seeing this, it's not featured as part of this addon.
 
Last edited:
Yeah, so I tested and this tag is from the native 2.3 feature function:

View attachment 311101

So if you're seeing this, it's not featured as part of this addon.
Right, must be a left over from before, it is featured in both systems since it shows up in the widget (top of forum).

In my defense the options aren't really distinctive.
Untitled.webp

Even when featured with this plugin it doesn't show up on https://retrogametalk.com/th-featured/
. I'm confused of why could that be?
settings.webp
 
ACP > Setup > Options > [TH] Featured Threads and Content: General Options > Feature page options > there's limits here on how many it shows, but it will show a lot more than 1 by default.
 
ACP > Setup > Options > [TH] Featured Threads and Content: General Options > Feature page options > there's limits here on how many it shows, but it will show a lot more than 1 by default.
Yeah i see it, i didn't set that to 1, I tried changing the value it has no effect.
You can see here I featured 2 posts https://retrogametalk.com/forums/
And you can see here only 1 shows up https://retrogametalk.com/th-featured/
These are the plugin settings:
Untitled.webp

How is this possible?
 
So it seems to be that the slider isn't working on the featured page because jQuery was removed.

Edit the thfeature_macros template, after this:

<xf:css src="thfeature_slick.css" />

add this:

<xf:js src="vendor/jquery/jquery-slim.js" min="1" />
 
So it seems to be that the slider isn't working on the featured page because jQuery was removed.

Edit the thfeature_macros template, after this:

<xf:css src="thfeature_slick.css" />

add this:

<xf:js src="vendor/jquery/jquery-slim.js" min="1" />
Progress! I added that it works now with slider enabled.
With slider disabled it also works but there's an error on console:

Code:
th-featured/:260 Uncaught ReferenceError: $ is not defined

PS: Is it my fault that line was missing? I don't understand how that happened.
2.webp
 
No, we haven't released a 2.3 version that adds jQuery back yet. Honestly it probably just needs a compatibility update, the slider is still using jQuery.

Try using this line for jQuery instead of the other one:

<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
 
No, we haven't released a 2.3 version that adds jQuery back yet. Honestly it probably just needs a compatibility update, the slider is still using jQuery.

Try using this line for jQuery instead of the other one:

<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
It's the same with this line or the other.
I have a different question, i notice the images don't show up, i checked and
Code:
<div class="block-body" style="">
style is empty.
While on he post that it works is says:
Code:
<div class="block-body" style="background-image: url('/data/thfeature/feature_backgrounds/0/1.jpg?1726649674')">

All of them have an image attachment on top.

EDIT: After un-featuring and re featuring all threads lost the image background on both grid/slider.
Jquery is also missing while on the individual "feature thread" options screen (I don't know if that's related.)

EDIT2: I feel like i should just not use it if it's not ready for 2.3 Let me know and I'll stop trying :)
 
Last edited:
Back
Top Bottom