Playboy magazine founder Hugh Hefner has given the thumbs up to a biopic that will feature his social activism along with his sexual exploits.

According to Hollywood publication Variety, the film will be directed by Brett Ratner, who helmed the final instalment of the X Men series and the 'Rush Hour' films.

"I want to show it all, from his first orgy to the stroke that almost killed him in the 1980s," said Ratner.

Brian Grazer, who won an Oscar for his production of 'A Beautiful Mind', will produce. He owns the film rights to the 81-year-old's life story.

Hefner approved their vision for the project last week and, according to Variety, a script is now being written.

Hefner founded Playboy, which became one of the most successful publishing empires in history, in 1953.