Author |
Topic |
GauravBhabu
Advanced Member
4288 Posts |
Posted - 01 October 2002 : 18:51:00
|
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
|
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? |
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 06 October 2002 : 13:18:19
|
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.
|
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 06 October 2002 : 16:50:29
|
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 |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 06 October 2002 : 17:35:03
|
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 |
|
|
terryp
Junior Member
United Kingdom
174 Posts |
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 07 October 2002 : 11:59:41
|
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 |
|
|
terryp
Junior Member
United Kingdom
174 Posts |
Posted - 07 October 2002 : 12:38:29
|
Works like a charm, thanks GauraBhabu, really happy to have this back. |
|
|
|
nathansym
Junior Member
163 Posts |
Posted - 05 November 2002 : 10:01:46
|
Is the instructions link still active? |
- Thanks - Nathan - www.gunslackers.com |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 05 November 2002 : 11:46:57
|
quote: Originally posted by nathansym
Is the instructions link still active?
Yes! Try now. |
|
|
nathansym
Junior Member
163 Posts |
Posted - 25 November 2002 : 09:50:42
|
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 |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 18 January 2003 : 18:35:41
|
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] |
|
|
OpenIntro
Junior Member
USA
126 Posts |
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 21 January 2003 : 07:27:37
|
Do not post Help questions in this topic. Post it under Mod Implementation Forum. |
|
|
OpenIntro
Junior Member
USA
126 Posts |
|
Topic |
|