Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 13, 200915 yr Adds a list of recent topics to the board index In this list shouldn't be included topics from Trash can (or some other unwanted categories). My one admin deleted some posts and they were moved into trash can. Now I see 4 "new topics" which are actually deleted posts. It's really useless. Set up of Recent Topics hook should depends on Select the forums you don't wish to search for new posts when using either the 'get active topics' or 'view new posts' links. You may select more than one.Recent Topics View New Posts: Block Forums
July 13, 200915 yr It's really easy to fix it :) Open: ./hooks/boardIndexRecentTopics_064a4f27500f09efa4fdba1c301b88d5.phpFind: Hope this helps :)$this->registry->class_localization->loadLanguageFile( array( 'public_topic', 'forums' ) ); Add below: $this->settings = $this->registry->fetchSettings(); Find: foreach( $this->registry->getClass('class_forums')->forum_by_id as $forumID => $forumData ) { Add below: if ( $forumData['id'] == $this->settings['forum_trash_can_id'] ) { continue; }
Archived
This topic is now archived and is closed to further replies.