Clickable Custom Profile Field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • plutonash
    Senior Member
    • Sep 2009
    • 116
    • 4.0.0

    [Forum] Clickable Custom Profile Field

    Is it possible to make the text in a 'Custom Profile Field' a hyperlink?

    Would appreciate any help you can offer.

    Cheers.
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24358
    • 5.7.X

    #2
    The heading for the field or the text entered in the field?
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • plutonash
      Senior Member
      • Sep 2009
      • 116
      • 4.0.0

      #3
      Originally posted by Trevor Hannant
      The heading for the field or the text entered in the field?
      For the text entered in the field. Please see the image. I want them to type in their LinkedIn URL which should be presented as a hyperlink. I have tried following the instructions in the thread at http://www.vbulletin.com/forum/showt...48#post2116348 but can't find the field in the postbit template.

      Cheers

      Click image for larger version

Name:	LinkedIn.JPG
Views:	2
Size:	25.6 KB
ID:	3681439
      Last edited by plutonash; Fri 18 Feb '11, 4:59am.

      Comment

      • Kensino
        Senior Member
        • Sep 2007
        • 609
        • 3.8.x

        #4
        Originally posted by plutonash
        For the text entered in the field. Please see the image. I want them to type in their LinkedIn URL which should be presented as a hyperlink. I have tried following the instructions in the thread at http://www.vbulletin.com/forum/showt...ight=hyperlink but can't find the field in the postbit template.

        Cheers

        [ATTACH=CONFIG]50659[/ATTACH]
        What instructions you following? The link you posted just takes me right back to this thread.

        Comment

        • plutonash
          Senior Member
          • Sep 2009
          • 116
          • 4.0.0

          #5
          Originally posted by Kensino
          What instructions you following? The link you posted just takes me right back to this thread.
          Thanks for pointing out my error - I have now corrected the URL.

          Cheers

          Comment

          • Trevor Hannant
            vBulletin Support
            • Aug 2002
            • 24358
            • 5.7.X

            #6
            You've corrected the text but not the hyperlink itself. Just repost it below as a new reply...
            Vote for:

            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

            Comment

            • plutonash
              Senior Member
              • Sep 2009
              • 116
              • 4.0.0

              #7
              Originally posted by Trevor Hannant
              You've corrected the text but not the hyperlink itself. Just repost it below as a new reply...
              Works for me. However, here is the URL again. Thanks for your help.

              Comment

              • Trevor Hannant
                vBulletin Support
                • Aug 2002
                • 24358
                • 5.7.X

                #8
                You have to add it to the postbit template as per post 3 in that thread.
                Vote for:

                - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                Comment

                • Kensino
                  Senior Member
                  • Sep 2007
                  • 609
                  • 3.8.x

                  #9
                  ACP > Style Manager > Edit Templates > "<<>>"

                  It looks like user profile field post bits have one template for each control type. Maybe you can add a new one for Hyperlink field. But you probably need to ask on vBulletin.org.

                  Its not something vB can do according to that thread, and if its template modification it's going to be a pain, and also it will hurt you later if you need to upgrade your vBulletin. Probably best to leave it as a text field, and put in the description for them to copy/paste it into the browser.

                  Also, ask for a hyperlink field in the suggestions forum.

                  Comment

                  • plutonash
                    Senior Member
                    • Sep 2009
                    • 116
                    • 4.0.0

                    #10
                    Originally posted by Trevor Hannant
                    You have to add it to the postbit template as per post 3 in that thread.
                    The problem is I'm not sure where to add it. I have tried but failed. I'm a bit fick you see... ;o)

                    Comment

                    • punchbowl
                      Senior Member
                      • Nov 2006
                      • 3903
                      • 4.0.x

                      #11
                      ok

                      into admincp>styles & templates>

                      pick 'edit templates' from the drop down then from the new list of templates click on Postbit Templates then Postbit Legacy. Click edit or customize and you'll see the postbit legacy code.

                      Find:
                      Code:
                      {vb:raw template_hook.postbit_userinfo_right_after_posts}
                      and add your code directly BEFORE that.



                      Comment

                      • plutonash
                        Senior Member
                        • Sep 2009
                        • 116
                        • 4.0.0

                        #12
                        Originally posted by punchbowl
                        ok

                        into admincp>styles & templates>

                        pick 'edit templates' from the drop down then from the new list of templates click on Postbit Templates then Postbit Legacy. Click edit or customize and you'll see the postbit legacy code.

                        Find:
                        Code:
                        {vb:raw template_hook.postbit_userinfo_right_after_posts}
                        and add your code directly BEFORE that.



                        Tried it in both Postbit Legacy and Postbit. Unfortunately it didn't work. Change 'field5' to 'field8'.

                        Thanks

                        Comment

                        • plutonash
                          Senior Member
                          • Sep 2009
                          • 116
                          • 4.0.0

                          #13
                          Should this work with vB 4.1.0 PL2 or has something changed to stop it working?

                          Comment

                          • Trevor Hannant
                            vBulletin Support
                            • Aug 2002
                            • 24358
                            • 5.7.X

                            #14
                            Yes, it should still work. Can you post exactly what you've got in your template (copy several lines before and after) and post a screenshot of your User Profile Field Manager
                            Vote for:

                            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                            Comment

                            • plutonash
                              Senior Member
                              • Sep 2009
                              • 116
                              • 4.0.0

                              #15
                              Hi Trevor, thanks for your help. I have attached the full postbit and postbit_legacy codes plus the screen capture for the User Profile Field Manager.
                              Attached Files
                              Last edited by plutonash; Sat 5 Mar '11, 10:27am.

                              Comment

                              Related Topics

                              Collapse

                              Working...