Announcement

Collapse
No announcement yet.

Add a select field to the profile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RobAC
    replied
    Radio buttons would be great!

    Leave a comment:


  • Ruth
    replied
    great hack, radio buttons anyone?

    Leave a comment:


  • Jonathan@Refresh
    replied
    This looks an excellent hack!

    Radio buttons would also be very useful.

    Has anyone installed it?

    Leave a comment:


  • Mutt
    replied
    would anyone want the ability to add radio yes/no fields as well? I don't need em right now, but I gotta beileve I will sooner or later

    Big Up to the VB guys for making it possible to add profile fields from the Admin CP. I dig it!

    Leave a comment:


  • Mutt
    started a topic Add a select field to the profile

    Add a select field to the profile

    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.



    If you like this hack, please check out this thread and give me some input
    http://www.vbulletin.com/forum/showt...threadid=21516
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X