The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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 |
#52
|
|||
|
|||
![]()
Okay, now the comment is working, but not the polls... check it out...
|
#53
|
|||
|
|||
![]()
did you upload in ascii mode ?
it worked for me |
#54
|
|||
|
|||
![]()
I dont have to upload, just copy... My server is on my LAN...
|
#55
|
||||
|
||||
![]()
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.
|
#56
|
|||
|
|||
![]()
here is my pollconfig.php
|
#57
|
||||
|
||||
![]()
Ok my next question is are you positive that path would work?
Maybe try setting it as ../forums/admin |
#58
|
|||
|
|||
![]()
I have it working for online.php...
Here is what I have: Drive E > Sites folder ^ Forums & tech |
#59
|
||||
|
||||
![]()
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? ![]() |
#60
|
|||
|
|||
![]()
im waiting for that as well he does have it on his site though.
|
#61
|
|||
|
|||
![]()
Of course, I get an error...
Fatal error: Call to unsupported or undefined function foreach() in /../..../.../pollpage.php3 on line 85 Any ideas? dd |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|