Author |
Topic  |
|
brduran
New Member

Canada
98 Posts |
Posted - 01 June 2003 : 00:10:14
|
I installed the "Site Poll Script 1.0" add_on for "Poll MOD 2.0.5". I finished all the steps in the instruction file that comes with it. I had problems in line 17 of the "site_poll.asp" file. I went there and found out that I had to change the name "forum" for the actual name of the folder where my files recide. See below,
<!--#include virtual="forum actualname/config.asp"--> <!--#include virtual="forum actualname/inc_func_common.asp"--> <!--#include virtual="forum actualname/inc_func_secure.asp"-->
Now I can see "site_poll.asp" in my browser, but the images are missing. In the same window I click on the link "View users comments about this poll", and this is what I read on my webbrowser address bar
http://24.85.24.93/forums/site_poll/forums/topic.asp?TOPIC_ID=7&results=1
...as you can see the folder "forums" appears twice, and I doubt any topic will be found under the folder "site_poll" since the only file in it is "site_poll.asp"
...the above address should read like this, but where do I go to change it, http://24.85.24.93/forums/topic.asp?TOPIC_ID=7&results=1
...and the images? well no idea, do you 
|
Bernardo Duran www.teknician.com
|
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 01 June 2003 : 00:46:39
|
What have you set the strPollURL in your config.asp file to?
Are you going to keep the site_poll.asp page there or are you going to include it on your front page on your site?
The reason I ask is, the changes you make to the script to work in the /site_poll/ folder, you will need to undo them when you are ready to include it on your front page. At the moment the script is ready to run from your front page. But it takes some slight modification to make it work in a folder. Because you have to tell the script to go up one folder, then search for the forum folder to get the necessary files (like the image files). |
Support Snitz Forums
|
Edited by - Davio on 01 June 2003 00:54:44 |
 |
|
brduran
New Member

Canada
98 Posts |
Posted - 01 June 2003 : 10:49:35
|
Hi Davio,
Ohh, I see what you're saying.
Ok, I'm going to keep the file "site_poll.asp" where it is at the moment, under the "site_poll" folder, which in turn is under the main folder "forums" and at the same level as the "images" folder.
The reason I'm keeping it there (or in a folder near where it is for that matter) is because my website is in an Unix Server (can run .php but not .asp pages as you know).
So I was thinking of redirecting voters to a newly designed page in my windows server at say, http://24.85.24.93/forums/site_poll/newpage.htm or .asp with "site_poll.asp" in it.
...and if in the future I move my website to a Windows Server, I would know where to go to undo the changes.
Thank you for your help!
|
Bernardo Duran www.teknician.com
|
Edited by - brduran on 01 June 2003 10:56:52 |
 |
|
brduran
New Member

Canada
98 Posts |
|
sump
New Member

USA
78 Posts |
Posted - 01 June 2003 : 13:38:35
|
i have added the Mod to feature the poll on the frant page of the "website" it does not show.
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 ?
Jim www.cluba.net jimv@cluba.net |
One Day at a Time sump
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 01 June 2003 : 15:32:28
|
Brduran, I will check it and get back to you on that one.
Sump start a new topic please. |
Support Snitz Forums
|
 |
|
brduran
New Member

Canada
98 Posts |
Posted - 01 June 2003 : 17:17:56
|
Right on! Appreciated Davio...
|
Bernardo Duran www.teknician.com
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 01 June 2003 : 17:42:39
|
Well, I tried it and it's not really much to it.
Just make sure your strPollURL has the ../ before it. I mean, if your strPollURL is "forum/" then you would change it to "../forum/".
And to get the images working, change the strImageURL in your config.asp file from this:strImageUrl = Application(strCookieURL & "STRIMAGEURL") to this:strImageUrl = Application(strPollAppURL & "STRIMAGEURL") Realized in the sub-folder, that the site_poll.asp page wasn't getting the right application variable.
That's it. |
Support Snitz Forums
|
 |
|
brduran
New Member

Canada
98 Posts |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 02 June 2003 : 11:24:51
|
quote: Do me a favor, will'ya. Next time you're in Montego Bay, stand high and say hello to my fellow cubans for me. Thanks
Will do.  |
Support Snitz Forums
|
 |
|
|
Topic  |
|