Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Page Rank Protection v1.0 Beta (Snitz v3.4)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

aspwiz
Junior Member

250 Posts

Posted - 28 July 2003 :  18:38:52  Show Profile  Visit aspwiz's Homepage
Please note: This is a Beta and therefore not meant to be installed on a live forum!


Title: Page Rank and Search Engine Positioning Protection MOD
Version: v1.0 Beta 1 for Snitz Forums v3.4
Author: AspWiz
Last Update: July 28, 2003

Description:
Prevents forums from accidentally linking to 'bad neighborhoods'
and consequently seriously damaging their page rank and search
engine positioning.
For more info regarding this, see this article:-
Are your Search Engine Rankings at Risk?

Features:-
erm... well, it re-formats links so the above cannot happen.

Possible future features :-
Ability to turn this functionality on/off in the admin options.

Installation Instructions
Open up inc_func_common.asp in a text editor (Not Front Page)
and replace the existing FormatStr function with this one:-
function FormatStr(fString)
	on Error resume next
	fString = Replace(fString, CHR(13), "")
	'fString = Replace(fString, CHR(10) & CHR(10), "<br /><br />")
	fString = Replace(fString, CHR(10), "<br />")
	if strBadWordFilter = 1 or strBadWordFilter = "1" then
		fString = ChkBadWords(fString)
	end if

	if strAllowForumCode = "1" then
		fString = ReplaceURLs(fString)
		fString = ReplaceCodeTags(fString)
		if strIMGInPosts = "1" then
			fString = ReplaceImageTags(fString)
		end if
	end if

	fString = ChkURLs(fString, "http://", 1)
	fString = ChkURLs(fString, "https://", 2)
	fString = ChkURLs(fString, "www.", 3)
	fString = ChkMail(fString)
	fString = ChkURLs(fString, "ftp://", 5)
	fString = ChkURLs(fString, "file:///", 6)

	if strIcons = "1" then
		fString = smile(fString)
	end if
	if strAllowForumCode = "1" then
		fString = extratags(fString)
	end if
	
	fString = Replace(fstring,"<a href=""http://","<a href=""javascript:openWindowLink('redirect.asp?url=http://")
	fString = Replace(fstring,"<a href=""https://","<a href=""javascript:openWindowLink('redirect.asp?url=https://")
	fString = Replace(fstring,"<a href=""www.","<a href=""javascript:openWindowLink('redirect.asp?url=www.//")
	fString = Replace(fstring,"<a href=""ftp://","<a href=""javascript:openWindowLink('redirect.asp?url=ftp://")
	fString = Replace(fstring,"<a href=""file://","<a href=""javascript:openWindowLink('redirect.asp?url=file://")
	fString = Replace(fstring,""" target=""_blank"">","')"">")
	
	FormatStr = fString

	on Error goto 0
end function
Next step is to open up the inc_header.asp file
and find this code:-
		"function openWindowHelp(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=470,height=200,scrollbars=yes')" & vbNewLine & _
		"}" & vbNewLine & _
and insert this code immediately under it:-
		"function openWindowLink(url) {" & vbNewLine & _
		"	popupWin = window.open(url)" & vbNewLine & _
		"}" & vbNewLine & _
Next, just create a file called redirect.asp and insert this code:-
<% response.redirect request.querystring("url")%>


and thats it...

Support:
Reply to this thread..

Demo:-
Sorry.... nothing at this time.

What needs to be done:
Testing with all types of links.

Feedback
Suggestions, comments, questions and bug reports are greatly appreciated!



onewaymule: I 'borrowed' you posting style for this mod as I was hurried!!

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 29 July 2003 :  02:42:18  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
onewaymule: I 'borrowed' you posting style for this mod as I was hurried!!

No problem!

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 05 August 2003 :  07:06:05  Show Profile  Visit aspwiz's Homepage
** BUMP **

This mod aint working.... grrrr

DONT INSTALL!!!

Can anyone help sort this mod out??

I can't believe no-one is taking this seriously... does anyone care about their google rankings?

I believe this cannot be done without a major rewrite of functionality
... maybe it can... it is the server side js function at the bottom of inc_func_common that is throwing me.

Does anyone have the talent to implement this?? I can make it worth your while!!

Rob
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 05 August 2003 :  07:23:25  Show Profile
Hmmm, I have my forum online for almost 3 years, and itīs always been on the top5 at Google for itīs subject, so I canīt see what the MOD is for?
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 05 August 2003 :  08:12:02  Show Profile  Visit aspwiz's Homepage
this is what for:-
http://websearch.about.com/library/weekly/aa032703b.htm

read up about bad neighborhoods...

I personally do not fancy researching link in every post.

Anyway, this could quite easily be a link tracking mod also!! does the same function...

Rob
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 05 August 2003 :  08:51:28  Show Profile
Yeah, I read the article - Iīm just saying, I donīt have any problems with Google page ranking at all. Iīve seen this so many times, an article will say the opposite as what I experience online, thatīs why people should not believe in everything they read online...
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 06 August 2003 :  12:27:38  Show Profile  Visit aspwiz's Homepage
quote:
Originally posted by wii

Yeah, I read the article - Iīm just saying, I donīt have any problems with Google page ranking at all. Iīve seen this so many times, an article will say the opposite as what I experience online, thatīs why people should not believe in everything they read online...



I am a highly skilled professional in the field of search engine optimisation (SEO) and know google like the back of my hand....

I achieve top 10 rankings for just about every site I have ever worked with.... sadly 3 months ago, 1 of those sites lost all page rank and shot down to page 70 from a 2nd place position for inadvertantly linking to a 'bad neighborhood'.

**** can, and *does* happen...

Bad neighborhoods and google are VERY well known in SEO circles, and that 1 article is one of a 1000 i could have used... people SHOULD believe this, and people DO pay me for my advice (after all, it's what I do!)

If people want to ignore this, then they will prolly be fine, but I can (If I were a competitor to someone with a snitz forum) make a nice little post *designed* to drop their page ranking off the scale... not that I would ever do suchg a thing... but if I wanted to, there is a big wide open hole for me to do so.

Is this a situation people want to be in?

If anyone wants to sacrifice their ranking, I can willingly demonstrate what I mean.... just give me your url.

Just my 2 cents..

Rob

Edited by - aspwiz on 06 August 2003 12:41:33
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07