GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Change words on website to hyperlinked ads automagically: How to? (https://gfy.com/showthread.php?t=702179)

Naughty 02-02-2007 08:31 AM

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?

StuartD 02-02-2007 08:33 AM

Like this?

http://www.intellitxt.com/

Naughty 02-02-2007 08:36 AM

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.

Jace 02-02-2007 08:47 AM

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

Jace 02-02-2007 08:50 AM

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

Naughty 02-02-2007 09:18 AM

Thanks Jace.

Naughty 02-02-2007 09:47 AM

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 :(

Naughty 02-02-2007 09:47 AM

Hardcoded too, no keywords or searchterms whatsoever

Jace 02-02-2007 09:52 AM

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

mikeyddddd 02-02-2007 10:42 AM

Try this

Naughty 02-02-2007 11:13 AM

Quote:

Originally Posted by mikeyddddd (Post 11842175)

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.

;)

Naughty 02-02-2007 02:10 PM

Quote:

Originally Posted by mikeyddddd (Post 11842175)

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);



All times are GMT -7. The time now is 05:24 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123