How do I redirect ALL users to the root website after logout ?

Hi,

When users logout on my WPMU/Buddypress community, they are redirected to their own homage page instead of the root home page of the network (user of "mycommunity.com/john" is redirected to "mycommunity.com/john" instead of "mycommunity.com/")

I can't use the plugin "Logout Redirect" since it's not compatible with buddypress, so what would be the best way so that everyusers, when they logout, are all redirected to the main website of my community ?

I'm not good enough to create the whole plugin, but with code instructions I can create a plugin from the function and activate it on my site no problems.

Thanks in advance and best regards,

DJ