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
 Mod Tweak: More Poll Answers.
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 08 June 2001 :  19:31:27  Show Profile
I sent you a mail.

btw: You know, it would be really cool if you could make the feature poll as dropdown choices (with polls over 10 answers), that would make it look cool, and not mess up the design of the forum.

(in any case, let´s get this working first)



Edited by - wii on 08 June 2001 19:39:02
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 09 June 2001 :  02:20:52  Show Profile
In a dropdown box wii?? Uhgg!!
Radio buttons are the way to go when dealing with polls.

I've finished doing all the updates and bug-fixes for the mod, added some new features (including the active_polls.asp from Dayve) and I'm going to work on including the more than 8 replies.

I'm gonna take a different approach from what you did Dayve. I'm thinking of letting the admin select the amount of answers they want. Between 8 and 20. And I have some ideas of re-doing the default.asp page and the topic.asp page to show the 20 answers, as it looks messy with all those.

But we will see.

Dayve, I couldn't install and test your mod as I am going to test out the more than 8 answers to the poll option after I have coded it in. So I would have to un-install your mod and delete your code from my files so I can implement mine and test it.

Sorry about that.
But great work on the mod. I'm impressed.

Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 09 June 2001 :  07:11:14  Show Profile
ok, so what should I do ? wait for Davio´s new version or go ahead with Dayve version ? hmmmm, i´m confused...but I think I´ll wait to see what happens here.

thanks guys

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 09 June 2001 :  09:37:24  Show Profile
Well, I think you should go with Dayve's.
Dayve, what do you think? You want me to add this functionality to the mod now or add it later? Don't really want to release it after you worked so hard on getting it done for wii. I could delay adding it to the mod for a little while.

Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 09 June 2001 :  12:51:38  Show Profile
You´re right Davio, I´m gonna go with Dayves version.

Dayve, did you receive my mail with the default.asp? As you can see I changed the fontsize to footersize, so it doesn´t look bad at all, and with 100% width to the featured poll, I think it will look ok, even with lots of answers. I can have it online tonight, if you are ready...!

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 09 June 2001 :  13:49:42  Show Profile  Visit dayve's Homepage
quote:

I'm gonna take a different approach from what you did Dayve. I'm thinking of letting the admin select the amount of answers they want. Between 8 and 20. And I have some ideas of re-doing the default.asp page and the topic.asp page to show the 20 answers, as it looks messy with all those.



I was thinking the same myself but not sure how you would configure the database. just make 20 available fields in the database and let the code allow for the amount of choices?? I also considered having the poll mod in it's own database completely because it seems like such a waste of space to be including with the FORUM_TOPICS.

anyway, I am quite new at this so I would go by your recommendations DAVIO. in the interim I have the ability to do 20 poll choices and I coded my script to allow members 10 and admins 20 but I really like the idea of forum settings, seems like it wouldn't be that hard to do so by all means please do continue...

quote:

Dayve, did you receive my mail with the default.asp? As you can see I changed the fontsize to footersize, so it doesn´t look bad at all, and with 100% width to the featured poll, I think it will look ok, even with lots of answers. I can have it online tonight, if you are ready...!



wii: I would not tackle the default.asp until you have the regular ADD-ON working first. my weekend is a bust so I don't know when I can get back to you on this. I've reviewed my instructions and I think you may be just missing something. all I did was edit the POLL MOD areas so search those portions of the script and you will see arrays with the number 8, change it to 20, you will see sql commands for reading and writing for 8, make it for 20. I don't mean to downplay the level of ease on this but if you go slowly and actually read the code it will be somewhat simple to figure out.

I am not abandoning you though, just need time to do your code edits.

TO all other developers here at the forum.. I really have a sense of appreciation to the work you have done. It is one thing to create a mod, it's an entirely different beast to SUPPORT IT!!

Dayve

Edited by - dayve on 09 June 2001 13:51:06
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 09 June 2001 :  19:20:56  Show Profile
Ok, I edited the default.asp with only 12 answers viewable (it still looks good though). I did enough testing to go live with it, despite the little bug (read above). The funny thing (and this is for Richard Kinser - since it´s his forumcode I´m using) is that since I ran the mod_dbsetup.asp, now all topic starters show the registration date, instead of only the registration month below their username ?! not that it´s a problem, but something did happen that changed this.

Please note that my forum is for members only!

