Firefox PHP

Module: Enhanced Custom Profiles

Posted by Joe Curia 
Re: Module: Enhanced Custom Profiles
September 25, 2009 04:45AM
Is currently anybody maintaining the Enhanced Custom Profile Menu from Joe Curia?

Here are my three issues:
(1) Unfortunately, fields cannot be made obligatory during registration.

(2) If the user makes a mistake or a user name is already taken, all entries need to be made again. Time-consuming and probably annoying, as well.

(3) I apologize for posting this issue again:
I added a multi-drop-down menu within the module settings and now I receive the following
Warning: implode() [function.implode]: Invalid arguments passed in enhanced_custom_profiles.php on line 501:

Attached are lines 500 and 501:
Language: PHP
} else if ($field["type"] == "dropdown_multi") { if (!empty($_POST[$field["name"]])) $userdata[$field["name"]] = implode(",",$_POST[$field["name"]]);

The module only triggers this warning during the registration process.
What do I need to do in order to prevent this from happening?
I have completed v5.2.1.05 of this module with the help of Rober Angle. The release includes these changes:

- Enhancement: Added support for the Admin Token required by Phorum 5.2.11 and beyond. Thanks go to Phorum user Robert Angle for the majority of the coding in this commit.

- Bugfix: Apostrophes not displayed when editing custom input profile fields. Thanks go to Phorum user Ryan for reporting this bug.

- Bugfix: Checkbox fields would not be saved at registration if left unchecked. Thanks go to Phorum user korsakov for reporting this bug.

- Bugfix: IE displayed the Simple Rounded titles improperly.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Thanks, Joe and Robert! Great and very appreciated work. I don't want to appear impatient but could you please let me know whether you still intend to address the the following issues?

(1) Custom fields cannot be made obligatory during registration.

(2) If the user makes a mistake or a user name is already taken, all entries need to be made again. Time-consuming and probably annoying, as well.

It'd be great if you could let me know about future plans. Thank you!!
I wanted to rerelease Robert's code for v5.2.1.05 with the bugfixes I had already committed back in April/May before working on the remaining issues for the next release. Please rest assured I am working on them now (including the multiple choice issue you reported earlier).


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Thanks for your quick response, Joe! I am looking forward to your update!
Hello Joe, Would I ask for too much if you also included a tab on the settings page for "Edit My Files"? It would be so smooth for my application I have in mind... Thanks for your consideration!
Module: Enhanced Custom Profiles v5.2.1.06 - Bugfixes and More "Required" Fields
October 06, 2009 08:50PM
I have released v5.2.1.06 of this module with the following changes:

- Bugfix: Registration fields now keep user input if an error brings the user back to the registration form. Thanks go to Phorum user korsakov for pointing out this bug.

- Bugfix: Reintroduced support for Phorum versions before 5.2.11.

- Enhancement: Added the ability to require all field types other than "Yes/No", "On/Off", and "Dropdown" as those fields always have some choice selected by default.

- Bugfix: Required field errors will now be flagged in the proper order, descending through the custom profile fields on the page.

- Bugfix: Post values for the register.php page are trimmed before the "before_register" hook, thus arrays need to be imploded before this hook. Thanks go to Phorum user korsakov for pointing out this bug.

Korsakov, I will add the possibility of custom profile fields on the "Edit My Files" page to my todo list but it won't be soon. There is no easy hook on that particular page so a template hack and further coding will be necessary.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Enhanced Custom Profiles v5.2.1.06 - Bugfixes and More "Required" Fields
October 06, 2009 09:05PM
Joe, it already feels like Christmas in NC! Thanks for your great effort!!
I checked it out and I noticed that the "Required" option does not seem to work with the Checkbox, Dropdown, and Multiple Select menu options.
Anyway, I love it!
Re: Module: Enhanced Custom Profiles v5.2.1.06 - Bugfixes and More "Required" Fields
October 06, 2009 09:31PM
Quote
korsakov
I checked it out and I noticed that the "Required" option does not seem to work with the Checkbox, Dropdown, and Multiple Select menu options.

What do you mean by "does not seem to work?" I have tested the checkbox and multiple select options and both do indeed give an error if not checked or no selection is made. As for the Dropdown menu option, I explained in the list of changes that this input type won't work with the "Required" option because it always has some choice selected by default, thus it will never flag.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Enhanced Custom Profiles v5.2.1.06 - Bugfixes and More "Required" Fields
October 06, 2009 10:17PM
I only checked the settings page in admin. The "Required" boxes won't show up with the 3 cases I mentioned.
(I understand your explanation with the Dropdown but I have a field asking to make a selection...)
Sorry, only registered users may post in this forum.

Click here to login