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
 Poll Mod integration problems
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mr Pink
Junior Member

United Kingdom
387 Posts

Posted - 19 July 2003 :  12:12:20  Show Profile  Visit Mr Pink's Homepage  Send Mr Pink an AOL message
Posted on behalf of Hayleypink.

Hello, I hope one of you will be able to help.

I am trying to get the Poll Mod working on my Forum (3.4.03)

My Calender Mod has been working fine for months...so it must be an error I have made while installing the Poll Mod.

Error in Topic.asp:

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/board/topic.asp, line 1262

DrawMonth dateHolder, 1, 0, 1
----------^

Problem 1 FIXED

Link to my topic.asp file: www.m8m.co.uk/board/topic.txt
Link to Calender readme file: www.m8m.co.uk/board/readmecal.wri
Link to poll mod topic.asp file: www.m8m.co.uk/board/topic1.txt

To view to the forum: www.m8m.co.uk/board and then view **Test Area/Suggestions/Feeback/Help with Forum** without logging in.

I have tried to follow the Poll Mod and Calender Mod, yet when they clash without being a Programmer I cant tell what to change.

You will see there is a conflict in post.asp too - but lets do one thing at a time!!

Martin
Leyland Forum Leyland Lancashire UK

Edited by - Mr Pink on 20 July 2003 12:00:01

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 July 2003 :  00:01:22  Show Profile
On line 1261 you have the following code:
Response.Write	"<DIV style=""float:left"">" & vbnewline & _
Remove the code in red.

Support Snitz Forums
Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 20 July 2003 :  07:43:55  Show Profile
Many thanks for getting back to us on this one.

Error in topic.asp:

The first post shows twice within the same box in every topic...no matter whether a post or an event. Every reply after it is fine, so its an error with the coding of the first post I am assuming. I have searched topic.asp but can not find the area to ammend. Please Help!!!! Link to topic.asp: www.m8m.co.uk/board/topic.txt

topic.asp FIXED. Thank You!

Error in post.asp:


This is more complicated as all you get is big black spaces...no error messages so we cant tell what to do! These black areas show when making a new post, event or poll. This error fixed! Thanks!

Error in post_info.asp:

When posting a Poll the following error appears:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'cint'

/board/post_info.asp, line 841

Which relates to the piece below which is copied from the Poll Mod with no changes made by me!

' ######################### Poll Mod ########################
if Request.Form("poll") = "1" then
count = Request.Form("count")
ReDim txtAns(CInt(count))

For i = 1 To CInt(count)
if trim(Request.Form("answer" & CStr(i))) <> "" then
txtAns(i) = chkString(Request.Form("answer" & CStr(i)),"SQLString")
else
txtAns(i) = ""
end if
Next
end if
' ###########################################################

Link to post_info.asp: www.m8m.co.uk/board/post_info.txt

Help on these areas would be forever appreciated!!!

Edited by - hayleypink on 22 July 2003 14:41:50
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 July 2003 :  15:06:46  Show Profile
Topic.asp
Remove lines 1267 - 1272.
if Request.QueryString("SearchTerms") <> "" then
	Response.Write	SearchHiLite(formatStr(Topic_Message))
else
	Response.Write	formatStr(Topic_Message)
end if
Response.Write	"</span id=""msg""></font></td>" & vbNewLine
For the errors you are getting in post.asp and post_info.asp, I have modified your post.asp file. But it is too many changes for me to list here. I don't have anywhere to upload the file, so you would have to email me so I can get your email address and send you the file.

Support Snitz Forums
Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 20 July 2003 :  16:24:50  Show Profile
Please email: hayleypink@aol.com

Topic.asp has now been uploaded to the test forum. Thank you for fixing part of it.

Topic.asp Fixed - thank you!

It works ok for the Topics which are just posts - BUT going into an Event is different....When you look at an event everything is out of line and again a big black space....

Here's the link so you can see what I mean:

http://www.m8m.co.uk/board/topic.asp?TOPIC_ID=584

Link to topc.asp: www.m8m.co.uk/board/topic.txt


post.asp

Thanks for sending your version over - sadly nothing has changed - the screen shot above is still the same now - big spaces and out of line. To see here is the link: www.m8m.co.uk/board/post.asp?method=Topic&FORUM_ID=6" target="_blank">http://www.m8m.co.uk/board/post.asp?method=Topic&FORUM_ID=6 Partly fixed just file attachment to be corrected, see below - thank you!

I have also updated the link to post.txt file.
I know you have already done so much but any advice or help on this issue would be gratefully recieved! Maybe someone with btoh mods installed and working can help?

Edited by - hayleypink on 21 July 2003 16:57:41
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 July 2003 :  14:12:09  Show Profile
I have emailed you topic.asp and post.asp. Let me know if it works for you.

Support Snitz Forums
Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 21 July 2003 :  16:21:08  Show Profile
Thanks so much for all your time - maybe I can give you a free reading in a swap for all this help you have given? (I am a clairvoyant).

Ok:

I have set up a test account so you (or anyone else who can help) can see the errors, if how I explain them doesnt make sense.

www.m8m.co.uk/board
username: testuser
password: testuser

Post.asp

