@PhĂșc **********
, there is no 30 day tourist visa, if he gets in without a visa it'd be on a visa exempt entry stamp and no you can't get him a non-O visa inside the country. You either do it at the thai consulate in the country you're in now (by showing YOU have a valid visa for thailand, your extension) or you just bring him in visa exempt and let him overstay