Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make all link inactive.. How?
#1
Instead of making them inactive like this _http://

i'd like that they won't be active at all. Is that possible?
Reply
#2
Hello

Open ./inc/class_parser.php

Find
PHP Code:
$link "<a href=\"$fullurl\" target=\"_blank\">$name</a>"
Replace with
PHP Code:
$link "$name"
Reply
#3
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 Files
.php   nolinks.php (Size: 582 bytes / Downloads: 136)
Reply
#4
Thanks...
Quote:Not sure why you'd want to do this, but here ya go...

Privacy reasons (referrer)
Reply
#5
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.
Reply
#6
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 Files
.zip   DeRef.zip (Size: 2.04 KB / Downloads: 87)
Reply
#7
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
Reply
#8
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)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)