Announcement

Collapse
No announcement yet.

How to change external links to internal links to do something before redirecting to the destination

Collapse
This is a sticky topic.
X
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Thanks for this modification. It works perfect for me.

    Comment


      #32
      I just re-applied this mod after upgrading to V5.5.3 but it doesn't seem to work any longer ?

      Comment


        #33
        is this compatible with php 7.3.7 ?

        Comment


          #34
          Theoretically it should be compatible as there's nothing special being done that would break in future PHP versions. But I'd have to check to verify.

          Comment


            #35
            I updated the code in the first post. Could you try again?

            There's a bug in vB where backslash "\" in posts are stripped off. The code has "\" that were stripped off which would cause syntax error. This could explain why the mod stopped working.

            I found a workaround to prevent a backlash from being removed from posts by using double backslashes.

            Comment

            Working...
            X