Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Show Email in profile by default

I have an option in User->Options Button->set hook "Show Email Adress for other users"
It is possible have this as standart selected option?

Comments

  • R_JR_J Admin
    edited March 2014

    There is no config setting for this. You would have to write a plugin to hook UserModel_BeforeInsertUser. That would be the clean way.

    A more hackish way would be to change the default value for the user table:

    ALTER TABLE `GDN_User` CHANGE `ShowEmail` `ShowEmail` TINYINT( 4 ) NOT NULL DEFAULT '1'
    

    Not sure if that would do the trick but I think so...

Sign In or Register to comment.