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 Stars Setup
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

Ryan
Average Member

USA
858 Posts

Posted - 04 June 2003 :  14:02:58  Show Profile  Visit Ryan's Homepage
Sure here is the link to it:
http://www.geocities.com/reducks87/snitzviewer.html
Let me know!

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 04 June 2003 :  14:15:40  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Change this line (line 144):
		Response.Write	"    " & getStar_Level(strMLevel, strMPosts) & "<br>" & vbNewLine

to
		Response.Write	"    " & getStar_Level(strMID, strMLevel, strMPosts) & "<br>" & vbNewLine

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

HolyOutlaw
Starting Member

USA
41 Posts

Posted - 04 June 2003 :  16:35:36  Show Profile  Visit HolyOutlaw's Homepage
Yep, that will fix it alright... There is your answer Red.

Thanks OneWay...

Peace...
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 04 June 2003 :  16:56:37  Show Profile  Visit Ryan's Homepage
K that fixed it. but the outbox is not working. *goes to put the pricatesend.asp at http://www.geocities.com/reducks87/snitzviewer.html You all can look at that and tell me what needs changed there. Thanks!

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

HolyOutlaw
Starting Member

USA
41 Posts

Posted - 04 June 2003 :  19:36:30  Show Profile  Visit HolyOutlaw's Homepage
The outbox works fine for me... I logged in as SnitzTester and sent myself a PM. Be sure to click Preferences in PM at the bottom of the preferences page and select Single page layout : both inbox and outbox appear on the same page in the InBox/OutBox Preferences section at the bottom.

Edited by - HolyOutlaw on 04 June 2003 19:37:52
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 06 June 2003 :  14:23:33  Show Profile  Visit Ryan's Homepage
I tried single page layout but it wont let me. It says that the change was saved succesfully but it doesnt change?

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

HolyOutlaw
Starting Member

USA
41 Posts

Posted - 07 June 2003 :  19:37:56  Show Profile  Visit HolyOutlaw's Homepage
Have you sent any PMs since you changed it? The outbox is not shown until you send at least one once you eneable it...

Edited by - HolyOutlaw on 07 June 2003 19:38:14
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 12 June 2003 :  16:23:12  Show Profile  Visit Ryan's Homepage
Ok here is the scoop. I did single page layout. It showed both the outbox and inbox. When I clicked on one of my outbox messages i got this error:
Microsoft VBScript runtime error '800a01c2'

Wrong number of arguments or invalid property assignment: 'getStar_Level'

/reducks87/tplforum/privatesent.asp, line 126

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 12 June 2003 :  19:39:41  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Change line 126 of privatesent.asp from:
		Response.Write	"    " & getStar_Level(strMLevel, strMPosts) & "<br>" & vbNewLine

to
		Response.Write	"    " & getStar_Level(cLng(Request.QueryString("id")), strMLevel, strMPosts) & "<br>" & vbNewLine

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

Ryan
Average Member

USA
858 Posts

Posted - 12 June 2003 :  20:40:16  Show Profile  Visit Ryan's Homepage
Great thanks! You ppl are awesome! Now if someone could just answer my question about the photo album...(go here: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=44682)

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 05 July 2003 :  23:52:02  Show Profile  Visit Ryan's Homepage
I am getting this error on the IP_search MOD that I implemented:
302
Microsoft VBScript runtime error '800a01c2'

Wrong number of arguments or invalid property assignment: 'getStar_Level'

/admin_search_ip.asp, line 423

Obviously this is from this MOD.
Click here to view the txt of admin_search_ip.aspThanks for any help!

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 07 July 2003 :  19:08:00  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Replace line 423:
				Response.Write("<br />" & getStar_Level(Members_MemberLevel, Members_MemberPosts) & "")


with the following line:
				Response.Write("<br />" & getStar_Level(Members_MemberID, Members_MemberLevel, Members_MemberPosts) & "")

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

Ryan
Average Member

USA
858 Posts

Posted - 07 July 2003 :  19:18:34  Show Profile  Visit Ryan's Homepage
Great! Thanks. By using the info you gave me I was able to fix an error I got on the post stamp which also conflicts with the stars MOD.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Darkness
Junior Member

