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

  #181  
Old 19 Apr 2006, 19:01
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Nice survey, but one thing is very dangerous, if you go to the copyright link in the footer (http://www.bigredspark.com/) and try to open their forum it want to download a wmf file which contains a Trojan-Downloader.Win32.Agent.acd according to my virus program.
Thats not very trustful?
Reply With Quote
  #182  
Old 19 Apr 2006, 19:04
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by Ramsesx
Nice survey, but one thing is very dangerous, if you go to the copyright link in the footer (http://www.bigredspark.com/) and try to open their forum it want to download a wmf file which contains a Trojan-Downloader.Win32.Agent.acd according to my virus program.
Thats not very trustful?
Keep in mind they may not know about it, as it's an old version of IPB. Send the webmaster an email and let them know.
Reply With Quote
  #183  
Old 19 Apr 2006, 19:21
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Ok I sent him a mail but its not sure he read this, from him site:
Contact
If for any reason you need to get in touch with me, please send me an e-mail to [email protected]. Bear in mind that this e-mail address will be quickly picked up by the spammer's bots scouring the web, so I'll be sorting through lots of junk and spam mail to find your message.
But I think it is ok to warn the people here that they are directing their visitors to a trojan horse with this hack.
Reply With Quote
  #184  
Old 19 Apr 2006, 21:06
Torqued Torqued is offline
 
Join Date: Oct 2004
Awesome mod.. but I'm having a problem w/ the view "Results as a Table" as well as the Export Results to CSV as Text or Numeric Values options.

When I run any of those options, I get the header/column info, but no data...

edited to add:

I created a test survey and 2 "people" have answered it. The graphs display correctly, but when I export to CSV, this is what I get:

"Test Question #1","Test Question #2","Test Question #3",Datetime
,,,"1969-12-31 18:00"

Last edited by Torqued; 19 Apr 2006 at 21:14.
Reply With Quote
  #185  
Old 19 Apr 2006, 22:09
poliveira poliveira is offline
 
Join Date: Feb 2003
Problem with survey.php page

First of all, thanks for a great extension. I have installed this on 2 forums.

On one of the forums it works great, the other, when I browse to the survey.php file instead of the actual page I get a bunch of text

"input->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..."

Does anyone know why this is happening? The other PHP pages for the site work fine, just survey.php seems to be having the problem.

I have copied a fresh survey.php to no avail.

Thanks,
Reply With Quote
  #186  
Old 20 Apr 2006, 01:13
poliveira poliveira is offline
 
Join Date: Feb 2003
OK found the problem.

The begining code of survey.php had <? I changed it to <?php

:banana:
Reply With Quote
  #187  
Old 20 Apr 2006, 01:15
poliveira poliveira is offline
 
Join Date: Feb 2003
ucass version 1.81

Can we upgrade to uccass 1.81 and keep the vb integration intact?
Reply With Quote
  #188  
Old 20 Apr 2006, 01:52
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by poliveira
Can we upgrade to uccass 1.81 and keep the vb integration intact?
No, won't work.
Reply With Quote
  #189  
Old 20 Apr 2006, 07:33
tamarian tamarian is offline
 
Join Date: Oct 2001
John confirms that their IPB forum was messed with by script kiddies, and it's been cleaned, and will upgrade soon:

http://www.bigredspark.com/forums/in...wtopic=592&hl=
Reply With Quote
  #190  
Old 20 Apr 2006, 08:52
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Yes, maybe a new vb customer
Reply With Quote
  #191  
Old 20 Apr 2006, 13:36
Torqued Torqued is offline
 
Join Date: Oct 2004
tamarian:

Any idea on what might be causing this problem?

Originally Posted by Torqued
Awesome mod.. but I'm having a problem w/ the view "Results as a Table" as well as the Export Results to CSV as Text or Numeric Values options.

When I run any of those options, I get the header/column info, but no data...

edited to add:

I created a test survey and 2 "people" have answered it. The graphs display correctly, but when I export to CSV, this is what I get:

"Test Question #1","Test Question #2","Test Question #3",Datetime
,,,"1969-12-31 18:00"
Reply With Quote
  #192  
Old 20 Apr 2006, 13:48
tamarian tamarian is offline
 
Join Date: Oct 2001
Torqued, I'm guessing 2 responses is lower than some privacy limit. Try to export the results of the sample survey provided as it is a large set.
Reply With Quote
  #193  
Old 20 Apr 2006, 15:29
Torqued Torqued is offline
 
Join Date: Oct 2004
Originally Posted by tamarian
Torqued, I'm guessing 2 responses is lower than some privacy limit. Try to export the results of the sample survey provided as it is a large set.
I'm getting the same results (no data exported) on the Example Command Climate Assessment.
Reply With Quote
  #194  
Old 20 Apr 2006, 21:20
poliveira poliveira is offline
 
Join Date: Feb 2003
Same here, the export only exports the headers...
Reply With Quote
  #195  
Old 20 Apr 2006, 22:19
poliveira poliveira is offline
 
Join Date: Feb 2003
Originally Posted by poliveira
Same here, the export only exports the headers...
OK, I think my problem is that I had a historical (paper) survey to key in. So I disabled the code which checked if the user previously completed the survey. After keying in all the results, I changed the code back.

Everything looks good on the graphical display but does not export. This is probably because all the vbsurvey_completed_surveys have the same UID and SID.

Is there a way for me to fix this?

Thanks
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 05:56.

Layout Options | Width: Wide Color: