Author |
Topic |
funinbc
Junior Member
245 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 03 January 2003 : 19:47:46
|
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
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 03 January 2003 : 19:51:39
|
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
|
|
|
funinbc
Junior Member
245 Posts |
Posted - 03 January 2003 : 22:53:01
|
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 |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 04 January 2003 : 12:31:22
|
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
|
|
|
funinbc
Junior Member
245 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 04 January 2003 : 17:16:17
|
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
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 04 January 2003 : 17:20:30
|
2 more questions. Did you run the poll mod upgrade script? And did you get my email about your database? |
Support Snitz Forums
|
|
|
funinbc
Junior Member
245 Posts |
Posted - 04 January 2003 : 18:38:56
|
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 |
|
|
funinbc
Junior Member
245 Posts |
Posted - 04 January 2003 : 19:03:42
|
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!!!! |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 04 January 2003 : 22:16:20
|
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
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
|
funinbc
Junior Member
245 Posts |
Posted - 05 January 2003 : 13:22:18
|
!!!!!!!! It's working !!!!!!!!!!!!!!!!!!!!!
Thank you very much Davio for all your help !!!
|
|
|
funinbc
Junior Member
245 Posts |
Posted - 05 January 2003 : 13:27:05
|
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? |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
|
funinbc
Junior Member
245 Posts |
|
Topic |
|