Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Survey: Add a full-featured survey tool to your forum Details »»
vB Survey: Add a full-featured survey tool to your forum
Version: 2.0, by Spikeman Spikeman is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 04-25-2009 Last Update: 04-26-2009 Installs: 120
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

What this hack does:

This hack will add a full featured survey application system to your forum. You can survey your members opinions on various topics, or allow usergroups to create their own surveys.

Credits: John W. Holmes: Author of UCCASS Survey.
tamarian who initially released this hack for vB3.0 - 3.5 before I ported it to 3.6 - 3.8 outstanding work by him.

Application Features: See the UCCASS site for full details.

http://www.bigredspark.com/survey.html

The UCCASS offers some advanced features such as branching conditionals (allows hiding/displaying questions based on specific answers), result filtrations and much more.

Integration features:
Replaced authentication with VB's user database
Set permissions per usergroup, for admin/edit/create/take and view results priviliges.
Replaced config files with vB admin settings
Applied vB style to the UCCASS templates (it uses Smarty)

vB Survey added features: (some will be ported back to UCCASS)
Added anonymity option. If a survey is not anonymous, members can see how other members answered.
Added Hide/unhide survey option. This is useful to send surveys to specific users or usergroups.
Added Date answer types (D), with dropdown lists for day, month, year to ensure correct date entry.
Added REGEX control for new answer types, to control the answer format.
Added size control for single like text answers and REGEX answers.

Liscense: The original UCCASS Survey application is released under a modified GPL Liscense (Aferro GPL) : http://www.bigredspark.com/survey/license.txt (or look under the /docs directory in the zip file)

Installation difficulty:
2 mins, all done via product file.

Installation:

* Unpack the included file
* Copy survey.php to your main forum directory
* Copy the survey directory into your forum directory (cannot change the directory name)
* Install the Product-Survey.xml
* The product file will also install all data for the 2 default surveys to get you started.
* Go to AdminCP => vBulletin Options => Survey System Options - and set the options for access and other settings
* If you get permission errors, change file permissions for the survey directory and its contents to 744, and the owner/group to apache:apache (or, some servers are setup to nobody:nobody):

cd /path/to/main/forum

chown -R apache:apache survey

chmod -R 744 survey

Notes:

1. The "do not remove" comment on the copyright link in the footer is from the original UCCASS footer template. You may contact the original author, John W. Holmes, for permission to remove the copyright notice, he's willing to talk according to their support forum.
2. If you use FTP to upload the survey directory, you might have problems with subdirectories under /survey/smarty/template_c due to the directory names with % signs. In this case, you can delete all the directories under template_c (but not the template_c directory itself). Those subdirectories will be recreated automatically when the templates are read.


Please click Install if you have installed this mod.


1. All tables, templates, phrases etc are installed via product file.
2. Support for wol has been added.
3. Some bugs fixed with the UCCASS system

I would grateful if you did click Install if you use it. Remember you only get notified of updates if you Install

Demo Here :- http://www.beta-tester.co.uk/iphone/survey.php please note the Demo may have restrictions as it is a live board. You may or may not be able to test the survey as a guest, this will not affect your sites as generally why would you want guests taking a survey on your site, you would never get a true survey result, I have only enabled this on my board so as to get the ball rolling and you guys can see it. you should all be able to see results page though.

If you have the older 3.5 Hack installed you MUST uninstall that before installing 3.8

Translations:-
Arabic - patch developer

Download Now

