Log in

View Full Version : user registration options CHANGED


Wordplay
02-21-2005, 10:28 PM
i changed my users registration option from them not subscribing to threads automatically when posting a reply to them subscribing without e-mail notification.

but this will only count for new registers, is there a way to change it so it works for all already registered users?

Marco van Herwaarden
02-22-2005, 06:41 AM
They can set it themself in their UserCP, alternativly you could run a query to set this for all users.

Wordplay
02-22-2005, 06:50 AM
what query would i have to run to set it for all users?

Marco van Herwaarden
02-22-2005, 07:27 AM
UPDATE user set autosubscribe = -1;

This will set all user to not auto-subscribe, regardless of their current setting.

PS if you are using a table prefix, add this in front of "user".

Wordplay
02-24-2005, 11:42 AM
sorry but i'm query illiterate. i know how to run the query but what do you mean add this infront of "user" and i want them to autosubscribe but without e-mail notification. so would that be "= 1;

kall
02-24-2005, 03:39 PM
Isn't that available as an automatic query in the AdminCP?

Marco van Herwaarden
02-25-2005, 06:28 AM
Isn't that available as an automatic query in the AdminCP?
Hmm you're right, all there. :D

I allways tend to forget the already buildin queries. :(

Wordplay
02-25-2005, 09:38 AM
i can't run queries in my admincp, it says:

"You are not authorized to execute SQL queries"

kall
02-25-2005, 06:19 PM
i can't run queries in my admincp, it says:

"You are not authorized to execute SQL queries"
Edit includes/config.php and put your userid in the relevant field. Search for sql if you can't understand that. :)

Wordplay
02-26-2005, 12:59 PM
you mean the "DATABASE NAME"? well i already have something there, but if that were wrong, then my entire board wouldn't work right? so it must be correct. so what userid should i change and where?

Zachery
02-26-2005, 01:01 PM
you mean the "DATABASE NAME"? well i already have something there, but if that were wrong, then my entire board wouldn't work right? so it must be correct. so what userid should i change and where?
$canrunquerys = '';

$canrunquerys = '{YOURUSERID}';

Wordplay
02-28-2005, 06:28 PM
thanks alot, got it now!