The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
vB Survey (UCCASS Survey app integration)
![]() Developer Last Online: Nov 2023 ![]() ![]()
What this hack does:
This hack will add a full featured survey application system to your forum. Credits: John W. Holmes: Author of UCCASS Survey. Application Features: See the UCCASS site for full details. After testing several survey apps, this one is the best: 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: Added anonymity option. If a survey is not anonymous, members can see how other members answered. Added Hide/unhide survey option 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: o File changes: None o DB changes: No changes, 19 new tables Installation:
cd /path/to/main/forumAdded in v1.5.4 (October, 17, 2005 Now checks primary and secondary permisisons. Added in v1.5.3 (August 26, 2005 Don't show edit box unless user has permission. Added in v1.5 (June 7th, 2005
Added in v1.3 (June 5th, 2005
Added in v1.2 (June 4th, 2005)
Added in v1.1 (June 4th, 2005)
Notes: 1. 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. 2. The "do not remove" comment on the copyright link in the footer is from the original UCCASS footer template. You may contac the original author, John W. Holmes, for permission to remove the copyright notice, he's willing to talk ![]() Show Your Support
|
Comments |
#82
|
|||
|
|||
![]()
Another quick question. I have certain surveys marked as hidden and inactive, yet they still show up for everyone on the Edit Survey menu. Is there a way to hide this entire menu if the usergroup doesn't have permission to edit any surveys?
|
#83
|
|||
|
|||
![]() Quote:
PHP Code:
PHP Code:
HTML Code:
<tr> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:{$stylevar.formwidth}" align="{$stylevar.left}"> <fieldset class="fieldset"> <legend> Edit Surveys </legend> <table cellpadding="0" cellspacing="{$stylevar.formspacer}" border="0" width="100%"> <tr> <td> <form class="indented_cell" method="get" action="{$conf.html}/survey.php?do=edit_survey"> <input type="hidden" name="do" value="edit_survey"> <input type="hidden" name="s" value="{$session.dbsessionhash}" /> Survey: <select name="sid" size="1"> {section name="as" loop=$survey.all_surveys.sid} <option value="{$survey.all_surveys.sid[as]}">{$survey.all_surveys.name[as]}</option> {/section} </select> <input type="submit" name="submit" value="Edit Survey"> </form> </td> </tr> </table> </fieldset> </div> </div> </td> </tr> HTML Code:
{section name="create_link" show=$show.edit_survey} <tr> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:{$stylevar.formwidth}" align="{$stylevar.left}"> <fieldset class="fieldset"> <legend> Edit Surveys </legend> <table cellpadding="0" cellspacing="{$stylevar.formspacer}" border="0" width="100%"> <tr> <td> <form class="indented_cell" method="get" action="{$conf.html}/survey.php?do=edit_survey"> <input type="hidden" name="do" value="edit_survey"> <input type="hidden" name="s" value="{$session.dbsessionhash}" /> Survey: <select name="sid" size="1"> {section name="as" loop=$survey.all_surveys.sid} <option value="{$survey.all_surveys.sid[as]}">{$survey.all_surveys.name[as]}</option> {/section} </select> <input type="submit" name="submit" value="Edit Survey"> </form> </td> </tr> </table> </fieldset> </div> </div> </td> </tr> {/section} |
#84
|
|||
|
|||
![]()
that worked great, I'd recommend that fix for future releases.
![]() |
#85
|
|||
|
|||
![]()
Guess I have yet another question. I have survey questions that are two dependencies deep. Meaning if they answer yes to one, the next is shown, and a yes to that, then the next is shown. Only, the third is shown whether the second is a yes or no. Any idea what could be going on? I have the third question setup on the dependency that the second is a yes.
|
#86
|
|||
|
|||
![]() Quote:
http://www.bigredspark.com/forums/ |
#87
|
|||
|
|||
![]()
Aside from me going into the database and updating the vb3_vbsurvey_completed table by hand, is there a way I can flag surveys that can be taken multiple times?
We have a situation where we want to survey multiple instances of the same event. In our example, we want to survey the owner each time a certain component fails. Since we have some users who have had multiple failures of this component, we would like to get their survey information for each failure. Currently, the survey only allows a user to take it once. I can update the table manually, but I didn't know if there was a mechanism that I am missing, or an untapped feature that is not enabled to allow for this. Thanks! This is one of our favorite hacks! |
#88
|
|||
|
|||
![]() Quote:
PHP Code:
|
#89
|
|||
|
|||
![]() Quote:
|
#90
|
|||
|
|||
![]()
Hey there!
I've been using Erwin's hack for almost a year now to accept 'Membership Applications' and post them to an Admin only viewing area. From there we would approve or deny the applications and grant access to the members. The trouble with that is that it doesn't post for an alarmingly high amount of applicants.. They hit submit, and for some reason or another it just doesn't post! So I'm wondering if the results from this survey tool as each user fills out the 'application' could be posted as a new thread in a private forum? Thanks! I'm really anxious to find a solution ![]() -Jonathan |
#91
|
|||
|
|||
![]() Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|