The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
v0.2.0 Released! Last Updated: 06/01/01
NOTE: DO NOT put this in your forums directory or it WILL overwrite your poll.php file! You must either a) put this in a separate directory or b) rename this to poll1.php or something similar (the script will still function correctly if you do this). This hack is a request by Me2Be, to show the titles of the poll threads on another page. It uses the header and footer from your vB, and is for use as a stand-alone page. In a future release of the hack, I will look into displaying results of the polls also. For right now, though, it just displays the thread title, linked to that thread, and the forum that the thread is in (they are grouped by forum). You can set the forums to look for polls in, as well as how many polls you want to show on the main screen. There is a separate screen that will show all of the poll threads from any given forum, and a link to this screen is generated any time there are more threads than you want displayed. You can also customize it so you can use it as a separate page, or remove the HTML to use it as an include on another page (it is clearly labeled where to insert HTML). For version: 2.0.0 Files needed: poll.php, pollconfig.php Files to edit: pollconfig.php Instructions 1] Download the zip file, and unzip it somewhere on your hard drive. Open pollconfig.php in an ASCII text editor, such as TextPad, UltraEdit, EditPlus, Notepad, Wordpad, or a similar program. DO NOT use a program such as HotDog, HoTMeTaL, FrontPage, or another WYSIWYG editor. I cannot support you if you open your file in one of these programs. 2] You need to edit the following variables:
4] Upload poll.php and pollconfig.php to your server. DO NOT UPLOAD the files to your vB directory! Doing so will overwrite the vB poll.php which will mean no one will be able to post new polls! Go to poll.php in a browser to make sure it is working correctly. Then you can link to it from another page, or from your forums. Please do not contact me via ICQ, AIM, or PM about this hack. Post your question/problem here and I will see it and try to help you. Enjoy! Show Your Support
|
Comments |
#72
|
|||
|
|||
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 |
#73
|
|||
|
|||
How can I put Title and keywords metatags in poll.php?
|
#74
|
|||
|
|||
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?
|
#75
|
|||
|
|||
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. |
#76
|
|||
|
|||
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 |
#77
|
|||
|
|||
Sorta. The only thing I came up with was vbPortal (phpportals.com)
vbPortal sits on top of vBulletin. |
#78
|
|||
|
|||
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 |
#79
|
|||
|
|||
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 |
#80
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|