Announcement

Collapse
No announcement yet.

Stop links opening in New Window

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

  • Stop links opening in New Window

    In 3.0 I did this by modifying bbcodeparse, but this seems to have no effect? I have removed target=_blank but links posted within posts still open in new window.

  • #2
    Version 3.5.0 actually doesn't use includes/functions_bbcodeparse.php file anymore. It must be a leftover from 3.0.x.

    I don't know which file contains that code in 3.5.0. If no one else here knows, then you might try posting on www.vbulletin.org.

    Comment


    • #3
      Ah, thanks. When I upgraded I just left everything and just over-wrote the old files where needed.

      Will try vB.org as well, though have never had much luck with help on there.

      Comment


      • #4
        isn't there any easy way to do this ? with either 3.5/3.6 versions.
        My Sites :
        skiing & Irish Jobs & Irish MySpace Layouts & Mac Reviews & Irish Poker Forum

        Comment


        • #5
          This is NOT tested, but it might work if I've found the right bit of code. Apologies if not.

          In includes/class_bbcode.php

          Find this bit:
          Code:
          // standard URL hyperlink
          		return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
          Change to:
          Code:
          // standard URL hyperlink
          		return "<a href=\"$rightlink\">$text</a>";
          Let me know if this works!

          NB: Remember by doing this you are modifying the source code, albeit just a tiny bit, and therefore technically Jelsoft cannot support your board unless you restore the orginal file!
          MARK.B | vBULLETIN SUPPORT

          My vBulletin 5.1.4 Demo
          My vBulletin Cloud Demo

          Comment


          • #6
            Thanks for the hint. I thought there might be a user option.

            Personally I don't like modifying the code, so I'm not going to do this. Rather I would like to put in a formal request for this. Why does vbulletin inforce this new window... it should be optional. Most users are capable of using the shift or crtl keys to control new windows . Aren't they ?
            My Sites :
            skiing & Irish Jobs & Irish MySpace Layouts & Mac Reviews & Irish Poker Forum

            Comment


            • #7
              There is definitely no user option.

              Might be worth putting something about this is suggestions/feedback.
              MARK.B | vBULLETIN SUPPORT

              My vBulletin 5.1.4 Demo
              My vBulletin Cloud Demo

              Comment


              • #8
                will do. thanks Mark. B.
                My Sites :
                skiing & Irish Jobs & Irish MySpace Layouts & Mac Reviews & Irish Poker Forum

                Comment

                Working...
                X