File Type: zip vBSurvey 2.0.zip (1.48 MB, 827 views)
File Type: zip vBSurvey 2.0 Arabic ar-ae.zip (1.50 MB, 181 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
dimmicosacerchi

Comments
  #42  
Old 06-02-2009, 02:51 AM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spikeman View Post
I have not tested it, however you will need to change the variables in survey.php to begin with and take it from there. If you need help on the changes let me know.
I need help with the changes, lol.

PM what you need. Thank you so much for your help. It is greatly appreciated!
Reply With Quote
  #43  
Old 06-02-2009, 09:06 AM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spikeman View Post
Add this to your navbar template where you want it to appear

Code:
<!-- Survey -->
<td class="vbmenu_control"><a href="survey.php$session[sessionurl_q]" rel="nofollow">Survey</a></td>
<!-- / Survey -->
thank you very much for the help
Reply With Quote
  #44  
Old 06-02-2009, 09:07 AM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NittoMOD View Post
I need help with the changes, lol.

PM what you need. Thank you so much for your help. It is greatly appreciated!
PM sent
Reply With Quote
  #45  
Old 06-03-2009, 11:53 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to embed the survey results within a post? Or below it?
Reply With Quote
  #46  
Old 06-03-2009, 06:00 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spinball View Post
Is it possible to embed the survey results within a post? Or below it?

I am looking into making the results available within the ACP, also auto creation of thread when new surveys are posted allowing for a much greater control over permissions, users can then access the survey link from the thread with the inclusion of an invite system for greater control (for Example) invite 100, 200 random users to take survey over a specified time period.

These are just my thoughts, I have some code that is already done its just all a time factor
Reply With Quote
  #47  
Old 06-03-2009, 06:58 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting, thanks. I ask for a specific reason. We need to implement a survey to accompany a thread about a specific product. We need to display the survey results in that thread. When people take the survey they are first asked whether they own the product. If they do, then they take the next step which is 5 questions on what they think about the product, each a rating 1 to 5. Simple enough. The results of the ratings need to be displayed in the format of average scores (total scores divided by the number of responders) and a graphic score bar (as per your demo) for each question.

There are several products, each with their own thread and survey. All the surveys are roughly the same.

Can we do this - or will we soon - with this mod?
Thanks
Reply With Quote
  #48  
Old 06-03-2009, 08:12 PM
Pottsy Pottsy is offline
 
Join Date: Sep 2006
Location: UK
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Spikeman,

Thanks for a great mod - using the version for 3.6 on vb 3.7.2 with vbseo.

On the text results page, the next and previous buttons don't work - they give a 406 error. There were some random characters in the URL if, when removed, caused it to work. I changed results_text.tpl from:

PHP Code:
{section name="prev" loop=1 show=$button.previous}
  <
input type="submit" name="prev" value="&lt;&lt;&nbsp;Previous Page">&nbsp;
  {/
section}
                                        
  {
section name="next" loop=1 show=$button.next}
  <
input type="submit" name="next" value="Next Page&nbsp;&gt;&gt;">
  {/
section
to

PHP Code:
{section name="prev" loop=1 show=$button.previous}
  <
input type="submit" name="prev" value="Previous Page">&nbsp;
  {/
section}
                                        
  {
section name="next" loop=1 show=$button.next}
  <
input type="submit" name="next" value="Next Page">
  {/
section
And this seems to have fixed it.
Reply With Quote
  #49  
Old 06-04-2009, 04:10 AM
socalsoccer socalsoccer is offline
 
Join Date: Aug 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error when trying to view the answers in edit mode The requested URL /forum/display_answers.php was not found on this server.

I noticed you admin directory you have for upload is empty. Could you please post the correct admin directory for upload.

thanks
Reply With Quote
  #50  
Old 06-04-2009, 11:30 AM
andreamarucci's Avatar
andreamarucci andreamarucci is offline
 
Join Date: Nov 2005
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's a problem with accented characters. If I insert a question using accented chars and save the question, all the question's text disappear. If I type, for example, perch? when I save the question, this text disappear, but if I type perche' everything works fine.

How can I fix this?
Reply With Quote
  #51  
Old 06-05-2009, 07:12 AM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spinball View Post
Interesting, thanks. I ask for a specific reason. We need to implement a survey to accompany a thread about a specific product. We need to display the survey results in that thread. When people take the survey they are first asked whether they own the product. If they do, then they take the next step which is 5 questions on what they think about the product, each a rating 1 to 5. Simple enough. The results of the ratings need to be displayed in the format of average scores (total scores divided by the number of responders) and a graphic score bar (as per your demo) for each question.

There are several products, each with their own thread and survey. All the surveys are roughly the same.

Can we do this - or will we soon - with this mod?
Thanks
I am hoping to accomplish something along those lines, not sure I can give you a time frame for this but it has always been something that I wanted vBsurvey to do, so its up there on the list.

Quote:
Originally Posted by Pottsy View Post
Spikeman,

Thanks for a great mod - using the version for 3.6 on vb 3.7.2 with vbseo.

On the text results page, the next and previous buttons don't work - they give a 406 error. There were some random characters in the URL if, when removed, caused it to work. I changed results_text.tpl from:

PHP Code:
{section name="prev" loop=1 show=$button.previous}
  <
input type="submit" name="prev" value="&lt;&lt;&nbsp;Previous Page">&nbsp;
  {/
section}
                                        
  {
section name="next" loop=1 show=$button.next}
  <
input type="submit" name="next" value="Next Page&nbsp;&gt;&gt;">
  {/
section
to

PHP Code:
{section name="prev" loop=1 show=$button.previous}
  <
input type="submit" name="prev" value="Previous Page">&nbsp;
  {/
section}
                                        
  {
section name="next" loop=1 show=$button.next}
  <
input type="submit" name="next" value="Next Page">
  {/
section
And this seems to have fixed it.
Corrected in next version

Quote:
Originally Posted by socalsoccer View Post
I get this error when trying to view the answers in edit mode The requested URL /forum/display_answers.php was not found on this server.

I noticed you admin directory you have for upload is empty. Could you please post the correct admin directory for upload.

thanks
display_answers.php is not a file within vBsurvey, this was reported earlier and i am trying to get that fixed...

The admin directory, is empty it was originally in there for structure and I forgot to remove it, it will be used when I add the new features.

Quote:
Originally Posted by andreamarucci View Post
There's a problem with accented characters. If I insert a question using accented chars and save the question, all the question's text disappear. If I type, for example, perch? when I save the question, this text disappear, but if I type perche' everything works fine.

How can I fix this?
I will take a look into this, and get back to you.
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 01:16 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.05621 seconds
  • Memory Usage 2,382KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (4)bbcode_php
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete