Jump to content

Requesting "Messenger Output" Data Hook Points


Cody Woolaver

Recommended Posts

Posted

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.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...