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/O Code)
 Adding Ranks Mod Help!!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Sloan
Starting Member

24 Posts

Posted - 06 June 2001 :  16:35:09  Show Profile
Ok, I’ve been working on a two-pronged mod here. The first part of it is an avatar rank system. Instead of receiving multiple stars, a user will receive an avatar instead. That part of it works, but the second part of it is the one that is not working. I am attempting to add ranks to the database. I need more than 6 regular user ranks. I need 13 so far, and I have altered all of the files that are associated with the ranking system, but I receive the following error.

Microsoft VBScript compilation error '800a03ea'
Syntax error
/inc_functions.asp, line 1008
if (fM_POSTS >= intRankLevel4) and (fM_POSTS < intRankLevel5) then Member_Level = Member_Level &
------------------------------------------------------------------------------------------------^

I’m completely stuck here, and I have no Idea where to go next. Here is a zip of the files.: If one download doesn’t work, the other should.

http://www.makeitso.cjb.net/files.zip
http://www.crosswinds.net/~startrekccg/files.zip Note: Just copy and paste into browser!
Note: The readme is a copy of this message.


Thanks for your help!


BTW, I wasn't sure if this should go in this forum or the with code forum. I decided to place it here because it wasn't workong! I can repost if it's in the wrong forum!

Edited by - Sloan on 06 June 2001 16:43:00

e3stone
Average Member

USA
885 Posts

Posted - 06 June 2001 :  17:01:41  Show Profile  Send e3stone an AOL message
well, I believe that you're if..then statements are incorrect. syntax wise, they should be:

if (fM_POSTS < intRankLevel1) then
Member_Level = (Member_Level & strRankLevel0)
elseif (fM_POSTS >= intRankLevel1) and (fM_POSTS < intRankLevel2) then
Member_Level = (Member_Level & strRankLevel1)
elseif (fM_POSTS >= intRankLevel2) and (fM_POSTS < intRankLevel3) then
Member_Level = (Member_Level & strRankLevel2)
elseif (fM_POSTS >= intRankLevel3) and (fM_POSTS < intRankLevel4) then
Member_Level = (Member_Level & strRankLevel3)
elseif...and so on

<-- Eric -->


InsideWaco.com
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 06 June 2001 :  17:03:14  Show Profile
Is Member_Level a string? What's the rest of that line?

http://www.ugfl.net/forums
Go to Top of Page

Sloan
Starting Member

24 Posts

Posted - 06 June 2001 :  19:51:22  Show Profile
quote:

well, I believe that you're if..then statements are incorrect. syntax wise, they should be:

if (fM_POSTS < intRankLevel1) then
Member_Level = (Member_Level & strRankLevel0)
elseif (fM_POSTS >= intRankLevel1) and (fM_POSTS < intRankLevel2) then
Member_Level = (Member_Level & strRankLevel1)
elseif (fM_POSTS >= intRankLevel2) and (fM_POSTS < intRankLevel3) then
Member_Level = (Member_Level & strRankLevel2)
elseif (fM_POSTS >= intRankLevel3) and (fM_POSTS < intRankLevel4) then
Member_Level = (Member_Level & strRankLevel3)
elseif...and so on

<-- Eric -->


InsideWaco.com



Well, I don't think so. I just copied the previous lines from the inc_functions.asp and changed the numbers.

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.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07