Announcement

Collapse
No announcement yet.

How to Retrive Optional Fields

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

  • How to Retrive Optional Fields

    Lets say I have a few optional Fields


    And I want to display them else where can I? And If I just want to display 1 of the fields not all of them how can I?
    For example
    I want to display
    Email and Optional field 1 and 3
    If if I can display them how can I call them?
    http://www.hardwaregeeks.com

  • #2
    Anyone?
    http://www.hardwaregeeks.com

    Comment


    • #3
      I added this to my postbit_legacy template. It displays the optional fields I have set up. The fields display under the avatar with the other information that is displayed by default.

      <if condition="$post['field2']">Location: $post[field2]<br /><br /></if>
      <if condition="$post['field6']">Name: $post[field6]<br /><br /></if>

      Comment


      • #4
        ahh so I can just replace the number with the field. I will try that now thanks Andy
        http://www.hardwaregeeks.com

        Comment


        • #5
          That doesn't seem to work for me.

          I have to do the following.

          Create an image
          Like this using the optional profile fields


          img src="http://www.zmedia.com/warp/subs/pix_final?var1=val1&var2=val2" height="1" width="1" name="post[field6]" addresss="post[field12]"


          and so on
          http://www.hardwaregeeks.com

          Comment


          • #6
            What exactly are you trying to do? You mentioned in your original post about diplaying the optional fields, but where?

            Comment


            • #7
              img src="http://www.zmedia.com/warp/subs/pix_final?var1=val1&var2=val2" height="1" width="1" name="post[field6]" addresss="post[field12]" zipcode="post[field15]"

              Like the above image. How it has the post[field#] in some of the variables. And that image will be in the modify_profile template.
              http://www.hardwaregeeks.com

              Comment


              • #8
                I'm sorry you lost me. Perhaps you can describe exactly what your trying to do.

                Comment


                • #9
                  Yeah it's a bit confusing and its hard to explain. But here it goes.

                  I have a Co-Reg with ValueClick.com and Zmedia.com
                  I created optional Fields
                  Name
                  Address
                  Zipcode
                  State

                  for them to recieve the data I have to create a 1x1 pixle image which the variables filled in from the optional fields.

                  For example The image code would look like this

                  Code:
                   <img src=[url="http://valueclick.com"]http://valueclick.com[/url] height="1" width="1" border="0" Name="OptionalField1" Address="OptionalField2" ZipCode="Optionalfield3">
                  I hope thats a better explanation.
                  http://www.hardwaregeeks.com

                  Comment


                  • #10
                    Doesn't value click explain exactly what to do?

                    Perhaps posting their example script would help us figure out what to do.

                    Comment


                    • #11
                      Yeah but I still have to place the correct variable in the image And I need VB to do that or I will have to do it manually for each subscriber who signs up.
                      http://www.hardwaregeeks.com

                      Comment


                      • #12
                        http://cplspec.valueclick.com/pixfinal.html

                        I want to know what tag is used to display the information in the profile so that I can insert the information automatically into that data transfer.
                        http://www.hardwaregeeks.com

                        Comment


                        • #13
                          So if I understand correctly, a member will click on a banner in your forum and information will be submited that you have in their Optional Fields. Is this like a Submit Form function?

                          Comment


                          • #14
                            Try something like this:

                            HTML Code:
                            <img src="http://www.zmedia.com/warp/subs/pix_final?name=$bbuserinfo[field6]&address=$bbuserinfo[field12]" height="1" width="1">
                            You would probably want the $bbuserinfo array (versus the $post) since the $post array is the information for each poster (as each post is displayed) and the $bbuserinfo array is the array containing the information for the person viewing the site.

                            Hope this helps!
                            "A man sits with a pretty girl for an hour, it seems like a minute. He sits on a hot stove for a minute, it's longer than any hour. That is relativity." -- Albert Einstein

                            Comment


                            • #15
                              Originally posted by Andy
                              So if I understand correctly, a member will click on a banner in your forum and information will be submited that you have in their Optional Fields. Is this like a Submit Form function?
                              Its exactly like that
                              if you want to see it
                              www.hardwaregeeks.com sign up and check the user cp and click edit profile.
                              then scroll down you will see additional offers.
                              What i kinda need is for when the page is taken to the redirect page that the data be inserted into the image variables during the refresh.
                              http://www.hardwaregeeks.com

                              Comment

                              Loading...
                              Working...
                              X