Announcement

Collapse
No announcement yet.

Add a select field to the profile

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

  • #31
    Thanks, worked great on my site. Just what I was looking for!
    http://www.tchracing.com/forums/live...h_live_sig.jpg

    Comment


    • #32
      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.
      vB Drupal Community Plumbing | vB Survey | vBusy | vB Spell | vBouncer

      Comment


      • #33
        Sorry to hear, works good on my server take a look.

        Suprascene.com Forums
        http://www.tchracing.com/forums/live...h_live_sig.jpg

        Comment


        • #34
          Hi Lubi,

          Can you test and see what happens if you make automobile a mandatory field?
          vB Drupal Community Plumbing | vB Survey | vBusy | vB Spell | vBouncer

          Comment


          • #35
            Originally posted by tamarian
            Hi Lubi,

            Can you test and see what happens if you make automobile a mandatory field?
            Don't know how, but I would like to move some up to the mandatory ones. If you haven't figures out how to fix your problem please inform me and i'll do what I can.
            http://www.tchracing.com/forums/live...h_live_sig.jpg

            Comment


            • #36
              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

              Comment


              • #37
                Originally posted by Mutt
                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
                Well....damn Just put this on my site.

                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

                Comment


                • #38
                  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?

                  Comment


                  • #39
                    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..

                    Comment


                    • #40
                      Major Help!

                      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:

                      FilePath="admin/profile/$profilefield[profilefieldid].file";
                      what is wrong with that?

                      By the way, i am a little unclear on this, is this right, its my register_customfields:

                      <tr>
                      <td bgcolor="$bgcolor"><normalfont><b>$profilefield[title]:</b></normalfont><br>
                      <smallfont>$profilefield[description]</smallfont></td>
                      <td bgcolor="$bgcolor"><normalfont> $TheField normalfont></td>
                      </tr>
                      thanks

                      Comment


                      • #41
                        Re: Major Help!

                        FilePath="admin/profile/$profilefield[profilefieldid].file";


                        Did you forget to copy it completly.. I say this because it should be

                        $FilePath="admin/profile/$profilefield[profilefieldid].file";

                        instead of

                        FilePath="admin/profile/$profilefield[profilefieldid].file";

                        Comment


                        • #42
                          great hack, but...

                          it would have been nice to have some updated instructions for the hack. I just installed it and most of my fields are required (and they don't show up in the registration page). The edit profile page works great though.

                          Are new instructions coming soon or should I uninstall and wait?
                          "Twenty years from now you'll be more disappointed by the things you didn't do than by the ones you did."
                          - Mark Twain

                          Comment


                          • #43
                            Can someone please post a screenshot of this hack in action? Thanks!
                            website: joe.pcfx.cc
                            forums: pcfx.cc
                            gallery: here

                            Comment


                            • #44
                              Uninstall

                              Hi,

                              Regarding un-installation of this hack.

                              Is there something more you have to do than:
                              *changing back the four PHP-files to their original state
                              *changing back the template
                              *delete the "profile"-directory
                              *delete any custom profile-fields

                              to un-install this hack?



                              Thanks in advance,
                              Baines

                              Comment


                              • #45
                                Re: Uninstall

                                Originally posted by Baines
                                Is there something more you have to do than:
                                *changing back the four PHP-files to their original state
                                *changing back the template
                                *delete the "profile"-directory
                                *delete any custom profile-fields

                                to un-install this hack?
                                I sure hope not. This is what I did last night and everything seems to be back to normal. I look forward to a more secure version of this hack though
                                "Twenty years from now you'll be more disappointed by the things you didn't do than by the ones you did."
                                - Mark Twain

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X