Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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
  #92  
Old 02-27-2011, 05:25 PM
Bergler Bergler is offline
 
Join Date: Dec 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is anyone willing to covert this to 4.1.2? I would be will to pay someone, I really need this option.
Reply With Quote
  #93  
Old 03-02-2011, 10:09 PM
Bergler Bergler is offline
 
Join Date: Dec 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bergler View Post
Is anyone willing to covert this to 4.1.2? I would be will to pay someone, I really need this option.
Someone must be willing to convert to vb 4.1.2 for cash?
Reply With Quote
  #94  
Old 03-19-2011, 08:56 AM
Lpspider Lpspider is offline
 
Join Date: Oct 2005
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to enable it so the admin can see results from users?

For my survey needs I ask users a handful of questions where I need to know there identities... suggestions appreciated.
Reply With Quote
  #95  
Old 03-30-2011, 05:25 AM
Bergler Bergler is offline
 
Join Date: Dec 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is anyone willing to covert this to 4.1.2? I would be will to pay someone, I really need this option.
Reply With Quote
  #96  
Old 04-29-2011, 02:29 AM
Sevo Sevo is offline
 
Join Date: Nov 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when I put in www.myboards.com/survey.php I get this

Quote:
nput->clean_array_gpc('r', array( 'do' => TYPE_STR, 'sid' => TYPE_INT, 'aid' => TYPE_INT)); if (empty($vbulletin->GPC['do'])) $vbulletin->GPC['do'] = 'main'; $sid = intval($vbulletin->GPC['sid']); $navbits = array("survey.php?$session[sessionurl]" => 'Survey'); $vbulletin->userinfo['can_admin_surveys'] = in_array($bbuserinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_admin_groups'])); $vbulletin->userinfo['can_edit_surveys'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_edit_groups'])); $vbulletin->userinfo['can_create_surveys'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_create_groups'])); $vbulletin->userinfo['can_take_surveys'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_take_groups'])); $vbulletin->userinfo['can_view_survey_results'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_result_groups'])); if ($vbulletin->userinfo['userid']==0) { // override permissions for guests, since userid zero is messy // They can only see the results, if allowed in the admincp settings $vbulletin->userinfo['can_admin_surveys'] = 0; $vbulletin->userinfo['can_take_surveys'] = 0; $vbulletin->userinfo['can_create_surveys'] = 0; $vbulletin->userinfo['can_edit_surveys'] = 0; } if ($vbulletin->GPC['do'] == 'main'){ include('survey/classes/survey.class.php'); $navbits[''] = 'Available Surveys'; $survey = new UCCASS_Survey; $body = $survey->available_surveys(); } elseif ($vbulletin->GPC['do'] == 'take'){ include('survey/classes/survey.class.php'); $navbits[''] = 'Answer Survey'; $survey = new UCCASS_Survey; $body = $survey->take_survey($sid); } elseif ($vbulletin->GPC['do'] == 'results'){ include('survey/classes/results.class.php'); $navbits[''] = 'Survey Results'; $survey = new UCCASS_Results; $body = $survey->survey_results($sid); } elseif ($vbulletin->GPC['do'] == 'edit_survey'){ include('survey/classes/editsurvey.class.php'); $navbits[''] = 'Edit Survey'; $editSurvey = new UCCASS_EditSurvey; $body = $editSurvey->show($sid); } elseif ($vbulletin->GPC['do'] == 'filter'){ include('survey/classes/results.class.php'); $navbits[''] = 'Filter Results'; $survey = new UCCASS_Results; $body = $survey->filter($sid); } elseif ($vbulletin->GPC['do'] == 'display_answers'){ $navbits[''] = 'Display Answers'; $survey = new UCCASS_Main; $body = $survey->display_answers($sid); } elseif ($vbulletin->GPC['do'] == 'edit_answer'){ include('survey/classes/answertypes.class.php'); $navbits[''] = 'Edit Answer Types'; $aid = intval($vbulletin->GPC['aid']); $survey = new UCCASS_AnswerTypes; $body = $survey->edit_answer($sid,$aid); } elseif ($vbulletin->GPC['do'] == 'new_answer_type'){ include('survey/classes/answertypes.class.php'); $navbits[''] = 'New Answer Type'; $survey = new UCCASS_AnswerTypes; $body = $survey->new_answer_type($sid); } elseif ($vbulletin->GPC['do'] == 'new_survey'){ include('survey/classes/newsurvey.class.php'); $navbits[''] = 'New Survey'; $survey = new UCCASS_NewSurvey; $body = $survey->new_survey(); } elseif ($vbulletin->GPC['do'] == 'results_csv'){ include('survey/classes/special_results.class.php'); $et = $vbulletin->GPC['export_type']; $survey = new UCCASS_Special_Results; echo $survey->results_csv($sid,$et); exit; } elseif ($vbulletin->GPC['do'] == 'results_table'){ include('survey/classes/special_results.class.php'); $navbits[''] = 'Results Table'; $survey = new UCCASS_Special_Results; $body = $survey->results_table($sid); } else { include('survey/classes/survey.class.php'); $navbits[''] = 'Available Surveys'; $survey = new UCCASS_Survey; $body = $survey->available_surveys(); } $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('vbsurvey') . '");'); ?>


Any ideas what I have done wrong?
Reply With Quote
  #97  
Old 05-20-2011, 04:09 AM
Lpspider Lpspider is offline
 
Join Date: Oct 2005
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a problem. On page two some members cannot progress to the next page - it just refreshes the current one. Any idea what might cause this?
Reply With Quote
  #98  
Old 06-20-2011, 09:29 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like there is no support for this mod.
But just in case...

I edited the results.tpl as the margin-left:25px; in there throws the table rows out of whack.
A very minor problem.

But then when I FTP'd the results.tpl up, I then get an error when trying to view results:
Quote:
Warning: chmod() [function.chmod]: Operation not permitted in [path]/survey/smarty/Smarty.class.php on line 1454

Warning: require_once(SMARTY_CORE_DIRcore.load_plugins.php) [function.require-once]: failed to open stream: No such file or directory in [path]/survey/smarty/templates_c/Default^results.tpl on line 3

Fatal error: require_once() [function.require]: Failed opening required 'SMARTY_CORE_DIRcore.load_plugins.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/sites/avforums/public_html/forums/survey/smarty/templates_c/Default^results.tpl on line 3
Please help!
Reply With Quote
  #99  
Old 06-20-2011, 11:25 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please port this to the CMS. The CMS is a much better place for surveys.
Reply With Quote
  #100  
Old 07-07-2011, 03:27 AM
TheSpetsnaz TheSpetsnaz is offline
 
Join Date: Jul 2011
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey does this work the current version of Vbulletin?
4.1.x or so?
Reply With Quote
  #101  
Old 09-05-2011, 03:54 PM
bentwood bentwood is offline
 
Join Date: Sep 2011
Location: Georgia
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Please port this to the CMS. The CMS is a much better place for surveys.
What do you mean that the CMS is a better place? Does the CMS have this capability?

Sorry but I am new to the product.
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 11:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05434 seconds
  • Memory Usage 2,345KB
  • 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
  • (4)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