HomeForumOff TopicTesting

1 Pages
1
 


New topic test - Simple test started by erick
February 8th 2008 at 2:56 AM  [ Modified February 8th 2008 at 2:56 AM ]
 
erick
Alternate Realities
erick doesn't know if he should go to work in the morning or not.
Updated Thursday at 12:05 AM
Send this user an email message Send this user a private message View this users gallery View this users blog
10417 Posts
Group: Administrators
Member Since: April 10th 2001
Location: Strathcona, MN, USA
Current Sled: RMK 660 HO
Miles Last Season: 3000
Miles This Season: 1600
 
 
Work damnit so I can go to bed.

Ok, it worked...time for to sleep.



Breaking free from the thoughts in my mind

Rating:
0
 
 
 
Site Supporter
Group: Site Supporters
 
 
 
February 8th 2008 at 3:33 AM
 
rev500ssRed Ribbon
Moderator
rev500ss is now on vacation for 6 days!
Updated Friday at 2:30 PM
Send this user an email message Send this user a private message View this users gallery View this users blog
2791 Posts
Group: Moderators
Member Since: October 20th 2005
Location: Royal Center, IN, USA
Current Sled: 2005 MXZ 500 SS
Miles Last Season: 500
Miles This Season: 578
 
 
^^^^^^^^^^^^
damn you must of been tired.



Your village called, they want their idiot back!

ARTICLE X:
You do not have the right to happiness. Being an American means that you have the right to PURSUE happiness - which by the way, is a lot easier if you are unencumbered by an overabundance of idiotic laws created by those of you who were confused by the Bill of Rights."

Rating:
0
 
February 8th 2008 at 12:44 PM
 
test
New Member
Send this user an email message Send this user a private message View this users gallery View this users blog
66 Posts
Group: Members
Member Since: July 22nd 2002
Location: Duluth, MN, USA
 
 
test




Rating:
0
 
February 8th 2008 at 1:01 PM
 
erick
Alternate Realities
erick doesn't know if he should go to work in the morning or not.
Updated Thursday at 12:05 AM
Send this user an email message Send this user a private message View this users gallery View this users blog
10417 Posts
Group: Administrators
Member Since: April 10th 2001
Location: Strathcona, MN, USA
Current Sled: RMK 660 HO
Miles Last Season: 3000
Miles This Season: 1600
 
 
test



Breaking free from the thoughts in my mind

Rating:
0
 
February 8th 2008 at 1:01 PM
 
test
New Member
Send this user an email message Send this user a private message View this users gallery View this users blog
66 Posts
Group: Members
Member Since: July 22nd 2002
Location: Duluth, MN, USA
 
 
test




Rating:
0
 
March 4th 2008 at 10:07 AM  [ Modified March 4th 2008 at 10:33 AM ]
 
erick
Alternate Realities
erick doesn't know if he should go to work in the morning or not.
Updated Thursday at 12:05 AM
Send this user an email message Send this user a private message View this users gallery View this users blog
10417 Posts
Group: Administrators
Member Since: April 10th 2001
Location: Strathcona, MN, USA
Current Sled: RMK 660 HO
Miles Last Season: 3000
Miles This Season: 1600
 
 
This is a test of the code blocks...

This is another line

.code
{
	text-align:left;
	background-color:White;
	border:dashed 1px black;
	padding:10px 10px 10px 10px;
	margin:5px 5px 5px 5px;
}

          this has spaces before it


A little VB code...

function FormatStr(fString)
	on Error resume next
' .... left out some lines
	fString = NoParse(fString)
	fString = ReplaceCodeTags(fString)
	if strAllowForumCode = "1" then
		fString = ReplaceURLs(fString)
		if strIMGInPosts = "1" then
			fString = ReplaceImageTags(fString)
		end if
	end if

	fString = ChkURLs(fString, "http://", 1)
	fString = ChkURLs(fString, "https://", 2)
	if VerifyWWW(fString) = True then
	fString = ChkURLs(fString, "www.", 3)
	end if
	fString = Replace(fString, CHR(133), "...")
	fString = ChkMail(fString)
	fString = ChkURLs(fString, "ftp://", 5)
	fString = ChkURLs(fString, "file:///", 6)

	if strAllowForumCode = "1" then
		fString = extratags(fString)
	end if
