View Full Version : Poll on another page?
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
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.
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.
take a look at poll.php, especially the showresults part.
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.