jQuery in Action, 2nd edition*
The moose likes JForum and the fly likes default user preferences Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "default user preferences" Watch "default user preferences" New topic
Author

default user preferences

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I would like to set the default to the following user preferences to "yes", still allowing the user to override with their desired choice from their "my profile' page:

Send e-mail notification when posts get answered:
Send notification for all new messages:
Include the message contents within the notification email:

Is there a way to do this? I don't see it from any of the admin screens or the config files.

[originally posted on jforum.net by rplockwood88]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
The user defaults actually come from the DB table defaults. So, just change the jforum_users table structure in your DB so the columns below have a default value of 1 instead of 0.

The columns you're interested in are:

user_notify, user_notify_always, and user_notify_text
[originally posted on jforum.net by monroe]
 
Consider Paul's rocket mass heater.
 
subject: default user preferences
 
Similar Threads
User Preferences !! Urgent
Email Notification for New Users
Default user settings..
How server can send notification without sending n e req.
AND THE BOOK WINNERS ARE!!!