How To disable links!*tutorial*

Discussions about the phpBB2 Forum. How to get the best from this powerful script.

Moderator: Moderators

How To disable links!*tutorial*

Postby Cool Dude » Wed Feb 14, 2007 11:57 pm

Find in viewtopic.php:
Code: Select all
$message = make_clickable($message);


Replace with:
Code: Select all

// $message = make_clickable($message);


Wroks 100% i tested it myself.....
Cool Dude
 
Posts: 3
Joined: Tue Feb 13, 2007 10:36 pm

Advertisement

Postby AmirAbbas » Thu Feb 15, 2007 4:16 am

yes it works but there is little problem
this trick will change all link to plain text and finding links between text is hard. there is a mod here here
with the move that i mentioned above, you can show your links in bold face and they are not clickable. but if you want to keep your link active you can add nofollow tag to external link by installing deter comment spam mod
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby mreider » Thu Mar 01, 2007 5:46 pm

Is that for links that a user posts in a thread?

I just apply the nofollow attribute to everything.
mreider
phpBB SEO Team
phpBB SEO Team
 
Posts: 292
Joined: Sun May 07, 2006 3:11 pm

Re: How To disable links!*tutorial*

Postby here2help » Mon Mar 29, 2010 8:53 pm

If this for preventing link spam for SEO....cann't it be some kind of javascript code like for exmple:
Code: Select all
<a href=onClick('navigate')>link</a>

Instead of turning the link into inactive one? i mean active links are useful too because sometimes people refer others to useful articles that help problems
here2help
 
Posts: 11
Joined: Sat Mar 06, 2010 4:52 pm


Return to phpBB2 Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests