![]() |
I have this hack installed and it's working great!! I have the code for the admin cp but not in front of me right now. I?ll post a new text file with the corrections. :D
EDIT Erwin helped me solve my form issues, unrealted to this hack. |
I got my form problems worked out thanks to Erwin in the php forum. :D
Anyway, if you want your newly created fields to show up in the admin cp correctly, aka, dropdowns and radios actually come up that way instead of plain old text boxes I've got the code. See my attachment below. I updated Mutt's second revision to the hack. The one that stores everything in the database, the way it should be done. The new text file shows how to alter your admin/user.php file to reflect your new fields. Also, I made the small addition that mayja pointed out so the fields are saved. It was a minor query error. I think you can call it final now, no more bugs. Course, I'm working on adding checkboxes. :banana: BTW, all this is working for me on 2.2.8 |
I found one more small bug that wasn't displaying the type dropdown correctly when editting a field in the admin cp. It's fixed and the attachment in the above post has been updated.
Doing these checkboxes isn't easy! I'm close though. I wonder if they're including this in vB3. Hope so! |
Hmmm....I just (re)installed this on version 2.3.0 and everythign is working fine except for none of the cutom fields are showing up in the user's control panel where they edit their profiles. They are showing up on the registration pages and in the admin CP...anyone know what may be the problem?
Would that be an error in member.php or a template of some sort? |
Look in the "modifyprofile" edit "$customfields" with $customfield I believe...not tested yet...
|
Quote:
This could all be part of a small change they made in 2.3.0, not sure because I'm using 2.2.8. Post what you edited and then also post the query that updates the mysql with the custom fields. |
Hey Nomb did you get the checkboxes code working yet?
|
The user.php code has a couple of errors. In both the 'add user' and the 'edit user' code, the fields are pre-filled with the values of the administrator's profile fields, rather than the user's (or blank in the case of a new record).
Nomb, I'm sure you can figure out how to fix it; but if you'd like me to send you the corrected code I'm using on my site, let me know. |
i'm still having problems with this. The custom field options won't show up in the User CP. I'm using 2.3.0. The Only thing that was different in the readme was this:
User.php In my User.php(Line 295) : PHP Code:
PHP Code:
PHP Code:
|
Looks very interesting :)
Has anyone tried Nomb's latest in 2.2.9? Danglick, maybe you could post the corrected code here...? Also, could this be made to work with Firefly's lite registration hack? Thanks, TMM |
All times are GMT. The time now is 05:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|