fords8
Well-known member
Please see edits below.
I just got this to install on a 2.3.7 forum that has a lot of addons installed. I will attach the file for anyone wanting to try it. I have lightly tested it so far. Please backup before doing anything. Bumped the version to 1.0.2 and changed the background color in av_ttm_long_titles so some of the words show up better.
EDIT: Maybe I should release this under AIXF.
EDIT: Found an error that I need to fix. Removed attached for now.
EDIT: Fixed some things that had to do with deleting. Changed background color for av_ttm_thread_preview to read the words. Bumped version number to 1.0.3. Attached file again.
I just got this to install on a 2.3.7 forum that has a lot of addons installed. I will attach the file for anyone wanting to try it. I have lightly tested it so far. Please backup before doing anything. Bumped the version to 1.0.2 and changed the background color in av_ttm_long_titles so some of the words show up better.
This should be fixed as well.Errors when installing
Code:Line 77: The function viewsPerDay may not be called in a template. Only functions with whitelisted prefixes are allowed. - Template name: admin:av_ttm_macros
Code:Exception: Could not find class AV\ThreadTitles\XF\Pub\Controller\Thread when attempting to extend XF\Pub\Controller\ThreadController src/XF/Extension.php:217 Generated by: Unknown account Sep 21, 2025 at 1:08 PM Stack trace #0 src/XF/App.php(3383): XF\Extension->extendClass('XF\\Pub\\Controll...', NULL) #1 src/XF/App.php(1853): XF\App->extendClass('XF\\Pub\\Controll...') #2 src/XF/Container.php(233): XF\App->{closure:XF\App::initialize():1850}('XF\\Pub\\Controll...', Array, Object(XF\Container)) #3 src/XF/App.php(3334): XF\Container->create('controller', 'XF:Thread', Array) #4 src/XF/Mvc/Dispatcher.php(301): XF\App->controller('XF:Thread', Object(XF\Http\Request)) #5 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'index', Object(XF\Mvc\RouteMatch), NULL, NULL) #6 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), NULL, NULL) #7 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #8 src/XF/App.php(2824): XF\Mvc\Dispatcher->run() #9 src/XF.php(806): XF\App->run() #10 index.php(23): XF::runApp('XF\\Pub\\App') #11 {main} Request state array(4) { ["url"] => string(59) "/threads/" ["referrer"] => bool(false) ["_GET"] => array(0) { } ["_POST"] => array(0) { } }
Code:Exception: Error rendering navigation: Could not find class AV\ThreadTitles\XF\Entity\Thread when attempting to extend XF\Entity\Thread src/XF/Extension.php:217 Generated by: Unknown account Sep 21, 2025 at 1:08 PM Stack trace #0 src/XF/Mvc/Entity/Manager.php(56): XF\Extension->extendClass('XF\\Entity\\Threa...') #1 src/XF/Mvc/Entity/Manager.php(71): XF\Mvc\Entity\Manager->getEntityClassName('XF:Thread') #2 src/XF/Mvc/Entity/Finder.php(796): XF\Mvc\Entity\Manager->getEntityStructure('XF:Thread') #3 src/XF/Mvc/Entity/Finder.php(672): XF\Mvc\Entity\Finder->join('LastThread', true, false, false) #4 src/XF/Mvc/Entity/Manager.php(223): XF\Mvc\Entity\Finder->with(Array) #5 src/XF/Repository/NodeRepository.php(145): XF\Mvc\Entity\Manager->findByIds('XF:SearchForum', Array, Array) #6 src/XF/Navigation/NodeType.php(259): XF\Repository\NodeRepository->loadNodeTypeDataForNodes(Array) #7 src/XF/Navigation/NodeType.php(140): XF\Navigation\NodeType::loadPendingNodeData() #8 internal_data/code_cache/navigation_cache.php(290): XF\Navigation\NodeType::displayNodeExtended(425, 'sponsored_threa...') #9 src/XF/Template/Templater.php(8170): XF\Pub\App->{closure:internal_data/code_cache/navigation_cache.php:3}(Object(SV\StandardLib\XF\Template\Templater), 'forums', Array) #10 src/XF/Pub/App.php(625): XF\Template\Templater->renderNavigationClosure(Object(Closure), 'forums', Array) #11 src/XF/Pub/App.php(576): XF\Pub\App->getNavigation(Array, 'forums') #12 src/XF/App.php(2571): XF\Pub\App->renderPageHtml(' <div class="b...', Array, Object(XF\Mvc\Reply\Error), Object(XF\Mvc\Renderer\Html)) #13 src/XF/Mvc/Dispatcher.php(414): XF\App->renderPage(' <div class="b...', Object(XF\Mvc\Reply\Error), Object(XF\Mvc\Renderer\Html)) #14 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\Error), 'html') #15 src/XF/App.php(2824): XF\Mvc\Dispatcher->run() #16 src/XF.php(806): XF\App->run() #17 index.php(23): XF::runApp('XF\\Pub\\App') #18 {main} Request state array(4) { ["url"] => string(59) "/threads/" ["referrer"] => bool(false) ["_GET"] => array(0) { } ["_POST"] => array(0) { } }
And after table unknown because addon is not fully installed.
Code:Stack trace #0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/bodyforum...', 748) #1 src/XF/Template/Templater.php(748): trigger_error('Macro admin:av_...', 512) #2 src/XF/Template/Templater.php(867): XF\Template\Templater->getTemplateMacro('admin', 'av_ttm_macros', 'duplicate_table') #3 internal_data/code_cache/templates/l18/s0/admin/av_ttm_dashboard.php(17): XF\Template\Templater->callMacro('av_ttm_macros', 'duplicate_table', Array, Array) #4 src/XF/Template/Templater.php(1799): XF\Template\Templater->{closure:internal_data/code_cache/templates/l18/s0/admin/av_ttm_dashboard.php:4}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL) #5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('av_ttm_dashboar...', Array) #6 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render() #7 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Html->renderView('AV\\ThreadTitles...', 'admin:av_ttm_da...', Array) #8 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View)) #9 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View)) #10 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html') #11 src/XF/App.php(2824): XF\Mvc\Dispatcher->run() #12 src/XF.php(806): XF\App->run() #13 admin.php(15): XF::runApp('XF\\Admin\\App') #14 {main} Request state array(4) { ["url"] => string(18) "/admin.php?av-ttm/" ["referrer"] => string(63) "https://" ["_GET"] => array(1) { ["av-ttm/"] => string(0) "" } ["_POST"] => array(0) { } }
EDIT: Maybe I should release this under AIXF.
EDIT: Found an error that I need to fix. Removed attached for now.
EDIT: Fixed some things that had to do with deleting. Changed background color for av_ttm_thread_preview to read the words. Bumped version number to 1.0.3. Attached file again.
Attachments
Last edited: