Print Page | Close Window

Modifying [URL] tag

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20001
Printed Date: 11 April 2026 at 5:59pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Modifying [URL] tag
Posted By: jur3k
Subject: Modifying [URL] tag
Date Posted: 23 May 2006 at 4:54pm
Hello
 
Can anyone pls tell me how to modify the [URL] tag, so that all the links would contain "rel="no follow" tag. I've searcherd the forum and the only information I got was http://forums.webwiz.net/forum_posts.asp?TID=18499&KW=nofollow - HERE . Regretfuly the <meta name="robots" content="nofollow"> solution doesent work for me, because I still need some links to be followed by robots.
 
I've tryed modifying lots of files, but i cant seem to find the right one. There must be some place where  "rel="no follow"" line can be added...
 
I've also seen, that this option is available for v.8 forums.
 
Please help me, I'm despered!



Replies:
Posted By: WebWiz-Bruce
Date Posted: 23 May 2006 at 7:33pm
You need to upgrade to version 8 to get this.

If you upgrade to version 8 you can enable this by editing the file includes/setup_options.asp


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jur3k
Date Posted: 23 May 2006 at 9:35pm

tnx, for making a commercial, but upgrading from 6.x to 7.x has caused me enough trouble and it took me really a lot of time, so if there's any posibility, please give me a brake.

Im planning to upgrade to 8.x, I just need some time off my job to make all the necesery design change etc.
 
Plus, I have a really bad hosting service provider, so upgrading is a bit too much for me right now...
 
pls, -boRg-, I know you can help me...


Posted By: WebWiz-Bruce
Date Posted: 24 May 2006 at 8:31am
Have a look in the mods forum to see if anyone has made a mod to do this for version 7.

Upgrading to version 8 really isn't that hard, just run the database upgrade tool, then replace the ASP files with the new ones.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jur3k
Date Posted: 24 May 2006 at 10:49am
Hi
I've just browsed through 23 pages of v7 modifications, and found nothing useful...
 
Myself I've tryed modifying
functions/functions_format_post.asp
includes/RTE_toolbar_2.asp
includes/message_form_inc.asp
and all RTE files,
 
but nothing seems to do the job. I would like to find the part of the code that adds "target="_blank" to every link, and squeeze "rel="no follow" next to it.
 
Can you pls point me to the right direction, or tell me which file should I look into...
 
Would integrating RTE 3.0 solve the problem?
 
Tnx for the support
 


Posted By: WebWiz-Bruce
Date Posted: 24 May 2006 at 11:34am
I think in version 7 it was the file functions/functions_filters.asp that added the

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jur3k
Date Posted: 24 May 2006 at 12:09pm
Thank you, it works!!!!
 
In functions/functions_filters.asp change line 120 so it would like this:
 
strTempHTMLMessage = Replace(strTempHTMLMessage, ">", " target=""_blank"" rel=""no follow"">", 1, -1, 1)
 
Thank you again!!!
 
/edit
 
You have to modify functions_format_post.asp
line 61: strMessage = Replace(strMessage, " target=_blank rel=nofollow>", ">", 1, -1, 1)
line 877: strMessage = Replace(strMessage, " target=""_blank"" rel=""nofollow""", "", 1, -1, 1)
line 373: strTempMessage = Replace(strTempMessage, "[FILE=", "<a target=""_blank"" rel=""nofollow"" href=""", 1, -1, 1)
 
functions_edit_post.asp
line 67: strMessage = Replace(strMessage, " target=""_blank"" rel=""nofollow""", "", 1, -1, 1)
 
otherwise things get messed up while editing... I hope I didn'd miss smth out...
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net