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)
 Topic Rating Version 0.90 (updated)
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 11

Raichelle
Junior Member

370 Posts

Posted - 07 November 2001 :  23:57:06  Show Profile
</table></center>

<% ' ################# TOPIC RATING MOD ###################### ' %>

<% if ( getMemberID(strDBNTUserName) <> rs("T_AUTHOR") ) then %> <--- line 460
<% if strDBNTUserName <> "" Then
iTopicRating = GetTopicRating( getMemberID(strDBNTUserName), rs("TOPIC_ID") )
if iTopicRating <> -1 Then %>
<table border="0" width="96%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgColor="<% =strPageBGColor %>" align=left <%= strColspan %>>
<font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><small>You Rated this Topic:<img src="<%=strImageUrl %><%=GetTopicRatingPicture( iTopicRating )%>"></small></font>
</td>
</tr>
<table>
<% else %>

<form action="pop_topic_rating.asp?mode=goRate&id=<%=rs("TOPIC_ID")%>" method="Post" id=Form1 name=Form1>
<SELECT NAME="rating">
<OPTION value=''>Rate Topic
<OPTION value='5'>5: Highest Rating
<OPTION value='4'>4
<OPTION value='3'>3
<OPTION value='2'>2
<OPTION value='1'>1: Lowest Rating
</SELECT> <INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Rate">
</form>
<%end if%>
<% end if%>
<% else %>
<table border="0" width="96%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgColor="<% =strPageBGColor %>" align=left <%= strColspan %>>
<font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><small>You Cannot Rate your own Topic: </small></font>
</td>
</tr>
<table>
<% end if %>

<% ' ################# END TOPIC RATING MOD ###################### ' %>

<table border="0" width="95%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="<% =strTableBorderColor %>">
<table border="0" width="100%" cellspacing="1" cellpadding="4">
<tr>
<td align="center" bgcolor="<% =strHeadCellColor %>" width="<% =strTopicWidthLeft %>" <% if lcase(strTopicNoWrapLeft) = "1" then Response.Write(" nowrap") %>><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Author</font></b></td>
<td align="center" bgcolor="<% =strHeadCellColor %>" width="<% =strTopicWidthRight %>" <% if lcase(strTopicNoWrapRight) = "1" then Response.Write(" nowrap") %>><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>"><% if strShowTopicNav = "1" then Call Topic_nav() %><% =ChkString(Request.QueryString("Topic_Title"),"display") %></font></b></td>
<% if (AdminAllowed = 1) then %>

Edited by - raichelle on 08 November 2001 00:20:39
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 08 November 2001 :  00:01:15  Show Profile  Visit rick7165's Homepage
You can take most of that out... Mark line 460 in read and just leave some code around that.

Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 08 November 2001 :  00:11:42  Show Profile  Visit rick7165's Homepage
The only difference between 3.1 and 3.3 Topic.asp is 3.3 uses rsTopic and rsReplies


Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 08 November 2001 :  00:13:49  Show Profile  Visit rick7165's Homepage
Hey you got it going... what was it? Just have to get the images working now.

You can remove the topic.asp file you posted.

Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

Raichelle
Junior Member

370 Posts

Posted - 08 November 2001 :  00:23:16  Show Profile
its still showing that line 460 error on topic.asp

Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 08 November 2001 :  00:28:15  Show Profile  Visit rick7165's Homepage
it's showing fine for me...

what was in that line number?


Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 08 November 2001 :  00:29:54  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
quote:

And if your not using Huw's Modded Code you will need to remove these too:

<%=strImageUrl %>



Rick,

This would not have to be removed. The reason for this is that if strImageUrl would then = "" and would default to the directory the forum is installed and also the images.

Brad
Web Hosting with SQL Server @ $24.95 per month
Snitz Mod Archive

Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 08 November 2001 :  00:33:19  Show Profile  Visit rick7165's Homepage
Yea... that's right...

Do you know what his problem is? I'm tired and must be over looking something.

Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

Raichelle
Junior Member

370 Posts

Posted - 08 November 2001 :  00:35:10  Show Profile
are u sure? btw you know its topic111.asp right? because I am not trying to test it yet on my regular topic.asp since lots of users are alone

Go to Top of Page

Raichelle
Junior Member

370 Posts

Posted - 08 November 2001 :  00:50:41  Show Profile
Ok i fix the problem with the huge black spot showing all i had to do was to increase the colspan because thats what richard told me to do before when i had the same problem.

but if there is no fix for this problem is it ok to use the other version hoping the other version wont react the same way.

btw am all girly not a his am only doing this forum for my boyfriend but its ok hun

Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 08 November 2001 :  01:37:16  Show Profile  Visit rick7165's Homepage
try adding the red (rs("T_AUTHOR"))

Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

suhern
Junior Member

186 Posts

Posted - 08 November 2001 :  04:02:42  Show Profile
I repackaged this mod to have it rated for 5 stars and with a fair bit of layout change and with a pop for rating. You can see and download from here:

see and download from here

I am running 3.3

Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 08 November 2001 :  08:05:49  Show Profile  Visit rick7165's Homepage
what's different? The one I've uploaded was 5 stars. Everything looks the same
except I use the icon_blank.gif and you use the text.

Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource
Go to Top of Page

suhern
Junior Member

186 Posts

Posted - 08 November 2001 :  08:10:59  Show Profile
quote:

what's different? The one I've uploaded was 5 stars. Everything looks the same
except I use the icon_blank.gif and you use the text.

Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource



The layout is different - it is in the topic header. The rating is done thru a pop-up. You need to register at the site to see the difference. Anyway to each its own taste. I am just doing it in accordance to my requirements and sharing it here; maybe someone will find this useful.. cheers

Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 08 November 2001 :  08:21:57  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Rick,

I tried to look at it, but I have not seen 3.1 in a long time. I would guess its with the rsTopic but not sure without digging into the code.

quote:

Yea... that's right...

Do you know what his problem is? I'm tired and must be over looking something.

Test Site:
EastPasco running on Huw's Code 3.3.10 SQL 2000
Need a Snitz MOD? Click Here: Snitz Mod Resource



Brad
Web Hosting with SQL Server @ $24.95 per month
Snitz Mod Archive

Go to Top of Page
Page: of 11 Previous Topic Topic Next Topic  
Previous Page | 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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07