Author |
Topic |
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 19 December 2000 : 00:46:18
|
I posted an updated version that shows the new line #'s and takes into account the error shown above. Please see the first message in this topic for the links.
Thanks! <img src=icon_smile.gif border=0 align=middle> |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 19 December 2000 : 03:12:31
|
Very cool! <img src=icon_smile_cool.gif border=0 align=middle> Thanks for providing this mod!
The next logical thing in addition to the message icons may actually be adding subjects for all posts. I've seen the message icons and subjects together in other types of forums. <img src=icon_smile.gif border=0 align=middle>
On my "hacked up" SR2 development copy, I added subjects: http://www.writermag.com/wrt/devforum/topic.asp?TOPIC_ID=14&FORUM_ID=8&CAT_ID=4
It wasn't hard to do at all. Probably modified some of the same files that you did for the message icons.
Think there's any interest in something like this?
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 19 December 2000 : 03:31:32
|
Not for me personally. But I'm sure that there are others that would be interested in a subject for each reply. I like to keep the topic all under the same subject. |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 19 December 2000 : 03:55:00
|
There's arguments for both sides.
One thing I like about subjects for each post is that if it's kind of a broad subject/topic, the subject can sometimes be a big help in quickly deciding which replies to read. Consider some topics that have 40+ posts/replies.
Or probably better is where an opinion has been asked for. The subject allows people to summarize their opinion and sets the tone for their reply.
BTW - back to the topic... <img src=icon_smile.gif border=0 align=middle>
I just added this MOD. Your instructions were excellent! I managed to get the MOD added within a couple of minutes and it worked the first time I tried it! Thanks!! <img src=icon_smile_big.gif border=0 align=middle>
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 19 December 2000 : 04:18:53
|
I try to be as thorough as possible. It takes me longer to write the instructions then anything else. I'm glad that it worked the first time! <img src=icon_smile_big.gif border=0 align=middle> |
|
|
Matthew
New Member
USA
91 Posts |
Posted - 19 December 2000 : 15:06:13
|
I get this error when I click to read a topic
Microsoft VBScript compilation error '800a03f6'
Expected 'End'
/forums/hottub/topic.asp, line 484
Line 484 is this
<% if strUseExtendedProfile then %>
I followed the instructions pretty carefully. I'm using 3.1 final so I downloaded the original version.
<center><font color=red>Matt</font id=red> <font color=green>If everything seems to be going well, you have obviously overlooked something.</font id=green></center>
Edited by - Matthew on 19 December 2000 15:10:47 |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 19 December 2000 : 15:31:20
|
Hi Matthew,
Can you copy and post from your file the code that you have between lines 465 - 490?
More than likely, it's and <%end if%> that was omitted before your line 484.
Edited by - work mule on 19 December 2000 16:55:32 |
|
|
Matthew
New Member
USA
91 Posts |
Posted - 19 December 2000 : 15:50:16
|
<pre id=code><font face=courier size=2 id=code> <font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <% if strUseExtendedProfile then %> <a href="pop_profile.asp?mode=display&id=<% =rs("MEMBER_ID") %>"> <% else %> <a href="JavaScript:openWindow3('pop_profile.asp?mode=display&id=<% =rs("MEMBER_ID") %>')"> <% end if %> <font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b><% =ChkString(rs("M_NAME"),"display") %></a> </b></font> <% if strShowRank = 1 or strShowRank = 3 then %> <br><font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><small><% = ChkString(getMember_Level(rs("M_TITLE"), rs("M_LEVEL"), rs("M_POSTS")),"display") %></small></font> <% end if %> <% if strShowRank = 2 or strShowRank = 3 then %> <br><% = getStar_Level(rs("M_LEVEL"), rs("M_POSTS")) %> <% end if %> <br> <br><font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><small><% =rs("M_COUNTRY") %></small></font> <br><font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><small><% =rs("M_POSTS") %> Posts</small></font></td> <td bgcolor="<% =strForumFirstCellColor %>" <% if (AdminAllowed = 1) then %>colspan="3"<% else %>colspan="2"<% end if %> valign="top"><img src='icon_mi_<% =rs("T_MSGICON") %>.gif' border="0" hspace="3"><font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">Posted - <% =ChkDate(rs("T_DATE")) %> : <% =ChkTime(rs("T_DATE")) %></font>
<% if strUseExtendedProfile then %> <a href="pop_profile.asp?mode=display&id=<% =rs("MEMBER_ID") %>"><img src="icon_profile.gif" height=15 width=15 alt="Show Profile" border="0" align="absmiddle" hspace="6"></a> <% else %> <a href="JavaScript:openWindow3('pop_profile.asp?mode=display&id=<% =rs("MEMBER_ID") %>')"><img src="icon_profile.gif" height=15 width=15 alt="Show Profile" border="0" align="absmiddle" hspace="6"></a> <% end if %> <% if (lcase(strEmail) = "1") then </font id=code></pre id=code>
If that doesn't help you can look at the file here http://www.thehottub.net/files/topic.zip
I'm looking through it myself now but haven't found anything yet.
<center><font color=red>Matt</font id=red> <font color=green>If everything seems to be going well, you have obviously overlooked something.</font id=green></center>
Edited by - Matthew on 19 December 2000 15:54:53 |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 19 December 2000 : 17:30:25
|
I can't find the problem. <img src=icon_smile_angry.gif border=0 align=middle> Looks like I spoke too soon.
I looked and I even ran a compare files between your file and my topic.asp file that I just applied the messages icon mod too. It looks like you added code for the PM mod, but other than that, I can't really see any differences.
I'm clueless on this one. Since I don't have the PM mod installed, I can't really test it either.
Sorry....<img src=icon_smile_sad.gif border=0 align=middle>
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
Capt_Dunzell
Junior Member
USA
160 Posts |
Posted - 01 January 2001 : 12:47:13
|
Okay, Im back with another problem in sr4.
This gives me no errors in sr4, but the images do not display on the reply messages, only in the topic message does the image show up.
In the reply message it simply shows the square with a red x, and no matter which image was selected it is always calling for the same image, and it is one that doesnt even exist. icon_mi_0.gif
I have done a search through all of the modified files and cannot find why or where it is calling for this. Gotta be something simple, but I just cant figure it out.
http://www.dunzellsden.com/forum/ |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 01 January 2001 : 13:08:24
|
it could be a couple of things. Either the data isn't getting written to the database, or it's not getting read from the database.
Check Topic.asp and make sure that you made all necessary modifications. Also check post.asp and post_info.asp |
|
|
Capt_Dunzell
Junior Member
USA
160 Posts |
Posted - 01 January 2001 : 13:15:11
|
Done it, actually 6 times now. Cant find anything wrong based on the instructions.
Ill do it again though. <img src=icon_smile.gif border=0 align=middle>
http://www.dunzellsden.com/forum/ |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 01 January 2001 : 13:25:50
|
do you have a link to the forum you have sr4 installed on ?
can you send me your topic.asp, post.asp, and post_info.asp ? I'll take a look at them. |
|
|
Capt_Dunzell
Junior Member
USA
160 Posts |
Posted - 01 January 2001 : 13:32:08
|
I havent uploaded it to my host, I have it running at home on PWS for testing, but its not accessable from outside my lan.
I just emailed them, I really appreciate you taking your time to look at them. I would love to be able to fix it, but I am still code stupid. <img src=icon_smile_wink.gif border=0 align=middle>
http://www.dunzellsden.com/forum/ |
|
|
Topic |
|