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
 Installing Poll mod- I get these errors :-(
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

funinbc
Junior Member

245 Posts

Posted - 03 January 2003 :  14:36:23  Show Profile
Just when I was all proud of myself and it looked like everything was working. I am getting errors that make the forum not functional.

The readme files were great! Easy to follow if you have no other mods installed. The problem is I do and I don't know asp (yet!)
If anyone can help I would really appreciated it. I have spent hours installing and reviewing what I have done

this is the mods I have installed:

Active Users vs. 4.0.17
NEW EVENTS CALENDAR MOD FOR SNITZ 3.4.03
Avatar Mod for 3.4
Content Display 3.4.03
Mike's File Attachment Mod For Snitz
Message Icons MOD v3.4
SmileManager Plus


My website is http://www.funinbc.com/test/forum/

user name test
password test



The problems I have found so far:

-Active users are no longer displayed

-When posting or replying the page is distorted

-I changed one forum to allow polls but the the changes did not take



links to the text files are :

http://www.funinbc.com/temp/polltxt/active.txt
http://www.funinbc.com/temp/polltxt/admin_forums.txt
http://www.funinbc.com/temp/polltxt/admin_home.txt
http://www.funinbc.com/temp/polltxt/default.txt
http://www.funinbc.com/temp/polltxt/forum.txt
http://www.funinbc.com/temp/polltxt/inc_func_common.txt
http://www.funinbc.com/temp/polltxt/inc_header.txt
http://www.funinbc.com/temp/polltxt/inc_iconfiles.txt
http://www.funinbc.com/temp/polltxt/post.txt
http://www.funinbc.com/temp/polltxt/topic.txt


Not really sure where I have gone wrong and I really do aprecaite any help!!

Thank you






Edited by - funinbc on 04 January 2003 17:08:36

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 03 January 2003 :  19:47:46  Show Profile
For your post.asp file, remove lines 951 - 955:
if Request.QueryString("event")="1" or isevent="1" then 
	Response.Write	"                <td bgColor=""" & strPopUpTableColor & """ noWrap ...
else 
	Response.Write	"                <td bgColor=""" & strPopUpTableColor & """ noWrap ...
end if
Add the following code in red after line 944:
	end if 
elseif Request.QueryString("event")="1" or isevent="1" then
	Response.Write strCalEventDetails
else
Comment out or remove lines 1231 - 1233:
'Response.Write	"              <tr>" & vbNewLine & _
'		"                <td bgColor=""" & strPopUpTableColor & """> </td>" & vbNewLine & _
'		"                <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine
'################################ Poll Mod ##############################
See if that helps your post.asp file.

Support Snitz Forums
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 03 January 2003 :  19:51:39  Show Profile
quote:
-I changed one forum to allow polls but the the changes did not take
Make sure you added all the poll mod code for your post_info.asp file.
quote:
-Active users are no longer displayed
Since this is not my mod, you have to be more descriptive than that.

Support Snitz Forums
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 03 January 2003 :  22:53:01  Show Profile
Thank you very much Davio !! That did fix the post.asp


-I changed one forum to allow polls but the the changes did not take

What I am doing is opening up the forum as admin and changing
the "Polls Permission" from Dont allow polls to Allow all members
When I post changes it reads forum updated but the change did not take place.

I looked at the changes again to post_info.asp and I think I have put everything in the right place. At least I hope so :-)

http://www.funinbc.com/temp/polltxt/post_info.txt


Thanks again !!


Edited by - funinbc on 03 January 2003 22:57:27
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 04 January 2003 :  12:31:22  Show Profile
Uhmm, update your post.txt file so I can see the changes you did.

I will need admin access to your forum so I can see what's wrong. I know a user had the same problem and I helped them fix it, but I can't remember what it was.

Support Snitz Forums
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 04 January 2003 :  15:21:27  Show Profile
ok here is the new text file for post:

http://www.funinbc.com/temp/polltxt/post_new.txt

and I have sent you an e-mail with admin access


thanks for taking a look!!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 04 January 2003 :  17:16:17  Show Profile
Ok, something isn't right here. Can you check your database and see what the value is for FORUM_ID = 4?

ALso put:
Response.Write strSql
on your line 1547 of your post_info.asp file.

Support Snitz Forums
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 04 January 2003 :  17:20:30  Show Profile
2 more questions.
Did you run the poll mod upgrade script?
And did you get my email about your database?

Support Snitz Forums
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 04 January 2003 :  18:38:56  Show Profile
quote:
Originally posted by Davio

Ok, something isn't right here. Can you check your database and see what the value is for FORUM_ID = 4?

ALso put:
Response.Write strSql
on your line 1547 of your post_info.asp file.





I looked in the data dase and sorry I am not sure what you mean
the F_subject is testing Grounds and the F_last_post_topic_id is 769 and the F_last_post_reply_id is 4771

I have updated the post info and it is getting better as I can change the poll permission but:

when I change the permission I get:

UPDATE FORUM_FORUM SET CAT_ID = 4, F_POLLS = 1, F_PRIVATEFORUMS = 0, F_SUBJECT = 'Testing Grounds', F_DESCRIPTION = 'Test your code, signatures, etc here. This gives you a chance to become familiar with this forum. Post anything you like. Happy Posting!', F_SUBSCRIPTION = 2, F_DEFAULTDAYS = 30, F_COUNT_M_POSTS = 0 WHERE FORUM_ID = 4




I can now make a poll but it does not show up, only the poll question does.


Edited by - funinbc on 04 January 2003 18:52:56
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 04 January 2003 :  19:03:42  Show Profile
quote:
Originally posted by Davio

2 more questions.
Did you run the poll mod upgrade script?
And did you get my email about your database?



No I did'nt run it, could this be my problem? I did'nt because I started with a fresh forum but I did upgrade the old .mdb that did have a Poll mod installed. I will wait until you reply before I run it. Dam I feel pretty stupid about now :-(


I did get you msg about the database and have made the changes THANKS!!!!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 04 January 2003 :  22:16:20  Show Profile
Oh yeah, I meant to say what was the F_POLLS value for FORUM_ID = 4. Sorry. But since it seems it is working now, I don't need to know.
quote:
I have updated the post info and it is getting better as I can change the poll permission but:

when I change the permission I get:

UPDATE FORUM_FORUM SET CAT_ID = 4, F_POLLS = 1, F_PRIVATEFORUMS = 0, F_SUBJECT = 'Testing Grounds', F_DESCRIPTION = 'Test your code, signatures, etc here. This gives you a chance to become familiar with this forum. Post anything you like. Happy Posting!', F_SUBSCRIPTION = 2, F_DEFAULTDAYS = 30, F_COUNT_M_POSTS = 0 WHERE FORUM_ID = 4
So what's wrong? If you are talking about the sql code, just remove the Response.Write strSql code that I had asked you to insert.
quote:
I can now make a poll but it does not show up, only the poll question does.
I will look at your topic.asp file to see what's wrong.
quote:
No I did'nt run it, could this be my problem?
Only if you want to keep your polls from your previous forum. You will need to run the upgrade before you start making new polls on your forum otherwise the upgrade script won't work.

Support Snitz Forums
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 04 January 2003 :  22:35:54  Show Profile
I have edited your topic.asp file. Download it from here: http://www.dsilvera.com/misc/topic.txt

Let me know if it works ok for you.

Support Snitz Forums
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 05 January 2003 :  13:22:18  Show Profile
!!!!!!!! It's working !!!!!!!!!!!!!!!!!!!!!

Thank you very much Davio for all your help !!!

Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 05 January 2003 :  13:27:05  Show Profile
well........ one small problem

The icon_poll.gif is not showing. All the other "poll gifs" are.

I checked the inc_iconfiles.asp and it does show there and I confirmed that the icon_poll.gif is in the root of the forum

any ideas?
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 05 January 2003 :  19:01:08  Show Profile
The page is looking for the image at this address: http://www.funinbc.com/forum/icon_poll.gif Your topic.asp page looks ok.

Let me see your inc_iconfiles.asp file.

Support Snitz Forums
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 05 January 2003 :  22:52:12  Show Profile
Ok this might be another dumb question. I have tested the poll mod and everything is working execpt for the one image but like you said it it looking for it at:

http://www.funinbc.com/forum/icon_poll.gif


I though great I will for live with the forum and move the forum from :

http://www.funinbc.com/test/forum/

to

http://www.funinbc.com/forum/


Thinking this would take care of the image but now the polls do not work


After checking everything I could think of I moved the forum back to test/forum and they are working again

what do I have to change to get the forum to work in

http://www.funinbc.com/forum/


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