Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 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: 1.00, by tamarian tamarian is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 06-13-2005 Last Update: 08-25-2005 Installs: 183
Template Edits
Additional Files  
No support by the author.

A 3.6.x version by spikeman is posted here:
https://vborg.vbsupport.ru/showthread.php?t=131650



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.

Application Features: See the UCCASS site for full details. After testing several survey apps, I find this one to be 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: (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:
o File changes: None
o DB changes: No changes, 19 new tables

Installation:
  • Unpack the included file
  • Copy vbsurvey_install.php to your admincp directory
  • Copy survey.php to your main forum directory
  • Copy the survey directory below your forum directory (cannot change the directory name)
  • run the vbsurvey_install.php script in the admincp directory
  • Go to AdminCP => vBulletin Options => vB Survey (UCCASS) and set the toptions for acess 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
Upgrade Instructions:
If you are upgrading from vB 3.0.x to vB 3.5 and already had this hack installed, all you need to do is download the zip file, and re-uploade all the files to over-write the old ones.

Added in v1.7.1 (August 26th, 2005
  • Hide edit menu if user not allowed to edit surveys.

Added in v1.7 (August 7th, 2005
  • Bug fix in editing answer types.

Added in v1.6 (June 12th, 2005
  • Upgraded for vB 3.5 beta
  • Upgrad instructions: If you already have vB Survey 1.5 installed, you just need to upload all files, but no need to run the upgrade script.

Added in v1.5 (June 7th, 2005
  • Added a new answer type R, for Regular Expressions (REGEX). This will allow new types to be defined for answers, with controlled format. If the question is required, users will receive an error messages, until they enter the proper format. If the question is optional, the users will only get an error if they try to answer the question, but with the wrong format.
    Note: You can disable REGEX type questions by editing the templates.
  • The Size of type 'S' (Sentence) can now be changed, and no longer hardcoded as 50 characters.
  • To upgrade, you will need to run the upgrade option in the installation script and re-upload all the files.

Added in v1.3 (June 5th, 2005
  • Added a new answer type D, for Dates. This will show 3 dropdown lists for day, month, year, to ensure a uniform formate for dates entered by the user, instead of a text box.
  • Fixed a bug in the anonymous message display. It would state survey is not anonymous, when it actually is.
  • To upgrade, just re-upload the files (classes and templates directories)


Added in v1.2 (June 4th, 2005)
  • Removed the "Previous page" button, if the page is the first page of a survey.
  • Answers in the new/edit answer page are sorted by the numeric value. This allows you to add a later value, but set the order higher, without re-editing the whole list to arrange it.
  • Fixed a bug in quotes and escapes in the answer types edit.
  • Upgrade instructions: Just re-upload the classes directory.

Added in v1.1 (June 4th, 2005)
  • Added anonymity option. This is decided when creating the survey. Once set, it cannot be changed. If the survey is not anonymous, users will see on the survey intro a message that they survey is not anonymous, and that their usernames will show in the results table. The results table will show the usernames and a link to their profile.
  • Added Hidden option: By default, all active surveys show up on the main page as available surveys. If you set the survey propert to hidden, the survey can still be active, but not show up for members. This can be useful if you want to email the link to a selected user group. Admins and the survey author will still be able to see hidden surveys.
  • Navbar update to list the various locations in the survey pages.
  • The previous version showed the "no permission" to guests. Now you can allow guests to view the surveys and results by putting usergoup 0 in the admin panel in usergroups who may see the results. But other priviliges will be ignored.
  • A couple of bug fixes
  • Upgrade instructions: Just re-upload all the files, including survey.php

Notes:
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 according to their support forum.

Please click Install if you have installed this mod.

Show Your Support

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

Comments
  #262  
Old 11-14-2006, 04:44 AM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, that's great! waits for it
Reply With Quote
  #263  
Old 11-14-2006, 04:48 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spikeman View Post
Update

I have almost finished the port to 3.6.3.

Complete:
1. vB Survey now installed through product manager
2. wol supported

Todo:
1.Permissions
2.SQL import

Should all be finished soon, its worth the wait
Thanks for working on this
Reply With Quote
  #264  
Old 11-15-2006, 03:32 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The port to 3.6.3 has been completed, you can all find it here https://vborg.vbsupport.ru/showthread.php?t=131650 please click install if you use.
Reply With Quote
  #265  
Old 02-28-2007, 07:15 AM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed this a few weeks or so ago... sorry it took so long to click install... i was so excited about it... you know how it is when you find a really great hack!!!!

good job......
Reply With Quote
  #266  
Old 04-21-2007, 09:23 AM
Thomas P's Avatar
Thomas P Thomas P is offline
 
Join Date: Oct 2001
Location: Munich, DE
Posts: 365
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good work

Can I set Surveys so that I see the results who voted for what?

We want to use a survey for a online contest, so I need to determine who answered the questions correct...

Thanks
Reply With Quote
  #267  
Old 04-23-2007, 04:44 PM
zkilzz zkilzz is offline
 
Join Date: Mar 2002
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have some problems with this mod. I had an old version installed before when i ran VB 3.0. I have tried to remove it manually by doing the stuff in the uninstall/install file.

But i always get the same error when i try to install the new one.

Anyways.. here is the error.

Database error in vBulletin 3.6.3:

Invalid SQL:

INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
VALUES
(
'vb_survey_admin_groups',
'vbsurvey',
'6',
'5,6',
'free',
'',
10,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_create_groups',
'vbsurvey',
'6',
'5,6',
'free',
'',
20,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_take_groups',
'vbsurvey',
'2,6,10,11',
'5,6',
'free',
'',
30,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_result_groups',
'vbsurvey',
'6,1,5',
'5,6',
'free',
'',
40,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_edit_groups',
'vbsurvey',
'6',
'5,6',
'free',
'',
50,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_page_break',
'vbsurvey',
'%PAGE BREAK%',
'%PAGE BREAK%',
'free',
'',
60,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_text_results_perpage',
'vbsurvey',
'50',
'50',
'number',
'',
70,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_image_ext',
'vbsurvey',
'gif,jpg,jpeg,png',
'gif,jpg,jpeg,png',
'free',
'',
80,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_image_width',
'vbsurvey',
'200',
'200',
'number',
'',
90,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_filter_limit',
'vbsurvey',
'3',
'3',
'number',
'',
100,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_track_ip',
'vbsurvey',
'0',
'0',
'number',
'',
110,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_text_filter',
'vbsurvey',
'none, na, n/a, no, nothing, nope, asdf',
'none, na, n/a, no, nothing, nope, asdf',
'free',
'',
120,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_text_mode',
'vbsurvey',
'0',
'0',
'number',
'<select name=\\\"setting[$setting[varname]]\\\" tabindex=\\\"1\\\" class=\\\"bginput\\\">\r\n<option value=\\\"0\\\" \" . iif($setting[\'value\']==0,\'selected=\"selected\"\') . \">Text only</option>\r\n<option value=\\\"1\\\" \" . iif($setting[\'value\']==1,\'selected=\"selected\"\') . \">Limited HTML</option>\r\n<option value=\\\"2\\\" \" . iif($setting[\'value\']==2,\'selected=\"selected\"\') . \">Full HTML</option>\r\n</select>',
130,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_user_text_mode',
'vbsurvey',
'0',
'0',
'number',
'<select name=\\\"setting[$setting[varname]]\\\" tabindex=\\\"1\\\" class=\\\"bginput\\\">\r\n<option value=\\\"0\\\" \" . iif($setting[\'value\']==0,\'selected=\"selected\"\') . \">Text only</option>\r\n<option value=\\\"1\\\" \" . iif($setting[\'value\']==1,\'selected=\"selected\"\') . \">Limited HTML</option>\r\n<option value=\\\"2\\\" \" . iif($setting[\'value\']==2,\'selected=\"selected\"\') . \">Full HTML</option>\r\n</select>',
140,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_date_format',
'vbsurvey',
'Y-m-d H:i',
'Y-m-d H:i',
'free',
'',
150,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_default_template',
'vbsurvey',
'Default',
'Default',
'free',
'',
160,
0,
1,
'',
0,
'vbsurvey'
);

MySQL Error : Duplicate entry 'vb_survey_admin_groups' for key 1
Error Number : 1062
Date : Monday, April 23rd 2007 @ 07:29:55 PM
Script : http://www.bilforumet.no/admincp/plu...=productimport
Referrer : http://www.bilforumet.no/admincp/plu...?do=productadd
Reply With Quote
  #268  
Old 05-11-2007, 12:25 PM
TotalTorque.net TotalTorque.net is offline
 
Join Date: Dec 2006
Location: UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe I'm having a bad day, but...

The installation process was seamless. Smooth as anything.

I've set all the usergroup options and other bits in AdminCP as instructed.

Then I've gone to my Forum.

Where the heck do you gain access to the system to set up a new survey? I can see no links to it at all? Do I need a direct URL to specific location on my server for setting surveys up? I'm puzzled. And stuck.
Reply With Quote
  #269  
Old 05-11-2007, 12:41 PM
TotalTorque.net TotalTorque.net is offline
 
Join Date: Dec 2006
Location: UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By the way, I have tried going to /survey.php via a URL suffixed onto my forum home, but all I get is a blank screen. No errors mind. I'm doing something wrong. Tell me I'm doing something wrong.
Reply With Quote
  #270  
Old 05-14-2007, 10:18 AM
TotalTorque.net TotalTorque.net is offline
 
Join Date: Dec 2006
Location: UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone help with the above? I'd love to get this fantastic add-on working.
Reply With Quote
  #271  
Old 05-16-2007, 11:58 AM
TotalTorque.net TotalTorque.net is offline
 
Join Date: Dec 2006
Location: UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Bump* Please? Anyone?
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 12:55 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.09768 seconds
  • Memory Usage 2,327KB
  • 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
  • (1)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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