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 |
#62
|
|||
|
|||
i has change it can use input,select,radio,checkbox field and also it can be searchable..
work aok on 2.2.2 2.2.3 2.24 everything is ok... http://ezbbs.vserver.com.tw/forum/re...?action=signup |
#63
|
|||
|
|||
Quote:
|
#64
|
||||
|
||||
with hack directions so simple now that we hack vbhacker, I updated the directions for this guy. running on v224. if you have a previous installation you'll have to remove it first. this new version doesn't write files to store you custom field info. instead it stores them to the DB.
I cleaned it up a lot and there shouldn't be any problems with required fields. This hack adds the ability to add custom custom fileds to the profile. these would be field other than standard text input boxes. Dropdown Select Boxes and Radio Boxes are currently supported. Some of the code for Text areas is in, but for the sake of simplicity I removed textarea support. add a new field as usual. fill out all fields. (Note field length is used for select boxes as well. 1 is standard) choose the field type. (standard text input, select box, radio buttons) Under "Multiple Choice Options" enter the values for your selections seperated by commas. the first one is the default selection. put a comma at the begining of the list to have an empty filed be the default. Hope ya like it, let me know if the vbhacker file works. It should edit 3 files, 1 template, and add a couple rows to the proflefield table. |
#65
|
|||
|
|||
Hey Jeff...I installed this on 2.2.5 and it works great...one question though, why didn't you update the admin/user.php file to reflect the same?
|
#66
|
|||
|
|||
How do you add Drop down boxes to this hack?
|
#67
|
||||
|
||||
Hi,
I'm getting errors with this hack on 2.2.5 I get this error when I click on Edit Profile: PHP Code:
|
#68
|
||||
|
||||
This is one of the best hacks around - I am using this with great effect, combining this with other hacks to make this a powerful addition to vB. Thanks!!!
The only possible complaint is that each time I go to modify a custom profile, if it was a dropdown menu the textarea is empty, and I have to enter the data again. A small issue, which is easily overcome with a text file that I use as a backup. Thanks for your great work! |
#69
|
|||
|
|||
How does one install the customcustomfields.hack.php hack??
any pointers would be very appreciated. |
#70
|
||||
|
||||
So, Erivin, I assume that it's working for you on 2.2.6?
|
#71
|
|||
|
|||
Is there a non vbHacker version? I really haven't delved into that and would love to just do it by hand.
Thanks Josh |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|