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 |
#2
|
||||
|
||||
Thank you! Thank you!!
Actually, I didn't want the poll results on the page, so this is great. I'm off to try it now! BTW, the demo link goes to a 404 page |
#3
|
||||
|
||||
Whoops! You're right. Gotta fix that. edit: fixed
You're welcome. |
#4
|
||||
|
||||
Well, I replaced the poll.php and the pollconfig.php and uploaded it. When I go to test the poll.php file and put in my subject, message, check poll and enter how many options, it goes the the redirect screen and then back to the forumdisplay again.
It never went to ask me for poll options, and it also put my thread in the moderator queue (which is normal if someone creates a post, clicks poll and doesn't provide any options) |
#5
|
||||
|
||||
Quote:
But it looks great!!! Is there a way to add the forum header/footer/styles? (Aren't I full of questions?) |
#6
|
|||
|
|||
The Demo has still a 404 Error.
|
#7
|
||||
|
||||
Wait no no no! I'm sorry, don't replace poll.php - this is totally separate from that. I should have made that more clear. This is for elsewhere on one's site. Sorry...you need to reupload poll.php from beta 5 to your forums directory, and put poll.php from my hack in a separate directory, or rename it to poll1.php or something like that.
Streicher: Yes you're right. It is now really fixed. |
#8
|
||||
|
||||
Hmm...give me a little bit and I'll try to work in the header/footer styles.
|
#9
|
|||
|
|||
Nice one thx
|
#10
|
||||
|
||||
Quote:
(I backup everything when I make changes!) I'm still on beta 2 (until next week when 6 comes out), I wonder if it will still work. *off to try it* |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|