Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB Survey: Add a full-featured survey tool to your forum Details »
vB Survey: Add a full-featured survey tool to your forum
Mod Version: 1.00, by tamarian (Member) tamarian is offline
Developer Last Online: Mar 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 Rating: (6 votes - 4.83 average) Installs: 183
Released: 14 Jun 2005 Last Update: 26 Aug 2005 Downloads: 228
Not Supported Template Edits Additional Files  

A 3.6.x version by spikeman is posted here:
http://www.vbulletin.org/forum/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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	1.jpg
Views:	2622
Size:	192.6 KB
ID:	27046   Click image for larger version

Name:	2.jpg
Views:	2403
Size:	91.6 KB
ID:	27047   Click image for larger version

Name:	3.jpg
Views:	2540
Size:	140.1 KB
ID:	27048   Click image for larger version

Name:	4.jpg
Views:	2452
Size:	124.7 KB
ID:	27049  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Major Additions vB Survey: Add a full-featured survey tool to your forum Spikeman vBulletin 3.6 Add-ons 251 25 Sep 2015 05:00
vB Survey (UCCASS Survey app integration) tamarian vBulletin 3.0 Full Releases 101 31 Jul 2006 18:25

  #121  
Old 11 Dec 2005, 08:45
AWI's Avatar
AWI AWI is offline
 
Join Date: Dec 2005
Just installed this great addon, thanks it works with 3.5.2 with no problems.
Reply With Quote
  #122  
Old 11 Dec 2005, 14:40
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by WNxWakko
I am getting this error at the top when I access the survey.php file.
Have you done the file permissions steps?
Reply With Quote
  #123  
Old 14 Dec 2005, 07:28
Valithor Valithor is offline
 
Join Date: Jul 2005
Ok, I've uploaded all the files etc..

Survey.php seems to work fine, but when I click on Create New Survey - nothing happens.. in fact when i click on view results or take survey for the two example surveys - nothing happens either..

As far as I can tell, I've followed the instructions to the letter. The permissions are set at 777 for survey.php, the survey directory and all the sub-directories..

However, SmartFTP wouldn't recognise the command CHOWN..
Reply With Quote
  #124  
Old 14 Dec 2005, 08:45
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Couldnīt this install script be replaced by a product/plugins ?
Reply With Quote
  #125  
Old 22 Dec 2005, 13:08
mariannet's Avatar
mariannet mariannet is offline
 
Join Date: Mar 2003
Real name: Marianne Topping
I'm on vB 3.5.2, file permissions fine.

When trying to add question with link "Edit Questions" I get:

Fatal error: Call to undefined function: array_fill() in /home/xxxx/xxxx-www/survey/classes/editsurvey.class.php on line 966
__________________
Love from Denmark
-Marianne
Reply With Quote
  #126  
Old 22 Dec 2005, 13:39
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by mariannet
I'm on vB 3.5.2, file permissions fine.

When trying to add question with link "Edit Questions" I get:

Fatal error: Call to undefined function: array_fill() in
Are you using a PHP version older than 4.2? This might be the reason.
Reply With Quote
  #127  
Old 22 Dec 2005, 13:52
mariannet's Avatar
mariannet mariannet is offline
 
Join Date: Mar 2003
Real name: Marianne Topping
Originally Posted by tamarian
Are you using a PHP version older than 4.2? This might be the reason.
Yes, yes, yes....
Shame, it was just what I was looking for

Can't upgrade our PHP as it would mean upgrading our dedicated server with loads of clients. Anyway good job
__________________
Love from Denmark
-Marianne
Reply With Quote
  #128  
Old 03 Jan 2006, 15:18
kafi kafi is offline
 
Join Date: Apr 2004
I am trying to allow unregistered users to take survey but they are stopped by message (you dont have permission....)

Unregistered can see results and main page, but not take a survey. Is it bug or?

Thank you for this fine adoption .-)

Last edited by kafi; 04 Jan 2006 at 21:44.
Reply With Quote
  #129  
