Change words on website to hyperlinked ads automagically: How to?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Naughty
    Confirmed User
    • Jul 2001
    • 6484

    #1

    Change words on website to hyperlinked ads automagically: How to?

    I have been looking for an hour, i'm not using the right searchterms I'm sure.

    It's stupid because i actually used them before. I need them for my own private project to make links to pages inside the same website.

    Who knows what I need to search for to find a script to do it?
    seks.ai for sale - ping me
  • StuartD
    Sofa King Band
    • Jul 2002
    • 29903

    #2
    Like this?

    http://www.intellitxt.com/
    This is me on facebook
    This is me on twitter

    Comment

    • Naughty
      Confirmed User
      • Jul 2001
      • 6484

      #3
      Stuartd, you da man.

      not exactly what I need, as i need a much simpler version, but |I guess that'd be easy to change once I have this.
      seks.ai for sale - ping me

      Comment

      • Jace
        FBOP Class Of 2013
        • Jan 2004
        • 35562

        #4
        http://www.cmsdevelopment.com/en/art...ax_dictionary/

        Comment

        • Jace
          FBOP Class Of 2013
          • Jan 2004
          • 35562

          #5
          http://www.spriteworks.com/linkpeeker.html

          Comment

          • Naughty
            Confirmed User
            • Jul 2001
            • 6484

            #6
            Thanks Jace.
            seks.ai for sale - ping me

            Comment

            • Naughty
              Confirmed User
              • Jul 2001
              • 6484

              #7
              Okay, that linkpeeker shit is absolute theft, lol.

              I bought it and the only thing they do is this:
              Code:
              a.showit:hover {
                 z-index: 25;
                 background-color: #ffff9b;
                 cursor: hand;
                 text-decoration: none;
              }
              a.showit span {
                 display: none;
              }
              My monkey can do that
              seks.ai for sale - ping me

              Comment

              • Naughty
                Confirmed User
                • Jul 2001
                • 6484

                #8
                Hardcoded too, no keywords or searchterms whatsoever
                seks.ai for sale - ping me

                Comment

                • Jace
                  FBOP Class Of 2013
                  • Jan 2004
                  • 35562

                  #9
                  damn, sorry....i just looked on hotscripts.com and posted some results

                  Comment

                  • mikeyddddd
                    Viva la vulva!
                    • Mar 2003
                    • 16557

                    #10
                    Try this

                    Comment

                    • Naughty
                      Confirmed User
                      • Jul 2001
                      • 6484

                      #11
                      Originally posted by mikeyddddd
                      Thanks. Although that is okay. I did come up with eregi_replace myself as well. problem is you need to define/read the entire page first.

                      It might work though, i'll tweak it and see if it works.

                      ;)
                      seks.ai for sale - ping me

                      Comment

                      • Naughty
                        Confirmed User
                        • Jul 2001
                        • 6484

                        #12
                        Originally posted by mikeyddddd
                        Okay, for me this works fine now, i did some tweaking and i will contribute it here;-)
                        This will read any page and keep the caps if there are any.


                        Code:
                        	$page=file_get_contents("abc.php");
                        
                        	$list = file("list.txt");
                        	for($i=0; $i<count($list); $i++) {
                        	$list[$i] = trim($list[$i]);
                        	$data = explode("|", $list[$i]);
                        	$page = preg_replace("/($data[0])/i", "<a href=\"$data[1]\" style=\"text-decoration:underline;\" title=\"Read more about $data[0]\">$1</a> ", $page);
                        	}
                        	print($page);
                        seks.ai for sale - ping me

                        Comment

                        Working...