A teacher in eastern B.C. is no longer certified to work in the province after admitting he sent a student explicit messages, a shirtless photo and tried to "hookup" through a dating app.

Robert Stevenson admitted finding the Grade 12 student online through a dating app in January 2015, according to a content resolution agreement signed last month.

The student had just signed up for the adult site after turning 18.

In the agreement, Stevenson said he knew the student went to the school where he taught when he messaged on Jan. 12.

The student replied, asking the teacher if he realized.

Stevenson admitted he did, noting that he "took the risk" in reaching out to the student.

The agreement said he proceeded to tell details about his sexual experiences throughout the night.

He also said he sent the student a link to a private pornographic website with his username and password.

He told the student he would be interested in "hooking up discretely," according to the document.

Actions neither 'ethical nor professional'

Several days later, Stevenson sent the student a shirtless photo of himself. The student didn't respond and the teacher eventually apologized for "disrespecting" and "harassing" the pupil.

The agreement states he admitted his "actions weren't ethical nor professional."

In June of that year, Stevenson was placed on administrative leave.

He resigned shortly after and his certificate expired after he stopped paying his fees.

The teacher has agreed not to apply for re-certification for at least 10 years.