vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Poll on another page? (https://vborg.vbsupport.ru/showthread.php?t=10792)

PimpDaddy1 03-08-2001 01:08 PM

Hey can anyone help me put polls on a different page. I would like to put it on my main page as well as the forums. Any help will be appreciated.

Thanks

03-08-2001 04:45 PM

I second this hack.

It would be like the one that pulls out the most recent/most active threads into a table in a non-vb page.

You veteran vb-hackers should be able to do this easy I reckon.

03-08-2001 06:39 PM

I actually do this on my site, SystemLogic.net.

What I do is grab the actual HTML from the thread with the poll on it, and post it on the site. To make more than one poll randomize, I make a seperate file with each poll HTML on it, and then a page which randomly picks one of those files, and I then include that random file onto the site.

I'm sure they may be a better way to do this, but I'm happy with it :)

If you're interested in me making something more detailed, let me know and if I have time I can post something up on here that has all the steps.

03-08-2001 07:50 PM

take a look at poll.php, especially the showresults part.

03-08-2001 08:49 PM

I am currently working on this among other integrations with vB for an entire site.

http://www.ravingaming.com/images/rgv3b3.gif

The: news, poll and headlines are all generated dynamically. News is pulled from a forum and the poll is the latest poll in that forum.


All times are GMT. The time now is 12:15 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.00992 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete