Quote:
Originally Posted by Meestor_X
That's great!
I'd like to make it a little more generic, so how would I change $user['email'] to the administrator's e-mail? i.e. userid #1's e-mail as it's stored in the database? That way if I change my e-mail address I don't have to remember to fix this edit...
|
Doing that (email for userid 1) will require an extra query to the database... however you might be able to change it to the email address you entered in your vbulletin options for "webmaster's email"
I haven't tested this but try:
Code:
vbmail($vbulletin->options['webmasteremail'], $subject, $message, true);