Old 04 Jan 2006, 21:46
kafi kafi is offline
 
Join Date: Apr 2004
Is the survey recording name of respondents?
There is an option in chart review of results, BUT no name is recorded.

Thank you
Reply With Quote
  #130  
Old 06 Jan 2006, 13:53
mcyates mcyates is offline
 
Join Date: Jan 2003
Real name: Michael C Yates
the download file does not work. Its corrupted.
__________________
MY FOOTBALL FORUM
World Wide Football Discussion Forum
Reply With Quote
  #131  
Old 07 Jan 2006, 23:56
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Survey died after upgrade to 3.5.3 All I get is a big blank white page now.
http://www.warriornation.net/Forum/survey.php
__________________
WNxWakko
http://warriornation.net
Reply With Quote
  #132  
Old 08 Jan 2006, 01:36
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Real name: Kerry-Anne (really!)
Originally Posted by WNxWakko
Survey died after upgrade to 3.5.3 All I get is a big blank white page now.
http://www.warriornation.net/Forum/survey.php
upload the install file again and point your browser to it. one of the options is to install templates. click on that one. when it comes up with 'done' and a 'next step' button CLOSE YOUR BROWSER!! otherwise you will lose all data in your survey tables as it will drop them and re-create them.
__________________
Kerry-Anne
Previously known as peterska2

My Sites: peterska2.co.uk Super Clickers World News Zone English Football League Popular Usenet Groups
Do NOT PM or email me for Support or Modification Requests - No Exceptions!!
I do NOT do custom requests. Do not ask for them. - No Exceptions!!
Reply With Quote
  #133  
Old 08 Jan 2006, 03:57
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
yup reinstalling templates fixed it. For whatever reason the upgrade took them out.
__________________
WNxWakko
http://warriornation.net
Reply With Quote
  #134  
Old 12 Jan 2006, 08:38
dd4w2000 dd4w2000 is offline
 
Join Date: Oct 2005
3.5.3

Have this installed and working with no problems on 3.5.2

Recently installed this on vb3.5.3

Now getting the error

Warning: Smarty error: problem writing './survey/smarty/templates_c/Default^results.tpl.' in /survey/smarty/Smarty.class.php on line 589
When attemting to view the demo surveys am getting

Warning: Smarty error: problem writing './survey/smarty/templates_c/Default^question_required.tpl.' in /survey/smarty/Smarty.class.php on line 589
File permissions for survey and all subdirectories are 777
Strange as i installed a working 3.5.2 version yesterday and today on 3.5.3 (different installation, fresh install on 3.5.3 vb) i am getting these problems.

Any ideas?
Reply With Quote
  #135  
Old 18 Jan 2006, 13:01
OttawaGolf OttawaGolf is offline
 
Join Date: Apr 2002
Installed on a windows server

http://forum.GolfResource.net/survey.php

Registered users set to allow creating surveys see this above my header
Notice: Undefined index: REQUEST_URI in C:\Inetpub\forum\includes\class_core.php on line 1906

Notice: Undefined index: REQUEST_URI in C:\Inetpub\forum\includes\class_core.php on line 1906

Notice: Undefined index: HTTP_REFERER in C:\Inetpub\forum\includes\class_core.php on line 1573

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\forum\includes\class_core.php:1906) in \includes\functions.php on line 3006

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Inetpub\forum\includes\class_core.php:1906) in \survey\classes\main.class.php on line 28

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\forum\includes\class_core.php:1906) in \survey\classes\main.class.php on line 28

Guests see only this on a white page

Notice: Undefined index: REQUEST_URI in C:\Inetpub\forum\includes\class_core.php on line 1906

Notice: Undefined index: REQUEST_URI in C:\Inetpub\forum\includes\class_core.php on line 1906

Notice: Undefined index: HTTP_REFERER in C:\Inetpub\forum\includes\class_core.php on line 1573




Unable to add cookies, header already sent.
File: C:\Inetpub\forum\includes\class_core.php
Line: 1906
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 19:34.

Layout Options | Width: Wide Color: