LOS ANGELES – A judge has ordered a New Hampshire man to refrain from posting anything online about Alyson Hannigan or trying to meet the actress.

Los Angeles Superior Court Judge Carol Boas Goodson issued a three-year restraining order against John Hobbs, 43, after a brief hearing Wednesday.

Hannigan said in court filings that Hobbs has posted a barrage of threatening messages about her and her family online.

The filings state that Hobbs told police he wanted to meet the “How I Met Your Mother” and “American Pie” star.

Was ‘Skyfall’ the limit for Sam Mendes?

LONDON – Never say never again? Sam Mendes says he won’t be directing the next James Bond film – but may work on the series again in the future.

Mendes has been praised for his work on “Skyfall,” the first Bond film to rake in more than $1 billion in revenue.

But Mendes said he has made the “very difficult decision” to focus on other projects “that need my complete focus over the next year and beyond.” They include upcoming London stage productions of “Charlie and the Chocolate Factory” and “King Lear.”

In comments published Wednesday by movie magazine Empire, Mendes said he was honored to have been part of the Bond family, “and very much hope I have a chance to work with them again.”

Mendes worked in theater before turning to film. He won an Academy Award in 2000 for “American Beauty.” “Skyfall,” which stars Daniel Craig, Javier Bardem and Judi Dench, won two Oscars last month, including one for Adele’s theme song.

– From news service reports