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

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 07 June 2001 :  16:59:55  Show Profile
Use the mod_dbsetup.asp file from the snitz_polls.zip file. There are a few different versions out there.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 07 June 2001 :  17:43:40  Show Profile  Visit dayve's Homepage
OK here we go, someone want to test this before I make it available in the MOD W/CODE topic??

http://www.nineinchnailz.com/poll_addon.zip

I've tested it quite extensively and had great results.

Included in the file is the mod_dbsetup, polls_more.dbs and a readme for editing topic.asp, post.asp and post_info.asp

Good luck...

Dayve
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 07 June 2001 :  17:51:53  Show Profile
YEAHHHHH !!!!!!

I will test it right now !!!!!!

Hang on...

Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 07 June 2001 :  18:49:47  Show Profile
Sorry ! didnīt work.

I got "expected statements" errors in topic.asp and post.asp

Maybe I did something wrong, can you modify my files (topic/post/post_info) for me?

http://www.virtue.nu/wii/mycode.zip

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 07 June 2001 :  19:11:55  Show Profile  Visit dayve's Homepage
quote:

Sorry ! didnīt work.

I got "expected statements" errors in topic.asp and post.asp

Maybe I did something wrong, can you modify my files (topic/post/post_info) for me?

http://www.virtue.nu/wii/mycode.zip





it should work, I had someone else do it for their forum without any problems but I will look at your code. unfortunately I will not be able to review it until late tonight or Saturday. I have a wedding to attend tomorrow...

the zip file above, is that a working example with 8 choices or is it your attempt at the 20 choices? I ask because instead of trying to debug your code, it would probably be quicker for me to add the code in your working files.

I will also put a working demo up tonight for your review of the working product.



Dayve

Edited by - dayve on 07 June 2001 19:13:07
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 07 June 2001 :  19:21:04  Show Profile  Visit dayve's Homepage
in the meantime, you can review my actual working files. I would not replace your files with these because I have some other mods that may cause you other problems.

topic.asp
post.asp
post_info.asp

maybe you can quickly find a mistake compared to your coding..

Dayve
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 07 June 2001 :  19:22:43  Show Profile
the zip above is from my working code (with 8 choices) - it would be great if you could insert yours into them, so Iīm sure itīs not me, which is probably why my test didnīt work.

Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 07 June 2001 :  19:27:31  Show Profile
Oh thanks - but I will not be able to use these for my working forum, since itīs heavily modified also. Iīll check them out!

quote:

in the meantime, you can review my actual working files. I would not replace your files with these because I have some other mods that may cause you other problems.

topic.asp
post.asp
post_info.asp

maybe you can quickly find a mistake compared to your coding..

Dayve



Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 07 June 2001 :  19:45:49  Show Profile  Visit dayve's Homepage
I just meant you could review the coding, I knew you couldn't use them but hey, I am so confident this process works that I went live with mine so check out this example:

Demo with 20 Choices

I will review and edit your code...

Dayve

Edited by - dayve on 08 June 2001 11:02:15
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 07 June 2001 :  20:21:33  Show Profile  Visit dayve's Homepage
I recently shared some code with someone so only moderators and admins can create polls. I like my members to create polls so I don't have a problem, but I can see with additional choices that it could quite possibly be abused. I am going to edit my code so members are limited to 10 and admin/moderators have the full 20. let me know if you are interested in that code as well..

Dayve
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 08 June 2001 :  01:12:21  Show Profile  Visit dayve's Homepage
this should do it...

Download Zip for wii ONLY!

if you receive any errors, make sure you annotate the exact line numbers and error messages but it looks like its going to work from what I can tell.

DAVIO: care to test this too? just download the zip file I posted earlier..

Dayve


Edited by - dayve on 08 June 2001 01:17:43
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 08 June 2001 :  03:09:05  Show Profile
dayve - I canīt download the file ?

can you mail it to me wii@onebox.com ?

thanks.

my members are not allow to post polls, but I donīt mind giving them 20 choices if I one day decide to give them permission.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 08 June 2001 :  11:03:33  Show Profile  Visit dayve's Homepage
I sent it to you...

Dayve
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 08 June 2001 :  15:21:16  Show Profile
thanks - Iīve done some testing of the code at my PWS.

it works, but with 1 bug - this is how it looks (screenshot) when doing a test with 20 answers:

http://www.alphawhales.f2s.com/images/error_poll1.gif

If I edit the poll and write the 20 answers again, it works perfectly - strange....?!

Also, we need to edit the default.asp with this additional code for the "features poll".

thanks - this is really great.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 08 June 2001 :  18:30:59  Show Profile  Visit dayve's Homepage
quote:

thanks - Iīve done some testing of the code at my PWS.

it works, but with 1 bug - this is how it looks (screenshot) when doing a test with 20 answers:

http://www.alphawhales.f2s.com/images/error_poll1.gif

If I edit the poll and write the 20 answers again, it works perfectly - strange....?!

Also, we need to edit the default.asp with this additional code for the "features poll".

thanks - this is really great.





that's weird, looks like some shared variables happening there, I will review the code I sent you. btw, I don't use the feature forum and to be honest, not sure if you would want to with a forum that has up to 20 choices but I will look into fixing that part too. all it really is is changing 8 to 20, it really is kind of simple so check out the code..

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