http://www.alphaville.dk/forum

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 09 June 2001 :  21:04:26  Show Profile
I was wondering, that if the featured poll has 8 answers or more, then when previewing the results, give them a link to the topic where the poll is so they can view the poll rssults. Because it takes up a lot of space to show the results with just 8 answers much less to show 20. That would take up the entire page.

You know, I'm wondering if I should actually implement this. If only I had the poll mod on this forum then i could do a vote of how many people want more than 8 answers. lol So far, it's just wii that asked for it.

Probably just make it an option.

Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 09 June 2001 :  21:17:47  Show Profile
Well, I can only speak for myself of course, but I really need it, and I´m happy as it is now (except the little bug when posting the poll).

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 09 June 2001 :  21:26:29  Show Profile
wii, post a txt version of your topic.asp file let me take a look at it.

Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 09 June 2001 :  21:43:43  Show Profile
ok, here it is:

http://www.alphawhales.f2s.com/topic.txt

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 10 June 2001 :  00:07:57  Show Profile  Visit dayve's Homepage
I don't think it is a topic.asp error. I think you fowled something up in post_info.asp

Dayve
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 10 June 2001 :  00:10:47  Show Profile  Visit dayve's Homepage
yup, shared variables in your post_info.asp


txtSub1 = ChkString(Request.Form("answer1"),"title")
txtSub2 = ChkString(Request.Form("answer2"),"title")
txtSub3 = ChkString(Request.Form("answer3"),"title")
txtSub4 = ChkString(Request.Form("answer4"),"title")
txtSub5 = ChkString(Request.Form("answer5"),"title")
txtSub6 = ChkString(Request.Form("answer6"),"title")
txtSub7 = ChkString(Request.Form("answer7"),"title")
txtSub8 = ChkString(Request.Form("answer8"),"title")
txtSub8 = ChkString(Request.Form("answer9"),"title")
txtSub8 = ChkString(Request.Form("answer10"),"title")
txtSub8 = ChkString(Request.Form("answer11"),"title")
txtSub8 = ChkString(Request.Form("answer12"),"title")
txtSub8 = ChkString(Request.Form("answer13"),"title")
txtSub8 = ChkString(Request.Form("answer14"),"title")
txtSub8 = ChkString(Request.Form("answer15"),"title")
txtSub8 = ChkString(Request.Form("answer16"),"title")
txtSub8 = ChkString(Request.Form("answer17"),"title")
txtSub8 = ChkString(Request.Form("answer18"),"title")
txtSub8 = ChkString(Request.Form("answer19"),"title")
txtSub8 = ChkString(Request.Form("answer20"),"title")


should be:


txtSub1 = ChkString(Request.Form("answer1"),"title")
txtSub2 = ChkString(Request.Form("answer2"),"title")
txtSub3 = ChkString(Request.Form("answer3"),"title")
txtSub4 = ChkString(Request.Form("answer4"),"title")
txtSub5 = ChkString(Request.Form("answer5"),"title")
txtSub6 = ChkString(Request.Form("answer6"),"title")
txtSub7 = ChkString(Request.Form("answer7"),"title")
txtSub8 = ChkString(Request.Form("answer8"),"title")
txtSub9 = ChkString(Request.Form("answer9"),"title")
txtSub10 = ChkString(Request.Form("answer10"),"title")
txtSub11 = ChkString(Request.Form("answer11"),"title")
txtSub12 = ChkString(Request.Form("answer12"),"title")
txtSub13 = ChkString(Request.Form("answer13"),"title")
txtSub14 = ChkString(Request.Form("answer14"),"title")
txtSub15 = ChkString(Request.Form("answer15"),"title")
txtSub16 = ChkString(Request.Form("answer16"),"title")
txtSub17 = ChkString(Request.Form("answer17"),"title")
txtSub18 = ChkString(Request.Form("answer18"),"title")
txtSub19 = ChkString(Request.Form("answer19"),"title")
txtSub20 = ChkString(Request.Form("answer20"),"title")


told ya

Dayve
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 10 June 2001 :  08:56:26  Show Profile
dayve, in my post_info.asp it does look like what you have below, so it must be something else...?!

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 10 June 2001 :  10:46:46  Show Profile  Visit dayve's Homepage
when did you edit the files I sent you??? I found this blunder in the code I edited and sent to you so you would have had to find this problem and change it... is that what you did..........

I've had 4 people do this mod now with 100% success. please rezip these files and send them to me. the problem you are having above is a shared variable. I speculate this because the choices stop showing after a certain number...

Dayve

Edited by - dayve on 10 June 2001 10:47:55
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | 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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07