vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Polls Elsewhere (https://vborg.vbsupport.ru/showthread.php?t=13841)

Joshs 06-03-2001 12:35 AM

I did, still no luck...

tubedogg 06-03-2001 12:40 AM

Is there anything in your phpinclude template?

Joshs 06-03-2001 12:42 AM

No, Its empty

tubedogg 06-03-2001 12:44 AM

You got a URL to where you've installed this?

Joshs 06-03-2001 12:48 AM

<a href="http://tech.hytekcomputer.com/other/poll.php" target="_blank">http://tech.hytekcomputer.com/other/poll.php</a>

tubedogg 06-03-2001 12:52 AM

OK dumb question time. Did you upload pollconfig.php? Did you set the path to your admin/config.php file correctly?

Try adding
<!-- This is a test comment -->
right after
require("pollconfig.php");
and see if it shows up on the page.

Joshs 06-03-2001 12:55 AM

look at it now..., can you icq me? 107230003

tubedogg 06-03-2001 01:00 AM

Sorry, I don't support hacks via ICQ.

That was my mistake - put this instead:

echo("<!-- This is a test comment -->");

right after

require("pollconfig.php");

Joshs 06-03-2001 01:02 AM

I added that, I just wanted to add you to my icq list...

tubedogg 06-03-2001 01:13 AM

Try removing

<html>
<head>
<body>
</body>
</html>

from poll.php and see if that helps.

Joshs 06-03-2001 01:18 AM

Okay, now the comment is working, but not the polls... check it out...

Eficrx 06-03-2001 01:18 AM

did you upload in ascii mode ?

it worked for me

Joshs 06-03-2001 01:19 AM

I dont have to upload, just copy... My server is on my LAN...

tubedogg 06-03-2001 01:28 AM

I'm at a loss, Josh. It works perfectly for me, and there's no reason it shouldn't just be not working, especially with no error messages.

Joshs 06-03-2001 01:30 AM

here is my pollconfig.php

tubedogg 06-03-2001 01:32 AM

Ok my next question is are you positive that path would work?

Maybe try setting it as
../forums/admin

Joshs 06-03-2001 01:36 AM

I have it working for online.php...

Here is what I have:

Drive E > Sites folder
^
Forums & tech

Kayn 06-06-2001 07:21 PM

Tubedogg, I want to ask you a weird question.

Is there any way you can add this in your script...

I like how it pulls the title of the polls, but is there any way you can get the first one to display the radio buttons, the option, and the 'vote' button where they can vote with this script?

For example, I would include the script on my main page and people would vote from there, and once they did, they would be directed to the poll in the forums.

What do you think? Can it be done? ;)

Eficrx 06-06-2001 07:25 PM

im waiting for that as well he does have it on his site though.

daydreamer 06-08-2001 03:09 AM

Of course, I get an error...

Fatal error: Call to unsupported or undefined function foreach() in /../..../.../pollpage.php3 on line 85

Any ideas?

dd

tubedogg 06-08-2001 03:15 AM

First I'm positive that
/../..../.../
is not a valid path.
Also PHP 3 does not support foreach(). I'll probably look into some way around this but for now there's not much I can do. Sorry.

daydreamer 06-08-2001 03:22 AM

Thanks tubedogg,

Have you figured out the parse error problem with who's online hack yet? You thought that it might be a php3 problem as well...

dd

annams 06-15-2001 04:25 PM

By reading the description I am not sure whether this hack allows me to conduct a survey or not. [list=1][*]A survey requires that I display several questions in a page, and below each question several possible answers are displayed.[*]User clicks submit after selecting one of the possible answers for all questions.[*]The hack should now propogate users answers to individual polls in vB.[/list=1]

Does this or any other hack for vB supports this? Or there any php/mysql based scripts that do this (even if they are not integrated with vB)?

-- Annam

surfdude 06-17-2001 01:53 PM

tubedogg,

Many users of the vB seem to ask about poll radio buttons inclusion on their non vB pages with the ability to vote from there. This would be a great tool for all site administrators to pull visitors from their sites into their forums, stick and carrot stylie
But one thing seems to be missing - your reply to these. ;)
Is this deliberate?

