|
How to enable all users notifications by default? |
Top Previous Next |
|
There are three notifications in a user's left menu in the "My Notifications" section: Notify on Listing Activation Notify on Listing Expiration Notify on Contract Expiration
These options are set to "off" by default. If you want to change this, you need to open the file: system/lib/users/User/UserDBManager.php
and find the line ~ 28: DB::query("UPDATE ?w SET contract_id = ?n WHERE sid = ?n", "users", $user_contract_id, $user->getSID());
and insert the following code after it: DB::query("INSERT INTO users_notifications VALUES(?n, '1', '1', '1')", $user->getSID());
|