Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBSurvey v1.0 Details »»
vBSurvey v1.0
Version: 1.0, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 11-15-2004 Last Update: Never Installs: 39
DB Changes
 
No support by the author.

vBSurvey

What is it?
vBSurvey is a system in which you may create your own surveys on your forum. You create a survey and add questions to the survey, that people may answer if they wish.

Features
    • Forum Side
    • View All "Open" Surveys
    • Take Survey
      • Don't have to complete all questions
    • View Survey Stats
      • Only shows stats for questions the user has answered themself
    • Admin Side
    • Add A New Survey
      • Input Survey Name
      • Choose If Survey Is Open Or Closed
    • Control Surveys (Edit/Delete)
    • Add A New Question
      • Choose which survey the question is for
      • Input Question Name
      • Input available options for question
    • Control Questions (Edit/Delete)

Install will take you hardly any time at all, and if your wanting to make surveys on your forum for whatever reason, ie: Members can vote for a decision which is uncertain between your staff. Then this is just great for that application.

Skin/DB/Phrase Modifications/Additions All Automatic

If you have a question please post below, enjoy

- Zero Tolerance

Show Your Support

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

Comments
  #32  
Old 11-26-2004, 12:47 AM
akiy's Avatar
akiy akiy is offline
 
Join Date: Dec 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alkatraz
awesome! thx for the support

one problem in your fix tho
missing a } to close the if condition. added one after \n"; and it works great
Oops -- indeed! I've edited the above post. Thanks for the sharp eye.
Reply With Quote
  #33  
Old 11-26-2004, 04:02 PM
mcyates mcyates is offline
 
Join Date: Jan 2003
Location: Middlesbrough, Cleveland
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would look better if the results where also in graph format like the polls in the messages.
Reply With Quote
  #34  
Old 11-30-2004, 02:14 PM
Kagen Kagen is offline
 
Join Date: Oct 2004
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

make a quiz hack that'll increase some popularity there ZT u always had useful hacks
Reply With Quote
  #35  
Old 11-30-2004, 10:33 PM
Imperial Fritz Imperial Fritz is offline
 
Join Date: Dec 2003
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, installed, however:

My board is not english therefore I found the hack not easy for multilingual boards, i.e. I have to go into each file and translate the phrases, or better, replace the plain text with vbphrases, which should be done by the installer.

I'd like to see coloured bars showing the number of votes


edit: since I'm reworking all files to convert plain text into vbphrases, I can post them when I finish (but you'll have to do the phrase population yourselves).
Reply With Quote
  #36  
Old 12-06-2004, 02:17 PM
Edric Edric is offline
 
Join Date: Mar 2004
Location: Melita, Evropa Latina
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this hack work with VB 3.0.1? I'd like to implement it.
Reply With Quote
  #37  
Old 12-06-2004, 03:32 PM
Edric Edric is offline
 
Join Date: Mar 2004
Location: Melita, Evropa Latina
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ignore my previous questions, it works well on 3.0.1 as well.
Reply With Quote
  #38  
Old 12-06-2004, 03:39 PM
Edric Edric is offline
 
Join Date: Mar 2004
Location: Melita, Evropa Latina
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by akiy
It looks like you're going to have to modify the code as the table rows/cells that make up the "Who voted" row isn't template-ized.

Any way, here's one way to do this if you only want Administrators (usergroupid = 6) to see the stats:

Replace:
Code:
		 $Options .= "<tr>		 
 		 <td width='80%' class='alt2'>{$opt['q']}</td>		 
 		 <td width='20%' class='alt1' align='center'>This has had {$opt['votes']} vote(s)</td>
 		 </tr>			 
 		 <tr>			 
 		 <td width='100%' class='alt1' colspan='2'><b>Who Voted:</b> {$thisVoted}</td> 
 		 </tr>			 
   		  \n";
with:
Code:
		 $Options .= "<tr>		 
 		 <td width='80%' class='alt2'>{$opt['q']}</td>		 
 		 <td width='20%' class='alt1' align='center'>This has had {$opt['votes']} vote(s)</td>
   		  </tr>";
   		  if ($bbuserinfo[usergroupid] == 6) {
   		 $Options .="<tr>		     
 		 <td width='100%' class='alt1' colspan='2'><b>Who Voted:</b> {$thisVoted}</td> 
 		 </tr>			 
   		 \n";
 		 }
You can modify the "if" confitional to include more usergroupids (eg "if ($bbuserinfo[usergroupid] == 6 || $bbuserinfo[usergroupid] == 7)") if you want other usergroups to see the stats...

Hope that helps!

Where do you add/replace such code?
Reply With Quote
  #39  
Old 12-06-2004, 03:59 PM
spence2 spence2 is offline
 
Join Date: Jun 2002
Location: usa
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With three of your hacks installed, ZT, my board's beginning to look like a tribute to your great coding!

Thank you so much for sharing your work.

You're aces.
Reply With Quote
  #40  
Old 12-06-2004, 05:30 PM
akiy's Avatar
akiy akiy is offline
 
Join Date: Dec 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Edric
Where do you add/replace such code?
In vBSurvey.php.
Reply With Quote
  #41  
Old 12-07-2004, 11:09 AM
Edric Edric is offline
 
Join Date: Mar 2004
Location: Melita, Evropa Latina
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, worked fine akiy, survey anonymous.

However it seemed that not everyone of my members can access the survey page, many get a blank page, for me and other members it works fine however, perfectly I would say. Any known related problem to this one?
Reply With Quote
Reply


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 11:07 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
  • Page Generation 0.04543 seconds
  • Memory Usage 2,307KB
  • 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_code
  • (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