vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Pull Poll onto Webpage (https://vborg.vbsupport.ru/showthread.php?t=201879)

Gladius2007 01-15-2009 02:49 PM

Pull Poll onto Webpage
 
I've done some searching here and came up with nothing, so I'm hoping someone can point me in the right direction.

What I'd like to do would be to pull a certain (latest) poll from a specific forum and display it separately on a plain php page. I've seen various CMSes like vBadvanced have this feature as part of the portal system (e.g. http://www.vbadvanced.com/ on the left side), but I'm wondering if it's available separately anywhere?

I don't need anything but this poll feature so installing vBadvanced or any other full CMPS just for this (and figuring how to rip it out of there) seems a waste of time and resources...

Thanks in advance for any ideas.

Bellardia 01-15-2009 04:36 PM

Pull the data directly from the poll and pollvote tables.
Check how vbulletin styles their polls and reproduce that, or style it yourself.

Gladius2007 01-15-2009 07:17 PM

I'm not a coder so that's beyond my abilities... I was hoping something like that already existed, but I guess not?


All times are GMT. The time now is 04:46 PM.

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.01036 seconds
  • Memory Usage 1,710KB
  • 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
  • (3)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