Posts of the Week

Posts of the Week 1.0.3

No permission to download

JohnLogar

Well-known member
JohnLogar submitted a new resource:

Post of the Week - Most reacted posts in the week.

Post Of The Week Add-on for XenForo

Elevate user engagement and highlight community interactions with the "Post Of The Week" XenForo add-on. This powerful tool automatically identifies and showcases the most reacted-to posts from your forum, providing a dynamic and engaging way to celebrate user contributions.

Key Features:

1. Highlight Top Content: Automatically feature the most reacted posts from the last week, capturing the essence of what your community...

Read more about this resource...
 
Post of the Week - Most reacted posts in the week.
This is a nice add-on, thanks for sharing.
A couple of suggestions - ACP options to i) not show media/images in posts, and ii) enable weeks to be expandable and collapsible.
i) due to images inside the posts making the POTW page need quite a bit of scrolling. User can click the post link to see the images.
ii) If the week section on the POTW page was expandable/collapsible, that would enhance user interface interface
 
Hello,
Thank you for this nice addon.
I have installed it and see that it can be usefull 👍

Thank you for your kind words and for using the "Post Of The Week" add-on! I'm glad to hear that you find it useful. If you have a moment, please consider leaving a rating. Your feedback helps improve the add-on and assists others in discovering it.
 
This is a nice add-on, thanks for sharing.
A couple of suggestions - ACP options to i) not show media/images in posts, and ii) enable weeks to be expandable and collapsible.
i) due to images inside the posts making the POTW page need quite a bit of scrolling. User can click the post link to see the images.
ii) If the week section on the POTW page was expandable/collapsible, that would enhance user interface interface

Thank you for your feedback and for using the "Post Of The Week" add-on! I'm glad you find it useful.
I appreciate your suggestions regarding the ACP options to exclude media/images and the expandable/collapsible weeks feature. These are great ideas, and I'll consider them for future updates to improve the user experience.

If you have a moment, please consider leaving a rating for the add-on. Your feedback helps others discover it and contributes to its ongoing improvement. If you have any more suggestions or questions, feel free to reach out!
 
Thank you but my site is not for profit and with some small donation we only buy or support plugins that are already working.
 
JohnLogar updated Posts of the Week with a new update entry:

[Update] Post Of The Week: Added Collapsible Posts + Image Hiding +Limit character of the Post

I'm excited to bring you some fantastic new features for the Post Of The Week add-on that will improve both the user experience and the presentation of your highlighted posts!

