opening links in same window with bbcode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Thechipleaders
    New Member
    • Jan 2007
    • 3

    opening links in same window with bbcode

    Hi,

    I'm hoping someone can help out. I am trying to create a bbcode that will open links in same window rather then a new one. I don't mod the software for all links but only ones I want to have open in same window. So far I gathered it has to be done through bbcode.

    So I gave it a shot through the bbcode manager and created the following....

    TAG surl

    REPLACEMENT <a href="{param}" >{param}</a>
    <a href="{option}">{param}</a>

    EXAMPLE [surl]http://www.mysite.com[/surl]


    It did not work......can someone please help?

    thanks
    Will
  • Colin F
    Senior Member
    • May 2004
    • 17689

    #2
    Try using:
    <a href="{param}" target="blank">{param}</a>
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

    • Thechipleaders
      New Member
      • Jan 2007
      • 3

      #3
      No it did not work

      I read the some of the other posts that are at the bottom and that's not really helping out either.

      I am trying to create it in bbcode so I can pick where and when I want the url to open in same window.

      thanks
      Will

      Comment

      • Thechipleaders
        New Member
        • Jan 2007
        • 3

        #4
        anyone else care to help? please!!!

        Comment

        • Jose Amaral Rego
          Senior Member
          • Feb 2005
          • 11058
          • 1.1.x

          #5
          Title: Intenal Uniform Resource Locator (URL) or Uniform Resource Identifier (URI)
          Tag: iurl
          Replacement: <a href="{param}" rel="nofollow">{param}</a>
          Description: Opens in same browser window
          Use {option} [No]
          Button Image (Optional): http://www.yoursite.com/upload/image...ternal_url.gif
          If you would like this bbcode to appear as a clickable button on the message editor toolbar, enter the URL of an image 21 x 20 pixels in size that will act as the button to insert this bbcode.

          Comment

          • Littlerocket
            Member
            • Dec 2006
            • 88

            #6
            Originally posted by Jose Amaral Rego
            Title: Intenal Uniform Resource Locator (URL) or Uniform Resource Identifier (URI)
            Tag: iurl
            Replacement: <a href="{param}" rel="nofollow">{param}</a>
            Description: Opens in same browser window
            Use {option} [No]
            Button Image (Optional): http://www.yoursite.com/upload/image...ternal_url.gif
            If you would like this bbcode to appear as a clickable button on the message editor toolbar, enter the URL of an image 21 x 20 pixels in size that will act as the button to insert this bbcode.
            That's great, thanks a lot.

            One problem I had though was linking via an image.

            HTML Code:
            [url=http://www.talkfootie.co.uk/arcade.php][IMG]http://i18.tinypic.com/6aur6l4.jpg[/IMG][/url]
            Works, but

            HTML Code:
            [iurl=http://www.talkfootie.co.uk/arcade.php][IMG]http://i18.tinypic.com/6aur6l4.jpg[/IMG][/iurl]
            doesn't. Any tips?

            Comment

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