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
 Poll on Web Site
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

sump
New Member

USA
78 Posts

Posted - 01 June 2003 :  15:51:07  Show Profile  Visit sump's Homepage  Send sump an AOL message
i have added the Mod to feature the poll on the front page of the "website" it does not show. Site Mod 1

in debug mode it shows that the poll is not turned on, which is not true, the poll show on the "forum" page. ??

any suggestions ? Thanks in advance ..

Jim
www.cluba.net
jimv@cluba.net

One Day at a Time
sump




Edited by - sump on 01 June 2003 16:00:53

sump
New Member

USA
78 Posts

Posted - 01 June 2003 :  16:36:43  Show Profile  Visit sump's Homepage  Send sump an AOL message
Ok i have been able to get the "http://www.cluba.net/site_poll.asp" page to display the poll, but cannot figure out how to get it to display when arriving at the site ??

again thank you in advance

jim

www.cluba.net

One Day at a Time
sump



Go to Top of Page

brduran
New Member

Canada
98 Posts

Posted - 01 June 2003 :  17:36:14  Show Profile  Visit brduran's Homepage
Hi sump,

This is just a suggestion. I haven't tried it myself yet.

Assuming your "site_poll.asp" file is under the same folder as you website main page, do the following:
Open your website main page with Dreamweaver or Frontpage, and where you want the Poll to appear, create a table. Then do a Server Side Include. It should look like this,
quote:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<!--#include file="site_poll.asp" -->
</td>
</tr>
</table>

Back up any data before changes.



Bernardo Duran
www.teknician.com

Go to Top of Page

sump
New Member

USA
78 Posts

Posted - 02 June 2003 :  07:39:47  Show Profile  Visit sump's Homepage  Send sump an AOL message
Thank you for the suggestion.

I am not the most knoledgable in these area's I just keep trying. I thought that the purpus of the script was to make the poll "pop" on the front page of the site ?

Yes the site_poll.asp file is in the same plasce as the Default.htm

I will try and play around with it a bit ??

thank you

www.club.net

One Day at a Time
sump



Go to Top of Page

sump
New Member

USA
78 Posts

Posted - 02 June 2003 :  08:19:22  Show Profile  Visit sump's Homepage  Send sump an AOL message
Ok here's what i did ... i added this code that i got from another site that had the desired result..


i added this on my "default.htm"

<script language="JavaScript" for="window" event="onload()">
window.open("http://www.cluba.net/site_poll.asp", "myannouncer",
"scrollbars=yes,resizable=yes,height=175,width=350")
</script>

i am sure that there is a better way to do it ?

i do not like that if you click to vote the original Window stays there, i would like it to go away as a result of clicking to vote ?

I still would like to know why the orignal script did not work ??

Thank you

www.cluba.net

One Day at a Time
sump



Go to Top of Page

brduran
New Member

Canada
98 Posts

Posted - 02 June 2003 :  10:41:07  Show Profile  Visit brduran's Homepage
Hi sump,

I'm glad you got it working.
The code in "site_poll.asp" was written so the Poll could reside outside the forum, but that doesn't mean that it would automatically appear on your website frontpage. It runs from anywhere the actual file is located, i.e. "http://www.cluba.net/site_poll.asp" in your website. Or if you want it included in any other page, you have to do a link.

As for the option, Poll On or Off after you vote. It's under Admin Options/Poll Configuration, but again I think that's only for the Poll in your forum and not the one on your site.
Good luck!



Bernardo Duran
www.teknician.com

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 02 June 2003 :  11:12:08  Show Profile
The site poll mod wasn't meant to "pop-up" on your site. It was meant for to include it in your front page. Just like many other big sites (like news sites) have a poll on thier front page where you can vote.

I never had it mind for it be used in a pop-up window, but I'm sure you can do some tweaking to make it work.

Support Snitz Forums
Go to Top of Page

sump
New Member

USA
78 Posts

Posted - 02 June 2003 :  12:08:07  Show Profile  Visit sump's Homepage  Send sump an AOL message
Ok thanks,..

2 issues ...

1 i would like to learn how to make it work as intended ....

2 as it is now it does Pop Up but it uses the old poll for the pop up and then if you click to vote it goes to the poll that is chosen to be featured ?

thank you
www.cluba.net

One Day at a Time
sump



Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 02 June 2003 :  12:24:19  Show Profile
Ok wait a sec. I might be understanding you here. I just looked at your site_poll.asp and realized you have the featured poll set to open in a new window so the users can vote. Was that what you were reffering to as "pop_up"?

1) The way the script was meant to work was for you to include it in to your front page. You can access the site_poll.asp file directly first to check if it works ok, before including it unto your site.

2) What do you have set for your strPollAppURL?

Support Snitz Forums
Go to Top of Page

sump
New Member

USA
78 Posts

Posted - 02 June 2003 :  13:58:21  Show Profile  Visit sump's Homepage  Send sump an AOL message
yes i am reffering to a new window Popping up.


strPollAppURL = "/FORUM1/"
this is from the config.asp correct ?

www.cluba.net

and or the forum is www.cluba.net/forum1

One Day at a Time
sump



Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 02 June 2003 :  17:38:03  Show Profile
I think for your previous question you need to go into your admin options, click "poll configuration" and make sure the "Open Featured Poll in New Window" option is turned off. This will stop the vote button from opening another window.

You can also make the site poll colors fit the colors of your site. Just need to edit them in the site_poll.asp file. Instructions are in there to make the colors fit your site.

I'm not sure why the site_poll is showing the wrong poll as the featured poll. Did you previously set the "What do you think is the main cause of a Relapse ?" poll to be a featured poll?
Also check the admin options --> forum variables information, and see what the value of strFeaturedPollID is.

Support Snitz Forums
Go to Top of Page

sump
New Member

USA
78 Posts

Posted - 02 June 2003 :  19:46:04  Show Profile  Visit sump's Homepage  Send sump an AOL message
Yes i had that poll for a bit and then the other day decided to play with the scipt on the web site.

i made a poll for "what O/S" you have. went in and made chages in the admin options so it would be the featured poll. ( i will change it back to it now)

when it is the First "pop" you see is to vote in the "relapse" poll but when you click to vote the "O/S" poll comes up.

thank you

www.cluba.net


One Day at a Time
sump



Go to Top of Page

sump
New Member

USA
78 Posts

Posted - 02 June 2003 :  19:59:42  Show Profile  Visit sump's Homepage  Send sump an AOL message
quote:
Originally posted by Davio


Also check the admin options --> forum variables information, and see what the value of strFeaturedPollID is.



/forum1/STRFEATUREDPOLLID 65

i reset so that the featured poll is the What O/S do you use...
Jim
www.cluba.net

One Day at a Time
sump



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