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 |
#22
|
||||
|
||||
wow nice... might need to upgrade to beta 5 for this
|
#23
|
||||
|
||||
It works with betas 2-4 also, George.
|
#24
|
|||
|
|||
ne chance of a hack that puts a poll on ya main page like emm... the optims like a radio button. you know like the ones on sites well ne way. is it possible.
|
#25
|
||||
|
||||
I made a few "asthetic" modifications, but it works great!!! I'll send you the URL so you can check it out.
Also, I renamed your poll.php file to polllist.php so I could put it in the main directory and it works great!!! If you ever decide to "enhance" upon this, can I throw out a couple more suggestions? (I'm saying "enhance" because it works great now!) 1] Ability to put the info HTML into a template so we can add some commentary (like "My Poll List") and a <title>Title</title> 2] Ability to use color styles of the style choice Kevin, you did an awesome job and I can't thank you enough!!!! I love it!! |
#26
|
||||
|
||||
Quote:
don't know why , but i feel like waiting for beta 6 or something... |
#27
|
|||
|
|||
Perfect, it is just I was looking for!
Thanks tubedogg. In poll.php it seems there is not the close </ul> at the end of line 97. It would be very nice to show the date the poll started, so people can know if they have already visited that poll or not. |
#28
|
|||
|
|||
Does this hack work with RC2?
|
#29
|
|||
|
|||
yes
|
#30
|
|||
|
|||
Muchas gracias
|
#31
|
|||
|
|||
It seems that phpinclude stuff is not processed in header and footer when this hack is displayed.
I have $thefooter defined in phpinclude and with this hack is just displas $thefooter where the footer is supposed to be Also Powered by: vBulletin $templateversion is shown just like that, so the $templateversion variable is also not processed. There must be a simple fix , please look into that. Kevin, please respond to this post. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|