tubescan.com still powered by vBulletin Version 2.0.0 Beta 3

Joshs 06-21-2001 03:52 AM

Okay I need some help... I went to install this hack and found I had a problem.

On my server's "e" drive there is a sites directory. In there are all of my sites, two being my main site and forums. In the poll configuration for the $path variable to the forums/admin/config.php, it doesnt seem to like me entering e:/sites/forums/admin. I dont know what to do and would like to get this working for my new sites launch possibly tomorrow!

Thanks!!!

tubedogg 06-21-2001 08:50 AM

Quote:

Originally posted by surfdude
Many users of the vB seem to ask about poll radio buttons inclusion on their non vB pages with the ability to vote from there. This would be a great tool for all site administrators to pull visitors from their sites into their forums, stick and carrot stylie
But one thing seems to be missing - your reply to these. ;)
Is this deliberate?
I thought I had answered this a ways up but this hack doesn't do that at this point and probably won't at least for a while. I really don't have the time to write it now.

Quote:

tubescan.com still powered by vBulletin Version 2.0.0 Beta 3
Your point?

tubedogg 06-21-2001 08:51 AM

Josh: My experience with Windows servers could be fit into a 1x1 graphic. I have no idea about how stuff like that works and am not really sure what to tell you. Maybe someone else here with experience on Win servers could help him out?

Joshs 06-21-2001 12:17 PM

Okay, thanks!

Dave# 06-28-2001 03:08 PM

Kevin is there an easy way just to include a bulleted list of polls without links to the relevant forums or click here for more polls?

Sorry :)

Dave# 06-28-2001 10:34 PM

I've managed to get this to just show the latest polls (no forum links) but it doesn't seem to be showing the latest polls


http://forums.cpfc.org/addons/poll.php

There are definately polls posted after that date and I have included the correct forum ID's :(

amsch 07-10-2001 01:18 PM

I am getting this error..
Fatal error: Failed opening required 'home/sites/20ishparents.com/web/boards/admin/config.php' (include_path='.:/usr/local/lib/php') in
/home/sites/20ishparents.com/web/boards/poll1.php on line 11

which I am sure is a path error even though my path is correct. I guess what I am asking is what does this mean? (include_path='.:/usr/local/lib/php')
I apprecaite any help!
Amy

julius 08-22-2001 04:41 PM

How can I put Title and keywords metatags in poll.php?

SirSteve 08-22-2001 07:14 PM

I want to be able to have the poll question and voting options on the same page (non vB). When you submit a vote, it takes you to the results/thread page. Is this possible?

SirSteve 09-17-2001 07:14 PM

I am looking for something SIMILAR to this.

I would like to pull the entire poll questions and choices on another page (nested, like on your home page somewhere) with the ability to cast your vote. After you cast your vote, it takes you to the vB page where that current poll is to view the results and talk about the poll.

montybug 10-12-2001 09:34 PM

sirsteve

did you get anywhere on this? i'm also looking for a hack to let me put embedded VB polls on my homepage. i've currently got my own poll sw (non-VB, using perl and flat-files) running to do it but it's a pain to maintain and an integrate system would be so much cooler.

thanks

chris

SirSteve 10-12-2001 11:54 PM

Sorta. The only thing I came up with was vbPortal (phpportals.com)

vbPortal sits on top of vBulletin.

montybug 10-13-2001 02:55 AM

have you managed to isolate the code from vbportal to just implement the poll?

i'm about half way thru figuring out some rough mySQL code to hard code a VB poll. it's not going to be idiot proof so still would like to know if anyone else is working on something better.

thanks

chris

Dave# 06-17-2002 09:09 PM

I'm sure I asked this before but would it be possible for someone to post the code that would select the last X polls from a list of forums and display them chronologically regardless of forum?

Thanks

Dave

SirSteve 05-13-2003 01:39 AM

How can I get a link to the results page of a particular poll? I want my poll.php to display:

Poll title

Vote Now
View Results
Past Polls

I have everything working but View Results.

Thanks.


All times are GMT. The time now is 01:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01406 seconds
  • Memory Usage 1,783KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete