Announcement

Collapse
No announcement yet.

How can I make a typed link become live

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

  • How can I make a typed link become live

    with an affiliate link inside it?

    Just so I am clear here.

    If someone typed "I am betting on Joe Bloggs to win the european cup @ 17.00 with Bet365.

    How can Bet365 be converted into a hyperlink with affiliate tracking code instantly?

    It has been done on this forum, example below

    Forum is

    3 posts down, note Victor Chandler is hyperlinked with which lands at the sportsbook home page.

    How can this be done?
    Last edited by Paul Ross; Wed 9 Nov '05, 11:16pm.

  • #2
    Create a replacement variable:

    Admin CP -> Styles & Templates -> Replacement Variable Manager -> [Add New Replacement Variable]

    Replace:

    Code:
    Bet365
    ...with:

    Code:
    <a href="[color=red]LINK HERE[/color]" target="_blank">Bet365</a>

    Comment


    • #3
      Hi Jake,

      Thanks for that.

      One slight problem though, if the text appears in a "thread title" it makes a huge mess.

      How can I do this for text in posts only, rather than thread titles?

      Or if you have any other solution, that would be great.

      Comment


      • #4
        I don't know of any easy way to do that.

        Comment


        • #5
          There is no way to do this without modifying the code.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment


          • #6
            ..

            ...Hmm.

            So, how did the above forum do this as shown in the first post?

            Comment


            • #7
              Can you please be more specific?
              Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
              Change CKEditor Colors to Match Style (for 4.1.4 and above)

              Steve Machol Photography


              Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


              Comment


              • #8
                ...

                Another forum has already done what I wanted (shown below), only the links within threads are converted and never thread titles.


                It has been done on this forum, example below

                Forum is

                3 posts down, note Victor Chandler is hyperlinked with which lands at the sportsbook home page.
                Last edited by Paul Ross; Wed 9 Nov '05, 11:16pm.

                Comment


                • #9
                  Sorry I don't understand what this has to do with the issue of thread titles. 'Victor Chandler' is not in the thread title.
                  Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                  Change CKEditor Colors to Match Style (for 4.1.4 and above)

                  Steve Machol Photography


                  Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                  Comment


                  • #10
                    ...

                    You are right it isn't Steve, but they have other examples where it is and does not hyperlink.

                    Comment


                    • #11
                      And can you provide those examples? This is not possible without modifying the vB code.
                      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                      Change CKEditor Colors to Match Style (for 4.1.4 and above)

                      Steve Machol Photography


                      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                      Comment


                      • #12
                        Here is an example:



                        Bet365 not hyperlinked in thread title, but is in the 2nd post.
                        Last edited by Paul Ross; Wed 9 Nov '05, 11:16pm.

                        Comment


                        • #13
                          Look closer at the link. The 'autolink.php' script creating this link is not a vB file. This is a hack they've installed.
                          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                          Change CKEditor Colors to Match Style (for 4.1.4 and above)

                          Steve Machol Photography


                          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                          Comment


                          • #14
                            Is there any way to do this using BBCode?

                            I am trying to do it but am having the title problem. Thanks!

                            Comment


                            • #15
                              any more info on this?
                              If it is a hack, does anyone have a link to it?
                              We run a forum with our shop bolted on and would like to turn product names into clickable links that take you straight to the items, but we'd only want it to do this in the body text of a post, not the title..
                              thanks,
                              James

                              Comment

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