2017-02-15, 01:26 PM
ok, i see what's going on. Let me look closer.
set default profile options
|
2017-02-15, 01:26 PM
ok, i see what's going on. Let me look closer.
2017-02-15, 01:33 PM
sure
Ok, so I checked a bunch of things out.
First, I have an instance of MyBB 1.8.10 running strictly for test purposes. If I break it, I can wipe and start fresh. 1. You do not need to do a core edit, so you can revert member.php. 2. In the member registration template, you need to have the controls, so revert back to the default member_register template before you make edits described below. 3. The template is where you can set default values and make them stick, shown in the code snippet below from template member_register. 4. For each checkbox, change input type from checkbox to "hidden". Set the value to 1 if checked or 0 if not checked. 5. When the Submit button is clicked, the controls and values have to be there. 6. I checked this out with the modified member.php file and also the original file. 7. The attached screenshots show the registration page and the User CP.
Interestingly, there's a variable set in member.php for $emailnotify, but it's never used anywhere. I think it's an orphaned remnant from an earlier version change.
2017-02-17, 05:49 AM
thank you and you have been most resourceful for resolving this issue i had. am happy to tell that i have achieved what i was targeting. its most because of your guidance. here i attached what i achieved a simple registration form.
2017-02-17, 11:43 AM
(2017-02-16, 10:54 PM)HLFadmin Wrote: Ok, so I checked a bunch of things out. Can you please create a new bug report for orphaned variable? Thank you
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
|
« Next Oldest | Next Newest »
|