Quote:
Originally Posted by tbworld
We need to see the "extrasettings" code in order to assist. If you are using a proper editor and have not created a BOM, then the problem rests in your included code, not the hook location. The hook as you probably already know selects the point of entry where your code will be eval'ed.
If for some (security reason -- only) you cannot post your code to receive global assistance you can use a private message.
What @Dave suggested is the correct method and there is nothing wrong with the hook locations. 
|
Ok, I finally got it working correctly. I actually copy and pasted my custom setting page code into Profile.php.
There is one more problem though, after I edit my profile setting and go to "Save", it saves the changes, but it redirects to "
profile.php?do=editoptions" and not back to the previous page "
profile.php?do=extrasettings"
Should I copy and paste my entire profile.php code?
Edit: I fixed it. I found out that the function "updateoptions" was being used twice, so the code I added, was using the first "updateoptions" function and redirecting the extra settings page to the EditOptions page on Submit. I simply just had to use a different function, such as "do=
updatesettings", and of course add the redirect code "
exec_header_redirect('profile.php?do=extrasettings '); " . All seems to be working correctly now. Thank you all for helping me out, I really do appreciate it.