[TH] Trending [Deleted]

One more Server error log:

Code:
ErrorException: [E_NOTICE] Undefined index: prefixId src/addons/ThemeHouse/Trending/Pub/Controller/Trending.php:203

Generated by: nirmalya6999 Feb 6, 2021 at 2:21 PM

Stack trace

#0 src/addons/ThemeHouse/Trending/Pub/Controller/Trending.php(203): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nadda/pub...', 203, Array)
#1 src/addons/ThemeHouse/Trending/Pub/Controller/Trending.php(146): ThemeHouse\Trending\Pub\Controller\Trending->getFilterInput()
#2 src/XF/Mvc/Dispatcher.php(350): ThemeHouse\Trending\Pub\Controller\Trending->actionFilters(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('ThemeHouse\\Tren...', 'Filters', Object(XF\Mvc\RouteMatch), Object(ThemeHouse\Trending\Pub\Controller\Trending), NULL)
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(ThemeHouse\Trending\Pub\Controller\Trending), NULL)
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#7 src/XF.php(488): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state

array(4) {
  ["url"] => string(197) "/trending/threads.1/filters?prefix_id=0&_xfRequestUri=%2Ftrending%2Fthreads.1%2F%3Fprefix_id%3D0%26page%3D1&_xfWithData=1&_xfToken=1612599705%2Cbb7faa3e6ee5ac2565acf55621e9eddb&_xfResponseType=json"
  ["referrer"] => string(61) "/trending/threads.1/?prefix_id=0&page=1"
  ["_GET"] => array(5) {
    ["prefix_id"] => string(1) "0"
    ["_xfRequestUri"] => string(39) "/trending/threads.1/?prefix_id=0&page=1"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1612599705,bb7faa3e6ee5ac2565acf55621e9eddb"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
 
One more Server error log:

Code:
ErrorException: [E_NOTICE] Undefined index: prefixId src/addons/ThemeHouse/Trending/Pub/Controller/Trending.php:203

Generated by: nirmalya6999 Feb 6, 2021 at 2:21 PM

Stack trace

#0 src/addons/ThemeHouse/Trending/Pub/Controller/Trending.php(203): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nadda/pub...', 203, Array)
#1 src/addons/ThemeHouse/Trending/Pub/Controller/Trending.php(146): ThemeHouse\Trending\Pub\Controller\Trending->getFilterInput()
#2 src/XF/Mvc/Dispatcher.php(350): ThemeHouse\Trending\Pub\Controller\Trending->actionFilters(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('ThemeHouse\\Tren...', 'Filters', Object(XF\Mvc\RouteMatch), Object(ThemeHouse\Trending\Pub\Controller\Trending), NULL)
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(ThemeHouse\Trending\Pub\Controller\Trending), NULL)
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#7 src/XF.php(488): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state

array(4) {
  ["url"] => string(197) "/trending/threads.1/filters?prefix_id=0&_xfRequestUri=%2Ftrending%2Fthreads.1%2F%3Fprefix_id%3D0%26page%3D1&_xfWithData=1&_xfToken=1612599705%2Cbb7faa3e6ee5ac2565acf55621e9eddb&_xfResponseType=json"
  ["referrer"] => string(61) "/trending/threads.1/?prefix_id=0&page=1"
  ["_GET"] => array(5) {
    ["prefix_id"] => string(1) "0"
    ["_xfRequestUri"] => string(39) "/trending/threads.1/?prefix_id=0&page=1"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1612599705,bb7faa3e6ee5ac2565acf55621e9eddb"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
I've resolved this issue internally and we should be able to have a new version with a fix ready next week.
 
Still does not fixed Server error log:

Code:
ErrorException: [E_NOTICE] Undefined index: trending_id src/addons/ThemeHouse/Trending/ActivitySummary/Trending.php:29

Generated by: Nirjonmela Mar 4, 2021 at 10:48 PM

Stack trace

#0 src/addons/ThemeHouse/Trending/ActivitySummary/Trending.php(29): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nadda/pub...', 29, Array)
#1 src/XF/Entity/ActivitySummarySection.php(93): ThemeHouse\Trending\ActivitySummary\Trending->__construct(Object(XF\Admin\App), Object(DBTech\Mail\XF\Entity\ActivitySummarySection))
#2 src/XF/Mvc/Entity/Entity.php(157): XF\Entity\ActivitySummarySection->getHandler()
#3 src/XF/Mvc/Entity/Entity.php(110): XF\Mvc\Entity\Entity->get('handler')
#4 src/XF/Admin/Controller/ActivitySummary.php(42): XF\Mvc\Entity\Entity->__get('handler')
#5 src/XF/Admin/Controller/ActivitySummary.php(84): XF\Admin\Controller\ActivitySummary->sectionAddEdit(Object(DBTech\Mail\XF\Entity\ActivitySummarySection))
#6 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\ActivitySummary->actionAdd(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:ActivitySumm...', 'Add', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\ActivitySummary), NULL)
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\ActivitySummary), NULL)
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#11 src/XF.php(488): XF\App->run()
#12 admin.php(13): XF::runApp('XF\\Admin\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(55) "/admin.php?activity-summary/add&definition_id=thrending"
  ["referrer"] => string(50) "/admin.php?activity-summary/"
  ["_GET"] => array(2) {
    ["activity-summary/add"] => string(0) ""
    ["definition_id"] => string(9) "thrending"
  }
  ["_POST"] => array(0) {
  }
}
 
Hi, just bought this addon, and now I want to use it in the Mainmenu. It works, but the Tab want stay active. It always shows FORUM as active Tab. How can I change this?
 

Attachments

  • question_active_tab_trending.webp
    question_active_tab_trending.webp
    72.9 KB · Views: 12
Is there a way to exclude certain threads from the trending page/widget? For example, the "welcome" thread etc. which aren't necessarily needed.
 
Possible to add a trending icon beside the thread title in thread list?

Like put a fire icon (user configurable) there for the first N (user configurable) trending threads in the thread list.

(Trended threads don't have to be on top of the list, I'm just borrowing a screen cap from another irrelevant add-on.)

2021-05-26-8-22-18.jpg
 
That's not possible. Threads are sorted by their trending score (what exactly that entails depends on the algorithm you have selected). We don't store any actual positions though, so their position information is not available outside that context.
 
Would be interested in getting people's thoughts on this addon. I see lots of complaints about bugs and slow updates but of course that's what you expect to see on a support thread.

How are people finding the addon otherwise? Performance for large forums? Is support/updates reasonable?
 
How are people finding the addon otherwise? Performance for large forums? Is support/updates reasonable?
Our update frequency for this add-on is currently as needed for maintenance. We don't have any feature additions in the pipeline, so consider the front page feature list as what there will likely be for now.

Regarding performance, there's been a few bottlenecks in earlier versions, but to my knowledge we've all but resolved them by now. You can see the add-on in action on MacRumors (2m threads, 29m posts) to list one of a bunch of big board examples.
 
Cheers

My bigger concern was say when a new version of XF was released, are we likely to be waiting months for this to be made compatible?

(I've purchased and it's working great on our test site)
 
Big and exciting changes are coming as we adjust our trajectory, just know that we’ll be with you every step of the way. Take a look at our announcement here for more information. If you have any questions, please contact us here so we can assist.

*People who have purchased this product in the past will continue to have access to updates as long as the product is maintained. The license it was purchased under will remain intact.
 
Top Bottom