Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Hide Poll Results Details »»
Hide Poll Results
Version: 1.0.3, by Chris M Chris M is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-20-2005 Last Update: 10-21-2005 Installs: 126
Uses Plugins Template Edits
 
No support by the author.

[high]Installation Instructions[/high]

Step 1: Upload the .xml file to the Product Manager
Step 2: Click [high]INSTALL[/high]

Requested by: https://vborg.vbsupport.ru/showthread.php?t=95019 (mrsbuzzy, 68 Z-28 & 1996 328ti)

[high]What does this Plugin do?[/high]

Basically, this will disable poll results from showing from everyone :devious:

[high]Are there any screenshots?[/high]

See my next post

[high]Version History:[/high]

1.0.0: First release
1.0.1: Added more functionality (Results shown when poll is closed, hidden while open); Corrected 3 bugs (2 phrases in the added template, pollresult_voted now cached in cache_templates) ; 1 template edit / overwrite required (pollresult_voted) to add new phrases;
1.0.2: Fixed another bug - Should allow you to vote on unvoted polls now
1.0.3: Fixed bug that unregistered users can see poll results

Chris

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 02-09-2006, 06:17 PM
cbtrussell cbtrussell is offline
 
Join Date: May 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We definitely need this plugin with the ability to turn on or off on a per-poll basis. Willing to sponsor this enhancement if it helps!

Thanks!
Reply With Quote
  #63  
Old 02-09-2006, 09:46 PM
msgotit msgotit is offline
 
Join Date: May 2005
Location: Idaho, US
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cbtrussell
We definitely need this plugin with the ability to turn on or off on a per-poll basis. Willing to sponsor this enhancement if it helps!

Thanks!
I have it done, I have PMed Chris to see what he wants to do, but haven't heard back, I would like to get this out for everyone, but don't know what the next step is. If any of you have any thoughts let me know.
Reply With Quote
  #64  
Old 02-09-2006, 09:52 PM
thebassman thebassman is offline
 
Join Date: Nov 2005
Location: Barrie, Ontario, Canada
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not just release it as a new mod, and give Chris credit if you don't hear back (and post the link in this thread)
Reply With Quote
  #65  
Old 02-09-2006, 11:01 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, agreed with thebassman!

I, for one, would like to see an enhanced version of this, as the current version comes up a bit short. It's an excellent idea and I'd like to see it taken just a tad further.
Reply With Quote
  #66  
Old 02-10-2006, 04:59 AM
djnth djnth is offline
 
Join Date: May 2003
Location: AZ
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much!!

Quote:
Originally Posted by msgotit
I have it done, I have PMed Chris to see what he wants to do, but haven't heard back, I would like to get this out for everyone, but don't know what the next step is. If any of you have any thoughts let me know.
Reply With Quote
  #67  
Old 02-11-2006, 01:34 AM
msgotit msgotit is offline
 
Join Date: May 2005
Location: Idaho, US
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the code, I will admit it hasn't been tested extensively, but it does hide or show the results, if there are any problems please let me know. Chris told me to post this in here and then he would add it, hope this works out for everyone!

The one down side is this template edit, I couldn't find any other way to do it.
Hide Poll Install

Edit Template editpoll:

Find:

HTML Code:
<tr>
  <td>
    <label for="cb_closepoll"><input type="checkbox" name="closepoll" value="yes" id="cb_closepoll" $pollinfo[closed] />$vbphrase[to_close_this_poll_check_this_box]</label>
  </td>
</tr>
Add Below it:

HTML Code:
<tr>
  <td>
    <label for="cb_hidepoll"><input type="checkbox" name="hidepoll" value="yes" id="cb_hidepoll" $pollinfo[hidden] />$vbphrase[to_hide_this_poll_check_this_box]</label>
  </td>
</tr>
Good luck all.

EDIT: This does now have a DB change, it adds a column to the poll table.
Reply With Quote
  #68  
Old 02-11-2006, 11:37 PM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do I need to install his original hack and THEN this update? Or can I just do yours?

Nevermind.. I guess just install yours, or if upgrading, overwrite.. (I just decided to do it)
Reply With Quote
  #69  
Old 02-12-2006, 04:16 AM
djnth djnth is offline
 
Join Date: May 2003
Location: AZ
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where does the xml file go?
Reply With Quote
  #70  
Old 02-12-2006, 01:42 PM
msgotit msgotit is offline
 
Join Date: May 2005
Location: Idaho, US
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djnth
where does the xml file go?
I should have named it just like Chris did. You upload it into products just like the other one. It will do everything for you and then you make the template change and should be good to go. Sorry for the lack to information. Select overwrite, and that should work.
Reply With Quote
  #71  
Old 02-12-2006, 06:46 PM
djnth djnth is offline
 
Join Date: May 2003
Location: AZ
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok thanks!!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:39 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
  • Page Generation 0.05014 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete