Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 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: 1.9a, by Spikeman Spikeman is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.4 Rating:
Released: 11-14-2006 Last Update: Never Installs: 261
Uses Plugins Template Edits
Additional Files Is in Beta Stage  
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 originally made this a vB hack for vB 3.5

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:

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.

Please click Install if you have installed this mod.

I personally do not claim credit for this hack, however this is what I have done to port over to 3.6.3 :-

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

This hack is for 3.6.3 not 3.5, the 3.5 version can be seen and downloaded here this will not upgrade the 3.5 version.

I did obtain the permission from tamarian to port this to 3.6.

This is my first big hack here so 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.internetwatchers.co.uk/forums/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.6.3

vB Survey for vB 3.0 version by tamarian
vB Survey for vB 3.5 version by tamarian

Show Your Support

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

Comments
  #2  
Old 11-15-2006, 03:29 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved for Additional Content

Changes to be completed:
1. Integrated FAQ's
2. Full vBsurvey Documentation
3. Updated UCCASS Documentation

Possible addons I am considering:
1. Ability to post final survey results directly to forum thread
2. Make some ready made surveys that you can import straight in and use

Why is this in beta? I believe that everything should be ok with vBsurvey, I have tested it extensivly on my own site and test site without error, I am just airing on the side of caution. Lets see what the comments bring
Reply With Quote
  #3  
Old 11-15-2006, 04:12 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is really cool! i've bookmarked this and will read up on this later and see if I can install it on one of my sites
Reply With Quote
  #4  
Old 11-15-2006, 05:30 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the portation!
Reply With Quote
  #5  
Old 11-15-2006, 05:57 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COBRAws View Post
Thanks for the portation!
My pleasure
Reply With Quote
  #6  
Old 11-15-2006, 07:13 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! One of the best hacks ever imo, i can finally use it
Reply With Quote
  #7  
Old 11-15-2006, 07:17 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dutchbb View Post
Great! One of the best hacks ever imo, i can finally use it
I would agree with you, that is why I just had to get it ported. Do not forget to click install
Reply With Quote
  #8  
Old 11-15-2006, 09:11 PM
janpetterdale janpetterdale is offline
 
Join Date: Nov 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it working for 3.6.0 ? Or do I have to upgrade forum to latest version?

I get this error when importing the product

Code:
Database error in vBulletin 3.6.0:

Invalid SQL:

				INSERT INTO setting
					(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
				VALUES
					(
					'vb_survey_admin_groups',
					'vbsurvey',
					'5,6',
					'5,6',
					'free',
					'',
					10,
					0,
					1,
					'',
					0,
					'vbsurvey'
	),
	(
					'vb_survey_create_groups',
					'vbsurvey',
					'5,6',
					'5,6',
					'free',
					'',
					20,
					0,
					1,
					'',
					0,
					'vbsurvey'
	),
	(
					'vb_survey_take_groups',
					'vbsurvey',
					'5,6',
					'5,6',
					'free',
					'',
					30,
					0,
					1,
					'',
					0,
					'vbsurvey'
	),
	(
					'vb_survey_result_groups',
					'vbsurvey',
					'5,6',
					'5,6',
					'free',
					'',
					40,
					0,
					1,
					'',
					0,
					'vbsurvey'
	),
	(
					'vb_survey_edit_groups',
					'vbsurvey',
					'5,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         : Thursday, November 16th 2006 @ 12:06:58 AM
Script       : /forum/admincp/plugin.php?do=productimport
Referrer     : /forum/admincp/plugin.php?do=productadd
IP Address   : 192.168.0.100
Username     : hidden
Classname    : vb_database
Script and referer domain edited out for security reasons.

This mod seems awesome, and would love to implement it

Thanks
Reply With Quote
  #9  
Old 11-15-2006, 09:19 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by janpetterdale View Post
Is it working for 3.6.0 ? Or do I have to upgrade forum to latest version?
It should work although, i could not test as I only have 3.6.3 goto into your database and drop all tables vbsurvey_ and try the install again ( it looks from your IP listed in the error that you are on a localhost so I am presuming that you can do that easy enough did you have the older 3.5 version installed previous to this?
Reply With Quote
  #10  
Old 11-15-2006, 09:28 PM
janpetterdale janpetterdale is offline
 
Join Date: Nov 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spikeman View Post
It should work although, i could not test as I only have 3.6.3 goto into your database and drop all tables vbsurvey_ and try the install again ( it looks from your IP listed in the error that you are on a localhost so I am presuming that you can do that easy enough
Thanks for fast response

I did have tables called survey_ and vbsurvey_ already in the database from
old addons. I probably tried the 3.5 version earlier.

Those tables are deleted now, but it still gives me the exact same error
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 10:47 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.04308 seconds
  • Memory Usage 2,311KB
  • Queries Executed 23 (?)
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_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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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