![]() |
Poll Widget Help
I want people to be able to vote and view results of the poll in the poll widget on the homepage but do not want them to be able to view the thread where the widget is pulling polls from.
How can I achieve this? |
Try this: (This has not been tested):
Template Showthread Code:
<vb:comment>{vb:raw poll}</vb:comment> For individual polls you will have to create a template conditional with your criteria around the same section of code. ------------------------------------ You can also do this by adding a plugin at hook: "showthread_complete" Code:
// Hook: showthread_complete |
Quote:
|
1.) Open AdminCP.
2.) Plugins & Products -> Plugin Manager -> Add New Plugin (very bottom of the page) Fill in the following: Product: vBulletin Hook Location: showthread_complete Title: Nullify Poll in Showthread Execution Order: 5 Plugin PHP Code: Code:
Click Save. |
Thanks a lot for trying to help, very much appreciated.
It turns out I found a pretty easy way to solve this. In admin CP click on to the forum where the polls are being pulled from and click on forum active - NO. This way the forum is invisible so no one can see it, but the polls on the poll widget on the homepage are still visible and able to vote on them and see results. Can still access the forum by knowing the forum's URL to post more polls. |
All times are GMT. The time now is 02:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|