What’s New:

  • Collapsible Week Posts: Posts within the Post Of The Week section can now be collapsed for a cleaner, more organized display. Users can expand them when they want to read more, making the section easier to navigate.

    [ATTACH type="full"...

Read the rest of this update entry...
 
@Mouth — Thanks so much for your helpful suggestions! 🙌

I’ve implemented both of your ideas into the latest update of the Post Of The Week add-on:

  1. Hide Media/Images: You can now choose in the ACP to hide images within the posts, reducing the scrolling needed on the POTW page. Users can still click the post link to view images if they wish.
  2. Expandable/Collapsible Week Sections: The week section on the POTW page is now expandable and collapsible, improving the user interface and making it easier to navigate.
Thanks again for your input! I hope these updates enhance your experience with the add-on. Let me know if you have any other suggestions or feedback. 😊
 
Is there a demo or somewhere live I can check this out?
Thanks for your interest! Currently, I don’t have a live demo or dev server available, but I’m planning to set one up in the next few days. I’ll keep you posted as soon as it’s ready for you to check out.
 
I guess I'm mostly confused where this actually displays. Is it its own node, displaying in the forum list? Or does it show in each node it's toggled on?
 
Thanks for your question! Here’s how the "Post of the Week" (POTW) addon works:
  1. Selection Criteria:
    • The addon automatically selects the post with the reactions score which you can set e.g reaction score must be greater than x from the forum(s) you’ve chosen in the backend settings.
  2. Display:
    • The posts which comes in the selection setting is showcased on a dedicated POTW page, accessible via the public navigation menu (like a standalone "POTW" section).
    • It does not alter individual forum nodes—it simply pulls the post and displays it centrally.
Hopefully, this helps you to understand.
 
Looks like a solid addon. Does it sort and show the posts in a descending order if e.g. the reaction score is set to 10?

I would be very interested in this if it can keep a record of how many times a user has won the POTW and if that counter can be shown in the user postbit and member profiles e.g:

Joined: Jan 01, 2020
Messages: 500
POTW: 3
 
Looks like a solid addon. Does it sort and show the posts in a descending order if e.g. the reaction score is set to 10?

I would be very interested in this if it can keep a record of how many times a user has won the POTW and if that counter can be shown in the user postbit and member profiles e.g:

Joined: Jan 01, 2020
Messages: 500
POTW: 3
Thank you for the kind words and great feedback!

Yes, the add-on sorts posts in descending order based on the selected metric—so if you set the reaction score threshold to 10, it will show the top posts meeting or exceeding that score, with the highest at the top.

As for your suggestion regarding tracking how many times a user has won POTW and displaying it in their postbit and member profile—this is a fantastic idea! It’s not currently built-in, but it’s on my roadmap as a potential feature in an upcoming release. We’ll make sure to explore this and keep you updated.

Really appreciate your interest—stay tuned!
 
POTW v1.0.2
XF v2.2.17
URL: /potw/

TypeError: CoderBeams\POTW\Pub\Controller\Potw::getConfigFromOptions(): Argument #1 ($options) must be of type XF\Options, ArrayObject given, called in src/addons/CoderBeams/POTW/Pub/Controller/Potw.php on line 15 in src/addons/CoderBeams/POTW/Pub/Controller/Potw.php at line 30
  1. CoderBeams\POTW\Pub\Controller\Potw->getConfigFromOptions() in src/addons/CoderBeams/POTW/Pub/Controller/Potw.php at line 15
  2. CoderBeams\POTW\Pub\Controller\Potw->actionIndex() in src/XF/Mvc/Dispatcher.php at line 352
  3. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258
  4. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  5. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  6. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2513
  7. XF\App->run() in src/XF.php at line 524
  8. XF::runApp() in index.php at line 20
 
POTW v1.0.2
XF v2.2.17
URL: /potw/

TypeError: CoderBeams\POTW\Pub\Controller\Potw::getConfigFromOptions(): Argument #1 ($options) must be of type XF\Options, ArrayObject given, called in src/addons/CoderBeams/POTW/Pub/Controller/Potw.php on line 15 in src/addons/CoderBeams/POTW/Pub/Controller/Potw.php at line 30
  1. CoderBeams\POTW\Pub\Controller\Potw->getConfigFromOptions() in src/addons/CoderBeams/POTW/Pub/Controller/Potw.php at line 15
  2. CoderBeams\POTW\Pub\Controller\Potw->actionIndex() in src/XF/Mvc/Dispatcher.php at line 352
  3. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258
  4. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  5. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  6. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2513
  7. XF\App->run() in src/XF.php at line 524
  8. XF::runApp() in index.php at line 20

Thank you for reporting the issue and sharing the full error trace — it’s much appreciated.
The error: indicates that the getConfigFromOptions() method is expecting an XF\Options object, but it’s receiving an ArrayObject instead. This likely stems from how the controller is being called or how the environment is handling options in your setup.

To clarify, I haven’t tested POTW v1.0.2 specifically on XenForo v2.2.17 yet. I’ll install that version shortly, reproduce the issue, and apply a fix. This will be addressed in the next release (v1.0.3), and I’ll follow up once it’s resolved.

Thanks again for bringing this to my attention and helping improve the add-on!
 
JohnLogar updated Posts of the Week with a new update entry:

POTW v1.0.3 – Compatibility Fix for XF 2.2.17+

Changelog
  • Fixed: Type error related to getConfigFromOptions() when used on XenForo v2.2.17+, where an unexpected ArrayObject was passed instead of the expected XF\Options instance.
  • Improved: Controller logic now gracefully handles and recovers from option type mismatches to ensure compatibility across various XF versions.
  • Tested: Add-on now fully tested and compatible with XenForo 2.2.17 and above.

Read the rest of this update entry...
 
Back
Top Bottom