The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Hey there
I'm still trying to learn all of this and damn this is cool ****. Anyway, I installed the gender hack and was going to use it to install another profile select box. Then I saw the very cool CP tool for adding a field to the profile. It currently only allows you to add a input box. I decieded to modify it so I could add my select box from there. It wasn't very hard and the hack is pretty short. Here it is in a nutshell I added a textarea field to the add/edit profile field if you want the new field to be a dropdown, you enter the dropdown values. each line represents a new option tag. Ex. you want a new field called "sex" that is a drop down with the choices male,female, and other. Make the new field as usual. Set Field Length. (1 would be a standard dropdown) Set Maximum Input (I'd leave it at 250) In the Select Box Items text area type Male Female Other each on it's own line. UPDATED for v224 with vbHacker Click thru for the updated version Show Your Support
|
Comments |
#72
|
||||
|
||||
To get the non-vbhacker version you still need to do it using vbHacker - but when you come to actually modifying it, select "Generate text file" instead.
Also just a word of warning - I got my error above because I chmodded member.php to 777 so that it could be writable, but forgot to chmod it back to 755. Hope that helped! |
#73
|
|||
|
|||
Thanks.. I appreciate the help.
Josh |
#74
|
||||
|
||||
hi,
i installed with vbhacker and the installation went well. But if i change the value in my profile it is not saved? If i edit a user in admin cp there is no dropdown field, only textarea? Nothing works for me and i am using vb 2.2.5? Any solutions? |
#75
|
|||
|
|||
Works fine for me with 2.26. Thanks!
Can anyone help with the code to add checkboxes as well? |
#76
|
||||
|
||||
Ok, I must be doing something wrong. I've tried adding this to my board both by hand and then (after removing it) with VBHacker and I can't seem to get it to work.
Everything runs with no errors apparent. The only problem is that NONE of my custom fields are visible now. So, you can't see the field for "Biography," etc. You can see for yourself at this URL: http://www.npug.org/forum/register.php?styleid=2 Any thoughts on what I'm doing wrong? |
#77
|
||||
|
||||
ok,
i installed it again. Now it works but still have some problems. If i want to modify a custom field, the configuration for that field is not saved. If i click modify the fields Field Type and Multiple Choice Options are empty, so i have to enter the value again every time i want to change something. Is there also the possibility to have a dropdown field? btw i am running 2.2.5. any help is very appreciated. Thanks! |
#78
|
||||
|
||||
i guess i should drop by more often.
I didn't modify the admin/user.php file but I guess I forgot to add those directions to the file. I'll dig it up and add it when I get home |
#79
|
||||
|
||||
Yeah how do you install customcustomfields.hack.php?
Is it an addition to the selectprofilefield.txt you offered on page 2 of this thread? If so do you just throw this php file in with the others? This looks like a great hack. Also are these fields searchable? As in does it work with FireFly's "Search Members by custom profile fields hack" found here: http://www.vbulletin.org/hacks/index...ack&hackid=177 Thanks |
#80
|
||||
|
||||
Okay nevermind I figured it out. I had to discover what VBhacker was first.
This hack doesn't work with FireFly's hack I mentioned above. The fields show up in the search as standard text fields. The search will work finding what people listed from say a drop down box or choose with a radio button, but someone has to type in one of the options listed in the drop down box or the radio button. It would be great if the radio buttons and the drop down boxes appeared in the search area. It would also be great if the box allowed people to choose more then one option by holding down the 'Ctrl" button on the keyboard. |
#81
|
|||
|
|||
Quote:
Find in profilefield.php : PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|