Auto Links for VB5 ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • discoverxs3
    Senior Member
    • Jun 2013
    • 150
    • 5.2.x

    Auto Links for VB5 ?

    Has anyone found a way to make auto links* work in VB5 ?

    And we are not talking about monetization option offered from VigLink.

    Any ideas on this?




    * auto links = Automatically link a predefined text to a custom URL.


    EDIT 08.02.2017
    Hey everyone just to update...
    The mod is made and released by Glenn
    Get it here: http://vbmods.rocks/forum/vbulletin-...vb5-autolinker
    Demo: https://discoverxs.com/forum/pheromo...-or-vice-versa
    Last edited by discoverxs3; Wed 8 Feb '17, 11:04am.

    www.DiscoverXS.com - Putting the XS back into life™
    The first Pheromone Research community based on vBulletin Verion 5.x
  • discoverxs3
    Senior Member
    • Jun 2013
    • 150
    • 5.2.x

    #2
    ooook after 3 years
    i am coming back to this post ...

    and



    0 responses

    ....










    any chance someone wants to code a mod/parser for VB5 ?

    As so far using external jq scripts like

    Code:
    (function($) {
      var thePage = $("body");
      thePage.html(thePage.html().replace(/XXXXXXX/ig, '<a href="https://pXXXXXXX">XXXXXX</a>')); 
    })(jQuery)
    Is a total disaster.


    Just bumping this one up.

    www.DiscoverXS.com - Putting the XS back into life™
    The first Pheromone Research community based on vBulletin Verion 5.x

    Comment

    • Mark.B
      vBulletin Support
      • Feb 2004
      • 24291
      • 6.0.X

      #3
      These are the official support forums, and there is no way to do what you're asking in the default software. It requires custom coding.

      For peer-to-peer custom code help, it is best to ask on www.vbulletin.org, the modification and customisation site.
      MARK.B
      vBulletin Support
      ------------
      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

      Comment

      • glennrocksvb
        Former vBulletin Developer
        • Mar 2011
        • 4021
        • 5.7.X

        #4
        Originally posted by discoverxs3
        As so far using external jq scripts like

        Code:
        (function($) {
        var thePage = $("body");
        thePage.html(thePage.html().replace(/XXXXXXX/ig, '&lt;a href="https://pXXXXXXX"&gt;XXXXXX&lt;/a&gt;'));
        })(jQuery)
        Is a total disaster.
        It is! Because you're replacing the content of the entire document body instead of just the post content.

        This can be solved by Replacement Variables depending on the predefined text. If it's too common other instances that are not supposed to be changed might also be changed.

        ​​​​​​​There's other solution but this will require hacking the php files and/or templates.

        Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

        Comment

        • discoverxs3
          Senior Member
          • Jun 2013
          • 150
          • 5.2.x

          #5
          Thank you Glenn Vergara for responding.

          Since Mark is right i have just PM'ed too about this.

          www.DiscoverXS.com - Putting the XS back into life™
          The first Pheromone Research community based on vBulletin Verion 5.x

          Comment

          • discoverxs3
            Senior Member
            • Jun 2013
            • 150
            • 5.2.x

            #6
            Hey everyone just to update...
            The mod is made and released by Glenn Vergara
            Get it here: http://vbmods.rocks/forum/vbulletin-...vb5-autolinker
            Demo: https://discoverxs.com/forum/pheromo...-or-vice-versa

            www.DiscoverXS.com - Putting the XS back into life™
            The first Pheromone Research community based on vBulletin Verion 5.x

            Comment

            Related Topics

            Collapse

            Working...