Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Cody Woolaver Posted October 5, 2010 Posted October 5, 2010 hi there. i had a request for a new data hook point location. i was actually modifying the side pane in topics with a data hook and wanted to do the same modification to the post side bar in the conversation. i was hoping for a data hook point after: /* Get member data */ $memberData = $this->fetchTopicParticipants( $topicID, TRUE ); /* Get reading member's data */ $readingMemberData = $memberData[ $readingMemberID ]; /* Fetch topic data */ $topicData = $this->fetchTopicData( $topicID, FALSE ); this is in the file admin/applications/members/sources/classes/messaging/messengerFunctions.php to this i edit the $memberData but im sure people could find the $topicData useful as well. So could I request: /* Get member data */ $memberData = $this->fetchTopicParticipants( $topicID, TRUE ); IPSLib::doDataHooks( &memberData, 'messengerParticipantMemberData' ); /* Get reading member's data */ $readingMemberData = $memberData[ $readingMemberID ]; /* Fetch topic data */ $topicData = $this->fetchTopicData( $topicID, FALSE ); IPSLib::doDataHooks( &topicData , 'messengerTopicData' ); What does everyone think? I find this very useful.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.