Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Hide E-Mail Error on Topic.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

richfed
Average Member

United States
999 Posts

Posted - 24 August 2002 :  09:08:00  Show Profile  Visit richfed's Homepage
Receive the following error on topic.asp:

quote:
Microsoft VBScript compilation error '800a040e'

'loop' without 'do'

/messageboard/topic.asp, line 731

loop
^



This after installing the Hide E-mail mod on 3.3.05. The rest of the mod seems to have taken ... radio buttons appear on register.asp & pop_profile.asp, etc.

Link to text file: http://www.mohicanpress.com/topic.txt

Lines modified by this mod are at: 128, 298, 654, and 847


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

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 24 August 2002 :  11:25:19  Show Profile
hi~~

try this... in your topic.asp line.663
height=15 width=15 alt="Email Poster" border="0" align="absmiddle" hspace="6"></a>
<% end if%>
<% if strDBNTUserName <> "" and rsReplies("M_PMRECEIVE") = "1" then %>


add one line
height=15 width=15 alt="Email Poster" border="0" align="absmiddle" hspace="6"></a>
<% end if
end if %>

<% if strDBNTUserName <> "" and rsReplies("M_PMRECEIVE") = "1" then %>


i'm not sure it'll work... it really a heavy modded topic.asp file..
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 24 August 2002 :  12:17:43  Show Profile  Visit richfed's Homepage
Thanks, DoraMoon ... that pointed me in the right direction. I needed your solution plus one more "end if," just before the "End Sub," on line 1062.

It is heavily modded ... but, it's all working! [I think!]

Thanks, again ...

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

richfed
Average Member

United States
999 Posts

Posted - 24 August 2002 :  15:41:47  Show Profile  Visit richfed's Homepage
quote:
Originally posted by richfed
It is heavily modded ... but, it's all working! [I think!]



Well, not quite. A very weird situation ...

To test the function [hide E-Mail], I selected "Yes", in my profile, to hide my e-mail ... and it did. It also did something else. It caused any topic starting post, written by me, to become devoid of text - blank! Just the first post of a thread, and only those started by me ... Switching back to "No" fixed it!

So, obviously, something's wrong ...

Here's an updated topic link: http://www.mohicanpress.com/topic.txt

Again, the line numbers that begin Hide E-Mail Mod changes are: 128, 298, 654, and 848 ... plus the little changes I made to fix the original error, at lines 664 & 1062.





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

richfed
Average Member

United States
999 Posts

Posted - 24 August 2002 :  19:27:59  Show Profile  Visit richfed's Homepage
Fixed now! The second "end if" I inserted needed to be in another area ... where topics are "written." Same place as DoraMoon had instructed me, though that was in the "reply" part of the code.

I am bug-eyed right now, but it feels good to have fixed one by myself! :)

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

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 25 August 2002 :  11:10:26  Show Profile
hi~ richfed

Congratulation! glad to see you solve your problem.

it really very difficult to find the missing "end if" in a heavily modded file. but in topic.asp, there are alway have two place similar need to modify at the same time, one for reply, and another for topic... it's my "modded" experience ~~~


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