Firefox PHP

Module: Enhanced Custom Profiles

Posted by Joe Curia 
Re: This mod puts my globals out of scope
July 24, 2009 02:02AM
Further to my post above, apart from disabling the module I can fix the problem by commenting out

Language: PHP
phorum_output("enhanced_custom_profiles::profile");

in phorum_mod_enhanced_custom_profiles_end_output()

Obviously this stops the module from outputting anything though.

I also tried setting my (only) enhanced field to not display in the profile, but this didn't restore my globals.

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Anonymous User
Re: Module: Enhanced Custom Profiles
July 25, 2009 04:22PM
I don't understand this module: how to use it. It is the only module with which i have a problem.

When i try to add a new field, and i click on submit, then all that i have configured in this module is deleted.

Also there is this message:

Quote
Please note, you must first create custom profile fields on their respective pages before they will appear below.

What does that mean ? I was expecting a module, not a hacking surprise, but perhaps i don't know how to use it ?



Edited 2 time(s). Last edit at 07/25/2009 04:23PM by ab1.
Re: Module: Enhanced Custom Profiles
July 25, 2009 05:11PM
The quoted text already provides you with an answer. On the admin panel you will find on the lower left "Custom Profiles" where you need to define your custom fields prior to using them in this module.
Anonymous User
Re: Module: Enhanced Custom Profiles
July 25, 2009 05:13PM
Gosh... thanks, i didn't see this link.
Re: Module: Enhanced Custom Profiles
August 08, 2009 09:35PM
Hello,

I was trying to implement this module for the first time today, but met up with the constant security time out issues that result from the new CSRF protection implemented in the latest versions of forum. I did a slight bit of research and came up with a work around. I feel pretty tickled about it too :-)

I made slight modifications to the module and have attached it to this post and have called it v5.2.1.05

- Robert Angle

EDIT: Attachment deleted as Robert's work has been incorporated in the release above. Thank you for your work on this module Robert, especially during my extended coding absence when security bugs required an update. ~ Joe Curia



Edited 1 time(s). Last edit at 09/29/2009 04:41AM by Joe Curia.
Re: Security protection issue
August 08, 2009 09:37PM
Quote
Maurice Makaay
@Joe: can you incorporate this in your package, please?

Hey Joe, I've incorporated it into the package for you and uploaded it :-)

- Bob
Anonymous User
Re: Module: Enhanced Custom Profiles
August 18, 2009 03:47PM
Thanks for this release Dismal Bliss!

However, i have a kind of bug with the module, now i can make it functioning. I have added a text area field into the Edit Profile + View Profile

It appears well as expected in the "View Profile", but not at all in the "Edit Profile", which is rather problematic.
Re: Module: Enhanced Custom Profiles - Warning
August 27, 2009 07:20AM
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:
line 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.
Can anybody give me a hint?
Re: Module: Enhanced Custom Profiles - Warning
August 31, 2009 09:49AM
Quote
korsakov
I added a multi-drop-down menu within the module settings and now I receive the following

$field["name"] should be an array in html code to be autoconverted to array in the $_POST value:
Language: HTML
<select name="field_name[]" size="4" multiple>
Re: Module: Enhanced Custom Profiles - Warning
August 31, 2009 04:53PM
Thank you! How would I implement this modification?
Sorry, only registered users may post in this forum.

Click here to login