|
Re: 2 questions - is email required , disabling login and new profile links. November 13, 2008 02:07AM |
Admin Registered: 22 years ago Posts: 8,532 |
This changes the posting form. There you can select whether or not to follow topics by mail. By disabling this option, the follow topic option will not show an email option.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: 2 questions - is email required , disabling login and new profile links. November 13, 2008 02:21AM |
Registered: 18 years ago Posts: 30 |
|
Re: 2 questions - is email required , disabling login and new profile links. November 13, 2008 03:08AM |
Admin Registered: 22 years ago Posts: 8,532 |
It is in there, because it is not actively hidden from the template. The reason for that, is that allow_email_notify is not a global configuration option, yet a forum specific configuration option. Therefore, the control center should not hide the mail option when allow_email_notify is found to be disabled. It got me confused for a second too and I even implemented a patch (which I reverted right afterwards). Maybe you can fetch an idea from it.
changeset 3700
As you can see, I enclosed the option to hide in an {IF} statement and set the controlling variable SHOW_EMAIL_NOTIFY from the control.php script. You can do the same from your code and change the template likewise to reach your goal.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
changeset 3700
As you can see, I enclosed the option to hide in an {IF} statement and set the controlling variable SHOW_EMAIL_NOTIFY from the control.php script. You can do the same from your code and change the template likewise to reach your goal.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Your IP address, domain or ISP has been blocked. Please contact the forum administrators.
Sorry, only registered users may post in this forum.
