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 |
#32
|
|||
|
|||
Thanks, worked great on my site. Just what I was looking for!
|
#33
|
|||
|
|||
Hi Mutt,
For some reason, the hack only works for the modify profile. On the registration part, is quite buggy. It displays a text field if the field is required. If the field is not required, it displays the radio buttons for all custom fields, if the ones created the usual way before the hack. I unistalled, reinstalled (on a test server) and the behavior is re-producable. |
#34
|
|||
|
|||
|
#35
|
|||
|
|||
Hi Lubi,
Can you test and see what happens if you make automobile a mandatory field? |
#36
|
|||
|
|||
Quote:
|
#37
|
||||
|
||||
I'll have to update my directions. I've changed this hack. the version I'm using now adds 2 fields to to the profile table. now you can pick, input text, radio, select, or textarea. you can set allow, vbcode, images, smiles, html. I also made sure it works with required fields, and handled some cp stuff that I missed before. Like I said, I don't have directions ready. it's a bit more work. I'll try and get to it next weekend
|
#38
|
||||
|
||||
Quote:
I changed it a bit to have an option for a "hidden" field, which the profile editor uses to make category like dividers in the profile. This let me group profile fields together and have instructions on how to fill them in using "hidden" profile fields. Check the registration thing on murmurs.com for an example (the Feaks Map). Ethan |
#39
|
|||
|
|||
This may come off as a silly question but how do you put in the custom fields where you want to in the user profile. That is normally they all come one after the other, how do you put each one where you want them to be. Ie first the name, then the gender, then the # posts, then the rest of the custom fields below that again. How do you manipulate them as you would the normal fields?
|
#40
|
|||
|
|||
if you are talking about the actual user's profile..
go into your admin cp.. then go to edit templates, show all. then go down to this template: getinfo in that template is the profile template, so you can take that... open it up in your favorite program.. or in notepad, and change it around to be like you want it too... but bare in mind if you do it to one you might as well do it to all of them.. so you don't have double of one field. also... to find the field info.. to know what it is.. go to your custom fields in the admin cp, figure out what number it is (i.e. field5, field4) and then add it into the database like $userinfo[field5] I think that is how you do it.. |
#41
|
|||
|
|||
Ack! When I go to do anything heres what the error message says:
Parse error: parse error in /usr/home/s/h/shenlong/public_html/vbb/member.php on line 1236 Here is my line 1263 on Member.PHP: Quote:
By the way, i am a little unclear on this, is this right, its my register_customfields: Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|