Merge pull request #1487 from Oldiesmann/release-2.1

Fix spell-checking stuff in a few areas (thanks to K@ for the report)
Add support for static and normal method on the profile areas

Signed-off-by: Suki <suki@missallsunday.com>
also, I forgot to make this change on my last PR...

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #1488 from MissAllSunday/profile_call_func

Profile call func
Not that it matters much but since theres only 1 param to pass, theres no need to use call_func_array()

Signed-off-by: Suki <suki@missallsunday.com>
Add support for calling static and normal method on AdminMain()
yes call_user_func() does have a cost... I'm aware of that.

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #1490 from MissAllSunday/profile_call_func

Profile call func
Are there any custom profile fields required during registration?

Signed-off-by: Suki <suki@missallsunday.com>
Avoid one more headache and use str_replace to add the tabindex

Signed-off-by: Suki <suki@missallsunday.com>
Add the form fields to the template

Signed-off-by: Suki <suki@missallsunday.com>
Don't reinvent the wheel, just use Profile::loadCustomFields()

Signed-off-by: Suki <suki@missallsunday.com>
o need to do a foreach, just pass set the context array
This is also redundant since you can just use $context['registration_errors'] in the first place.

Signed-off-by: Suki <suki@missallsunday.com>
Just move some code to a very specific place and we're done saving any custom fields

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #1491 from MissAllSunday/cust_field_admin_reg

Cust field admin reg
Yeah, call_integration_hook needed some love
Use the pipe sign | for adding a file to load, using : will cause problems with methods
Add a fallback if no wildcard for a path was given, it only tries to check if the file exists on Sources dir
Use more descriptive var names, no more $call[1], $call[0]

Signed-off-by: Suki <suki@missallsunday.com>
Subs::call_hook_helper()
Receives a string and tries to figure it out if its a method or a function.

Signed-off-by: Suki <suki@missallsunday.com>
Add the new instance class to the debug info in Sources/Admin::AdminMain()

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #1492 from Oldiesmann/release-2.1

! Previous fix for #1221 was horribly incomplete (fixes #1475 and #1484)
Safety first, declare an empty array before using it if it was not previously declared before
Also add instances debug stuff to Profile.php

Signed-off-by: Suki <suki@missallsunday.com>
Add support for static and normal methods in smf_main()

Signed-off-by: Suki <suki@missallsunday.com>