Jump to content

IPSLib::runMemberSync( 'onLogout', $this->member_data )


tamplan

Recommended Posts

Posted

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 )

...

Posted

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).

  • 9 months later...
Posted

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.

  • 7 months later...
Posted

[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.

  • Recently Browsing   0 members

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