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
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

GauravBhabu
Advanced Member

4288 Posts

Posted - 01 October 2002 :  18:51:00  Show Profile
Mod Stars Setup
Author: Rakesh Jain(GauravBhabu)
Date: October 1, 2002
For Snitz version 3.4.xx

---------------------------------------
Features:
---------------------------------------
1. Setup maximum number of stars from Admin Options
2. Set default number of stars for Administrators/Moderators
3. Extra star to Forum Admin
4. Members who reach level five get additional star when they add another level five posts to their posts.

---------------------------------------
Installation:
---------------------------------------
Requires modification to following files

1. config.asp
2. admin-config.asp
3. inc_func_member.asp
4. topic.asp
5. members.asp
6. pop_config_help.asp

Instructions

CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain

It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.

Prayer Of Forgiveness
"I forgive all living beings. May all living beings forgive me!
I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)

Edited by - GauravBhabu on 05 November 2002 11:46:17

terryp
Junior Member

United Kingdom
174 Posts

Posted - 06 October 2002 :  05:59:32  Show Profile  Visit terryp's Homepage
Hi GB,
I have private messages mod on my forum and if I use your additional stars (which I'd really like to do) I get this error message when opening new messages.....

Microsoft VBScript runtime error '800a01c2'

Wrong number of arguments or invalid property assignment: 'getStar_Level'
/forum/privateread.asp, line 152

Anyway of making it compatible?

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 06 October 2002 :  13:18:19  Show Profile
The new get_starLevel function exopects three arguments.

getStar_Level(Member_ID, Member_Level, Member_Posts)

Member_ID = Member_ID for the member for whom star level is to be obtained
Member_Level = M_Level for the member for whom star level is to be obtained
Member_Posts = M_Posts for the member for whom star level is to be obtained

if you post a link to text version of privateread.asp I will be able to tell you, what to modify.


Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 06 October 2002 :  13:57:48  Show Profile  Visit PeeWee.Inc's Homepage

I'm getting a error, if you look here ( http://www12.brinkster.com/zigireforum/db/topic.asp?TOPIC_ID=9) you will see it (it's hard to say what it is yasee )

I dont know whats wrong, i just spent 30 mins looking at it

Here is my topic.asp
http://www12.brinkster.com/zigireforum/re.txt

See whats wrong with it?

De Priofundus Calmo Ad Te Damine
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 06 October 2002 :  16:50:29  Show Profile
quote:
Originally posted by PeeWee.Inc


I'm getting a error, if you look here ( http://www12.brinkster.com/zigireforum/db/topic.asp?TOPIC_ID=9) you will see it (it's hard to say what it is yasee )

I dont know whats wrong, i just spent 30 mins looking at it

Here is my topic.asp
http://www12.brinkster.com/zigireforum/re.txt

See whats wrong with it?





You put the code which belong to first post in the topic in the reply for next loop and the code which belong to the reply in the Sub getFirst() for the topic. See step 1 and 2 for topic.asp in the instructions.

Following should be in the sub getFirst(0
if strShowRank = 2 or strShowRank = 3 then
       	Response.Write	"                " & getStar_Level(TMember_ID, Member_Level, Member_Posts) & "<br />" & vbNewLine
end if


This should be in the for next loop for Replies.

if strShowRank = 2 or strShowRank = 3 then
	Response.Write	"                " & getStar_Level(Reply_MemberID, Reply_MemberLevel, Reply_MemberPosts) & "<br />" & vbNewLine
end if




Edited by - GauravBhabu on 06 October 2002 16:51:34
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 06 October 2002 :  17:35:03  Show Profile  Visit PeeWee.Inc's Homepage
thank you, i now have it all working, i feel like a fool
it's a great mod btw!
Well done!

De Priofundus Calmo Ad Te Damine
Go to Top of Page

terryp
Junior Member

United Kingdom
174 Posts

Posted - 07 October 2002 :  11:27:26  Show Profile  Visit terryp's Homepage
Link is here : http://d-c2.co.uk/pr.txt Thanks for looking. :)

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 07 October 2002 :  11:59:41  Show Profile
quote:
Originally posted by terryp

Link is here : http://d-c2.co.uk/pr.txt Thanks for looking. :)



Find the following statement
Response.Write	"    " & getStar_Level(strMLevel, strMPosts) & "<br>" & vbNewLine


Modify as shown below
Response.Write	"    " & getStar_Level(strPMFromID, strMLevel, strMPosts) & "<br>" & vbNewLine
Go to Top of Page

terryp
Junior Member

United Kingdom
174 Posts

Posted - 07 October 2002 :  12:38:29  Show Profile  Visit terryp's Homepage
Works like a charm, thanks GauraBhabu, really happy to have this back.

Go to Top of Page

nathansym
Junior Member

163 Posts

Posted - 05 November 2002 :  10:01:46  Show Profile  Visit nathansym's Homepage  Send nathansym an AOL message
Is the instructions link still active?

- Thanks
- Nathan
- www.gunslackers.com
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 05 November 2002 :  11:46:57  Show Profile
quote:
Originally posted by nathansym

Is the instructions link still active?


Yes! Try now.
Go to Top of Page

nathansym
Junior Member

163 Posts

Posted - 25 November 2002 :  09:50:42  Show Profile  Visit nathansym's Homepage  Send nathansym an AOL message
thanks!

do you think you will be coming out with a MOD that allows you to name those extra levels?

- Thanks
- Nathan
- www.gunslackers.com
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 18 January 2003 :  18:35:41  Show Profile  Visit richfed's Homepage
For anyone who tries this with the Top Poster Mod installed, you'll also need to change the file, members_top_poster.asp.

Change lines 403-405, on that file, to this:

quote:
if strShowRank = 2 or strShowRank = 3 then
Response.Write("<br />" & getStar_Level(Members_MemberID, Members_MemberLevel, Members_MemberPosts) & "")
end if



Same thing you did on members.asp.

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

OpenIntro
Junior Member

USA
126 Posts

Posted - 21 January 2003 :  03:15:02  Show Profile  Send OpenIntro an AOL message
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

Let's All Do Kamikaze Shots!
http://www.kamikazeshots.com
http://www.kamikazeshots.com/forum
*DO YOUR CLICKS!*
http://dailyclicks.kamikazeshots.com
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 21 January 2003 :  07:27:37  Show Profile
Do not post Help questions in this topic. Post it under Mod Implementation Forum.
Go to Top of Page

OpenIntro
Junior Member

USA
126 Posts

Posted - 21 January 2003 :  13:50:56  Show Profile  Send OpenIntro an AOL message
lol....that was helpful....

Let's All Do Kamikaze Shots!
http://www.kamikazeshots.com
http://www.kamikazeshots.com/forum
*DO YOUR CLICKS!*
http://dailyclicks.kamikazeshots.com
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next 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