Thanks the big black spaces have gone.

[s][s]BUT we are now left with a black line at the top of the message box with the file attachment link on, where it should be at the bottom of the text box.
Link: www.m8m.co.uk/board/post.txt


Thanks fixed!

Post_info.asp


Works fine with posts and events - but still with Polls the below error still exists:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'cint'

/board/post_info.asp, line 841

Link: www.m8m.co.uk/board/post_info.txt

Forum.asp

The forum has trouble knowing whether a forum is locked or not. When the www.m8m.co.uk/board/forum.asp?FORUM_ID=45" target="_blank">Forum News forum is NOT locked, above the list of topics you have New Topic (icon and link) then Forum Locked text and an icon when the forum isnt locked (a normal user can post)! Locking the forum and unlocking it doesnt work, you still see the Forum Locked text instead of the New Topic, New Event, New Poll list that you should see.

Forum.asp error: Forum News folder: www.m8m.co.uk/images/forumnews.jpg" border="0">

When (logged in as Admin) the www.m8m.co.uk/board/forum.asp?FORUM_ID=49" target="_blank">How to Use forum IS locked you get a New Topic and New Event link but no New Poll. This is the same for another forum I locked.

www.m8m.co.uk/board/forum.asp?FORUM_ID=54" target="_blank">Test Area - this is fine when unlocked - New Event, Topic and Poll show. Like with the www.m8m.co.uk/board/forum.asp?FORUM_ID=6" target="_blank">Introduce Yourself forum - locked - no new poll link, unlocked everything is OK.

Link to forum.asp: www.m8m.co.uk/board/forum.txt

I have to say that is really confusing me! Help! Thanks!

Edited by - hayleypink on 22 July 2003 14:45:38
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 22 July 2003 :  11:03:44  Show Profile
post.asp
I don't know where your file attachment link should go in the code. You will have to give me instructions from the file attachment mod, so I can know where to put it.

post_info.asp
will email you this file. You placed some of the poll mod code into the wrong place and left out some of the code.

Support Snitz Forums
Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 22 July 2003 :  11:19:39  Show Profile
Post.info

Thanks will await email - is this the email you sent me? As that you have called post.asp

Post.asp:

Instructions from Mikes File Attachment Mod:

- Open your existing "post.asp" file
- ..at approximately the line number 1051, locate the code:

if strRqMethod = "Edit" or _
strRqMethod = "URL" or strRqMethod = "EditURL" or _
strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
strRqMethod = "EditTopic" or strRqMethod = "Topic" or strRqMethod = "TopicQuote" then
Response.Write " <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """> </td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine

- immediately after this insert the following code:

Response.Write " <a href=""#"" onClick=""window.open('pop_upload_new.asp','Uploading','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=440,height=310');""><acronym title=""Upload an Image File..."">" & getCurrentIcon(strIconPaperClip,"","") & "</a> <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Insert an Image File</acronym><br /></font>" & vbNewLine

Edited by - hayleypink on 22 July 2003 11:20:53
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 22 July 2003 :  11:33:44  Show Profile
forum.asp
I made some changes to your forum.asp file. Don't know if it totally fixed it as I quickly scanned through it. Let me know.

Support Snitz Forums
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 22 July 2003 :  11:56:23  Show Profile
Oh shucks, did I email you post.asp? Darn, that should have been post_info.asp. Sorry about that.

Yes you can upload the post.asp. I made some changes to it, but I still haven't fixed the file attachment yet. I got yur instructions. Will fix it and send it to you.

Support Snitz Forums
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 22 July 2003 :  11:59:45  Show Profile
Emailed you post.asp and post_info.asp.

Support Snitz Forums
Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 22 July 2003 :  14:34:33  Show Profile
Thanks for these. Please next time could you send the files as a Zip - much better than copying and pasting from an email :)
Links to asp files: www.m8m.co.uk/board/post.txt, www.m8m.co.uk/board/post_info.txt, www.m8m.co.uk/board/forum.txt and www.m8m.co.uk/board/topic.txt


Forum.asp

Microsoft VBScript compilation error '800a0409'

Unterminated string constant

/board/forum.asp, line 373

Response.Write " " & ChkString(Cat_Name,"display") & "
--------------------------------------------------------------^

Post.asp and Post Info

I can post a post and event fine. However, I can not see a link to New Poll on any page when viewing a topic so I cant test this out!

Topic.asp

I can not see a link to New Poll next to New Post or New Event in any forum.

Maybe the link to New Poll will show on every page when forum.asp works???


Edited by - hayleypink on 22 July 2003 14:53:27
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 22 July 2003 :  17:25:12  Show Profile
forum.asp
Line 373 should look like this:
Response.Write    " " & ChkString(Cat_Name,"display") & "" & vbNewLine & _


As I told you in the email, I won't be able to help you until Friday. This will be my last post to you, till friday.

Support Snitz Forums
Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 22 July 2003 :  18:05:19  Show Profile
ALL DONEEE!!!! Yippeee! Seems to be working fine...so far! Have installed it to my live forum! Thanks so much for all your help!!! you are an angel!!!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 July 2003 :  18:12:20  Show Profile
Glad you finally got it working.

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