Italy
145 Posts

Posted - 29 October 2003 :  06:17:01  Show Profile  Visit Darkness's Homepage
quote:
Originally posted by OpenIntro

I'm getting a problem when installing this on my forum. When I go to any topic, on the SECOND post on the page it says:

Microsoft VBScript runtime error '800a0009'

Subscript out of range: '[number: 5]'

/kamikazeeshots/forum/inc_func_member.asp, line 117

and there are no other topics after that.

When I click on members at the top, I find this:

Microsoft VBScript runtime error '800a01c2'

Wrong number of arguments or invalid property assignment: 'getStar_Level'

/kamikazeeshots/forum/members.asp, line 449


Below are links for these two files. Are there mistakes in my adding of the code? I may just try again....


http://12.171.180.39/kamikazeeshots/forum/inc_func_member.txt

http://12.171.180.39/kamikazeeshots/forum/members.txt



I have the same problem.
What can i do...?
Go to Top of Page

Darkness
Junior Member

Italy
145 Posts

Posted - 29 October 2003 :  07:54:53  Show Profile  Visit Darkness's Homepage
GauravBhabu there is an error in your script.

strNewRankColor = arrRankColors(intRank - 1)

If intRank = 6 it point to an object in Array that does not exist.

I modified the script in this way:

function getStar_Level(ByVal fM_ID, ByVal fM_LEVEL, ByVal fM_POSTS)
		  dim strStarImage, intRank, strStar_Level
		  dim intStarCount, strNewRankColor, arrRankLevels, arrRankColors
		  dim intMaxStars, intBonusPosts, intBonusRank
		  Rem -Set Maximum Number of Stars
		  intMaxStars = clng(strMaxStars)
		  strStar_Level = ""
		  arrRankLevels = array(intRankLevel1,intRankLevel2,intRankLevel3,intRankLevel4,intRankLevel5)
		  arrRankColors = array(strRankColor1,strRankColor2,strRankColor3,strRankColor4,strRankColor5,strRankColor5)
		  for intRank = 0 to 4
		  	if (fM_POSTS < cint(arrRankLevels(intRank))) then exit for
		  next
		  Rem -User has reached the number of posts set for level Five
		  Rem -Will get an additional star
		  Rem -when his/her posts go up by the number of posts set for level Five
		  if intRank = 5 then
		    intBonusRank = 0
		    intBonusPosts = clng(fM_POSTS - (cint(intRankLevel5)))
		    if intBonusPosts > 0 then intBonusRank = (intBonusPosts\(cint(intrankLevel5)))
		    intRank = intRank + intBonusRank
		  end if
		  arrRankLevels = empty
		  Select case fM_LEVEL
		  	Case "1"
		  		Rem -No Star to Normal Members if their posts are less then First Level
		  		if intRank = 0 then getStar_Level = strStar_Level : exit function
		  		if intRank > 6 then
		  			intRank = 6
		  		end if
		  		strNewRankColor = arrRankColors(intRank - 1)
		  	 if intRank <= intMaxStars then intMaxStars = intRank
		  	Case "2"
		  		strNewRankColor = strRankColorMod
		  		intMaxStars = NewRank(strModStars, intRank, intMaxStars)
		  	Case "3"
		  		strNewRankColor = strRankColorAdmin
      intMaxStars = NewRank(strAdminStars, intRank, intMaxStars)
      Rem -Give An Extra Star to Super Admin
      if fM_ID = intAdminMemberID then intMaxStars = intMaxStars + 1
		   Case else
		  		getStar_Level = strStar_Level & "Error"
		  		exit function
		  end select
		  strIconStar = "icon_star_"
		  arrRankColors = empty
		  strStarImage = getCurrentIcon(strIconStar & strNewRankColor & ".gif|13|12", "", "")
		  for intStarCount = 1 to intMaxStars
		  	strStar_Level =  strStar_Level & strStarImage
		  next
		  getStar_Level = strStar_Level
		  strStarImage = "" :	strStar_Level = ""
		  intRank = 0 :	intStarCount = 0
end function


but if you have a better idea...

Edited by - Darkness on 29 October 2003 08:09:58
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page
 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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07