' .... left out some lines
	FormatStr = fString
	on Error goto 0
end function

Function NoParse(fString)
 	Dim oTag, cTag
 	Dim roTag, rcTag
 	Dim oTagPos, cTagPos
 	Dim nTagPos
 	Dim counter1, counter2
 	Dim strCodeText
 	Dim Tagcount
 	Dim strTempString, strResultString
 	TagCount = 2
  	Dim CodeTags(2,2,2)
 	Dim strArray, strArray2

 	CodeTags(1,1,1) = "[noparse]"
	CodeTags(1,2,1) = "[/noparse]"
	CodeTags(1,1,2) = ""
	CodeTags(1,2,2) = ""	
	
 	CodeTags(2,1,1) = "[noparse]"
 	CodeTags(2,2,1) = "[/noparse]"
 	CodeTags(2,1,2) = CodeTags(1,1,2)
 	CodeTags(2,2,2) = CodeTags(1,2,2)

 	strResultString = ""
 	strTempString = fString

 	for counter1 = 1 to TagCount

 		oTag   = CodeTags(counter1,1,1)
 		roTag  = CodeTags(counter1,1,2)
 		cTag   = CodeTags(counter1,2,1)
 		rcTag  = CodeTags(counter1,2,2)
 		oTagPos = InStr(1, strTempString, oTag, 1)
 		cTagPos = InStr(1, strTempString, cTag, 1)

 		if (oTagpos > 0) and (cTagPos > 0) then
 		 	strArray = Split(strTempString, oTag, -1)
 		 	for counter2 = 0 to Ubound(strArray)
 		 		if (Instr(1, strArray(counter2), cTag) > 0) then
 		 			strArray2 = split(strArray(counter2), cTag, -1)
					strCodeText = trim(strArray2(0))
					strCodeText = CleanCode(strCodeText)
					strCodeText = replace(strCodeText, "
", vbNewLine)
					strCodeText = replace(strCodeText, "<br />", vbNewLine)
 					'replace all forumcode tags to their hex equivalent
 					strCodeText = replace(strCodeText, "#", "#35;", 1, -1, 1) ' ## replace by entity equivalent
 					strCodeText = replace(strCodeText, "]", "#93;", 1, -1, 1) ' ## replace by entity equivalent
 					strCodeText = replace(strCodeText, "[", "#91;", 1, -1, 1) ' ## replace by entity equivalent
 					strCodeText = replace(strCodeText, "/", "#47;", 1, -1, 1) ' ## replace by entity equivalent
 					strCodeText = replace(strCodeText, ".", "#46;", 1, -1, 1) ' ## replace by entity equivalent
 					strCodeText = replace(strCodeText, ")", "#41;", 1, -1, 1) ' ## replace by entity equivalent
 					strCodeText = replace(strCodeText, "(", "#40;", 1, -1, 1) ' ## replace by entity equivalent
 					strCodeText = replace(strCodeText, ":", "#58;", 1, -1, 1) ' ## replace by entity equivalent
 					'done replacing
 					strCodeText = replace(strCodeText, vbNewLine, "<br />")
 		 			strResultString = strResultString & roTag & strCodeText & rcTag & strArray2(1)
 		 		else
 		 			strResultString = strResultString & strArray(counter2)
 		 		end if	
 		 	next  

			strTempString = strResultString
 			strResultString = ""
 		end if
	next

	NoParse = strTempString
end function






Breaking free from the thoughts in my mind

Rating:
0
 
April 10th 2008 at 1:40 PM  [ Modified April 10th 2008 at 1:41 PM ]
 
ty769
Junior Member
Send this user an email message Send this user a private message View this users gallery View this users blog
164 Posts
Group: Members
Member Since: January 17th 2006
Location: winnipeg, manitoba, Canada
Current Sled: 1999 polaris xcsp 700
 
 
;hou



GO BIG OR GO HOME

Rating:
0
 

1 Pages
1


0 user(s) are reading this topic (0 Members and 0 Guests)
Current members reading this topic are:







© 2001-2008 Snowmobile Fanatics. All rights reserved.
Hosted By Wiktel | Make A Donation Execution in 0.109375 seconds using 5 queries
Loading...