The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Horizontal poll system?
I've searched the forums for this and have been unable to find anything resembling this. What I am looking for is some sort of poll system that could be unique to a specific forum or forums that would be like the poll system found at http://hotornot.com and other similar rating sites.
Perhaps starting this sort of poll could be done with a simple check of a box in the "Post a Poll" options. The poll would then be 1 through 10 as the options. For this mod, the results page could be the same even. Just the look of the poll before someone votes would need to be changed to a horizontal layout. I'm pretty new to the vbulletin boards, so I am still figuring out the whole template modifications and addons thing, otherwise I would try to do it myself...if what I've explained is too vague, just let me know. |
#2
|
|||
|
|||
Here is what I have done, pretty much the easy part, but this is how I'd prefer it to be displayed. The first attached image is what I'd like the viewed poll to look like, and the second image is what I'd like the posting options to look like. If those two check boxes could also be made into radio buttons so that only one can be selected that would be keen, but not necessary.
Attachment 49768Attachment 49769 Code to go into polloption template: Code:
<td width="50"><label for="rb_optionnumber_$option[number]"><input type="radio" name="optionnumber" value="$option[number]" id="rb_optionnumber_$option[number]" />$option[question]</label></td> Code to go into polloptions_table template: Code:
<form action="poll.php" method="post"> <input type="hidden" name="s" value="$session[dbsessionhash]" /> <input type="hidden" name="do" value="pollvote" /> <input type="hidden" name="pollid" value="$pollinfo[pollid]" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"> <if condition="$show['editpoll']"><span class="smallfont" style="float:$stylevar[right]"><a href="poll.php?$session[sessionurl]do=polledit&pollid=$pollinfo[pollid]">$vbphrase[edit_poll]</a></span></if> $vbphrase[poll]<span class="normal">: $pollinfo[question]</span> </td> </tr> <if condition="$show['pollenddate']"> <tr> <td class="thead" align="center" style="font-weight:normal"><phrase 1="$pollenddate" 2="$pollendtime">$vbphrase[this_poll_will_close_on_x_at_y]</phrase></td> </tr> </if> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:$stylevar[formwidth]" align="$stylevar[left]"> <if condition="$show['publicwarning']"> <div class="fieldset">$vbphrase[public_poll_users_see_choices]</div> </if> <fieldset class="fieldset"> <legend>$vbphrase[poll_options]</legend> <div style="padding:$stylevar[formspacer]px"> <div style="margin-bottom:$stylevar[formspacer]px"><strong>$pollinfo[question]</strong></div> <table cellpadding="0" cellspacing="0" border="0" align="center"><tr> $pollbits </tr></table> </div> </fieldset> <div> <span style="float:$stylevar[right]"><a href="poll.php?$session[sessionurl]do=showresults&pollid=$pollinfo[pollid]">$vbphrase[view_poll_results]</a></span> <input type="submit" class="button" value="$vbphrase[vote_now]" /> </div> </div> </div> </td> </tr> </table> </form> <br /> |
#3
|
|||
|
|||
Bump, is anyone willing to do this? Don't think it would take too much work from someone who knows their way around vb well.
And if someone is willing to do it could the results page also be changed to display a an average of all the votes. Say one person votes a 5 and another 7, the results page would show that the rating was a average of 6. |
#4
|
|||
|
|||
bump.. can someone release a mod like this?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|