Author |
Topic |
Ryan
Average Member
USA
858 Posts |
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
HolyOutlaw
Starting Member
USA
41 Posts |
Posted - 04 June 2003 : 16:35:36
|
Yep, that will fix it alright... There is your answer Red.
Thanks OneWay...
Peace... |
|
|
Ryan
Average Member
USA
858 Posts |
|
HolyOutlaw
Starting Member
USA
41 Posts |
Posted - 04 June 2003 : 19:36:30
|
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 |
|
|
Ryan
Average Member
USA
858 Posts |
Posted - 06 June 2003 : 14:23:33
|
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 |
|
|
HolyOutlaw
Starting Member
USA
41 Posts |
Posted - 07 June 2003 : 19:37:56
|
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 |
|
|
Ryan
Average Member
USA
858 Posts |
Posted - 12 June 2003 : 16:23:12
|
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 |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
Ryan
Average Member
USA
858 Posts |
|
Ryan
Average Member
USA
858 Posts |
Posted - 05 July 2003 : 23:52:02
|
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 |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
Ryan
Average Member
USA
858 Posts |
Posted - 07 July 2003 : 19:18:34
|
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 |
|
|
Darkness
Junior Member
Italy
145 Posts |
Posted - 29 October 2003 : 06:17:01
|
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...? |
|
|
Darkness
Junior Member
Italy
145 Posts |
Posted - 29 October 2003 : 07:54:53
|
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 |
|
|
Topic |
|