Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 27, 200915 yr 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 ) ...
July 27, 200915 yr 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).
April 28, 201015 yr 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.
December 4, 201014 yr [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.
Archived
This topic is now archived and is closed to further replies.