Current time: 07-22-2014, 07:28 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make all link inactive.. How?
02-23-2007, 09:51 AM
Post: #1
Make all link inactive.. How?
Instead of making them inactive like this _http://

i'd like that they won't be active at all. Is that possible?
Find all posts by this user
Quote this message in a reply
02-23-2007, 10:13 AM
Post: #2
RE: Make all link inactive.. How?
Hello

Open ./inc/class_parser.php

Find
PHP Code:
$link "<a href=\"$fullurl\" target=\"_blank\">$name</a>"
Replace with
PHP Code:
$link "$name"

Visit this user's website Find all posts by this user
Quote this message in a reply
02-23-2007, 08:43 PM
Post: #3
RE: Make all link inactive.. How?
If you don't want to edit the code, here's a plugin that'll do it for you.  Not sure why you'd want to do this, but here ya go...


Attached File(s)
.php  nolinks.php (Size: 582 bytes / Downloads: 132)
Find all posts by this user
Quote this message in a reply
02-23-2007, 11:18 PM
Post: #4
RE: Make all link inactive.. How?
Thanks...
Quote:Not sure why you'd want to do this, but here ya go...

Privacy reasons (referrer)
Find all posts by this user
Quote this message in a reply
02-23-2007, 11:38 PM
Post: #5
RE: Make all link inactive.. How?
I have a plugin that I wrote for my forum to strip the referrer. I don't like sending referrers either. I didn't figure too many people would be interested in it, but if you want you can have it. I just need to make a public version that's not tailored to my site, but that won't take long. That way you can still keep links.

Note though that the plugin will not work with users of the Safari browser.
Find all posts by this user
Quote this message in a reply
02-24-2007, 12:33 AM (This post was last modified: 02-24-2007 12:36 AM by Galen.)
Post: #6
RE: Make all link inactive.. How?
Ok, here ya go.  Use this plugin and you can keep your links but ditch the referrers.

If anybody else thinks this plugin might be useful, I'll submit to to the mods site.  I never have because I just didn't think anybody else was interested in a dereferrer plugin.


Attached File(s)
.zip  DeRef.zip (Size: 2.04 KB / Downloads: 86)
Find all posts by this user
Quote this message in a reply
02-24-2007, 01:25 AM
Post: #7
RE: Make all link inactive.. How?
Would also be nice to have a plugin that would make all links with attribute rel='nofollow'. Not sure if there's already a plugin that does this.

Dennis Tsang
http://dennistt.net
Find all posts by this user
Quote this message in a reply
02-24-2007, 02:11 AM
Post: #8
RE: Make all link inactive.. How?
DennisTT Wrote:Would also be nice to have a plugin that would make all links with attribute rel='nofollow'. Not sure if there's already a plugin that does this.

Attached is the plugin you've asked for. Should work (tested). Made by me.

Do you want this plugin to also add the attribute to "WWW"s? (The user's website, that is.) I could do this. I'll either make a new one or make a configuration option... Maybe I'll even make a plugin with several such things editable.


.php  nofollow.php (Size: 603 bytes / Downloads: 85)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication