I have applied the content of http://pastebin.com/5uzN2S8a to the theme’s root folder called ‘buddypress.php’ and one again the installation is still broken :(. I.E., the content is rendered in wide only and not with sidebar my theme had with BuddyPress Template Pack installed.