Let's analyze the sentence: "... you (invite) guests when you (be) at the international school?" We need to use either Past Simple or Past Continuous.
The correct form is: Were you inviting guests when you were at the international school?
Explanation: The question is about an action that was in progress (inviting guests) while the person was at the international school. Both parts of the sentence use the Past Continuous to indicate that the actions were ongoing at the same time.