tamplan Posted July 27, 2009 Share Posted July 27, 2009 I use a MemberSync class to make a bridge between IP.Board and an other application. Everything works fine except when I logout the forum, I would like to logout the other application. Perhaps, IPS devloppers can add a IPSLib::runMemberSync( 'onLogout', $member ) call function in 'admin/sources/handlers/han_login.php' : To make us sure to not modify sourcecode after every update ? Thanks for reading me. :thumbsup: And sorry for my simple english, I translate from french with my old friend Google... :) public function logoutCallback() { /* Member Sync */ IPSLib::runMemberSync( 'onLogout', $this->member_data ); $returns = array(); $redirect = ''; foreach( $this->modules as $k => $obj_reference ) ... Link to comment Share on other sites More sharing options...
bfarber Posted July 27, 2009 Share Posted July 27, 2009 I think it's a good suggestion. I can imagine addons that might need to do something when a user logs off (maybe store data from their session back to a log table, for example). Link to comment Share on other sites More sharing options...
realmaverickuk Posted April 28, 2010 Share Posted April 28, 2010 I agree with this. I need to modify the source code to accomplish this task. Could we get this feature added in last minute for 3.1? Also, a sync for when a user adds another user as a friend and when a user's status has been updated would be incredibly useful. Link to comment Share on other sites More sharing options...
Josh Posted April 28, 2010 Share Posted April 28, 2010 We've already added an 'onLogout' memberSync function to 3.1 Link to comment Share on other sites More sharing options...
realmaverickuk Posted April 29, 2010 Share Posted April 29, 2010 Oh, perfect Link to comment Share on other sites More sharing options...
Youp3 Posted December 4, 2010 Share Posted December 4, 2010 [quote name='Josh' timestamp='1272458006' post='1945772'] We've already added an 'onLogout' memberSync function to 3.1 [/quote] Nice to read this. [url="http://community.invisionpower.com/resources/documentation/index.html/_/developer-resources/custom-applications/membersyncphp-r8"]The documentation[/url] should be updated. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.