![]() |
Hide number of votes in poll
Hi again guys.
I'm looking for a plugin or any other method to hide the number of votes in polls. I found Sakera's Hide Poll Results, but that plugin only hide the result and not the number of voters. Any suggestion? |
Quote:
HTML Code:
<dl class="stats"> you can set conditional permission that allow mods and admins to see that content only... Solved? :) |
Thanks :)
But is there any way to add this change only for one sub-forum and not the entire forum? |
Quote:
Show in one forum: Remember to change x HTML Code:
<vb:if condition="$forum[forumid] == x">Show this if forum id is x</vb:if> HTML Code:
<vb:if condition="in_array($forum['forumid'], array(1,2,3))">Show this to forum 1, 2 and 3</vb:if> this is a good link for more info: vB4 Template Conditionals List |
Again, thanks.
Will give it a try. --------------- Added [DATE]1413913272[/DATE] at [TIME]1413913272[/TIME] --------------- Did not work for me. I've googled it and some claims that $forum[forumid] have to be registered to the template. Not much more info is given. --------------- Added [DATE]1413917060[/DATE] at [TIME]1413917060[/TIME] --------------- No wonder why it doesn't work. First of, it seems as <vb:if condition="$forum[forumid] != x"> is not supported anymore https://vborg.vbsupport.ru/showpost....&postcount=399 Second. Even if i remove HTML Code:
<dl class="stats"> |
Try this, and make sure you are editing the right style.
Code:
<vb:if condition="$GLOBALS[forumid] == X"></vb:if> |
Quote:
I don't think it is problems with the code. As i said before, even if i remove HTML Code:
<dl class="stats"> The text "Voters: xx" is gone, but the votes is also shown next by the diagram. --------------- Added [DATE]1413969320[/DATE] at [TIME]1413969320[/TIME] --------------- After some time of testing i finally find out which one to change. But still, <vb:if condition="$GLOBALS[forumid] == X"></vb:if> wont work |
All times are GMT. The time now is 09:59 AM. |
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:
|