Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Site Poll Mod 1.0
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 08 January 2003 :  12:13:02  Show Profile
Version: 1.0
Author: Davio
Last Modified: January 06, 2003
For Snitz Version: 3.4.03

A lot of users wanted to put their featured poll on thier website and was having trouble doing it with the existing poll mod. So I decided I will help out and create a script that will do just that. The Poll Mod is required to use the Mod.

Please post your comments, suggestions or any improvements that can be made to the script.

Ease of Installation (1-Hard, 10-Easy): 9

Downloads:
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=76

Features:
- Customizable
- Debug Mode, when turned on, helps users to setup the mod
- Option to use own DB connection or an existing connection
- Uhh, allow users to vote

INSTALLATION:
Please read the README.txt file that is included.

SUPPORT:
If you have any problems please post them in the Help: MOD Implementation forum. DO NOT ASK FOR HELP OR POST YOUR ERROR MESSAGES IN THIS TOPIC!!

Support Snitz Forums

Edited by - Davio on 08 January 2003 12:23:40

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 08 January 2003 :  12:32:27  Show Profile  Visit MarkJH's Homepage
Just a quickie before I install this... I know you haven't said anything about it in the documentation but should strVResults be left as strCookieURL or changed to strPollAppURL like the other Poll variables?

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 08 January 2003 :  12:43:16  Show Profile
Oh, I didn't include strVResults in the readme. I'll update it.
Yeah, all the poll variable applications use strPollAppUrl.

It's updated.

Support Snitz Forums

Edited by - Davio on 08 January 2003 12:46:48
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 08 January 2003 :  13:02:07  Show Profile  Visit MarkJH's Homepage
Thanks. Installed fine and site_poll.asp looks good.

Just got to work out how to include it in a page now...

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 08 January 2003 :  14:32:16  Show Profile  Visit PeeWee.Inc's Homepage
Any demo's?

De Priofundus Calmo Ad Te Damine
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 08 January 2003 :  14:52:21  Show Profile
It doesn't need a demo. It shows the same way the featured poll shows in your forum. Only it is on your website. Unless someone wants to implement it on thier site and post a link to it.

Support Snitz Forums
Go to Top of Page

skyhawks
Junior Member

USA
125 Posts

Posted - 08 January 2003 :  21:09:44  Show Profile  Visit skyhawks's Homepage
hey Davio,

just wanted to say thanks for the great mod you created. =)

john

----------------------------------------

Website: http://www.johnlophotography.com
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 09 January 2003 :  16:46:47  Show Profile  Visit MarkJH's Homepage
Found a slight bugette.

Before voting, when the voting choices are displayed and there are a lot of choices, they force the table to render larger than it should. I fixed this problem by changing line 323 to:

Response.Write "<font color=""" & strPBodyFontColor & """ face=""" & strPDefaultFontFace & """ size=""" & strPDefaultFontSize & """><input type=""radio"" value=""" & nCount & """ name=""R1""><b>" & vAnswers(nCount) & "</b></font><br>" & vbNewline

and line 310 to

" <td align=""left"" valign=""middle"""

which put a line break between each vote choice and aligned it to the left of the table.

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 09 January 2003 :  21:00:50  Show Profile
Not really a bug but a users option. Some users put the featured poll in the center of thier site, like how it is displayed on the forum front page, where it has a lot of space/width to display the voting options.

Some users like yourself would probably put the poll along the side of your site and would probably need your modification.

I will add a new config to the mod to allow users to do that.

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