The second book takes place during Greg Heffley's first half of his seventh grade year. The story begins with an event happening over the summer, Greg's refusal to talk about it, and Rodrick's holding it over his head. Greg's dad makes him join the swim team but he just hides out in the bathroom during the entire session. When school started up, girls swarmed around Rowley asking him about his summer trip to South America which really upset Greg. One of Greg's friends, Chirag Gupta, was supposed to move to California but instead stayed. Greg then started a prank in which all of his friends pretend Chirag isn't there. The joke, known as the "Invisible Chirag Gag" was put to the end by Chirag's father intervening. A few days later, Greg's parents leave the house and Rodrick throws a big party. Rodrick forces Greg to help him clean up but the party is eventually found out a month later and they are grounded. The school talent show then attracts Rodrick and his band to enter so he can attract record labels. However, all the video recordings of the band turn out to be a flop and Rodrick blames Greg and releases Greg's secret. Greg then reveals that the secret was he was at his grandfather's condo and Rodrick sees his diary. Greg then runs into the bathroom to hide which turns out to be a women's bathroom and he is removed by security. The next day at school all the kids starts congratulating Greg and he learns the story got morphed into a story saying he purposely infiltrated a girl's locker room at Crossland High School. Greg doesn't tell anyone the truth and pretends it did really happen. The novel ends with Greg helping out Rodrick on his science project.