Setting the homeroom

Stevee

Posting Freak
Mar 29, 2011
580
35
Hi, I was wondering how to set the homeroom for everyone so like it will automatically make them go to a certain room like lets say the room ID was 10, so it'd make all the users go to that specific room.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
Run this as a MySQL query:

Code:
UPDATE `users` SET `home_room` = '10';

Change 10 with the ID of the room. - Also, change the default value in the users table for new members.
 

Stevee

Posting Freak
Mar 29, 2011
580
35
Run this as a MySQL query:

Code:
UPDATE `users` SET `home_room` = '10';

Change 10 with the ID of the room. - Also, change the default value in the users table for new members.

I thought that was the code thank you, and I was confused on how to do the second part if you could briefly explain what I should do to change the default value e_e sorry.
 

Stevee

Posting Freak
Mar 29, 2011
580
35
uhm, odd you sure you edited the right thing, or that error wasn't already there?

I edited it like you told me too, go to users go to ctrl D fine home_rooms change default from 0 to 10 the ctrl S to save correct?

could it be because its an int instead of a varchar? 

screenie of the tables.
 

Users who are viewing this thread

Top