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: Poll Viewing by all Members
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 23 May 2001 :  23:34:38  Show Profile
LoL, ok. You can probably send me the file and I'll take a look at it. Or post a link to a txt version of the file.

No problem. I'm glad to help.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 24 May 2001 :  00:33:50  Show Profile  Visit dayve's Homepage
thanks a bunch. here is my

topic.asp
http://www.nineinchnailz.com/forum/topic.txt

my active_poll.asp is still available in the links previous to this post. no rush... greatly appreciated...

Dayve
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 24 May 2001 :  00:46:34  Show Profile
Here's the file with the included code:
http://user.7host.com/davio/topic.txt

It is commented with '####### Poll Mod ####### around the code I added.

Go to Top of Page

Iron Heart
New Member

USA
66 Posts

Posted - 25 May 2001 :  08:07:22  Show Profile
Here's my own take at this idea:

http://someplacesomewhere.com/allpolls.asp

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 25 May 2001 :  10:33:59  Show Profile  Visit dayve's Homepage
quote:

Here's my own take at this idea:

http://someplacesomewhere.com/allpolls.asp





very nice, do you mind sharing your source?

Dayve
Go to Top of Page

Iron Heart
New Member

USA
66 Posts

Posted - 25 May 2001 :  19:00:33  Show Profile
I tried to post the detailed instructions yesterday but Snitz acted up and my post never made it. :-(

My original code was modified heavily, so I can't give exact instructions for standard release, but here's the basic idea (it's rather simple):

1. copy the featured poll code from default.asp
2. create a new blank page (but with all the included files), paste it into there
3. create an SQL statement that creates a recordset with all the threads that are polls
4. Then go like this:

<table>

do while not rs.EOF
<tr>
<td>
code for featured poll
</td>
</tr>
rs.movenext
loop
</table>

---

So in essence it just runs the featured poll code for every poll there is. I know this isn't detailed, but the best I can do at this point in time.



Edited by - Iron Heart on 26 May 2001 06:50:11
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 25 May 2001 :  19:07:41  Show Profile  Visit dayve's Homepage
thanks, never thought of that, I think I got a handle on it...

Dayve
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 26 May 2001 :  12:50:59  Show Profile  Visit dayve's Homepage
quote:

Here's the file with the included code:
http://user.7host.com/davio/topic.txt

It is commented with '####### Poll Mod ####### around the code I added.





Davio: I'd like to speak to you about this again, this did not work for me. maybe I am not relaying correctly what I am trying to do..

quote:

I tried to post the detailed instructions yesterday but Snitz acted up and my post never made it. :-(

My original code was modified heavily, so I can't give exact instructions for standard release, but here's the basic idea (it's rather simple):

1. copy the featured poll code from default.asp
2. create a new blank page (but with all the included files), paste it into there
3. create an SQL statement that creates a recordset with all the threads that are polls
4. Then go like this:

<table>

do while not rs.EOF
<tr>
<td>
code for featured poll
</td>
</tr>
rs.movenext
loop
</table>

---

So in essence it just runs the featured poll code for every poll there is. I know this isn't detailed, but the best I can do at this point in time.




Iron Heart: please stick around on this subject, I have a couple of questions. Even though your source code is heavily modified, may I examine it? I am running into a couple of snags that I could probably figure out by looking at your code instead of bugging you. Thanks...

Dayve
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 May 2001 :  17:09:25  Show Profile
quote:
Davio: I'd like to speak to you about this again, this did not work for me. maybe I am not relaying correctly what I am trying to do..
What's wrong?

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 26 May 2001 :  17:34:12  Show Profile  Visit dayve's Homepage
never mind the colors, I was trying something but here is my testing grounds:

http://djh.dynamic-site.net/forumz/

click on the active polls link and you will see my link levels are not correct.

Dayve
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 May 2001 :  17:48:24  Show Profile
The first line of the code I added for you looks like this:
if InstrRev(Request.ServerVariables("Path_Info"), "poll.asp") > 0 then
Change the poll.asp to active_polls.asp and see if that doesn't work. It is basically checking the reffer url to see if it contains "poll.asp". But the reffer is active_poll.asp not poll.asp.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 26 May 2001 :  17:58:30  Show Profile  Visit dayve's Homepage
yeah, I caught that too and had fixed it for the correct file name but that did not do it...

Dayve
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 May 2001 :  18:27:49  Show Profile
Wha? Ok, this is getting on my nerves, doggone it. lol

I'll take your active_poll.asp file and test it on my forums.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 27 May 2001 :  00:39:30  Show Profile  Visit dayve's Homepage
Thanks for all your help Iron Heart, I really appreciate all the help you gave me with the All Polls script. Here is the finished product:

http://www.nineinchnailz.com/forum/allpolls.asp

Davio: I appreciate everything you have been doing for me too, just that last little quirk and I can bother someone else shortly on another idea I have

Dayve
Go to Top of Page

Iron Heart
New Member

USA
66 Posts

Posted - 27 May 2001 :  01:52:46  Show Profile
Good to see it works for you. Might be a good idea to release it as a MOD. Your code, the one you showed. Is it based on standard snitz release? i.e., can anyone take it any use - will it work?

Go to Top of Page
Page: of 3 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.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07